galpy.util.conversion.force_in_2piGmsolpc2

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

Convert a force or acceleration to 2piG x 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)