Class DerivativeStateUtils

java.lang.Object
org.orekit.utils.DerivativeStateUtils

public class DerivativeStateUtils extends Object
Utility class used to convert state vectors in Taylor differential algebra.
Since:
13.1
Author:
Romain Serra
See Also:
  • Method Details

    • buildSpacecraftStateTransitionGradient

      public static FieldSpacecraftState<Gradient> buildSpacecraftStateTransitionGradient(SpacecraftState state, RealMatrix partialDerivatives, AttitudeProvider attitudeProvider)
      Method creating a Gradient version of the input state from a given transition matrix. The number of independent variables equals the number of columns. The number of rows tells how many state variables are considered to be the dependent variables in the Taylor differential algebra. If the number of state variables is greater than 6, mass will be considered one. Additional data and derivatives are ignored.
      Parameters:
      state - full state
      partialDerivatives - Jacobian matrix of state variables to consider as dependent ones, w.r.t. unknown parameters
      attitudeProvider - provider to recompute attitude, can be null
      Returns:
      fielded state
      See Also:
    • buildSpacecraftStateGradient

      public static FieldSpacecraftState<Gradient> buildSpacecraftStateGradient(GradientField field, SpacecraftState state, AttitudeProvider attitudeProvider)
      Method creating a Gradient version of the input state, using the state vector as the independent variables of a first- order Taylor algebra. If the number of variables is greater than 6, mass will be considered one. Additional data and derivatives are ignored.
      Parameters:
      field - gradient field
      state - full state
      attitudeProvider - provider to recompute attitude, can be null
      Returns:
      fielded state
      See Also:
    • buildOrbitGradient

      public static FieldOrbit<Gradient> buildOrbitGradient(GradientField field, Orbit orbit)
      Method creating a Gradient version of the input orbit, using the state vector as the independent variables of a first- order Taylor algebra. If the number of variables is greater than 6, mass will be considered one.
      Parameters:
      field - gradient field
      orbit - orbit
      Returns:
      fielded orbit
      See Also:
    • buildAbsolutePVGradient

      public static FieldAbsolutePVCoordinates<Gradient> buildAbsolutePVGradient(GradientField field, AbsolutePVCoordinates coordinates)
      Method creating a Gradient version of the input coordinates, using the state vector as the independent variables of a first- order Taylor algebra. If the number of variables is greater than 6, mass will be considered one.
      Parameters:
      field - gradient field
      coordinates - absolute coordinates
      Returns:
      fielded coordinates
      See Also: