mirror of
https://github.com/status-im/das-research.git
synced 2025-02-22 19:38:14 +00:00
Add visualizer class
This commit is contained in:
parent
8b763b2425
commit
93c318028b
@ -1,3 +1,4 @@
|
||||
from DAS.simulator import *
|
||||
from DAS.configuration import *
|
||||
from DAS.shape import *
|
||||
from DAS.visualizer import *
|
||||
|
22
DAS/visualizer.py
Normal file
22
DAS/visualizer.py
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/python3
|
||||
|
||||
class Visualizer:
|
||||
|
||||
def __init__(self, execID):
|
||||
self.execID = execID
|
||||
self.folderPath = "results/"+self.execID
|
||||
|
||||
def plottingData(self):
|
||||
data = []
|
||||
print("Getting data from the folder...")
|
||||
return data
|
||||
|
||||
def similarKeys(self, data):
|
||||
filteredKeys = []
|
||||
print("Getting filtered keys from data...")
|
||||
return filteredKeys
|
||||
|
||||
def plotHeatmaps(self):
|
||||
data = self.plottingData()
|
||||
filteredKeys = self.similarKeys(data)
|
||||
print("Plotting heatmaps...")
|
Loading…
x
Reference in New Issue
Block a user