yt_astro_analysis.cosmological_observation.light_cone.light_cone.LightCone

class yt_astro_analysis.cosmological_observation.light_cone.light_cone.LightCone(parameter_filename, simulation_type, near_redshift, far_redshift, observer_redshift=0.0, use_minimum_datasets=True, deltaz_min=0.0, minimum_coherent_box_fraction=0.0, time_data=True, redshift_data=True, find_outputs=False, set_parameters=None, output_dir='LC', output_prefix='LightCone')

Initialize a LightCone object.

Parameters:
  • near_redshift (float) – The near (lowest) redshift for the light cone.

  • far_redshift (float) – The far (highest) redshift for the light cone.

  • observer_redshift (float) – The redshift of the observer. Default: 0.0.

  • use_minimum_datasets (bool) – If True, the minimum number of datasets is used to connect the initial and final redshift. If false, the light cone solution will contain as many entries as possible within the redshift interval. Default: True.

  • deltaz_min (float) – Specifies the minimum \Delta z between consecutive datasets in the returned list. Default: 0.0.

  • minimum_coherent_box_fraction (float) – Used with use_minimum_datasets set to False, this parameter specifies the fraction of the total box size to be traversed before rerandomizing the projection axis and center. This was invented to allow light cones with thin slices to sample coherent large scale structure, but in practice does not work so well. Try setting this parameter to 1 and see what happens. Default: 0.0.

  • time_data (bool) – Whether or not to include time outputs when gathering datasets for time series. Default: True.

  • redshift_data (bool) – Whether or not to include redshift outputs when gathering datasets for time series. Default: True.

  • find_outputs (bool) – Whether or not to search for datasets in the current directory. Default: False.

  • set_parameters (dict) – Dictionary of parameters to attach to ds.parameters. Default: None.

  • output_dir (string) – The directory in which images and data files will be written. Default: “LC”.

  • output_prefix (string) – The prefix of all images and data files. Default: “LightCone”.

__init__(parameter_filename, ...[, ...])

calculate_light_cone_solution([seed, filename])

Create list of projections to be added together to make the light cone.

create_cosmology_splice(near_redshift, ...)

Create list of datasets capable of spanning a redshift interval.

plan_cosmology_splice(near_redshift, ...[, ...])

Create imaginary list of redshift outputs to maximally span a redshift interval.

project_light_cone(field_of_view, ...[, ...])

Create projections for light cone, then add them together.