public class OemSegment extends Segment<OemMetadata,OemData> implements EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
Constructor and Description |
---|
OemSegment(OemMetadata metadata,
OemData data,
double mu)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
CartesianDerivativesFilter |
getAvailableDerivatives()
Get which derivatives of position are available in this ephemeris segment.
|
List<TimeStampedPVCoordinates> |
getCoordinates()
Get the coordinates for this ephemeris segment in
EphemerisFile.EphemerisSegment.getFrame() . |
List<CartesianCovariance> |
getCovarianceMatrices()
Get an unmodifiable view of Covariance Matrices.
|
Frame |
getFrame()
Get the reference frame for this ephemeris segment.
|
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.
|
AbsoluteDate |
getStart()
Get the start date of this ephemeris segment.
|
AbsoluteDate |
getStop()
Get the end date of this ephemeris segment.
|
getData, getMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropagator
public OemSegment(OemMetadata metadata, OemData data, double mu)
metadata
- segment metadatadata
- segment datamu
- gravitational parameter in m³/s²public double getMu()
getMu
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
EphemerisFile.EphemerisSegment.getPropagator()
, in m³/s².public List<TimeStampedPVCoordinates> getCoordinates()
EphemerisFile.EphemerisSegment.getFrame()
.getCoordinates
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
EphemerisFile.EphemerisSegment.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.public CartesianDerivativesFilter getAvailableDerivatives()
While EphemerisFile.EphemerisSegment.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.
getAvailableDerivatives
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
public List<CartesianCovariance> getCovarianceMatrices()
public Frame getFrame()
EphemerisFile.EphemerisSegment.getCoordinates()
.getFrame
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
null
.public Frame getInertialFrame()
EphemerisFile.EphemerisSegment.getPropagator()
.
The default implementation returns EphemerisFile.EphemerisSegment.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.
This implementation returns defining frame
if it is pseudo-inertial
, or
its closest ancestor
that is
pseudo-inertial.
getInertialFrame
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
Frame.isPseudoInertial()
is true
. May be the same as EphemerisFile.EphemerisSegment.getFrame()
if it is inertial.public AbsoluteDate getStart()
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
public AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
public int getInterpolationSamples()
getInterpolationSamples
in interface EphemerisFile.EphemerisSegment<TimeStampedPVCoordinates>
Copyright © 2002-2022 CS GROUP. All rights reserved.