public class SP3Ephemeris extends Object implements EphemerisFile.SatelliteEphemeris<SP3Coordinate,SP3Segment>
SP3
file.Constructor and Description |
---|
SP3Ephemeris(String id,
double mu,
Frame frame,
int interpolationSamples,
CartesianDerivativesFilter filter)
Create an ephemeris for a single satellite.
|
Modifier and Type | Method and Description |
---|---|
void |
addCoordinate(SP3Coordinate coord,
double maxGap)
Adds a new P/V coordinate.
|
CartesianDerivativesFilter |
getAvailableDerivatives()
Get the available derivatives.
|
Frame |
getFrame()
Get the reference frame.
|
String |
getId()
Get the satellite ID.
|
int |
getInterpolationSamples()
Get the number of points to use for interpolation.
|
double |
getMu()
Get the standard gravitational parameter for the satellite.
|
List<SP3Segment> |
getSegments()
Get the segments of the ephemeris.
|
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
getPropagator, getPropagator
public SP3Ephemeris(String id, double mu, Frame frame, int interpolationSamples, CartesianDerivativesFilter filter)
id
- of the satellite.mu
- standard gravitational parameter to use for creating
Orbits
from the ephemeris data.frame
- reference frameinterpolationSamples
- number of points to use for interpolationfilter
- available derivativespublic String getId()
getId
in interface EphemerisFile.SatelliteEphemeris<SP3Coordinate,SP3Segment>
null
.public double getMu()
getMu
in interface EphemerisFile.SatelliteEphemeris<SP3Coordinate,SP3Segment>
EphemerisFile.SatelliteEphemeris.getPropagator(AttitudeProvider)
, in m³/s².public List<SP3Segment> getSegments()
Ephemeris segments are typically used to split an ephemeris around discontinuous events, such as maneuvers.
getSegments
in interface EphemerisFile.SatelliteEphemeris<SP3Coordinate,SP3Segment>
public AbsoluteDate getStart()
The date returned by this method is equivalent to getPropagator().getMinDate()
.
getStart
in interface EphemerisFile.SatelliteEphemeris<SP3Coordinate,SP3Segment>
public AbsoluteDate getStop()
The date returned by this method is equivalent to getPropagator().getMaxDate()
.
getStop
in interface EphemerisFile.SatelliteEphemeris<SP3Coordinate,SP3Segment>
public Frame getFrame()
public int getInterpolationSamples()
public CartesianDerivativesFilter getAvailableDerivatives()
public void addCoordinate(SP3Coordinate coord, double maxGap)
coord
- the P/V coordinate of the satellitemaxGap
- maximum gap between segmentsCopyright © 2002-2023 CS GROUP. All rights reserved.