paraqeet.propagation.scipy_expm_goat.ScipyExpmGOAT#

class paraqeet.propagation.scipy_expm_goat.ScipyExpmGOAT(model, resolution)[source]#

Bases: ScipyExpm, DifferentiablePropagation

Solve EOMs by piecewise exponentiation via Scipy using GOAT.

Parameters:
__init__(model, resolution)[source]#
Parameters:

Methods

__init__(model, resolution)

get_parameters()

Per default, propagation methods have no parameters to optimize.

get_value_and_gradient(times)

Solve the GOAT equation for the gradient vector.

propagate(time)

Return the solution of the equations of motion.

set_initial_state(state)

Set initial state.

Attributes

is_open

Return if the propagation is for open or closed system.

resolution

Return the propagation resolution.

get_parameters()[source]#

Per default, propagation methods have no parameters to optimize.

get_value_and_gradient(times)[source]#

Solve the GOAT equation for the gradient vector.

Parameters:
  • time (Array) – Array of timesteps.

  • times (Array)

Returns:

First dimension is time, second dimension is the parameter.

Return type:

tuple[Array, Array]

property is_open: bool#

Return if the propagation is for open or closed system.

propagate(time)[source]#

Return the solution of the equations of motion.

Loop over all desired times in time at set resolution.

Parameters:

time (Array) – Any one-dimensional vector of timestamps.

Returns:

Returns the solution of the equations of motion.

Return type:

Array

Raises:

ConfigurationException – If the initial state is not set.

property resolution: float#

Return the propagation resolution.

set_initial_state(state)[source]#

Set initial state.