Class TroposphericDSConverter
- java.lang.Object
-
- org.orekit.estimation.measurements.modifiers.TroposphericDSConverter
-
public class TroposphericDSConverter extends Object
Converter for states and parameters arrays.- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description TroposphericDSConverter(SpacecraftState state, int freeStateParameters, AttitudeProvider provider)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFreeStateParameters()
Get the number of free state parameters.org.hipparchus.analysis.differentiation.DerivativeStructure[]
getParameters(FieldSpacecraftState<org.hipparchus.analysis.differentiation.DerivativeStructure> state, DiscreteTroposphericModel tropoModel)
Get the tropospheric model parameters.FieldSpacecraftState<org.hipparchus.analysis.differentiation.DerivativeStructure>
getState(DiscreteTroposphericModel tropoModel)
Get the state with the number of parameters consistent with tropospheric model.
-
-
-
Constructor Detail
-
TroposphericDSConverter
public TroposphericDSConverter(SpacecraftState state, int freeStateParameters, AttitudeProvider provider)
Simple constructor.- Parameters:
state
- regular statefreeStateParameters
- number of free parameters, either 3 (position) or 6 (position-velocity)provider
- provider to use if attitude needs to be recomputed
-
-
Method Detail
-
getFreeStateParameters
public int getFreeStateParameters()
Get the number of free state parameters.- Returns:
- number of free state parameters
-
getState
public FieldSpacecraftState<org.hipparchus.analysis.differentiation.DerivativeStructure> getState(DiscreteTroposphericModel tropoModel)
Get the state with the number of parameters consistent with tropospheric model.- Parameters:
tropoModel
- tropospheric model- Returns:
- state with the number of parameters consistent with tropospheric model
-
getParameters
public org.hipparchus.analysis.differentiation.DerivativeStructure[] getParameters(FieldSpacecraftState<org.hipparchus.analysis.differentiation.DerivativeStructure> state, DiscreteTroposphericModel tropoModel)
Get the tropospheric model parameters.- Parameters:
state
- state as returned bygetState(DiscreteTroposphericModel)
tropoModel
- tropospheric model associated with the parameters- Returns:
- tropospheric model parameters
-
-