public class OsculatingToMeanElementsConverter extends Object
As this process depends on the force models used to average the orbit,
a Propagator
is given as input. The force models used will be
those contained into the propagator. This propagator must
support its initial state to be reset, and this initial state must
represent some mean value. This implies that this method will not work
with TLE propagators
because their initial state cannot be reset, and it won't work either with
Eckstein-Hechler
propagator
as their initial state is osculating and not mean. As of 6.0, this
works mainly for DSST propagator
.
Constructor and Description |
---|
OsculatingToMeanElementsConverter(SpacecraftState state,
int satelliteRevolution,
Propagator propagator,
double positionScale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SpacecraftState |
convert()
Convert an osculating orbit into a mean orbit, in DSST sense.
|
public OsculatingToMeanElementsConverter(SpacecraftState state, int satelliteRevolution, Propagator propagator, double positionScale)
state
- initial orbit to convertsatelliteRevolution
- number of satellite revolutions in the averaging intervalpropagator
- propagator used to compute mean orbitpositionScale
- scaling factor used for orbital parameters normalization
(typically set to the expected standard deviation of the position)public final SpacecraftState convert() throws OrekitException
OrekitException
- if state cannot be propagated throughout rangeCopyright © 2002-2017 CS Systèmes d'information. All rights reserved.