public static interface EphemerisFile.EphemerisSegment
Segments are typically used to split an ephemeris around discontinuous events such as maneuvers.
EphemerisFile
,
EphemerisFile.SatelliteEphemeris
Modifier and Type | Method and Description |
---|---|
CartesianDerivativesFilter |
getAvailableDerivatives()
Get which derivatives of position are available in this ephemeris segment.
|
List<? extends TimeStampedPVCoordinates> |
getCoordinates()
Get the coordinates for this ephemeris segment in
getFrame() . |
Frame |
getFrame()
Get the reference frame for this ephemeris segment.
|
String |
getFrameCenterString()
Get the name of the center of the coordinate system the ephemeris is provided
in.
|
String |
getFrameString()
Get the defining frame for this ephemeris segment.
|
default Frame |
getInertialFrame()
Get the inertial reference frame for this ephemeris segment.
|
int |
getInterpolationSamples()
Get the number of samples to use in interpolation.
|
double |
getMu()
Get the standard gravitational parameter for the satellite.
|
default BoundedPropagator |
getPropagator()
View this ephemeris segment as a propagator.
|
AbsoluteDate |
getStart()
Get the start date of this ephemeris segment.
|
AbsoluteDate |
getStop()
Get the end date of this ephemeris segment.
|
TimeScale |
getTimeScale()
Get the time scale for this ephemeris segment.
|
String |
getTimeScaleString()
Get the time scale for this ephemeris segment.
|
double getMu()
getPropagator()
, in m^3 /
s^2.String getFrameCenterString()
String getFrameString()
null
if the ephemeris file does not specify a frame.Frame getFrame()
getCoordinates()
.null
.default Frame getInertialFrame()
getPropagator()
.
The default implementation returns getFrame()
if it is inertial.
Otherwise it returns Frame.getRoot()
. Implementors are encouraged to
override this default implementation if a more suitable inertial frame is
available.
Frame.isPseudoInertial()
is true
. May be the same as getFrame()
if it is inertial.String getTimeScaleString()
null
if the ephemeris file does not specify a time scale.TimeScale getTimeScale()
null
.int getInterpolationSamples()
CartesianDerivativesFilter getAvailableDerivatives()
While getCoordinates()
always returns position, velocity, and
acceleration the return value from this method indicates which of those are in
the ephemeris file and are actually valid.
List<? extends TimeStampedPVCoordinates> getCoordinates()
getFrame()
.getAvailableDerivatives()
indicates if the velocity or accelerations were
specified in the file. Any position, velocity, or acceleration coordinates that
are not specified in the ephemeris file are zero in the returned values.AbsoluteDate getStart()
The date returned by this method is equivalent to getPropagator().getMinDate()
.
AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
default BoundedPropagator getPropagator()
In order to view the ephemeris for this satellite as a Propagator
several conditions must be met. An Orekit Frame
and TimeScale
must be constructable from the frame and time scale specification in the
ephemeris file. This condition is met when getFrame()
and getTimeScale()
return normally. Additionally,
getMu()
must return a valid value. If these conditions are not met an
OrekitException
may be thrown by this method or by one of the methods
of the returned Propagator
.
Each call to this method creates a new propagator.
Copyright © 2002-2020 CS Group. All rights reserved.