PCL
pcl::SerializableEphemerisData Struct Reference

Chebyshev polynomial expansion coefficients for ephemeris serialization. More...

#include <EphemerisFile.h>

Public Member Functions

 SerializableEphemerisData (TimePoint t, const ChebyshevFit &T)
 
 SerializableEphemerisData (const SerializableEphemerisData &)=default
 
 SerializableEphemerisData (SerializableEphemerisData &&)=default
 
SerializableEphemerisDataoperator= (const SerializableEphemerisData &)=default
 
SerializableEphemerisDataoperator= (SerializableEphemerisData &&)=default
 

Public Attributes

ChebyshevFit expansion
 
TimePoint startTime
 

Detailed Description

This structure holds (possibly truncated) Chebyshev polynomial expansions suitable for generation of an ephemeris file in XEPH format with the EphemerisFile::Serialize() static member function.

In an ephemeris file, the complete time span covered by the file is usually subdivided into many small chunks or subspans, each of them with a relatively short polynomial expansion. The duration of each subspan is defined in a way such that the movement of the object for which positions are being calculated within the time subspan is sufficiently smooth to be fitted by truncated Chebyshev polynomials with relatively few coefficients (typically in the range of 15 to 30 coefficients) to achieve a prescribed accuracy.

See also
EphemerisFile::Serialize()

Definition at line 214 of file EphemerisFile.h.

Constructor & Destructor Documentation

◆ SerializableEphemerisData() [1/3]

pcl::SerializableEphemerisData::SerializableEphemerisData ( TimePoint  t,
const ChebyshevFit T 
)
inline

Memberwise constructor.

Definition at line 234 of file EphemerisFile.h.

◆ SerializableEphemerisData() [2/3]

pcl::SerializableEphemerisData::SerializableEphemerisData ( const SerializableEphemerisData )
default

Copy constructor.

◆ SerializableEphemerisData() [3/3]

pcl::SerializableEphemerisData::SerializableEphemerisData ( SerializableEphemerisData &&  )
default

Move constructor.

Member Function Documentation

◆ operator=() [1/2]

SerializableEphemerisData& pcl::SerializableEphemerisData::operator= ( const SerializableEphemerisData )
default

Copy assignment operator. Returns a reference to this object.

◆ operator=() [2/2]

SerializableEphemerisData& pcl::SerializableEphemerisData::operator= ( SerializableEphemerisData &&  )
default

Move assignment operator. Returns a reference to this object.

Member Data Documentation

◆ expansion

ChebyshevFit pcl::SerializableEphemerisData::expansion

Chebyshev polynomial expansion. If the coefficient series has been truncated, only the truncated series will be stored in the XEPH file, that is, truncated coefficients will be ignored.

See also
ChebyshevFit::Truncate()

Definition at line 229 of file EphemerisFile.h.

◆ startTime

TimePoint pcl::SerializableEphemerisData::startTime

Starting point of the time span covered by this Chebyshev polynomial expansion.

Definition at line 220 of file EphemerisFile.h.


The documentation for this struct was generated from the following file: