Python wrapper for running instances of trisurf-ng
Samo Penic
2017-11-28 8b8845e452b45b765c0c74a388296d10e91787fc
nir_log
@@ -54,9 +54,12 @@
   from trisurf import analyses
   analyses.plotColumnFromPostProcess(run,column='VertexMoveSucessRate',filename='statistics.csv',**kwargs)
def runningavgc0(run, **kwargs):
   from trisurf import analyses
   analyses.plotrunningavginteractive(run, scalar_field='spontaneous_curvature', **kwargs)
#start manager with configured runs
tsmgr.start(Runs, analyses={'demo':analyses.demo,'runningavg':analyses.plotrunningavginteractive, 'plothbar':analyses.plotColumnFromPostProcess, 'plotvol':plotvolume, 'plotbondrate':plotbondrate})
tsmgr.start(Runs, analyses={'demo':analyses.demo,'runningavg':analyses.plotrunningavginteractive, 'plothbar':analyses.plotColumnFromPostProcess, 'plotvol':plotvolume, 'plotbondrate':plotbondrate, 'runningavgC0':runningavgc0})
#here is how we combine statistics of multiple runs
#statistics.combine([Runs[1],Runs[2]])