py21cmfast.wrapper.inputs.CosmoTables ===================================== .. py:class:: py21cmfast.wrapper.inputs.CosmoTables Class for storing interpolation tables of cosmological functions (e.g. transfer functions, growth factor). :ivar transfer_density: Interpolation table for the density transfer function. In InputParameters, becomes non-trivial only if MatterOptions.POWER_SPECTRUM is set to "CLASS". :vartype transfer_density: Table1D | None :ivar transfer_vcb: Interpolation table for the velocity transfer function. In InputParameters, becomes non-trivial only if MatterOptions.POWER_SPECTRUM is set to "CLASS" and MatterOptions.V_CB_MODEL = "FLUCTS". :vartype transfer_vcb: Table1D | None :ivar USE_SIGMA_8: Flag to indicate whether to use CosmoParams.SIGMA_8 or CosmoParams.A_s for the normalization of the power spectrum. :vartype USE_SIGMA_8: bool | None :ivar ps_norm: Normalization factor for the power spectrum. If USE_SIGMA_8 is True, this is set to CosmoParams.SIGMA_8, otherwise it is set to CosmoParams.A_s. :vartype ps_norm: float | None :ivar V_CB_AVG: Mean value of the amplitude of the relative velocity between baryons and cold dark matter at kinematic decoupling, in km/s. In InputParameters, becomes non-trivial only if MatterOptions.V_CB_MODEL is set to "AVG-AUTO". :vartype V_CB_AVG: float | None .. !! processed by numpydoc !! .. py:method:: clone(**kwargs) Make a fresh copy of the instance with arbitrary parameters updated. .. !! processed by numpydoc !! .. py:method:: new(x: dict | Self | None = None, **kwargs) :classmethod: 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).** .. !! processed by numpydoc !! .. py:attribute:: USE_SIGMA_8 :type: bool | None .. py:attribute:: V_CB_AVG :type: float | None .. py:attribute:: ps_norm :type: float | None .. py:attribute:: transfer_density :type: Table1D | None .. py:attribute:: transfer_vcb :type: Table1D | None