galpy.potential.linearPotential.force

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

Evaluate the force.

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

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

Returns:

Force at position x and time t.

Return type:

float or Quantity

Notes

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