spa#

namespace saltro
namespace constants
namespace NRELSPA#

Variables

const double L0_TABLE[][3]#

Heliocentric longitude tables (L0-L5).

Tabulated Fourier series coefficients for computing the heliocentric ecliptic longitude of the Earth-Sun line. Six tables correspond to increasingly higher precision terms in the NREL Solar Position Algorithm. Each table row contains three coefficients: amplitude, angle frequency, and phase offset.

const int L0_COUNT#
const double L1_TABLE[][3]#
const int L1_COUNT#
const double L2_TABLE[][3]#
const int L2_COUNT#
const double L3_TABLE[][3]#
const int L3_COUNT#
const double L4_TABLE[][3]#
const int L4_COUNT#
const double L5_TABLE[][3]#
const int L5_COUNT#
const double B0_TABLE[][3]#

Heliocentric latitude tables (B0-B1).

Tabulated Fourier coefficients for heliocentric ecliptic latitude. Two tables provide increasing precision in latitude calculations.

const int B0_COUNT#
const double B1_TABLE[][3]#
const int B1_COUNT#
const double R0_TABLE[][3]#

Heliocentric radius tables (R0-R4).

Tabulated Fourier coefficients for Earth-Sun distance (in AU). Five tables provide increasing precision in radius vector calculations.

const int R0_COUNT#
const double R1_TABLE[][3]#
const int R1_COUNT#
const double R2_TABLE[][3]#
const int R2_COUNT#
const double R3_TABLE[][3]#
const int R3_COUNT#
const double R4_TABLE[][3]#
const int R4_COUNT#
const double Y_TABLE[][9]#

Nutation coefficients table (IAU 1980 standard).

Tabulated coefficients for computing nutation corrections to Earth’s precession. Contains 63 terms as per the IAU 1980 nutation model. Each row contains 9 coefficients for harmonic and polynomial evaluation.

const int Y_COUNT#