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.
|
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.
|
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() throws OrekitException
null
.OrekitException
- if a frame cannot be created from getFrameString()
and there is no default frame.String getTimeScaleString()
null
if the ephemeris file does not specify a time scale.TimeScale getTimeScale() throws OrekitException
null
.OrekitException
- if a time scale can not be constructed based on getTimeScaleString()
and there is no default time
scale.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()
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() throws OrekitException
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.
OrekitException
- if any of the conditions are not met.Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.