py21cmfast.wrapper.inputs.CosmoTables

class py21cmfast.wrapper.inputs.CosmoTables

Class for storing interpolation tables of cosmological functions (e.g. transfer functions, growth factor).

clone(**kwargs)

Make a fresh copy of the instance with arbitrary parameters updated.

classmethod new(x: dict | Self | None = None, **kwargs)

Create a new instance of the struct.

Parameters:

x (dict | CosmoTables | None) – Initial values for the struct. If x is a dictionary, it should map field names to their corresponding values. If x is an instance of this class, its attributes will be used as initial values. If x is None, the struct will be initialised with default values.

Other Parameters:
  • All other parameters should be passed as if directly to the class constructor

  • (i.e. as parameter names).

Parameters:

x (dict | Self | None)

USE_SIGMA_8: bool
ps_norm: float
transfer_density: Table1D
transfer_vcb: Table1D