galpy.potential.toVerticalPotential

galpy.potential.toVerticalPotential(Pot, R, phi=None, t0=0.0)[source]

Convert a 3D azisymmetric potential to a vertical potential at a given R.

Parameters:
  • Pot (Potential instance) – The 3D potential to convert.

  • R (float or Quantity) – Galactocentric radius at which to evaluate the vertical potential.

  • phi (float, optional) – Azimuth at which to evaluate the vertical potential. Default is None.

  • t0 (float, optional) – Time at which to evaluate the vertical potential. Default is 0.0.

Returns:

The vertical potential at (R, z, phi, t).

Return type:

verticalPotential instance

Notes

  • 2010-07-21 - Written - Bovy (NYU)