yt.frontends.enzo.simulation_handling.
EnzoSimulation
(parameter_filename, find_outputs=False)[source]¶Initialize an Enzo Simulation object.
Upon creation, the parameter file is parsed and the time and redshift are calculated and stored in all_outputs. A time units dictionary is instantiated to allow for time outputs to be requested with physical time units. The get_time_series can be used to generate a DatasetSeries object.
Examples
>>> import yt
>>> es = yt.simulation("my_simulation.par", "Enzo")
>>> es.get_time_series()
>>> for ds in es:
... print ds.current_time
Methods