galpy.potential.evaluateplanarPotentials¶
- galpy.potential.evaluateplanarPotentials(Pot, R, phi=None, t=0.0, dR=0, dphi=0)[source]¶
Evaluate a planarPotential instance or a combined potential formed using addition (pot1+pot2+…).
- Parameters:
Pot (planarPotential or a combined potential formed using addition (pot1+pot2+…) of planarPotential) – A planarPotential instance or a combined potential formed using addition (pot1+pot2+…).
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)
2024-11-28 - Updated to use planarCompositePotential internally - Copilot