hmf.density_field.transfer_models.CAMB

class hmf.density_field.transfer_models.CAMB(*args, **kwargs)[source]

Transfer function computed by CAMB.

Parameters
  • cosmo (astropy.cosmology.FLRW instance) – The cosmology used in the calculation

  • **model_parameters (unpack-dict) –

    Parameters specific to this model.

    camb_params: An instantiated CAMBparams object, pre-set with desired

    accuracy options etc.

    dark_energy_params: A dictionary of values passed to CAMB’s `

    set_dark_energy` method. Values include sound_speed and dark_energy_model.

    extrapolate_with_eh: Whether to extrapolate past the intrinsic CAMB

    kmax by using an EH model. Can cause some problems if kmax is high, since CAMB diverges from the EH approximation.

Methods

__init__(*args, **kwargs)

Initialize self.

get_models()

Get a dictionary of all implemented models for this component.

lnt(lnk)

Natural log of the transfer function