1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (C) 2026 Vallés Puig, Ramon
// ────────────────────────────────────────────────────────────────────────────
// Main term of the lunar theory (ELP “Main Problem” series).
// Each record governs one sine term of the form:
//
// Δλ = a * sin( Σ ilu[i] * Φ_i + Σ b[j] * T^j )
//
// where
// Φ_i = {D, M, M′, F} → the four fundamental lunar arguments
// T = Julian millennia from J2000 (ΔT = (JD − 2451545.0)/365250)
// b[j] = time polynomial coefficients (constant, linear, … 5th-order)
//
// All amplitudes are usually given in 0.0001″ (10⁻⁴ arc-sec).
// ────────────────────────────────────────────────────────────────────────────
// ────────────────────────────────────────────────────────────────────────────
// Earth–Moon specific perturbations (ELP Earth Perturbation series).
// A term contributes
//
// Δλ = a · T^iz · sin( Σ ilu[i] * Φ_i + p + o·T )
//
// iz = real exponent of T (often 0, 1, or −1)
// o = secular rate in the phase (radians per Julian millennia)
// p = phase offset at T = 0
// ────────────────────────────────────────────────────────────────────────────
// ────────────────────────────────────────────────────────────────────────────
// Planetary perturbations acting on the Moon
// (ELP Planetary Perturbation series).
// Each term is:
//
// Δλ = θ · sin( Σ ipla[k] * Π_k + p + o·T )
//
// Π_k = 11 planetary arguments (L_ME, L_VE, …, L_NE, D, M, M′)
// θ = amplitude (arc-seconds)
// o = secular rate in phase
// p = phase offset
// ────────────────────────────────────────────────────────────────────────────