NFW-like profiles
profiley implements the most common NFW-like profiles, all of which are
under the nfw module.
NFW profile
The NFW class implements the original NFW profile from Navarro et al. (2015),
where \(x=r/r_\mathrm{s}\). The signature is
from profiley.nfw import NFW
NFW(mass, concentration, z, **kwargs)
where kwargs are passed to Lens and BaseCosmo. See
Inheritance.
Generalized NFW profile
The GNFW class implements a generalized NFW profile,
The signature is
from profiley import GNFW
GNFW(mass, concentration, z, alpha=alpha, beta=beta, gamma=gamma, **kwargs)
Using default values for alpha, beta, and gamma results in the
regular NFW profile.
Truncated NFW profile
The TNFW class implements a truncated NFW profile,
where \(\tau=r_\mathrm{t}/r_\mathrm{s}\), with
\(r_\mathrm{s}\) the scale radius and \(r_\mathrm{t}\) the truncation radius.
Analytical expressions have been derived for the cases \(\eta=\{1,2\}\) by Baltz, Marshall & Oguri (2009), but
they have not yet been implemented in profiley, which means the projections of
TNFW profiles are calculated numerically.
The signature is
from profiley.nfw import TNFW
TNFW(mass, concentration, z, tau, eta, **kwargs)
Hernquist profile
The Hernquist class implements the Hernquist (1990) profile,
which is a special case of the GNFW profile with \(\alpha=1\),
\(\beta=4\), and \(\gamma=1\).
The signature is
from profiley.nfw import Hernquist
Hernquist(mass, concentration, z, **kwargs)
Websky Modified NFW
The WebskyNFW class implements the modified NFW profile adopted for the Websky simulations by Stein et al. (2020),
where \(r_\mathrm{200m}\) is the radius enclosing 200 times the mean matter density at the specified redshift. The Websky simulations adopt \(\alpha=2\) but it can be modified here for additional freedom.
The signature is
from profiley.nfw import WebskyNFW
WebskyNFW(mass, concentration, z, **kwargs)