galpy.potential.evaluatePotentials

galpy.potential.evaluatePotentials(R, z, Pot, phi=0.0, t=0.0, dR=0, dphi=0)
NAME:
evaluatePotentials
PURPOSE:
convenience function to evaluate a possible sum of potentials
INPUT:

R - cylindrical Galactocentric distance

z - distance above the plane

Pot - potential or list of potentials

phi - azimuth

t - time

dR= dphi=, if set to non-zero integers, return the dR, dphi’t derivative instead

OUTPUT:
Phi(R,z)
HISTORY:
2010-04-16 - Written - Bovy (NYU)