yt.lagos.EnzoStaticOutput

class yt.lagos.EnzoStaticOutput(filename, data_style=None, parameter_override=None, conversion_override=None, storage_filename=None)

Enzo-specific output, set at a fixed time.

Methods

cosmology_get_units() Return an Enzo-fortran style dictionary of units to feed into custom
get_parameter(parameter[, type]) Gets a parameter not in the parameterDict.
get_smallest_appropriate_unit(v)
has_key(key) Returns true or false
keys() Returns a list of possible keys, from _units, parameters and

This class is a stripped down class that simply reads and parses filename without looking at the hierarchy. data_style gets passed to the hierarchy to pre-determine the style of data-output. However, it is not strictly necessary. Optionally you may specify a parameter_override dictionary that will override anything in the paarmeter file and a conversion_override dictionary that consists of {fieldname : conversion_to_cgs} that will override the #DataCGS.

Methods

cosmology_get_units() Return an Enzo-fortran style dictionary of units to feed into custom
get_parameter(parameter[, type]) Gets a parameter not in the parameterDict.
get_smallest_appropriate_unit(v)
has_key(key) Returns true or false
keys() Returns a list of possible keys, from _units, parameters and

Previous topic

yt.lagos.EnzoHierarchy

Next topic

yt.lagos.EnzoStaticOutput.cosmology_get_units

This Page