onepower.hmi.SOVirial_Mead.m_to_r#
- SOVirial_Mead.m_to_r(m, z=0, cosmo=FlatLambdaCDM(name='Planck15', H0=<Quantity 67.74 km / (Mpc s)>, Om0=0.3075, Tcmb0=<Quantity 2.7255 K>, Neff=3.046, m_nu=<Quantity [0., 0., 0.06] eV>, Ob0=0.0486))#
Return the radius corresponding to m for this mass definition
- Parameters:
m (float or array_like) – The mass to convert to radius. Should be in the same units (modulo volume) as
halo_density()
.
Notes
Computed as \(\left(\frac{3m}{4\pi \rho_{\rm halo}\right)\).