galpy.util.conversion.physical_output

galpy.util.conversion.physical_output(obj: Any, kwargs: dict, quantity: str) Tuple[bool, float, float][source]

Determine whether or not outputs will be physical or not

Parameters:
  • obj (galpy object (or list in case of potentials)) – galpy object.

  • kwargs (dict) – Kwargs passed to the method.

  • quantity (str) – Quantity to be returned.

Returns:

A tuple containing:
  • boolean that indicates whether or not to use physical units.

  • ro.

  • vo.

Return type:

tuple

Notes

  • 2023-04-24 - Written - Bovy (UofT).