galpy.potential.planarPotential.__call__

planarPotential.__call__(R, phi=0.0, t=0.0, dR=0, dphi=0)[source]

Evaluate the potential.

Parameters:
  • R (float or Quantity) – Cylindrical radius.

  • phi (float or Quantity, optional) – Azimuth (default: 0).

  • t (float or Quantity, optional) – Time (default: 0).

  • dR (int, optional) – Order of radial derivative (default: 0).

  • dphi (int, optional) – Order of azimuthal derivative (default: 0).

Returns:

Potential at (R, phi, t) or its derivative.

Return type:

float or Quantity

Notes

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