galpy.potential.RZToverticalPotential

galpy.potential.RZToverticalPotential(RZPot, R)[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.

Returns:

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

Return type:

verticalPotential instance

Notes

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