public class CPF.CPFEphemeris extends Object implements EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>, EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
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<CPF.CPFCoordinate> |
getCoordinates()
Get the coordinates for this ephemeris segment in
EphemerisFile.EphemerisSegment.getFrame() . |
List<CPF.CPFCoordinate> |
getEphemeridesDataLines()
Get the list of Ephemerides data lines.
|
Frame |
getFrame()
Get the reference 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<CPF.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInertialFrame
public Frame getFrame()
EphemerisFile.EphemerisSegment.getCoordinates()
.getFrame
in interface EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
null
.public int getInterpolationSamples()
getInterpolationSamples
in interface EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
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<CPF.CPFCoordinate>
public List<CPF.CPFCoordinate> getCoordinates()
EphemerisFile.EphemerisSegment.getFrame()
.getCoordinates
in interface EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
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 String getId()
getId
in interface EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>
null
.public double getMu()
getMu
in interface EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
getMu
in interface EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>
EphemerisFile.SatelliteEphemeris.getPropagator()
, in m³/s².public List<CPF.CPFEphemeris> getSegments()
this
.getSegments
in interface EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>
public AbsoluteDate getStart()
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
getStart
in interface EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>
public AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.EphemerisSegment<CPF.CPFCoordinate>
getStop
in interface EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>
public BoundedPropagator getPropagator()
segments
.
In order to view the ephemeris for this satellite as a Propagator
several conditions must be met. An Orekit Frame
must be constructable
from the frame specification in the ephemeris file. This condition is met when
EphemerisFile.EphemerisSegment.getFrame()
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.EphemerisSegment<CPF.CPFCoordinate>
getPropagator
in interface EphemerisFile.SatelliteEphemeris<CPF.CPFCoordinate,CPF.CPFEphemeris>
public List<CPF.CPFCoordinate> getEphemeridesDataLines()
Copyright © 2002-2021 CS GROUP. All rights reserved.