galpy.util.conversion.surfdens_in_msolpc2

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

Convert a surface density to Msolar / pc^2.

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)