galpy.potential.linearPotential.__call__

linearPotential.__call__(x, t=0.0)[source]

Evaluate the potential.

Parameters:
  • x (float or Quantity) – Position.

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

Returns:

Potential at position x and time t.

Return type:

float or Quantity

Notes

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