snorer.rhox¶
snorer.rhox(r,rhos,rs,n)¶
Dark matter density at \(r\).
Parameters:
r
: array_like
Distance to GC, kpc
rhos
: array_like
Characteristic density \(\rho_s\), MeV cm−3
rs
: array_like
Characteristic radius \(r_s\), kpc
n
: array_like
Slope of the DM profile
Returns:
out
: scalar/ndarray
DM density at \(r\), MeV cm−3. Out is scalar if all inputs are scalars
Notes
This function evaluates the DM density profile $$ \rho_\chi(r)=\frac{\rho_s}{\frac{r}{r_s}(1+\frac{r}{r_s})^n} $$ where rhos and rs are characteristic density and radius respectively. When \((\rho_s,r_s,n) =\) (184 MeV cm−3, 24.42 kpc, 2), it is the famous NFW profile. If divided by \(m_\chi\), it becomes DM number density.
References¶
- G. Bertone et al., Phys. Rept. 405, 279 (2005)