public class CPFFile.CPFEphemeris extends Object implements EphemerisFile.SatelliteEphemeris, EphemerisFile.EphemerisSegment
| Constructor and Description |
|---|
CPFEphemeris()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CartesianDerivativesFilter |
getAvailableDerivatives()
Get which derivatives of position are available in this ephemeris segment.
|
List<CPFFile.CPFCoordinate> |
getCoordinates()
Get the coordinates for this ephemeris segment in
EphemerisFile.EphemerisSegment.getFrame(). |
List<CPFFile.CPFCoordinate> |
getEphemeridesDataLines()
Get the list of Ephemerides data lines.
|
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.
|
String |
getId()
Get the satellite ID.
|
int |
getInterpolationSamples()
Get the number of samples to use in interpolation.
|
double |
getMu()
Get the standard gravitational parameter for the satellite.
|
BoundedPropagator |
getPropagator()
View this ephemeris as a propagator, combining data from all
segments. |
List<CPFFile.CPFEphemeris> |
getSegments()
Returns a list containing only
this. |
AbsoluteDate |
getStart()
Get the start date of the ephemeris.
|
AbsoluteDate |
getStop()
Get the end date of the ephemeris.
|
TimeScale |
getTimeScale()
Get the time scale for this ephemeris segment.
|
String |
getTimeScaleString()
Get the time scale for this ephemeris segment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInertialFramepublic String getFrameCenterString()
getFrameCenterString in interface EphemerisFile.EphemerisSegmentpublic String getFrameString()
getFrameString in interface EphemerisFile.EphemerisSegmentnull if the ephemeris file does not specify a frame.public Frame getFrame()
EphemerisFile.EphemerisSegment.getCoordinates().getFrame in interface EphemerisFile.EphemerisSegmentnull.public String getTimeScaleString()
getTimeScaleString in interface EphemerisFile.EphemerisSegmentnull if the ephemeris file does not specify a time scale.public TimeScale getTimeScale()
getTimeScale in interface EphemerisFile.EphemerisSegmentnull.public int getInterpolationSamples()
getInterpolationSamples in interface EphemerisFile.EphemerisSegmentpublic 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.EphemerisSegmentpublic List<CPFFile.CPFCoordinate> getCoordinates()
EphemerisFile.EphemerisSegment.getFrame().getCoordinates in interface EphemerisFile.EphemerisSegmentEphemerisFile.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 String getId()
getId in interface EphemerisFile.SatelliteEphemerisnull.public double getMu()
getMu in interface EphemerisFile.EphemerisSegmentgetMu in interface EphemerisFile.SatelliteEphemerisEphemerisFile.SatelliteEphemeris.getPropagator(), in m^3 /
s^2.public List<CPFFile.CPFEphemeris> getSegments()
this.getSegments in interface EphemerisFile.SatelliteEphemerispublic AbsoluteDate getStart()
The date returned by this method is equivalent to getPropagator().getMinDate().
getStart in interface EphemerisFile.EphemerisSegmentgetStart in interface EphemerisFile.SatelliteEphemerispublic AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate().
getStop in interface EphemerisFile.EphemerisSegmentgetStop in interface EphemerisFile.SatelliteEphemerispublic BoundedPropagator getPropagator()
segments.
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 EphemerisFile.EphemerisSegment.getFrame()
and EphemerisFile.EphemerisSegment.getTimeScale() return normally for all segments. If there are multiple segments they must be adjacent
such that there are no duplicates or gaps in the ephemeris. The definition of
adjacent depends on the ephemeris format as some formats define usable start
and stop times that are different from the ephemeris data start and stop times.
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.
getPropagator in interface EphemerisFile.EphemerisSegmentgetPropagator in interface EphemerisFile.SatelliteEphemerispublic List<CPFFile.CPFCoordinate> getEphemeridesDataLines()
Copyright © 2002-2020 CS GROUP. All rights reserved.