galpy.util.conversion.mass_in_1010msol

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

Convert a mass to 10^10 x Msolar.

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

  • ro (float) – Length unit in kpc.

Returns:

Conversion from units where vo=1. at ro=1.

Return type:

float

Notes

  • 2013-09-01 - Written - Bovy (IAS)