mirror of
https://github.com/status-im/das-research.git
synced 2025-02-22 11:28:11 +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:
|
if config.dumpXML:
|
||||||
result.dump()
|
result.dump()
|
||||||
|
|
||||||
|
if config.visualization:
|
||||||
|
visual = Visualizor(execID, config, [result])
|
||||||
|
visual.plotAll()
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def study():
|
def study():
|
||||||
@ -88,7 +92,6 @@ def study():
|
|||||||
vis.plotHeatmaps()
|
vis.plotHeatmaps()
|
||||||
|
|
||||||
visual = Visualizor(execID, config, results)
|
visual = Visualizor(execID, config, results)
|
||||||
visual.plotAll()
|
|
||||||
visual.plotHeatmaps("nn", "fr")
|
visual.plotHeatmaps("nn", "fr")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user