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.
|
|
◆ 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)
Definition at line 33 of file AssociatedLegendre.hpp.
◆ 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
Definition at line 20 of file readAscii2Matrix.cpp.
◆ egm96Coeffs
std::array< std::array< double, 6 >, 65338 > NAV::internal::egm96Coeffs |
◆ GPT2_grid
◆ GPT3_grid