galpy.potential.evaluatelinearForces

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

Evaluate the forces due to 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 forces.

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

Returns:

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

Return type:

float or Quantity

Notes

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