halomod.concentration.CMRelation

class halomod.concentration.CMRelation(cosmo: hmf.cosmology.cosmo.Cosmology = <hmf.cosmology.cosmo.Cosmology object>, filter0: Optional[hmf.density_field.filters.Filter] = None, growth: Optional[hmf.cosmology.growth_factor.GrowthFactor] = None, delta_c: float = 1.686, profile: Optional[halomod.profiles.Profile] = None, mdef: Optional[hmf.halos.mass_definitions.MassDefinition] = None, **model_parameters)[source]

Base-class for Concentration-Mass relations

Parameters
filter0hmf.filters.Filter instance

An instance of a filter function, with the power specified at z=0. Required for Bullock01.

growthhmf.growth_factor.GrowthFactor instance

Specifies the growth function for the cosmology. Required for Bullock01

delta_cfloat, optional

Critical density for collapse Used in Bullock01

mstarfloat, optional

The nonlinear mass at the desired redshift. If not provided, will be calculated if required.

**model_parametersunpacked-dictionary

These parameters are model-specific. For any model, list the available parameters (and their defaults) using <model>._defaults

Methods

__init__([cosmo, filter0, growth, delta_c, …])

Initialize self.

cm(m[, z])

Return concentration parameter for mass m at z.

get_models()

Get a dictionary of all implemented models for this component.

mass_nonlinear(z)

Return the nonlinear mass at z.

Attributes

native_mdefs