In [1]:
import os
from thermof import Simulation, Parameters
%matplotlib inline

Read single run


In [ ]:
run_dir = os.path.join(os.getcwd(), '..', 'tests', 'ip-mof-trial', 'Run1')
simpar = Parameters()
simpar.k['read_thermo'] = True
simpar.k
sim = Simulation(read=run_dir, setup='run', parameters=simpar)

In [ ]:
sim.plot('k')

In [ ]:
sim.plot('thermo')

Read trial with multiple runs


In [ ]:
trial_dir = os.path.join(os.getcwd(), '..', 'tests', 'ip-mof-trial')
simpar = Parameters()
sim = Simulation(read=trial_dir, setup='trial', parameters=simpar)

In [ ]:
sim.parameters.plot['k_sub']['ylim'] = (0, 2)
sim.plot('k_sub')

In [ ]:
sim.plot('f_dist')

Read multiple trials with multiple runs


In [ ]:
trial_dir = os.path.join(os.getcwd(), '..', 'tests', 'ideal-mof-trial-set')
sim = Simulation(read=trial_dir, setup='trial_set')

In [ ]:
sim.plot('k')

In [ ]: