galpy.potential.evaluatelinearPotentials

galpy.potential.evaluatelinearPotentials(Pot, x, t=0.0)[source]

Evaluate the sum of a list of potentials.

Parameters:
  • Pot (list of linearPotential instance(s)) – The list of potentials to evaluate.

  • x (float or Quantity) – The position at which to evaluate the potentials.

  • t (float or Quantity, optional) – The time at which to evaluate the potentials. Default is 0.0.

Returns:

The value of the potential at the given position and time.

Return type:

float or Quantity

Notes

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