hmf.transfer_models

Models for computing the transfer function.

Note that these are not transfer function “frameworks”. The framework is found in transfer.

Base Component(s)

TransferComponent(cosmo, **model_parameters)

Base class for transfer models.

Models

BBKS(cosmo, **model_parameters)

BBKS (1986) transfer function.

BondEfs(cosmo, **model_parameters)

Transfer function of Bond and Efstathiou, in the shape-parameter form of EBW92.

CAMB(*args, **kwargs)

Transfer function computed by CAMB.

CLASS(*args, **kwargs)

Transfer function computed by CLASS.

EH(*args, **kwargs)

Alias of EH_BAO.

EH_BAO(*args, **kwargs)

Eisenstein & Hu (1998) fitting function with BAO wiggles.

EH_NoBAO(*args, **kwargs)

Eisenstein & Hu (1998) fitting function without BAO wiggles.

FromArray(*args, **kwargs)

Use a spline over a given array to define the transfer function.

FromFile(*args, **kwargs)

Import a transfer function from file.

Functions

check_boltzmann_cosmology(cosmo, name)

Raise an error if a Boltzmann code (CAMB, CLASS) cannot compute cosmo.

class_cosmology(cosmo)

The CLASS input parameters that describe an astropy cosmology.