yt.analysis_modules.cosmological_observation.light_ray.light_ray.
LightRay
(parameter_filename, simulation_type=None, near_redshift=None, far_redshift=None, use_minimum_datasets=True, deltaz_min=0.0, minimum_coherent_box_fraction=0.0, time_data=True, redshift_data=True, find_outputs=False, load_kwargs=None)[source]¶Create a LightRay object. A light ray is much like a light cone, in that it stacks together multiple datasets in order to extend a redshift interval. Unlike a light cone, which does randomly oriented projections for each dataset, a light ray consists of randomly oriented single rays. The purpose of these is to create synthetic QSO lines of sight.
Light rays can also be made from single datasets.
Once the LightRay object is set up, use LightRay.make_light_ray to begin making rays. Different randomizations can be created with a single object by providing different random seeds to make_light_ray.
Parameters: | parameter_filename : string
simulation_type : optional, string
near_redshift : optional, float
far_redshift : optional, float
use_minimum_datasets : optional, bool
deltaz_min : optional, float
minimum_coherent_box_fraction : optional, float
time_data : optional, bool
redshift_data : optional, bool
find_outputs : optional, bool
load_kwargs : optional, dict
|
---|
Methods