relations#

Basic utility functions for relationships between various profile related parameters.

Functions

convert_ne_to_density(ne)

Convert the electron density to a true density given the mean molecular mass parameter is the standard ~1.6.

f_gas(M500[, hubble])

Use the relationship between M500 and f_gas = Mgas/Mtot within r500 from Vikhlinin, A., et al. 2009, ApJ, 692, 1033 (https://ui.adsabs.harvard.edu/abs/2009ApJ...692.1033V/).

m_bcg(M500)

Compute the total BCG mass given an \(M_{500}\) value.

m_sat(M500)

TODO: Fact check!

r_bcg(r200)

Compute the BCG radius given some r200 value.

rho_scale_hern(M, rs)

Returns the correct scale density for a total density and scale length.