Dynamics.compute_dynamics

giant.ufo.dynamics:

abstract Dynamics.compute_dynamics(time, state)[source]

This method should compute the dynamics for the state vector (which normally is the position/velocity/other state parameters + the raveled covariance matrix)

The dynamics should be a 1d array that is the same length as the state vector. It should give the time derivative of the state vector.

Parameters:
  • time (float) – the time at which the dynamics are to be computed. Normally this is as ephemeris seconds since J2000

  • state (ndarray) – The state vector to compute the dynamics for

Returns:

The time derivative of the state vector

Return type:

ndarray