EGM96 coefficients.
More...
|
template<typename T> |
std::pair< Eigen::MatrixX< T >, Eigen::MatrixX< T > > | associatedLegendre (const T &theta, size_t ndegree=10) |
| Calculates the associated Legendre Polynomial coefficients necessary for the EGM96.
|
|
Eigen::MatrixXd | readAscii2Matrix () |
| Read function for EGM96 coefficients.
|
|
|
std::array< std::array< double, 6 >, 65338 > | egm96Coeffs |
| EGM96 coefficients.
|
|
std::array< GPT2Data, 64800 > | GPT2_grid |
| GPT2 grid.
|
|
std::array< GPT3Data, 64800 > | GPT3_grid |
| GPT3 grid.
|
|
◆ associatedLegendre()
template<typename T>
std::pair< Eigen::MatrixX< T >, Eigen::MatrixX< T > > NAV::internal::associatedLegendre |
( |
const T & | theta, |
|
|
size_t | ndegree = 10 ) |
|
nodiscard |
Calculates the associated Legendre Polynomial coefficients necessary for the EGM96.
- Parameters
-
[in] | theta | Elevation angle (spherical coordinates) [rad] |
[in] | ndegree | Degree of associated Legendre polynomials |
- Returns
- Matrix of associated Legendre polynomial coefficients P and its derivative Pd
- Note
- See 'GUT User Guide' (2018) chapter 4.2, equations (4.2.2), (4.2.3) and (4.2.6)
◆ readAscii2Matrix()
Eigen::MatrixXd NAV::internal::readAscii2Matrix |
( |
| ) |
|
|
nodiscard |
Read function for EGM96 coefficients.
- Returns
- 'coeffs' MatrixXd of the EGM96 coefficients
- Attention
- Deprecated: This function is not used anymore, as the coefficients are stored in the source code