public class TroposphericDSConverter extends Object
Constructor and Description |
---|
TroposphericDSConverter(SpacecraftState state,
int freeStateParameters,
AttitudeProvider provider)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFreeStateParameters()
Get the number of free state parameters.
|
DerivativeStructure[] |
getParameters(FieldSpacecraftState<DerivativeStructure> state,
DiscreteTroposphericModel tropoModel)
Get the tropospheric model parameters.
|
FieldSpacecraftState<DerivativeStructure> |
getState(DiscreteTroposphericModel tropoModel)
Get the state with the number of parameters consistent with tropospheric model.
|
public TroposphericDSConverter(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()
public FieldSpacecraftState<DerivativeStructure> getState(DiscreteTroposphericModel tropoModel)
tropoModel
- tropospheric modelpublic DerivativeStructure[] getParameters(FieldSpacecraftState<DerivativeStructure> state, DiscreteTroposphericModel tropoModel)
state
- state as returned by getState(DiscreteTroposphericModel)
tropoModel
- tropospheric model associated with the parametersCopyright © 2002-2020 CS Group. All rights reserved.