LightRay.
create_cosmology_splice
(near_redshift, far_redshift, minimal=True, deltaz_min=0.0, time_data=True, redshift_data=True)¶Create list of datasets capable of spanning a redshift interval.
For cosmological simulations, the physical width of the simulation box corresponds to some Delta z, which varies with redshift. Using this logic, one can stitch together a series of datasets to create a continuous volume or length element from one redshift to another. This method will return such a list
Parameters: | near_redshift : float
far_redshift : float
minimal : bool
deltaz_min : float
time_data : bool
redshift_data : bool
|
---|
Examples
>>> co = CosmologySplice("enzo_tiny_cosmology/32Mpc_32.enzo", "Enzo")
>>> cosmo = co.create_cosmology_splice(1.0, 0.0)