Burkert
- class dysmalpy.models.Burkert(z=0, cosmo=FlatLambdaCDM(H0=70.0 km / (Mpc s), Om0=0.3, Tcmb0=0.0 K, Neff=3.04, m_nu=None, Ob0=None), **kwargs)[source]
Bases:
DarkMatterHalo
Dark matter halo following a Burkert profile
- Parameters:
mvirial (float) – Virial mass in logarithmic solar units
rB (float) – Size of the dark matter core in kpc
fdm (float) – Dark matter fraction
z (float) – Redshift
cosmo (
cosmology
object) – The cosmology to use for modelling. If this model component will be attached to aGalaxy
make sure the respective cosmologies are the same. Default isFlatLambdaCDM
with H0=70., and Om0=0.3.
Notes
Model formula:
The mass density follows Burkert (1995) [1]:
\[\rho=\frac{\rho_0}{(1 + r/r_B)(1 + (r/r_B)^2)}\]References
Attributes Summary
Names of the parameters that describe models of this type.
Methods Summary
I
(r)Calculate the concentration parameter
calc_rB_from_fdm
(baryons, r_fdm)Calculate core radius given dark matter fraction and baryonic distribution
Normalization of the density distribution
Enclosed mass as a function of radius
evaluate
(r, mvirial, rB, fdm)Mass density as a function of radius
Attributes Documentation
- fdm = DysmalParameter('fdm', value=-99.9, fixed=True, bounds=(0, 1), prior=<dysmalpy.parameters.UniformPrior object>)
- mvirial = DysmalParameter('mvirial', value=1.0, bounds=(5, 20), prior=<dysmalpy.parameters.UniformPrior object>)
- param_names = ('mvirial', 'fdm', 'rB')
Names of the parameters that describe models of this type.
The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.
When defining a custom model class the value of this attribute is automatically set by the
Parameter
attributes defined in the class body.
- rB = DysmalParameter('rB', value=1.0, prior=<dysmalpy.parameters.UniformPrior object>)
Methods Documentation
- calc_rB_from_fdm(baryons, r_fdm)[source]
Calculate core radius given dark matter fraction and baryonic distribution
- Parameters:
baryons (
MassModel
or dictionary) – Model component representing the baryons (assumed to be light emitting), or dictionary containing a list of the baryon components (baryons[‘components’]) and a list of whether the baryon components are light emitting or not (baryons[‘light’])r_fdm (float) – Radius at which the dark matter fraction is determined
- Returns:
rB – Core radius in kpc
- Return type:
Notes
This uses the current values of
fdm
, andmvirial
together with the input baryon distribution to calculate the necessary value ofrB
.
- calc_rho0()[source]
Normalization of the density distribution
- Returns:
rho0 – Mass density normalization in \(M_{\odot}/\rm{kpc}^3\)
- Return type: