galpy.util.conversion.dens_in_meanmatterdens¶
- galpy.util.conversion.dens_in_meanmatterdens(vo, ro, H=70.0, Om=0.3)[source]¶
Convert density to units of the mean matter density.
- Parameters:
vo (float) – Velocity unit in km/s.
ro (float) – Length unit in kpc.
H (float, optional) – Hubble constant in km/s/Mpc. Default is 70.0.
Om (float, optional) – Omega matter. Default is 0.3.
- Returns:
Conversion from units where vo=1. at ro=1. to units of the mean matter density.
- Return type:
float
Notes
2014-01-28 - Written - Bovy (IAS)