public class TroposphericGradientConverter extends AbstractGradientConverter
Constructor and Description |
---|
TroposphericGradientConverter(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,
DiscreteTroposphericModel tropoModel)
Get the tropospheric model parameters.
|
FieldSpacecraftState<Gradient> |
getState(DiscreteTroposphericModel tropoModel)
Get the state with the number of parameters consistent with tropospheric model.
|
extend, extend, extend
public TroposphericGradientConverter(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(DiscreteTroposphericModel tropoModel)
tropoModel
- tropospheric modelpublic Gradient[] getParameters(FieldSpacecraftState<Gradient> state, DiscreteTroposphericModel tropoModel)
state
- state as returned by getState(DiscreteTroposphericModel)
tropoModel
- tropospheric model associated with the parametersCopyright © 2002-2020 CS GROUP. All rights reserved.