galpy.util.bovy_conversion.get_physical

galpy.util.bovy_conversion.get_physical(obj)

NAME:

get_physical

PURPOSE:

return the velocity and length units for converting between physical and internal units as a dictionary for any galpy object, so they can easily be fed to galpy routines

INPUT:

obj - a galpy object or list of such objects (e.g., a Potential, list of Potentials, Orbit, actionAngle instance, DF instance)

OUTPUT:

Dictionary {‘ro’:length unit in kpc,’vo’:velocity unit in km/s}; note that this routine will always return these conversion units, even if the obj you provide does not have units turned on

HISTORY:

2019-08-03 - Written - Bovy (UofT)