mirror of
https://github.com/status-im/das-research.git
synced 2025-02-21 19:08:07 +00:00
plot figures right after simulation run
This allows to observe partial results during long studies. Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
0dfbace655
commit
b427cf93c0
5
study.py
5
study.py
@ -39,6 +39,10 @@ def runOnce(config, shape, execID):
|
||||
if config.dumpXML:
|
||||
result.dump()
|
||||
|
||||
if config.visualization:
|
||||
visual = Visualizor(execID, config, [result])
|
||||
visual.plotAll()
|
||||
|
||||
return result
|
||||
|
||||
def study():
|
||||
@ -88,7 +92,6 @@ def study():
|
||||
vis.plotHeatmaps()
|
||||
|
||||
visual = Visualizor(execID, config, results)
|
||||
visual.plotAll()
|
||||
visual.plotHeatmaps("nn", "fr")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user