paraqeet.propagation.scipy_expm_goat.ScipyExpmGOAT#
- class paraqeet.propagation.scipy_expm_goat.ScipyExpmGOAT(model, resolution)[source]#
Bases:
ScipyExpm,DifferentiablePropagationSolve EOMs by piecewise exponentiation via Scipy using GOAT.
- Parameters:
model (EquationOfMotion)
resolution (float)
- __init__(model, resolution)[source]#
- Parameters:
model (EquationOfMotion)
resolution (float)
Methods
__init__(model, resolution)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
Return if the propagation is for open or closed system.
Return the propagation resolution.
- 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.