galpy.potential.evaluateplanarPotentials¶
- galpy.potential.evaluateplanarPotentials(Pot, R, phi=None, t=0.0, dR=0, dphi=0)[source]¶
Evaluate a (list of) planarPotential instance(s).
- Parameters:
Pot (planarPotential or list of planarPotential) – A (list of) planarPotential instance(s).
R (float or Quantity) – Cylindrical radius.
phi (float or Quantity, optional) – Azimuth (default None).
t (float or Quantity, optional) – Time (default 0.0).
dR (int, optional) – If set to a non-zero integer, return the dR derivative instead. Default is 0.
dphi (int, optional) – If set to a non-zero integer, return the dphi derivative instead. Default is 0.
- Returns:
Potential Phi(R(,phi,t)).
- Return type:
float or Quantity
Notes
2010-07-13 - Written - Bovy (NYU)