AccelHarmonic

class ssapy.gravity.AccelHarmonic(body, n_max=None, m_max=None)[source][source]

Bases: Accel

Acceleration due to a harmonic potential.

Parameters:
  • body (ssapy.Body) – The body.

  • n_max (int) – The maximum degree of the potential.

  • m_max (int) – The maximum order of the potential.

Methods Summary

__call__(r, v, t[, _E])

Evaluate acceleration at particular place/moment.

Methods Documentation

__call__(r, v, t, _E=None, **kwargs)[source][source]

Evaluate acceleration at particular place/moment.

Parameters:
  • r (array_like, shape(3, )) – Position in meters.

  • v (array_like, shape(3, )) – Velocity in meters per second. Unused.

  • t (float) – Time as GPS seconds. Unused

Returns:

accel – Acceleration in meters per second^2

Return type:

array_like, shape(3,)