public class CPF extends Object implements EphemerisFile<CPF.CPFCoordinate,CPF.CPFEphemeris>
Modifier and Type | Class and Description |
---|---|
static class |
CPF.CPFCoordinate
A single record of position and possibility velocity in an SP3 file.
|
class |
CPF.CPFEphemeris
An ephemeris entry for a single satellite contains in a CPF file.
|
EphemerisFile.EphemerisSegment<C extends TimeStampedPVCoordinates>, EphemerisFile.SatelliteEphemeris<C extends TimeStampedPVCoordinates,S extends EphemerisFile.EphemerisSegment<C>>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ID
Default satellite ID, used if header is null when initializing the ephemeris.
|
Constructor and Description |
---|
CPF()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addSatelliteCoordinate(CPF.CPFCoordinate coord)
Deprecated.
as of 11.0.1, replaced by
addSatelliteCoordinate(String, CPFCoordinate) |
void |
addSatelliteCoordinate(String id,
CPF.CPFCoordinate coord)
Add a new P/V coordinates to the satellite.
|
void |
addSatelliteCoordinates(String id,
List<CPF.CPFCoordinate> coord)
Adds a set of P/V coordinates to the satellite.
|
List<String> |
getComments()
Get the comments contained in the file.
|
CPFHeader |
getHeader()
Get the CPF file header.
|
Map<String,CPF.CPFEphemeris> |
getSatellites()
Get the loaded ephemeris for each satellite in the file.
|
TimeScale |
getTimeScale()
Get the time scale used in CPF file.
|
void |
setFilter(CartesianDerivativesFilter filter)
Set the derivatives filter.
|
void |
setInterpolationSample(int interpolationSample)
Set the interpolation sample.
|
void |
setMu(double mu)
Set the gravitational coefficient.
|
void |
setTimeScale(TimeScale timeScale)
Set the time scale.
|
public static final String DEFAULT_ID
public Map<String,CPF.CPFEphemeris> getSatellites()
ILRSHeader.getIlrsSatelliteId()
getSatellites
in interface EphemerisFile<CPF.CPFCoordinate,CPF.CPFEphemeris>
public CPFHeader getHeader()
public TimeScale getTimeScale()
public List<String> getComments()
@Deprecated public void addSatelliteCoordinate(CPF.CPFCoordinate coord)
addSatelliteCoordinate(String, CPFCoordinate)
If the header has not been read, the DEFAULT_ID
is used.
coord
- the P/V coordinate of the satellitepublic void addSatelliteCoordinates(String id, List<CPF.CPFCoordinate> coord)
id
- satellite ILRS identifiercoord
- set of coordinatespublic void addSatelliteCoordinate(String id, CPF.CPFCoordinate coord)
id
- satellite ILRS identifiercoord
- the P/V coordinate of the satellitepublic void setInterpolationSample(int interpolationSample)
interpolationSample
- interpolation samplepublic void setMu(double mu)
mu
- the coefficient to be setpublic void setTimeScale(TimeScale timeScale)
timeScale
- use to parse dates in this file.public void setFilter(CartesianDerivativesFilter filter)
filter
- that indicates which derivatives of position are available.Copyright © 2002-2022 CS GROUP. All rights reserved.