py21cmfast.drivers.GlobalEvolution

class py21cmfast.drivers.GlobalEvolution

Structure that contains the global evolution (as a function of redshift) of all the fields in the simulation.

Variables:
  • inputs (InputParameters) – The input parameters for the simulation.

  • quantities (dict[str, np.ndarray] | None) – Arrays of length node_redshifts containing the global field across redshift.

classmethod from_file(path: str | pathlib.Path, safe: bool = True, remove_buffer: bool = True) Self

Create a new instance from a saved global_evolution on disk.

Parameters:
  • path (str | pathlib.Path)

  • safe (bool)

  • remove_buffer (bool)

Return type:

Self

classmethod get_fields(inputs: py21cmfast.wrapper.inputs.InputParameters) tuple

Get a list of the names of the available fields in the simulation.

Parameters:

inputs (py21cmfast.wrapper.inputs.InputParameters)

Return type:

tuple

save(path: str | pathlib.Path, clobber=False)

Save the global_evolution object to disk.

Parameters:

path (str | pathlib.Path)

property astro_options

Flag Options shared by all datasets.

property astro_params

Astro params shared by all datasets.

property cosmo_params

Cosmo params shared by all datasets.

property cosmo_tables

Cosmo tables shared by all datasets.

inputs: py21cmfast.wrapper.inputs.InputParameters
property matter_options

Matter flags shared by all datasets.

property node_redshifts

Redshifts at which coeval boxes and global quantities are computed.

quantities: dict[str, numpy.ndarray] | None
property random_seed

Random seed shared by all datasets.

property simulation_options

Matter params shared by all datasets.