@johnmorrisdotca/wakusei-planets 0.17.2 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/NOTICE.md +8 -4
  3. package/README.md +9 -5
  4. package/dist/calendar.d.ts +119 -0
  5. package/dist/calendar.js +154 -0
  6. package/dist/clock.d.ts +244 -0
  7. package/dist/clock.js +326 -0
  8. package/dist/coordinates.d.ts +177 -0
  9. package/dist/coordinates.js +169 -0
  10. package/dist/data/lunar.d.ts +4 -0
  11. package/dist/data/lunar.js +548 -0
  12. package/dist/data/orbits.d.ts +5 -1
  13. package/dist/data/orbits.js +26 -26
  14. package/dist/data/pluto.d.ts +6 -0
  15. package/dist/data/pluto.js +29 -0
  16. package/dist/data/tables.d.ts +41 -0
  17. package/dist/data/tables.js +37 -0
  18. package/dist/data/vsop.d.ts +21 -0
  19. package/dist/data/vsop.js +27 -0
  20. package/dist/element.d.ts +5 -3
  21. package/dist/element.js +22 -9
  22. package/dist/ephemeris.d.ts +4 -16
  23. package/dist/ephemeris.js +76 -33
  24. package/dist/live.js +1 -1
  25. package/dist/mars.d.ts +41 -0
  26. package/dist/mars.js +52 -0
  27. package/dist/scales.d.ts +46 -0
  28. package/dist/scales.js +75 -0
  29. package/dist/sidereal.d.ts +66 -0
  30. package/dist/sidereal.js +88 -0
  31. package/dist/sky/engine.d.ts +46 -0
  32. package/dist/sky/engine.js +145 -0
  33. package/dist/sky/events.d.ts +37 -0
  34. package/dist/sky/events.js +133 -0
  35. package/dist/suncalc-legacy.d.ts +187 -0
  36. package/dist/suncalc-legacy.js +168 -0
  37. package/dist/suncalc.d.ts +209 -0
  38. package/dist/suncalc.js +173 -0
  39. package/dist/tables/all.d.ts +2 -0
  40. package/dist/tables/all.js +2 -0
  41. package/dist/tables/ceres.d.ts +1 -0
  42. package/dist/tables/ceres.js +57 -0
  43. package/dist/tables/dwarfs.d.ts +1 -0
  44. package/dist/tables/dwarfs.js +59 -0
  45. package/dist/theory.d.ts +20 -0
  46. package/dist/theory.js +98 -0
  47. package/dist/time.d.ts +6 -0
  48. package/dist/time.js +7 -0
  49. package/dist/version.d.ts +1 -1
  50. package/dist/version.js +1 -1
  51. package/dist/when.d.ts +16 -0
  52. package/dist/when.js +18 -0
  53. package/package.json +71 -5
