public class IonosphericGradientConverter extends AbstractGradientConverter
Constructor and Description |
---|
IonosphericGradientConverter(SpacecraftState state,
int freeStateParameters,
AttitudeProvider provider)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFreeStateParameters()
Get the number of free state parameters.
|
Gradient[] |
getParameters(FieldSpacecraftState<Gradient> state,
IonosphericModel ionoModel)
Get the ionospheric model parameters.
|
FieldSpacecraftState<Gradient> |
getState(IonosphericModel ionoModel)
Get the state with the number of parameters consistent with ionospheric model.
|
extend, extend, extend
public IonosphericGradientConverter(SpacecraftState state, int freeStateParameters, AttitudeProvider provider)
state
- regular statefreeStateParameters
- number of free parameters, either 3 (position) or 6 (position-velocity)provider
- provider to use if attitude needs to be recomputedpublic int getFreeStateParameters()
getFreeStateParameters
in class AbstractGradientConverter
public FieldSpacecraftState<Gradient> getState(IonosphericModel ionoModel)
ionoModel
- ionospheric modelpublic Gradient[] getParameters(FieldSpacecraftState<Gradient> state, IonosphericModel ionoModel)
state
- state as returned by getState(IonosphericModel)
ionoModel
- ionospheric model associated with the parametersCopyright © 2002-2020 CS GROUP. All rights reserved.