galpy.util.conversion.dens_in_gevcc

galpy.util.conversion.dens_in_gevcc(vo, ro)[source]

Convert density to GeV / cm^3.

Parameters:
  • vo (float) – Velocity unit in km/s.

  • ro (float) – Length unit in kpc.

Returns:

Conversion from units where vo=1. at ro=1. to GeV/cm^3.

Return type:

float

Notes

  • 2014-06-16 - Written - Bovy (IAS)