profiley.pressure

Module Contents

Classes

PressureGNFW

Generalized NFW profile, with the parameterization commonly used

Arnaud10

GNFW profile with the best-fit parameters from Arnaud et al.

class profiley.pressure.PressureGNFW(mass, P0, c, alpha, beta, gamma, z=0, pm_params=(1.45e-11 * u.erg / u.cm**3, 1000000000000000.0, 2 / 3, 8 / 3), cosmo=Planck15, **kwargs)

Bases: profiley.nfw.BaseNFW

Generalized NFW profile, with the parameterization commonly used to define pressure profiles in galaxy clusters (Nagai et al. 2007)

New in version 1.2.0

Parameters

massfloat or np.ndarray

cluster mass. If defin

P0, c, alpha, beta, gammafloat or np.ndarray

parameters of the dimensionless universal pressure profile, as defined in Eq. (11) of Arnaud et al. (2010)

Optional parameters

zfloat or np.ndarray

redshift

normalization_name{‘M500’,’P500’}

specifies to what parameter normalization corresponds

pm_paramslist-like, length=4

the four parameters that determine the scaling relation between M500 and P500 (or any other overdensity). See P500_from_M500

cosmoastropy.cosmology.FLRW

cosmology object

upp(x)

Dimensionless universal pressure profile

\[p(x) = \frac{P_0} {(cx)^\gamma\left[1+(cx)^\alpha\right]^(\beta-\gamma)/\alpha}\]

where \(x=r/r_{500}\)

P500_from_M500(a=1.45e-11 * u.erg / u.cm**3, b=1000000000000000.0, c=2 / 3, d=8 / 3)

Calculate P500 given M500 using a redshift-corrected power-law:

\[P_{500} = a \left(\frac{M_{500}}{b}\right)^c\,E(z)^d\]

where \(b\) is in \(\mathrm{M}_\odot\). Default parameters correspond to those derived by Nagain et al. (2007).

Both P500 and M500 may actually refer to any overdensity; the function name simply reflects the usual parameterization

profile(r)
class profiley.pressure.Arnaud10(mass, P0=8.403, c=1.177, alpha=1.051, beta=5.4905, gamma=0.3081, z=0, pm_params=(0.00165 * u.keV / u.cm**3, 300000000000000.0, 2 / 3 + 0.12, 8 / 3), cosmo=Planck15, **kwargs)

Bases: PressureGNFW

GNFW profile with the best-fit parameters from Arnaud et al. (2010)

All parameters can be modified as desired, but default parameters correspond to equations 12 and 13 from Arnaud et al. (2010), which makes it convenient for modifying only one or a few parameters at a time