@@ -0,0 +1,548 @@
1
+ // Made by scripts/make-lunar-data.py from the lunar solution ELP2000-82B (Chapront-Touze and Chapront, Astron. Astrophys. 124, 50 (1983) and 190, 342 (1988); IMCCE, Observatoire de Paris, https://ftp.imcce.fr/pub/ephem/moon/elp82b/); do not edit by hand.
2
+ // Terms of at least 0.05 arc-seconds over 1800 to 2200 (375 of 2645 main-problem terms, 165 of 35227 others). Each is a sine; longitude and latitude in arc-seconds, distance in kilometres.
3
+ /** The main problem: coordinate (0 longitude, 1 latitude, 2 distance), amplitude, then the multipliers of D, l', l and F. A distance term is a cosine, which the evaluator makes a sine a quarter turn on. */
4
+ export const LUNAR_MAIN = [
5
+ [0, -411.59567, 0, 0, 0, 2],
6
+ [0, 0.42033, 0, 0, 0, 4],
7
+ [0, -0.08019, 0, 0, 1, -4],
8
+ [0, 39.53329, 0, 0, 1, -2],
9
+ [0, 22639.58578, 0, 0, 1, 0],
10
+ [0, -45.0996, 0, 0, 1, 2],
11
+ [0, 0.09092, 0, 0, 1, 4],
12
+ [0, -1.37257, 0, 0, 2, -2],
13
+ [0, 769.02571, 0, 0, 2, 0],
14
+ [0, -3.99761, 0, 0, 2, 2],
15
+ [0, -0.05684, 0, 0, 3, -2],
16
+ [0, 36.12381, 0, 0, 3, 0],
17
+ [0, -0.32866, 0, 0, 3, 2],
18
+ [0, 1.93368, 0, 0, 4, 0],
19
+ [0, 0.111, 0, 0, 5, 0],
20
+ [0, -0.66938, 0, 1, -3, 0],
21
+ [0, 0.05165, 0, 1, -2, -2],
22
+ [0, -9.67905, 0, 1, -2, 0],
23
+ [0, 0.30155, 0, 1, -1, -2],
24
+ [0, -147.32129, 0, 1, -1, 0],
25
+ [0, -0.08049, 0, 1, -1, 2],
26
+ [0, 0.07501, 0, 1, 0, -2],
27
+ [0, -666.4171, 0, 1, 0, 0],
28
+ [0, 0.4134, 0, 1, 0, 2],
29
+ [0, -0.08282, 0, 1, 1, -2],
30
+ [0, -109.38029, 0, 1, 1, 0],
31
+ [0, 0.26337, 0, 1, 1, 2],
32
+ [0, -7.63015, 0, 1, 2, 0],
33
+ [0, -0.54592, 0, 1, 3, 0],
34
+ [0, -0.1931, 0, 2, -2, 0],
35
+ [0, -2.56794, 0, 2, -1, 0],
36
+ [0, -7.44749, 0, 2, 0, 0],
37
+ [0, -1.16169, 0, 2, 1, 0],
38
+ [0, -0.06513, 0, 2, 2, 0],
39
+ [0, -0.05141, 0, 3, -1, 0],
40
+ [0, -0.10135, 0, 3, 0, 0],
41
+ [0, -0.13636, 1, -1, -1, 0],
42
+ [0, -0.55692, 1, -1, 0, 0],
43
+ [0, -0.12073, 1, -1, 1, 0],
44
+ [0, -0.12812, 1, 0, -3, 0],
45
+ [0, -1.75297, 1, 0, -2, 0],
46
+ [0, -18.58471, 1, 0, -1, 0],
47
+ [0, -0.58331, 1, 0, 0, -2],
48
+ [0, -124.98812, 1, 0, 0, 0],
49
+ [0, 0.25429, 1, 0, 0, 2],
50
+ [0, -8.4531, 1, 0, 1, 0],
51
+ [0, -0.58399, 1, 0, 2, 0],
52
+ [0, 0.34965, 1, 1, -2, 0],
53
+ [0, 1.07769, 1, 1, -1, 0],
54
+ [0, 17.95446, 1, 1, 0, 0],
55
+ [0, 1.26182, 1, 1, 1, 0],
56
+ [0, 0.09205, 1, 1, 2, 0],
57
+ [0, 0.24694, 2, -3, -1, 0],
58
+ [0, 0.33979, 2, -3, 0, 0],
59
+ [0, 0.2942, 2, -2, -2, 0],
60
+ [0, 7.37119, 2, -2, -1, 0],
61
+ [0, 0.06313, 2, -2, 0, -2],
62
+ [0, 8.05016, 2, -2, 0, 0],
63
+ [0, 0.75168, 2, -2, 1, 0],
64
+ [0, 0.06439, 2, -2, 2, 0],
65
+ [0, 0.4784, 2, -1, -3, 0],
66
+ [0, 8.60553, 2, -1, -2, 0],
67
+ [0, -0.06103, 2, -1, -1, -2],
68
+ [0, 205.43582, 2, -1, -1, 0],
69
+ [0, -0.42622, 2, -1, -1, 2],
70
+ [0, 2.14607, 2, -1, 0, -2],
71
+ [0, 164.72851, 2, -1, 0, 0],
72
+ [0, -0.38213, 2, -1, 0, 2],
73
+ [0, -0.37451, 2, -1, 1, -2],
74
+ [0, 14.53027, 2, -1, 1, 0],
75
+ [0, -0.07373, 2, -1, 1, 2],
76
+ [0, 1.177, 2, -1, 2, 0],
77
+ [0, 0.0932, 2, -1, 3, 0],
78
+ [0, 0.0685, 2, 0, -5, 0],
79
+ [0, 0.94828, 2, 0, -4, 0],
80
+ [0, -0.09154, 2, 0, -3, -2],
81
+ [0, 13.19406, 2, 0, -3, 0],
82
+ [0, -0.56064, 2, 0, -2, -2],
83
+ [0, 211.65555, 2, 0, -2, 0],
84
+ [0, -0.53571, 2, 0, -2, 2],
85
+ [0, 0.17903, 2, 0, -1, -2],
86
+ [0, 4586.4383, 2, 0, -1, 0],
87
+ [0, -9.36586, 2, 0, -1, 2],
88
+ [0, -0.07518, 2, 0, 0, -4],
89
+ [0, 55.17705, 2, 0, 0, -2],
90
+ [0, 2369.91394, 2, 0, 0, 0],
91
+ [0, -5.74161, 2, 0, 0, 2],
92
+ [0, -6.38315, 2, 0, 1, -2],
93
+ [0, 191.9562, 2, 0, 1, 0],
94
+ [0, -0.99022, 2, 0, 1, 2],
95
+ [0, -0.45379, 2, 0, 2, -2],
96
+ [0, 14.3797, 2, 0, 2, 0],
97
+ [0, -0.12386, 2, 0, 2, 2],
98
+ [0, 1.0595, 2, 0, 3, 0],
99
+ [0, 0.07765, 2, 0, 4, 0],
100
+ [0, 0.17623, 2, 1, -3, 0],
101
+ [0, 2.48889, 2, 1, -2, 0],
102
+ [0, -28.39708, 2, 1, -1, 0],
103
+ [0, 0.06742, 2, 1, -1, 2],
104
+ [0, -1.43716, 2, 1, 0, -2],
105
+ [0, -24.35821, 2, 1, 0, 0],
106
+ [0, 0.06541, 2, 1, 0, 2],
107
+ [0, 0.08472, 2, 1, 1, -2],
108
+ [0, -2.91454, 2, 1, 1, 0],
109
+ [0, -0.29022, 2, 1, 2, 0],
110
+ [0, -0.24988, 2, 2, -2, 0],
111
+ [0, -2.5212, 2, 2, -1, 0],
112
+ [0, -0.18575, 2, 2, 0, 0],
113
+ [0, -0.08311, 3, -1, -2, 0],
114
+ [0, -0.2314, 3, -1, -1, 0],
115
+ [0, 0.06507, 3, -1, 0, 0],
116
+ [0, -1.22412, 3, 0, -2, 0],
117
+ [0, -3.20969, 3, 0, -1, 0],
118
+ [0, -0.25304, 3, 0, 0, -2],
119
+ [0, 0.40423, 3, 0, 0, 0],
120
+ [0, 0.27376, 3, 1, -1, 0],
121
+ [0, 0.14989, 3, 1, 0, 0],
122
+ [0, 0.1578, 4, -2, -2, 0],
123
+ [0, 0.30872, 4, -2, -1, 0],
124
+ [0, 0.15226, 4, -2, 0, 0],
125
+ [0, 0.09982, 4, -1, -3, 0],
126
+ [0, 2.73189, 4, -1, -2, 0],
127
+ [0, 4.37401, 4, -1, -1, 0],
128
+ [0, 1.87076, 4, -1, 0, 0],
129
+ [0, 0.2825, 4, -1, 1, 0],
130
+ [0, 1.18683, 4, 0, -3, 0],
131
+ [0, 30.77257, 4, 0, -2, 0],
132
+ [0, -0.16977, 4, 0, -2, 2],
133
+ [0, 0.30086, 4, 0, -1, -2],
134
+ [0, 38.42983, 4, 0, -1, 0],
135
+ [0, -0.20134, 4, 0, -1, 2],
136
+ [0, 13.89906, 4, 0, 0, 0],
137
+ [0, -0.085, 4, 0, 0, 2],
138
+ [0, -0.06601, 4, 0, 1, -2],
139
+ [0, 1.97773, 4, 0, 1, 0],
140
+ [0, 0.21853, 4, 0, 2, 0],
141
+ [0, -0.35758, 4, 1, -2, 0],
142
+ [0, -0.63521, 4, 1, -1, 0],
143
+ [0, -0.2891, 4, 1, 0, 0],
144
+ [0, -0.0507, 4, 1, 1, 0],
145
+ [0, -0.05725, 5, 0, -2, 0],
146
+ [0, 0.09033, 6, -1, -2, 0],
147
+ [0, 0.07142, 6, -1, -1, 0],
148
+ [0, 0.29255, 6, 0, -3, 0],
149
+ [0, 0.57156, 6, 0, -2, 0],
150
+ [0, 0.39451, 6, 0, -1, 0],
151
+ [0, 0.12616, 6, 0, 0, 0],
152
+ [1, 18461.23868, 0, 0, 0, 1],
153
+ [1, -6.29648, 0, 0, 0, 3],
154
+ [1, 2.79864, 0, 0, 1, -3],
155
+ [1, 999.69358, 0, 0, 1, -1],
156
+ [1, 1010.16707, 0, 0, 1, 1],
157
+ [1, -1.01938, 0, 0, 1, 3],
158
+ [1, -0.13035, 0, 0, 2, -3],
159
+ [1, 31.75967, 0, 0, 2, -1],
160
+ [1, 61.91195, 0, 0, 2, 1],
161
+ [1, -0.11787, 0, 0, 2, 3],
162
+ [1, 1.5813, 0, 0, 3, -1],
163
+ [1, 3.98405, 0, 0, 3, 1],
164
+ [1, 0.09157, 0, 0, 4, -1],
165
+ [1, 0.26325, 0, 0, 4, 1],
166
+ [1, -0.07479, 0, 1, -3, -1],
167
+ [1, -0.79319, 0, 1, -2, -1],
168
+ [1, -0.30128, 0, 1, -2, 1],
169
+ [1, -6.73143, 0, 1, -1, -1],
170
+ [1, -5.63235, 0, 1, -1, 1],
171
+ [1, -4.83961, 0, 1, 0, -1],
172
+ [1, -6.46007, 0, 1, 0, 1],
173
+ [1, -5.07591, 0, 1, 1, -1],
174
+ [1, -5.31127, 0, 1, 1, 1],
175
+ [1, -0.31291, 0, 1, 2, -1],
176
+ [1, -0.63881, 0, 1, 2, 1],
177
+ [1, -0.06176, 0, 1, 3, 1],
178
+ [1, -0.11334, 0, 2, -1, -1],
179
+ [1, -0.0951, 0, 2, -1, 1],
180
+ [1, -0.05729, 0, 2, 0, 1],
181
+ [1, -0.06186, 0, 2, 1, -1],
182
+ [1, -0.05504, 0, 2, 1, 1],
183
+ [1, -0.10964, 1, 0, -2, -1],
184
+ [1, -0.07846, 1, 0, -2, 1],
185
+ [1, -0.42989, 1, 0, -1, -1],
186
+ [1, 0.13928, 1, 0, -1, 1],
187
+ [1, -4.80574, 1, 0, 0, -1],
188
+ [1, -5.3684, 1, 0, 0, 1],
189
+ [1, -0.58893, 1, 0, 1, -1],
190
+ [1, -0.66741, 1, 0, 1, 1],
191
+ [1, -0.06383, 1, 0, 2, 1],
192
+ [1, -0.0559, 1, 1, -1, 1],
193
+ [1, 0.80422, 1, 1, 0, -1],
194
+ [1, 0.80259, 1, 1, 0, 1],
195
+ [1, 0.10176, 1, 1, 1, 1],
196
+ [1, 0.26863, 2, -2, -1, -1],
197
+ [1, 0.31471, 2, -2, -1, 1],
198
+ [1, 1.08578, 2, -2, 0, -1],
199
+ [1, 0.3835, 2, -2, 0, 1],
200
+ [1, 0.06914, 2, -2, 1, -1],
201
+ [1, 0.05848, 2, -2, 1, 1],
202
+ [1, 0.05502, 2, -1, -3, -1],
203
+ [1, 0.65022, 2, -1, -2, -1],
204
+ [1, -0.06208, 2, -1, -2, 1],
205
+ [1, 7.43455, 2, -1, -1, -1],
206
+ [1, 8.86814, 2, -1, -1, 1],
207
+ [1, 0.08814, 2, -1, 0, -3],
208
+ [1, 29.57658, 2, -1, 0, -1],
209
+ [1, 7.95855, 2, -1, 0, 1],
210
+ [1, 1.76598, 2, -1, 1, -1],
211
+ [1, 1.13461, 2, -1, 1, 1],
212
+ [1, 0.12896, 2, -1, 2, -1],
213
+ [1, 0.12386, 2, -1, 2, 1],
214
+ [1, 0.13381, 2, 0, -4, -1],
215
+ [1, 1.51563, 2, 0, -3, -1],
216
+ [1, 0.25408, 2, 0, -3, 1],
217
+ [1, 15.56626, 2, 0, -2, -1],
218
+ [1, -1.62442, 2, 0, -2, 1],
219
+ [1, -0.06561, 2, 0, -2, 3],
220
+ [1, 0.32906, 2, 0, -1, -3],
221
+ [1, 166.5741, 2, 0, -1, -1],
222
+ [1, 199.48374, 2, 0, -1, 1],
223
+ [1, -0.24483, 2, 0, -1, 3],
224
+ [1, 2.18631, 2, 0, 0, -3],
225
+ [1, 623.65243, 2, 0, 0, -1],
226
+ [1, 117.26069, 2, 0, 0, 1],
227
+ [1, -0.14453, 2, 0, 0, 3],
228
+ [1, -0.29115, 2, 0, 1, -3],
229
+ [1, 33.3572, 2, 0, 1, -1],
230
+ [1, 15.12155, 2, 0, 1, 1],
231
+ [1, 2.14617, 2, 0, 2, -1],
232
+ [1, 1.51975, 2, 0, 2, 1],
233
+ [1, 0.14642, 2, 0, 3, -1],
234
+ [1, 0.13795, 2, 0, 3, 1],
235
+ [1, 0.07913, 2, 1, -2, -1],
236
+ [1, 0.05429, 2, 1, -2, 1],
237
+ [1, -0.79101, 2, 1, -1, -1],
238
+ [1, -1.31782, 2, 1, -1, 1],
239
+ [1, -0.05457, 2, 1, 0, -3],
240
+ [1, -12.09414, 2, 1, 0, -1],
241
+ [1, -1.26427, 2, 1, 0, 1],
242
+ [1, -0.82271, 2, 1, 1, -1],
243
+ [1, -0.23701, 2, 1, 1, 1],
244
+ [1, -0.06283, 2, 1, 2, -1],
245
+ [1, -0.10534, 2, 2, -1, -1],
246
+ [1, -0.11329, 2, 2, -1, 1],
247
+ [1, -0.13414, 2, 2, 0, -1],
248
+ [1, -0.30517, 3, 0, -1, -1],
249
+ [1, -0.20593, 3, 0, -1, 1],
250
+ [1, -0.35183, 3, 0, 0, -1],
251
+ [1, 0.05251, 4, -1, -2, -1],
252
+ [1, 0.21375, 4, -1, -2, 1],
253
+ [1, 0.59577, 4, -1, -1, -1],
254
+ [1, 0.33881, 4, -1, -1, 1],
255
+ [1, 0.41494, 4, -1, 0, -1],
256
+ [1, 0.1579, 4, -1, 0, 1],
257
+ [1, 0.05686, 4, -1, 1, -1],
258
+ [1, 0.63371, 4, 0, -2, -1],
259
+ [1, 2.41388, 4, 0, -2, 1],
260
+ [1, 6.57957, 4, 0, -1, -1],
261
+ [1, 2.99848, 4, 0, -1, 1],
262
+ [1, 0.06257, 4, 0, 0, -3],
263
+ [1, 3.67446, 4, 0, 0, -1],
264
+ [1, 1.19187, 4, 0, 0, 1],
265
+ [1, 0.47338, 4, 0, 1, -1],
266
+ [1, 0.21259, 4, 0, 1, 1],
267
+ [1, -0.1719, 4, 1, -1, -1],
268
+ [1, -0.05097, 4, 1, -1, 1],
269
+ [1, -0.11307, 4, 1, 0, -1],
270
+ [1, 0.08096, 6, 0, -2, -1],
271
+ [1, 0.05963, 6, 0, -2, 1],
272
+ [1, 0.09403, 6, 0, -1, -1],
273
+ [2, 385000.52899, 0, 0, 0, 0],
274
+ [2, -3.1483, 0, 0, 0, 2],
275
+ [2, 79.66056, 0, 0, 1, -2],
276
+ [2, -20905.35504, 0, 0, 1, 0],
277
+ [2, -0.10326, 0, 0, 1, 2],
278
+ [2, -4.42118, 0, 0, 2, -2],
279
+ [2, -569.92512, 0, 0, 2, 0],
280
+ [2, -23.21043, 0, 0, 3, 0],
281
+ [2, -1.11694, 0, 0, 4, 0],
282
+ [2, -0.42241, 0, 1, -3, 0],
283
+ [2, -7.00269, 0, 1, -2, 0],
284
+ [2, -129.62014, 0, 1, -1, 0],
285
+ [2, 0.33463, 0, 1, -1, 2],
286
+ [2, -0.18567, 0, 1, 0, -2],
287
+ [2, 48.8883, 0, 1, 0, 0],
288
+ [2, -0.15802, 0, 1, 0, 2],
289
+ [2, -0.2481, 0, 1, 1, -2],
290
+ [2, 104.75523, 0, 1, 1, 0],
291
+ [2, 5.75085, 0, 1, 2, 0],
292
+ [2, 0.35508, 0, 1, 3, 0],
293
+ [2, -0.13617, 0, 2, -2, 0],
294
+ [2, -2.11713, 0, 2, -1, 0],
295
+ [2, 1.06567, 0, 2, 0, 0],
296
+ [2, 1.16553, 0, 2, 1, 0],
297
+ [2, 0.11411, 1, -1, -1, 0],
298
+ [2, 0.49755, 1, -1, 0, 0],
299
+ [2, 0.10998, 1, -1, 1, 0],
300
+ [2, -0.09938, 1, 0, -3, 0],
301
+ [2, -1.73853, 1, 0, -2, 0],
302
+ [2, -8.37911, 1, 0, -1, 0],
303
+ [2, -0.79563, 1, 0, 0, -2],
304
+ [2, 108.7427, 1, 0, 0, 0],
305
+ [2, 6.322, 1, 0, 1, 0],
306
+ [2, 0.37852, 1, 0, 2, 0],
307
+ [2, 0.33225, 1, 1, -2, 0],
308
+ [2, 0.85124, 1, 1, -1, 0],
309
+ [2, -16.67471, 1, 1, 0, 0],
310
+ [2, -0.93332, 1, 1, 1, 0],
311
+ [2, -0.14806, 2, -3, -1, 0],
312
+ [2, -0.41071, 2, -3, 0, 0],
313
+ [2, 0.34302, 2, -2, -2, 0],
314
+ [2, -4.95013, 2, -2, -1, 0],
315
+ [2, -9.88445, 2, -2, 0, 0],
316
+ [2, -0.65753, 2, -2, 1, 0],
317
+ [2, 0.49504, 2, -1, -3, 0],
318
+ [2, 10.0562, 2, -1, -2, 0],
319
+ [2, 0.32334, 2, -1, -1, -2],
320
+ [2, -152.13771, 2, -1, -1, 0],
321
+ [2, 0.65706, 2, -1, 0, -2],
322
+ [2, -204.58598, 2, -1, 0, 0],
323
+ [2, 0.20941, 2, -1, 1, -2],
324
+ [2, -12.8314, 2, -1, 1, 0],
325
+ [2, -0.8488, 2, -1, 2, 0],
326
+ [2, 0.77854, 2, 0, -4, 0],
327
+ [2, 14.40269, 2, 0, -3, 0],
328
+ [2, 0.47262, 2, 0, -2, -2],
329
+ [2, 246.15848, 2, 0, -2, 0],
330
+ [2, 0.77404, 2, 0, -2, 2],
331
+ [2, 8.75156, 2, 0, -1, -2],
332
+ [2, -3699.11092, 2, 0, -1, 0],
333
+ [2, 0.59632, 2, 0, -1, 2],
334
+ [2, 10.32111, 2, 0, 0, -2],
335
+ [2, -2955.96756, 2, 0, 0, 0],
336
+ [2, 4.13111, 2, 0, 1, -2],
337
+ [2, -170.73308, 2, 0, 1, 0],
338
+ [2, 0.28399, 2, 0, 2, -2],
339
+ [2, -10.44476, 2, 0, 2, 0],
340
+ [2, -0.66968, 2, 0, 3, 0],
341
+ [2, 0.16857, 2, 1, -3, 0],
342
+ [2, 0.14368, 2, 1, -2, 0],
343
+ [2, 24.20848, 2, 1, -1, 0],
344
+ [2, -0.13571, 2, 1, 0, -2],
345
+ [2, 30.82384, 2, 1, 0, 0],
346
+ [2, 2.61641, 2, 1, 1, 0],
347
+ [2, 0.21251, 2, 1, 2, 0],
348
+ [2, -0.10887, 2, 2, -2, 0],
349
+ [2, 2.35363, 2, 2, -1, 0],
350
+ [2, 0.14763, 2, 2, 0, 0],
351
+ [2, 0.2556, 3, -1, -1, 0],
352
+ [2, -0.15707, 3, -1, 0, 0],
353
+ [2, 0.86243, 3, 0, -2, 0],
354
+ [2, 3.25824, 3, 0, -1, 0],
355
+ [2, 0.20099, 3, 0, 0, -2],
356
+ [2, -1.41893, 3, 0, 0, 0],
357
+ [2, -0.21258, 3, 1, -1, 0],
358
+ [2, -0.10766, 3, 1, 0, 0],
359
+ [2, -0.10833, 4, -2, -2, 0],
360
+ [2, -0.27904, 4, -2, -1, 0],
361
+ [2, -0.12805, 4, -2, 0, 0],
362
+ [2, -1.89704, 4, -1, -2, 0],
363
+ [2, -3.95798, 4, -1, -1, 0],
364
+ [2, -1.57139, 4, -1, 0, 0],
365
+ [2, -0.20285, 4, -1, 1, 0],
366
+ [2, -0.51423, 4, 0, -3, 0],
367
+ [2, -21.63634, 4, 0, -2, 0],
368
+ [2, -0.32176, 4, 0, -1, -2],
369
+ [2, -34.78252, 4, 0, -1, 0],
370
+ [2, -0.50792, 4, 0, 0, -2],
371
+ [2, -11.64995, 4, 0, 0, 0],
372
+ [2, -1.42255, 4, 0, 1, 0],
373
+ [2, -0.13922, 4, 0, 2, 0],
374
+ [2, 0.23695, 4, 1, -2, 0],
375
+ [2, 0.57879, 4, 1, -1, 0],
376
+ [2, 0.24452, 4, 1, 0, 0],
377
+ [2, -0.18316, 6, 0, -3, 0],
378
+ [2, -0.4225, 6, 0, -2, 0],
379
+ [2, -0.28663, 6, 0, -1, 0],
380
+ ];
381
+ /** The perturbations: coordinate, the power of time the amplitude is multiplied by, amplitude, phase in degrees, then the multipliers of D, l', l, F, zeta (the Moon's mean longitude with the precession) and the eight planets' mean longitudes (the Earth's is the third). */
382
+ export const LUNAR_PERIODIC = [
383
+ [0, 0, 0.06569, 0.001, -2, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
384
+ [0, 0, 0.49141, 0.00127, 0, 0, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
385
+ [0, 0, 0.05036, 0.00051, 0, 0, -1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
386
+ [0, 0, 7.06304, 0.00094, 0, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
387
+ [0, 0, 0.36061, 0.00071, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
388
+ [0, 0, 0.49331, 0.00127, 0, 0, 1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
389
+ [0, 0, 0.06456, 0.00042, 2, 0, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
390
+ [0, 0, 0.09642, 0.0009, 2, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
391
+ [1, 0, 0.29854, 0.00072, -2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
392
+ [1, 0, 0.07332, 0.00071, -2, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
393
+ [1, 0, 0.45586, 0.00075, 0, 0, -1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
394
+ [1, 0, 0.32622, 0.00086, 0, 0, 0, -2, 1, 0, 0, 0, 0, 0, 0, 0, 0],
395
+ [1, 0, 8.04508, 180.00071, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
396
+ [1, 0, 0.41571, 180.00069, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
397
+ [1, 0, 0.0835, 180.00073, 2, 0, -1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
398
+ [1, 0, 0.08042, 0, 0, 0, 0, -1, 2, 0, 0, 0, 0, 0, 0, 0, 0],
399
+ [2, 0, 0.09554, 90.00096, -2, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
400
+ [2, 0, 0.45276, 90.00128, 0, 0, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
401
+ [2, 0, 0.45648, 270.00126, 0, 0, 1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
402
+ [2, 0, 0.10689, 270.00092, 2, 0, 0, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
403
+ [0, 0, 0.05756, 359.80946, -2, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
404
+ [0, 0, 0.08634, 286.69628, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
405
+ [0, 0, 0.05274, 356.13718, 2, 0, -1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
406
+ [0, 0, 0.06826, 346.48704, 0, 0, -1, 0, 0, 0, 0, 0, 0, 2, -5, 0, 0],
407
+ [0, 0, 0.16376, 347.76653, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, -5, 0, 0],
408
+ [0, 0, 0.06826, 346.48972, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, -5, 0, 0],
409
+ [0, 0, 0.06369, 163.72199, 1, 0, 0, -1, 0, 0, 0, 0, 2, 0, 0, 0, 0],
410
+ [0, 0, 0.06323, 313.30347, 0, 0, -1, 0, 0, 0, 0, 1, -2, 0, 0, 0, 0],
411
+ [0, 0, 0.32455, 318.13776, 0, 0, 0, 0, 0, 0, 0, 1, -2, 0, 0, 0, 0],
412
+ [0, 0, 0.06406, 313.4792, 0, 0, 1, 0, 0, 0, 0, 1, -2, 0, 0, 0, 0],
413
+ [0, 0, 0.16425, 301.00599, 0, 0, 0, 0, 0, 0, 0, 1, 0, -2, 0, 0, 0],
414
+ [0, 0, 0.16497, 1.8028, -2, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
415
+ [0, 0, 0.21118, 1.74333, -2, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
416
+ [0, 0, 0.14347, 1.23582, 0, 0, -1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
417
+ [0, 0, 0.6388, 1.2289, 0, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
418
+ [0, 0, 0.10993, 1.11168, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
419
+ [0, 0, 0.06711, 180.70913, 1, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
420
+ [0, 0, 0.05108, 0.5792, 2, 0, -1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
421
+ [0, 0, 0.09178, 300.13913, 0, 0, 0, 0, 0, 0, 0, 2, -4, 0, 0, 0, 0],
422
+ [0, 0, 0.05904, 358.86873, -2, 0, 1, 0, 0, 0, 0, 2, -2, 0, 0, 0, 0],
423
+ [0, 0, 0.19443, 359.76487, 0, 0, 0, 0, 0, 0, 0, 2, -2, 0, 0, 0, 0],
424
+ [0, 0, 0.09518, 190.1797, 0, 0, -1, 0, 0, 0, 0, 2, 0, -3, 0, 0, 0],
425
+ [0, 0, 0.05167, 190.436, 0, 0, 0, 0, 0, 0, 0, 2, 0, -3, 0, 0, 0],
426
+ [0, 0, 0.28281, 10.03835, 2, 0, -2, 0, 0, 0, 0, 2, 0, -3, 0, 0, 0],
427
+ [0, 0, 0.44532, 10.07001, 2, 0, -1, 0, 0, 0, 0, 2, 0, -3, 0, 0, 0],
428
+ [0, 0, 0.08408, 180.95918, -2, 0, 0, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
429
+ [0, 0, 0.08911, 180.8611, -2, 0, 1, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
430
+ [0, 0, 0.18256, 359.9845, 0, 0, -1, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
431
+ [0, 0, 0.18457, 180.43608, 0, 0, 0, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
432
+ [0, 0, 0.24515, 0.08642, 2, 0, -2, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
433
+ [0, 0, 1.14307, 180.11977, 2, 0, -1, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
434
+ [0, 0, 0.06863, 180.13179, 2, 0, 0, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
435
+ [0, 0, 0.09002, 286.68957, -2, 0, 0, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
436
+ [0, 0, 0.1396, 287.11216, -2, 0, 1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
437
+ [0, 0, 0.17083, 284.98776, 0, 0, -1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
438
+ [0, 0, 0.90114, 285.98707, 0, 0, 0, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
439
+ [0, 0, 0.17082, 284.98767, 0, 0, 1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
440
+ [0, 0, 0.13971, 287.11388, 2, 0, -1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
441
+ [0, 0, 0.09009, 286.69269, 2, 0, 0, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
442
+ [0, 0, 0.09922, 179.98152, -2, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
443
+ [0, 0, 0.13122, 179.98436, -2, 0, 1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
444
+ [0, 0, 0.1535, 180.00888, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
445
+ [0, 0, 0.82155, 180.00988, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
446
+ [0, 0, 0.12722, 180.01511, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
447
+ [0, 0, 0.06188, 271.56625, -2, 0, 1, 0, 0, 0, 2, -3, 0, 0, 0, 0, 0],
448
+ [0, 0, 0.0603, 268.69648, 0, 0, -1, 0, 0, 0, 2, -3, 0, 0, 0, 0, 0],
449
+ [0, 0, 0.34355, 269.95393, 0, 0, 0, 0, 0, 0, 2, -3, 0, 0, 0, 0, 0],
450
+ [0, 0, 0.0554, 268.56875, 0, 0, 1, 0, 0, 0, 2, -3, 0, 0, 0, 0, 0],
451
+ [0, 0, 0.13432, 0.36659, -2, 0, 0, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
452
+ [0, 0, 0.1609, 0.31177, -2, 0, 1, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
453
+ [0, 0, 0.05635, 0.39852, 0, 0, -1, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
454
+ [0, 0, 0.30155, 0.20448, 0, 0, 0, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
455
+ [0, 0, 0.05071, 0.15681, 0, 0, 1, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
456
+ [0, 0, 0.13593, 359.99762, 2, 0, -1, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
457
+ [0, 0, 0.08277, 344.52995, 0, 0, 0, 0, 0, 0, 3, -5, 0, 0, 0, 0, 0],
458
+ [0, 0, 0.17511, 270.99316, 0, 0, 0, 0, 0, 0, 3, -4, 0, 0, 0, 0, 0],
459
+ [0, 0, 0.10386, 270.34292, 1, 0, -1, 0, 0, 0, 3, -4, 0, 0, 0, 0, 0],
460
+ [0, 0, 0.06514, 270.28604, 1, 0, 0, 0, 0, 0, 3, -4, 0, 0, 0, 0, 0],
461
+ [0, 0, 0.12537, 0.12046, 0, 0, -1, 0, 0, 0, 3, -3, 0, 0, 0, 0, 0],
462
+ [0, 0, 0.07199, 0.04167, 2, 0, -2, 0, 0, 0, 3, -3, 0, 0, 0, 0, 0],
463
+ [0, 0, 0.64371, 179.98144, 2, 0, -1, 0, 0, 0, 3, -3, 0, 0, 0, 0, 0],
464
+ [0, 0, 0.08235, 180.00979, 2, 0, -1, 0, 0, 0, 4, -4, 0, 0, 0, 0, 0],
465
+ [0, 0, 0.05272, 272.29577, 2, 0, 0, -2, 0, 0, 5, -6, 0, 0, 0, 0, 0],
466
+ [0, 0, 0.05946, 167.12686, 2, 0, -2, 0, 0, 0, 6, -8, 0, 0, 0, 0, 0],
467
+ [0, 0, 0.07667, 167.22262, 2, 0, -1, 0, 0, 0, 6, -8, 0, 0, 0, 0, 0],
468
+ [0, 0, 0.22653, 235.75013, 0, 0, 0, 0, 0, 0, 8, -13, 0, 0, 0, 0, 0],
469
+ [0, 0, 0.56341, 333.30551, 0, 0, -1, 0, 0, 0, 10, -3, 0, 0, 0, 0, 0],
470
+ [0, 0, 0.1644, 26.54223, -2, 0, -1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
471
+ [0, 0, 0.1671, 26.53985, -2, 0, 0, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
472
+ [0, 0, 0.05354, 26.54324, 0, 0, -3, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
473
+ [0, 0, 0.78811, 26.54324, 0, 0, -2, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
474
+ [0, 0, 14.24883, 26.54261, 0, 0, -1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
475
+ [0, 0, 0.7393, 26.5456, 0, 0, 0, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
476
+ [0, 0, 0.05022, 26.5456, 0, 0, 1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
477
+ [0, 0, 0.15711, 26.54227, 2, 0, -2, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
478
+ [0, 0, 0.16302, 26.54301, 2, 0, -1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
479
+ [0, 0, 0.10651, 271.80227, -2, 0, 1, 0, 0, 0, 20, -21, 0, 0, 0, 0, 0],
480
+ [0, 0, 0.10489, 75.00074, 0, 0, -1, 0, 0, 0, 26, -29, 0, 0, 0, 0, 0],
481
+ [1, 0, 0.14073, 291.982, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
482
+ [1, 0, 0.05223, 180.11961, 2, 0, -1, -1, 0, 0, 0, 2, 0, -2, 0, 0, 0],
483
+ [1, 0, 0.05069, 180.12138, 2, 0, -1, 1, 0, 0, 0, 2, 0, -2, 0, 0, 0],
484
+ [1, 0, 0.06663, 272.30597, 2, 0, 0, -1, 0, 0, 5, -6, 0, 0, 0, 0, 0],
485
+ [1, 0, 0.06965, 26.54302, 0, 0, -2, -1, 0, 0, 18, -16, 0, 0, 0, 0, 0],
486
+ [1, 0, 0.63014, 26.54272, 0, 0, -1, -1, 0, 0, 18, -16, 0, 0, 0, 0, 0],
487
+ [1, 0, 0.63037, 26.54287, 0, 0, -1, 1, 0, 0, 18, -16, 0, 0, 0, 0, 0],
488
+ [1, 0, 0.06747, 26.54416, 0, 0, 0, 1, 0, 0, 18, -16, 0, 0, 0, 0, 0],
489
+ [2, 0, 0.20497, 91.79862, -2, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
490
+ [2, 0, 0.15751, 91.74578, -2, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
491
+ [2, 0, 0.12666, 91.22751, 0, 0, -1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
492
+ [2, 0, 0.10504, 271.06726, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0],
493
+ [2, 0, 0.41011, 280.06924, 2, 0, -1, 0, 0, 0, 0, 2, 0, -3, 0, 0, 0],
494
+ [2, 0, 0.10503, 270.93928, -2, 0, 0, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
495
+ [2, 0, 0.1445, 89.97863, 0, 0, -1, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
496
+ [2, 0, 1.0587, 90.11969, 2, 0, -1, 0, 0, 0, 0, 2, 0, -2, 0, 0, 0],
497
+ [2, 0, 0.11216, 16.68897, -2, 0, 0, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
498
+ [2, 0, 0.11251, 17.11263, -2, 0, 1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
499
+ [2, 0, 0.1578, 14.98841, 0, 0, -1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
500
+ [2, 0, 0.1578, 194.98833, 0, 0, 1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
501
+ [2, 0, 0.11256, 197.11421, 2, 0, -1, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
502
+ [2, 0, 0.11226, 196.69224, 2, 0, 0, 0, 0, 0, 0, 4, -8, 3, 0, 0, 0],
503
+ [2, 0, 0.12362, 269.98523, -2, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
504
+ [2, 0, 0.1006, 269.98452, -2, 0, 1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
505
+ [2, 0, 0.13811, 270.00993, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
506
+ [2, 0, 0.11998, 90.01606, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0, 0, 0, 0],
507
+ [2, 0, 0.16644, 90.36386, -2, 0, 0, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
508
+ [2, 0, 0.11617, 90.31081, -2, 0, 1, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
509
+ [2, 0, 0.12047, 269.99692, 2, 0, -1, 0, 0, 0, 2, -2, 0, 0, 0, 0, 0],
510
+ [2, 0, 0.09932, 90.1054, 0, 0, -1, 0, 0, 0, 3, -3, 0, 0, 0, 0, 0],
511
+ [2, 0, 0.59827, 89.98187, 2, 0, -1, 0, 0, 0, 3, -3, 0, 0, 0, 0, 0],
512
+ [2, 0, 0.20473, 116.54222, -2, 0, -1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
513
+ [2, 0, 0.13477, 116.53978, -2, 0, 0, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
514
+ [2, 0, 0.72783, 116.54311, 0, 0, -2, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
515
+ [2, 0, 0.68256, 296.54574, 0, 0, 0, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
516
+ [2, 0, 0.12671, 296.54238, 2, 0, -2, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
517
+ [2, 0, 0.20367, 296.54299, 2, 0, -1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
518
+ [0, 1, 0.25425, 114.5655, 0, 0, -1, 0, 0, 0, 18, -16, 0, 0, 0, 0, 0],
519
+ [0, 0, 0.06174, 95.13459, 1, 0, -1, -1, 0, 0, 0, 1, 0, 0, 0, 0, 0],
520
+ [0, 0, 0.28938, 95.13523, 1, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, 0, 0],
521
+ [0, 0, 0.06154, 95.13225, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0],
522
+ [0, 0, 0.06245, 95.13453, 1, 0, 1, -1, 0, 0, 0, 1, 0, 0, 0, 0, 0],
523
+ [1, 0, 0.07755, 95.13234, 1, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
524
+ [1, 0, 1.37497, 275.13226, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
525
+ [1, 0, 0.07245, 275.13217, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
526
+ [0, 1, 0.37115, 0, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
527
+ [0, 1, 1.6768, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
528
+ [0, 1, 0.2756, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
529
+ [0, 1, 0.03747, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
530
+ [0, 1, 0.04516, 180, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
531
+ [0, 1, 0.03707, 180, 2, -2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
532
+ [0, 1, 0.04048, 180, 2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
533
+ [0, 1, 0.51642, 180, 2, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
534
+ [0, 1, 0.41383, 180, 2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
535
+ [0, 1, 0.03649, 180, 2, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
536
+ [0, 1, 0.07118, 0, 2, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
537
+ [0, 1, 0.06128, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
538
+ [1, 1, 0.0743, 180, 2, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
539
+ [1, 1, 0.03043, 0, 2, 1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
540
+ [2, 1, 0.32654, 90, 0, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
541
+ [2, 1, 0.12302, 270, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
542
+ [2, 1, 0.26396, 270, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
543
+ [2, 1, 0.0497, 90, 2, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
544
+ [2, 1, 0.38245, 90, 2, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
545
+ [2, 1, 0.51395, 90, 2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
546
+ [2, 1, 0.06068, 270, 2, 1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
547
+ [2, 1, 0.07754, 270, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
548
+ ];
@@ -1,7 +1,7 @@
1
1
  export interface OrbitElements {
2
2
  /** The planet it goes round. */
3
3
  parent: string;
4
- /** The reference plane: the ecliptic, the Earth's equator of J2000, the planet's equator, or the Laplace plane whose pole is `pole` (right ascension, declination, degrees). */
4
+ /** The reference plane: the ecliptic, the Earth's equator of J2000, the planet's equator, or the plane whose pole is `pole` (right ascension, declination, degrees). */
5
5
  frame: "ecliptic" | "j2000" | "equatorial" | "laplace";
6
6
  pole?: [number, number];
7
7
  /** The epoch of the elements, in milliseconds since 1970. */
@@ -16,5 +16,9 @@ export interface OrbitElements {
16
16
  sid: number;
17
17
  dw: number;
18
18
  dn: number;
19
+ /** The mean longitude's acceleration, degrees a day squared (Phobos, whose orbit is shrinking). */
20
+ acc?: number;
21
+ /** A swing in the mean longitude: its amplitude in degrees, its period in days and its phase in degrees (Mimas and Tethys, in resonance). */
22
+ wave?: [number, number, number];
19
23
  }
20
24
  export declare const ORBITS: Record<string, OrbitElements>;
@@ -1,31 +1,31 @@
1
- // Made by scripts/make-moon-data.py from JPL's Planetary Satellite Mean Elements (https://ssd.jpl.nasa.gov/sats/elem/); do not edit by hand.
2
- // The moons of the dwarf planets are not on that page: their orbits are in dwarf.ts, from the papers it cites, and are added at the end.
1
+ // Made by scripts/make-moon-data.py: the Moon from JPL's Planetary Satellite Mean Elements (https://ssd.jpl.nasa.gov/sats/elem/), every other moon fitted to JPL Horizons' positions for 1950 to 2050; do not edit by hand.
2
+ // The moons of the dwarf planets other than Pluto's are not in either: their orbits are in dwarf.ts, from the papers it cites, and are added at the end.
3
3
  import { DWARF_MOON_ORBITS } from "./dwarf.js";
4
4
  export const ORBITS = {
5
5
  moon: { parent: "earth", frame: "ecliptic", epoch: 946728000000, a: 384400, e: 0.0554, w: 318.15, m: 135.27, i: 5.16, node: 125.08, sid: 13.1763585, dw: 0.16435, dn: -0.05299 },
6
- phobos: { parent: "mars", frame: "laplace", pole: [317.7, 52.9], epoch: 946728000000, a: 9375, e: 0.015, w: 216.3, m: 189.7, i: 1.1, node: 169.2, sid: 1128.8443146, dw: -0.74464, dn: -0.42853 },
7
- deimos: { parent: "mars", frame: "laplace", pole: [316.6, 53.5], epoch: 946728000000, a: 23457, e: 0, w: 0, m: 205, i: 1.8, node: 54.3, sid: 285.1619090, dw: 0.00000, dn: -0.01754 },
8
- io: { parent: "jupiter", frame: "laplace", pole: [268.1, 64.5], epoch: 946728000000, a: 421800, e: 0.004, w: 49.1, m: 330.9, i: 0, node: 0, sid: 203.4889554, dw: -0.73948, dn: 0.00000 },
9
- europa: { parent: "jupiter", frame: "laplace", pole: [268.1, 64.5], epoch: 946728000000, a: 671100, e: 0.009, w: 45, m: 345.4, i: 0.5, node: 184, sid: 101.3747246, dw: -0.73952, dn: -0.03263 },
10
- ganymede: { parent: "jupiter", frame: "laplace", pole: [268.2, 64.6], epoch: 946728000000, a: 1.0704e+06, e: 0.001, w: 198.3, m: 324.8, i: 0.2, node: 58.5, sid: 50.3176092, dw: 0.00000, dn: -0.00715 },
11
- callisto: { parent: "jupiter", frame: "laplace", pole: [268.7, 64.8], epoch: 946728000000, a: 1.8827e+06, e: 0.007, w: 43.8, m: 87.4, i: 0.3, node: 309.1, sid: 21.5710710, dw: 0.00355, dn: -0.00171 },
12
- mimas: { parent: "saturn", frame: "laplace", pole: [40.6, 83.5], epoch: 946728000000, a: 186000, e: 0.02, w: 160.4, m: 275.3, i: 1.6, node: 66.2, sid: 381.9945591, dw: 1.99924, dn: -0.99962 },
13
- enceladus: { parent: "saturn", frame: "laplace", pole: [40.6, 83.5], epoch: 946728000000, a: 238400, e: 0.005, w: 119.5, m: 57, i: 0, node: 0, sid: 262.7319157, dw: 0.33801, dn: 0.00000 },
14
- tethys: { parent: "saturn", frame: "laplace", pole: [40.6, 83.5], epoch: 946728000000, a: 295000, e: 0.001, w: 335.3, m: 0, i: 1.1, node: 273, sid: 190.6979651, dw: 0.00000, dn: -0.19784 },
15
- dione: { parent: "saturn", frame: "laplace", pole: [40.6, 83.5], epoch: 946728000000, a: 377700, e: 0.002, w: 116, m: 212, i: 0, node: 0, sid: 131.5349582, dw: 0.00000, dn: 0.00000 },
16
- rhea: { parent: "saturn", frame: "laplace", pole: [40.6, 83.5], epoch: 946728000000, a: 527200, e: 0.001, w: 44.3, m: 31.5, i: 0.3, node: 133.7, sid: 79.6900941, dw: 0.00000, dn: -0.02755 },
17
- titan: { parent: "saturn", frame: "laplace", pole: [36.4, 84.0], epoch: 946728000000, a: 1.2219e+06, e: 0.029, w: 78.3, m: 11.7, i: 0.3, node: 78.6, sid: 22.5770144, dw: 0.00284, dn: -0.00143 },
18
- iapetus: { parent: "saturn", frame: "laplace", pole: [288.7, 78.9], epoch: 946728000000, a: 3.5617e+06, e: 0.028, w: 254.5, m: 74.8, i: 7.6, node: 86.5, sid: 4.5384921, dw: 0.00054, dn: -0.00031 },
19
- miranda: { parent: "uranus", frame: "equatorial", epoch: 946728000000, a: 129846, e: 0.001, w: 154.8, m: 73, i: 4.4, node: 100.9, sid: 254.6907312, dw: 0.00000, dn: -0.05541 },
20
- ariel: { parent: "uranus", frame: "equatorial", epoch: 946728000000, a: 190929, e: 0.001, w: 9.6, m: 193.5, i: 0, node: 0, sid: 142.8356608, dw: 0.00000, dn: 0.00000 },
21
- umbriel: { parent: "uranus", frame: "equatorial", epoch: 946728000000, a: 265986, e: 0.004, w: 183.4, m: 253, i: 0.1, node: 174.8, sid: 86.8688975, dw: 0.01537, dn: -0.00758 },
22
- titania: { parent: "uranus", frame: "equatorial", epoch: 946728000000, a: 436298, e: 0.002, w: 184, m: 68.1, i: 0.1, node: 29.5, sid: 41.3514243, dw: 0.00000, dn: -0.00060 },
23
- oberon: { parent: "uranus", frame: "equatorial", epoch: 946728000000, a: 583511, e: 0.002, w: 132.2, m: 143.6, i: 0.1, node: 76.8, sid: 26.7394892, dw: 0.00000, dn: -0.00511 },
24
- triton: { parent: "neptune", frame: "equatorial", epoch: 946728000000, a: 354800, e: 0, w: 0, m: 63, i: 157.3, node: 177.7, sid: -61.2572645, dw: 0.00000, dn: 0.00329 },
25
- nereid: { parent: "neptune", frame: "ecliptic", epoch: 1577836800000, a: 5.5139e+06, e: 0.751, w: 296.8, m: 318.5, i: 5.1, node: 319.5, sid: 0.9996218, dw: 0.00012, dn: -0.00010 },
26
- proteus: { parent: "neptune", frame: "equatorial", epoch: 946728000000, a: 117700, e: 0.001, w: 357.2, m: 297.4, i: 0.6, node: 355.5, sid: 320.7655605, dw: 0.00000, dn: -0.07524 },
27
- charon: { parent: "pluto", frame: "equatorial", epoch: 946728000000, a: 19600, e: 0, w: 0, m: 304.1, i: 0, node: 0, sid: 56.3624607, dw: 0.00000, dn: 0.00000 },
28
- nix: { parent: "pluto", frame: "equatorial", epoch: 946728000000, a: 49300, e: 0.015, w: 31.4, m: 338.2, i: 0, node: 0, sid: 14.4842403, dw: 0.00000, dn: 0.00000 },
29
- hydra: { parent: "pluto", frame: "equatorial", epoch: 946728000000, a: 65200, e: 0.009, w: 139.3, m: 335, i: 0.3, node: 114.3, sid: 9.4236471, dw: 0.00000, dn: -0.07040 },
6
+ phobos: { parent: "mars", frame: "laplace", pole: [317.7000, 52.9000], epoch: 946728000000, a: 9379, e: 0.015119, w: 216.4466, m: 190.3756, i: 1.0753, node: 169.1550, sid: 1128.8447723, dw: 0.870970, dn: -0.435786, acc: 1.7626e-08 },
7
+ deimos: { parent: "mars", frame: "laplace", pole: [316.6000, 53.5000], epoch: 946728000000, a: 23459, e: 0.000272, w: 194.7636, m: 10.4792, i: 1.7885, node: 54.3986, sid: 285.1618839, dw: 0.035947, dn: -0.018082 },
8
+ io: { parent: "jupiter", frame: "laplace", pole: [268.1000, 64.5000], epoch: 946728000000, a: 422050, e: 0.004180, w: 148.9328, m: 331.0148, i: 0.0383, node: 260.0942, sid: 203.4889612, dw: -0.606688, dn: -0.132821 },
9
+ europa: { parent: "jupiter", frame: "laplace", pole: [268.1000, 64.5000], epoch: 946728000000, a: 671278, e: 0.009364, w: 45.3280, m: 345.5110, i: 0.4630, node: 183.6941, sid: 101.3747258, dw: -0.706863, dn: -0.032648 },
10
+ ganymede: { parent: "jupiter", frame: "laplace", pole: [268.2000, 64.6000], epoch: 946728000000, a: 1070704, e: 0.001550, w: 204.1684, m: 328.1491, i: 0.1902, node: 49.3711, sid: 50.3176080, dw: -0.085108, dn: -0.006949 },
11
+ callisto: { parent: "jupiter", frame: "laplace", pole: [268.7000, 64.8000], epoch: 946728000000, a: 1883241, e: 0.007373, w: 50.5011, m: 86.8148, i: 0.2344, node: 303.0858, sid: 21.5710731, dw: 0.004038, dn: -0.002183 },
12
+ mimas: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 186019, e: 0.019677, w: 332.5555, m: 15.1011, i: 1.5771, node: 173.0221, sid: 381.9944568, dw: 2.000419, dn: -0.999500, wave: [43.418, 25631.1, 140.48] },
13
+ enceladus: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 238411, e: 0.004863, w: 347.7976, m: 10.8851, i: 0.0384, node: 183.7437, sid: 262.7319015, dw: 0.337808, dn: 0.000158 },
14
+ tethys: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 294976, e: 0.001031, w: 130.7569, m: 157.9367, i: 1.0923, node: 259.8172, sid: 190.6979160, dw: 1.005657, dn: -0.197850, wave: [2.080, 25631.1, -39.13] },
15
+ dione: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 377651, e: 0.002244, w: 23.9210, m: 322.2940, i: 0.0458, node: 190.7749, sid: 131.5349324, dw: 0.083921, dn: 0.000334 },
16
+ rhea: { parent: "saturn", frame: "laplace", pole: [40.6000, 83.5000], epoch: 946728000000, a: 527235, e: 0.001014, w: 214.0290, m: 207.6217, i: 0.3323, node: 350.5663, sid: 79.6900471, dw: 0.029141, dn: -0.027653 },
17
+ titan: { parent: "saturn", frame: "laplace", pole: [36.4000, 84.0000], epoch: 946728000000, a: 1222236, e: 0.028739, w: 184.8032, m: 163.5256, i: 0.3410, node: 23.4097, sid: 22.5769766, dw: 0.002735, dn: -0.001322 },
18
+ iapetus: { parent: "saturn", frame: "laplace", pole: [288.7000, 78.9000], epoch: 946728000000, a: 3561731, e: 0.028384, w: 276.6311, m: 208.8251, i: 7.5692, node: 74.7761, sid: 4.5379486, dw: 0.000592, dn: -0.000316 },
19
+ miranda: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 129874, e: 0.001371, w: 155.0214, m: 72.9701, i: 4.4275, node: 100.8616, sid: 254.6906648, dw: 0.110237, dn: -0.055413, wave: [1.375, 4492.9, -41.43] },
20
+ ariel: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 190949, e: 0.001424, w: 203.0455, m: 122.6641, i: 0.0247, node: 237.4780, sid: 142.8356548, dw: 0.053280, dn: -0.035921 },
21
+ umbriel: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 266003, e: 0.003883, w: 158.9377, m: 260.8156, i: 0.0796, node: 191.5526, sid: 86.8688751, dw: 0.016694, dn: -0.008759 },
22
+ titania: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 436315, e: 0.001853, w: 222.1574, m: 53.4168, i: 0.0999, node: 6.0188, sid: 41.3514155, dw: 0.002907, dn: 0.000579 },
23
+ oberon: { parent: "uranus", frame: "laplace", pole: [77.3110, 15.1750], epoch: 946728000000, a: 583539, e: 0.001418, w: 241.3288, m: 73.2386, i: 0.1731, node: 38.0128, sid: 26.7394826, dw: -1.069893, dn: -0.001489 },
24
+ triton: { parent: "neptune", frame: "laplace", pole: [119.3600, -43.4600], epoch: 946728000000, a: 354841, e: 0.000247, w: 305.9384, m: 292.6939, i: 23.1671, node: 182.1368, sid: 61.2572613, dw: -2.038014, dn: -0.001435 },
25
+ nereid: { parent: "neptune", frame: "laplace", pole: [263.0036, 62.5201], epoch: 946728000000, a: 5515113, e: 0.750814, w: 234.3873, m: 216.7867, i: 0.1195, node: 27.9962, sid: 0.9996312, dw: -0.165444, dn: 0.165461, wave: [0.575, 25887.4, -84.95] },
26
+ proteus: { parent: "neptune", frame: "laplace", pole: [299.3600, 43.4600], epoch: 946728000000, a: 117674, e: 0.000518, w: 17.1835, m: 257.1008, i: 1.0395, node: 0.0397, sid: 320.7656392, dw: 0.075729, dn: 0.001312 },
27
+ charon: { parent: "pluto", frame: "laplace", pole: [132.9930, -6.1630], epoch: 946728000000, a: 19594, e: 0.000170, w: 145.3286, m: 148.8263, i: 0.0831, node: 10.0058, sid: 56.3625311, dw: -0.000103, dn: 0.000106 },
28
+ nix: { parent: "pluto", frame: "laplace", pole: [132.9930, -6.1630], epoch: 946728000000, a: 49331, e: 0.015293, w: 10.4893, m: 71.8449, i: 0.0845, node: 9.7857, sid: 14.4841692, dw: -0.611124, dn: 0.000103 },
29
+ hydra: { parent: "pluto", frame: "laplace", pole: [132.9930, -6.1630], epoch: 946728000000, a: 65177, e: 0.008506, w: 342.3759, m: 135.3153, i: 0.2865, node: 115.2941, sid: 9.4235838, dw: 3.865115, dn: -0.070628 },
30
30
  ...DWARF_MOON_ORBITS,
31
31
  };
@@ -0,0 +1,6 @@
1
+ /** Milliseconds since 1970, in terrestrial time, at the start of the first segment (1800-01-01). */
2
+ export declare const PLUTO_START = -5364662400000;
3
+ /** The length of a segment in milliseconds: 20 Julian years. */
4
+ export declare const PLUTO_SEGMENT_MS = 631152000000;
5
+ /** By segment, then x, y, z, then the Chebyshev coefficients, in au. */
6
+ export declare const PLUTO: readonly (readonly (readonly number[])[])[];