@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,209 @@
1
+ /**
2
+ * Where a body is in a place's sky: the azimuth in degrees clockwise from north (0 north, 90 east, 180 south, 270 west) and the apparent altitude (refraction included) in degrees.
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { getPosition, type Position } from "@johnmorrisdotca/wakusei-planets/suncalc";
7
+ *
8
+ * const p: Position = getPosition(new Date(Date.UTC(2026, 5, 21, 12)), 51.5, -0.1);
9
+ * console.log(p.altitude > 0);
10
+ * ```
11
+ */
12
+ export interface Position {
13
+ azimuth: number;
14
+ altitude: number;
15
+ }
16
+ /**
17
+ * The Moon in a place's sky: the Position, the Moon's distance in kilometres and the parallactic angle in degrees.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * import { getMoonPosition, type MoonPosition } from "@johnmorrisdotca/wakusei-planets/suncalc";
22
+ *
23
+ * const p: MoonPosition = getMoonPosition(new Date(Date.UTC(2026, 10, 7, 12)), 35.7, 139.7);
24
+ * console.log(p.distance > 350000);
25
+ * ```
26
+ */
27
+ export interface MoonPosition extends Position {
28
+ distance: number;
29
+ parallacticAngle: number;
30
+ }
31
+ /**
32
+ * The names of the Sun's times that `getTimes` gives.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * import { type SunTimeName } from "@johnmorrisdotca/wakusei-planets/suncalc";
37
+ *
38
+ * const name: SunTimeName = "goldenHour";
39
+ * console.log(name);
40
+ * ```
41
+ */
42
+ export type SunTimeName = "sunrise" | "sunset" | "sunriseEnd" | "sunsetStart" | "dawn" | "dusk" | "nauticalDawn" | "nauticalDusk" | "nightEnd" | "night" | "goldenHourEnd" | "goldenHour";
43
+ /**
44
+ * The Sun's times for a day: each a `Date` or `null` when the Sun does not reach that height that day, `solarNoon` and `nadir` always there, and `alwaysUp` or `alwaysDown` when the Sun stays above or below the sunrise height all day.
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * import { getTimes, type SunTimes } from "@johnmorrisdotca/wakusei-planets/suncalc";
49
+ *
50
+ * const t: SunTimes = getTimes(new Date(Date.UTC(2026, 5, 21, 12)), 51.5, -0.1);
51
+ * console.log(t.sunrise instanceof Date, t.solarNoon instanceof Date);
52
+ * ```
53
+ */
54
+ export type SunTimes = Record<SunTimeName, Date | null> & {
55
+ solarNoon: Date;
56
+ nadir: Date;
57
+ alwaysUp?: boolean;
58
+ alwaysDown?: boolean;
59
+ [custom: string]: Date | boolean | null | undefined;
60
+ };
61
+ /**
62
+ * The Moon's illumination: the lit fraction 0 to 1, the phase 0 to 1 (0 new, 0.25 first quarter, 0.5 full, 0.75 last quarter), the position angle of the bright limb in degrees eastward from north, and whether it is waxing.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * import { getMoonIllumination, type MoonIllumination } from "@johnmorrisdotca/wakusei-planets/suncalc";
67
+ *
68
+ * const m: MoonIllumination = getMoonIllumination(new Date(Date.UTC(2026, 10, 24, 14)));
69
+ * console.log(m.fraction >= 0 && m.fraction <= 1);
70
+ * ```
71
+ */
72
+ export interface MoonIllumination {
73
+ fraction: number;
74
+ phase: number;
75
+ angle: number;
76
+ waxing: boolean;
77
+ }
78
+ /**
79
+ * The Moon's rise, set and transits over a day. An event that does not happen that day is absent; `alwaysUp` or `alwaysDown` is set when the Moon stays above or below the horizon all day.
80
+ *
81
+ * @example
82
+ * ```ts
83
+ * import { getMoonTimes, type MoonTimes } from "@johnmorrisdotca/wakusei-planets/suncalc";
84
+ *
85
+ * const t: MoonTimes = getMoonTimes(new Date(Date.UTC(2026, 10, 7, 12)), 35.7, 139.7, 540);
86
+ * console.log(t.rise instanceof Date || t.alwaysUp === true || t.alwaysDown === true || t.rise === undefined);
87
+ * ```
88
+ */
89
+ export interface MoonTimes {
90
+ rise?: Date;
91
+ set?: Date;
92
+ transit?: Date;
93
+ lowerTransit?: Date;
94
+ alwaysUp?: boolean;
95
+ alwaysDown?: boolean;
96
+ }
97
+ /**
98
+ * The altitudes of the Sun's times in degrees: the morning name when it rises through the angle, the evening name when it sets through it. The ones at the horizon move with the observer's height.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * import { times } from "@johnmorrisdotca/wakusei-planets/suncalc";
103
+ *
104
+ * console.log(times.map((row) => row[1]).join(", "));
105
+ * ```
106
+ */
107
+ export declare const times: Array<[number, string, string]>;
108
+ /**
109
+ * Add a time to the ones `getTimes` gives: when the Sun reaches an altitude in degrees, going up under the morning name and going down under the evening name.
110
+ *
111
+ * @param angle - The altitude in degrees.
112
+ * @param riseName - The name of the time when the Sun goes up through it.
113
+ * @param setName - The name of the time when the Sun goes down through it.
114
+ *
115
+ * @example
116
+ * ```ts
117
+ * import { addTime, times } from "@johnmorrisdotca/wakusei-planets/suncalc";
118
+ *
119
+ * addTime(-4, "morningBlueHourEnd", "blueHour");
120
+ * console.log(times.some((row) => row[2] === "blueHour"));
121
+ * ```
122
+ */
123
+ export declare function addTime(angle: number, riseName: string, setName: string): void;
124
+ /**
125
+ * The Sun's place in the sky from a place on the Earth.
126
+ *
127
+ * @param date - The moment, as a `Date` (or milliseconds since 1970).
128
+ * @param lat - Degrees north, -90 to 90.
129
+ * @param lng - Degrees east (west negative).
130
+ * @returns The azimuth (degrees clockwise from north) and the apparent altitude (degrees).
131
+ *
132
+ * @example
133
+ * ```ts
134
+ * import { getPosition } from "@johnmorrisdotca/wakusei-planets/suncalc";
135
+ *
136
+ * const { azimuth, altitude } = getPosition(new Date(Date.UTC(2026, 5, 21, 12)), 51.5, -0.1);
137
+ * console.log(azimuth.toFixed(0), altitude.toFixed(0));
138
+ * ```
139
+ */
140
+ export declare function getPosition(date: Date | number, lat: number, lng: number): Position;
141
+ /**
142
+ * The Moon's place in the sky from a place on the Earth.
143
+ *
144
+ * @param date - The moment, as a `Date` (or milliseconds since 1970).
145
+ * @param lat - Degrees north, -90 to 90.
146
+ * @param lng - Degrees east (west negative).
147
+ * @returns The azimuth (degrees clockwise from north), apparent altitude (degrees), distance from the Earth's centre (kilometres) and parallactic angle (degrees).
148
+ *
149
+ * @example
150
+ * ```ts
151
+ * import { getMoonPosition } from "@johnmorrisdotca/wakusei-planets/suncalc";
152
+ *
153
+ * const { distance } = getMoonPosition(new Date(Date.UTC(2026, 10, 7, 12)), 35.7, 139.7);
154
+ * console.log(Math.round(distance / 1000));
155
+ * ```
156
+ */
157
+ export declare function getMoonPosition(date: Date | number, lat: number, lng: number): MoonPosition;
158
+ /**
159
+ * The Moon's phase.
160
+ *
161
+ * @param date - The moment, as a `Date` (or milliseconds since 1970); now when left out.
162
+ * @returns The lit fraction, the phase, the bright limb's position angle in degrees and whether it is waxing.
163
+ *
164
+ * @example
165
+ * ```ts
166
+ * import { getMoonIllumination } from "@johnmorrisdotca/wakusei-planets/suncalc";
167
+ *
168
+ * const { fraction, waxing } = getMoonIllumination(new Date(Date.UTC(2026, 10, 24, 14)));
169
+ * console.log(fraction.toFixed(2), waxing);
170
+ * ```
171
+ */
172
+ export declare function getMoonIllumination(date?: Date | number): MoonIllumination;
173
+ /**
174
+ * The Sun's times for a day at a place.
175
+ *
176
+ * @param date - Any moment of the day, as a `Date` (or milliseconds since 1970).
177
+ * @param lat - Degrees north, -90 to 90.
178
+ * @param lng - Degrees east (west negative).
179
+ * @param height - The observer's height above the horizon in metres (default 0): it lowers the sunrise and sunset altitudes by the dip of the horizon.
180
+ * @param utcOffset - Minutes east of UTC: when given the day is the local calendar day holding `date`; when left out it is the solar day (from one solar midnight to the next) holding `date`.
181
+ * @returns The times as `Date`s, `null` for one that does not happen that day, and `alwaysUp` or `alwaysDown` at the poles.
182
+ *
183
+ * @example
184
+ * ```ts
185
+ * import { getTimes } from "@johnmorrisdotca/wakusei-planets/suncalc";
186
+ *
187
+ * const t = getTimes(new Date(Date.UTC(2026, 5, 21, 12)), 51.5, -0.1, 0, 60);
188
+ * console.log(t.sunrise!.toISOString().slice(0, 13));
189
+ * ```
190
+ */
191
+ export declare function getTimes(date: Date | number, lat: number, lng: number, height?: number, utcOffset?: number): SunTimes;
192
+ /**
193
+ * The Moon's rise, set and transits over a day at a place.
194
+ *
195
+ * @param date - Any moment of the day, as a `Date` (or milliseconds since 1970).
196
+ * @param lat - Degrees north, -90 to 90.
197
+ * @param lng - Degrees east (west negative).
198
+ * @param utcOffset - Minutes east of UTC: when given the day is the local calendar day holding `date`; when left out it is the solar day holding `date`.
199
+ * @returns `rise`, `set`, `transit` (the Moon highest) and `lowerTransit` (lowest) as `Date`s, each absent on a day without it, with `alwaysUp` or `alwaysDown` when the Moon never crosses the horizon.
200
+ *
201
+ * @example
202
+ * ```ts
203
+ * import { getMoonTimes } from "@johnmorrisdotca/wakusei-planets/suncalc";
204
+ *
205
+ * const t = getMoonTimes(new Date(Date.UTC(2026, 10, 7, 12)), 35.7, 139.7, 540);
206
+ * console.log(Object.keys(t).length > 0);
207
+ * ```
208
+ */
209
+ export declare function getMoonTimes(date: Date | number, lat: number, lng: number, utcOffset?: number): MoonTimes;
@@ -0,0 +1,173 @@
1
+ // The sun and moon from a place, with the names, arguments and results of suncalc 2 (degrees, azimuth clockwise from north), written from the public methods on this package's own positions:
2
+ // the Sun from VSOP87B, the Moon from ELP2000-82B, with parallax, refraction and the Earth's turn. It is accurate to seconds of time for the Sun and about ten seconds for the Moon, where
3
+ // suncalc is accurate to a minute or two. Pure: no DOM, no three.js. `import { getTimes } from "@johnmorrisdotca/wakusei-planets/suncalc"` instead of from "suncalc" changes nothing else.
4
+ import { horizontalOf, moonEquatorial, moonPhase, refraction, sunEquatorial } from "./sky/engine.js";
5
+ import { dayWindow, moment, moonDay, place, sunDay } from "./sky/events.js";
6
+ /**
7
+ * The altitudes of the Sun's times in degrees: the morning name when it rises through the angle, the evening name when it sets through it. The ones at the horizon move with the observer's height.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * import { times } from "@johnmorrisdotca/wakusei-planets/suncalc";
12
+ *
13
+ * console.log(times.map((row) => row[1]).join(", "));
14
+ * ```
15
+ */
16
+ export const times = [
17
+ [-0.833, "sunrise", "sunset"],
18
+ [-0.3, "sunriseEnd", "sunsetStart"],
19
+ [-6, "dawn", "dusk"],
20
+ [-12, "nauticalDawn", "nauticalDusk"],
21
+ [-18, "nightEnd", "night"],
22
+ [6, "goldenHourEnd", "goldenHour"],
23
+ ];
24
+ /**
25
+ * Add a time to the ones `getTimes` gives: when the Sun reaches an altitude in degrees, going up under the morning name and going down under the evening name.
26
+ *
27
+ * @param angle - The altitude in degrees.
28
+ * @param riseName - The name of the time when the Sun goes up through it.
29
+ * @param setName - The name of the time when the Sun goes down through it.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * import { addTime, times } from "@johnmorrisdotca/wakusei-planets/suncalc";
34
+ *
35
+ * addTime(-4, "morningBlueHourEnd", "blueHour");
36
+ * console.log(times.some((row) => row[2] === "blueHour"));
37
+ * ```
38
+ */
39
+ export function addTime(angle, riseName, setName) {
40
+ times.push([angle, riseName, setName]);
41
+ }
42
+ /**
43
+ * The Sun's place in the sky from a place on the Earth.
44
+ *
45
+ * @param date - The moment, as a `Date` (or milliseconds since 1970).
46
+ * @param lat - Degrees north, -90 to 90.
47
+ * @param lng - Degrees east (west negative).
48
+ * @returns The azimuth (degrees clockwise from north) and the apparent altitude (degrees).
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * import { getPosition } from "@johnmorrisdotca/wakusei-planets/suncalc";
53
+ *
54
+ * const { azimuth, altitude } = getPosition(new Date(Date.UTC(2026, 5, 21, 12)), 51.5, -0.1);
55
+ * console.log(azimuth.toFixed(0), altitude.toFixed(0));
56
+ * ```
57
+ */
58
+ export function getPosition(date, lat, lng) {
59
+ const ms = moment(date);
60
+ const h = horizontalOf(sunEquatorial(ms), ms, place(lat, lng));
61
+ return { azimuth: h.azimuth, altitude: h.altitude + refraction(h.altitude) };
62
+ }
63
+ /**
64
+ * The Moon's place in the sky from a place on the Earth.
65
+ *
66
+ * @param date - The moment, as a `Date` (or milliseconds since 1970).
67
+ * @param lat - Degrees north, -90 to 90.
68
+ * @param lng - Degrees east (west negative).
69
+ * @returns The azimuth (degrees clockwise from north), apparent altitude (degrees), distance from the Earth's centre (kilometres) and parallactic angle (degrees).
70
+ *
71
+ * @example
72
+ * ```ts
73
+ * import { getMoonPosition } from "@johnmorrisdotca/wakusei-planets/suncalc";
74
+ *
75
+ * const { distance } = getMoonPosition(new Date(Date.UTC(2026, 10, 7, 12)), 35.7, 139.7);
76
+ * console.log(Math.round(distance / 1000));
77
+ * ```
78
+ */
79
+ export function getMoonPosition(date, lat, lng) {
80
+ const ms = moment(date);
81
+ const moon = moonEquatorial(ms);
82
+ const h = horizontalOf(moon, ms, place(lat, lng));
83
+ return { azimuth: h.azimuth, altitude: h.altitude + refraction(h.altitude), distance: moon.distanceKm, parallacticAngle: h.parallacticAngle };
84
+ }
85
+ /**
86
+ * The Moon's phase.
87
+ *
88
+ * @param date - The moment, as a `Date` (or milliseconds since 1970); now when left out.
89
+ * @returns The lit fraction, the phase, the bright limb's position angle in degrees and whether it is waxing.
90
+ *
91
+ * @example
92
+ * ```ts
93
+ * import { getMoonIllumination } from "@johnmorrisdotca/wakusei-planets/suncalc";
94
+ *
95
+ * const { fraction, waxing } = getMoonIllumination(new Date(Date.UTC(2026, 10, 24, 14)));
96
+ * console.log(fraction.toFixed(2), waxing);
97
+ * ```
98
+ */
99
+ export function getMoonIllumination(date = new Date()) {
100
+ return moonPhase(moment(date));
101
+ }
102
+ /**
103
+ * The Sun's times for a day at a place.
104
+ *
105
+ * @param date - Any moment of the day, as a `Date` (or milliseconds since 1970).
106
+ * @param lat - Degrees north, -90 to 90.
107
+ * @param lng - Degrees east (west negative).
108
+ * @param height - The observer's height above the horizon in metres (default 0): it lowers the sunrise and sunset altitudes by the dip of the horizon.
109
+ * @param utcOffset - Minutes east of UTC: when given the day is the local calendar day holding `date`; when left out it is the solar day (from one solar midnight to the next) holding `date`.
110
+ * @returns The times as `Date`s, `null` for one that does not happen that day, and `alwaysUp` or `alwaysDown` at the poles.
111
+ *
112
+ * @example
113
+ * ```ts
114
+ * import { getTimes } from "@johnmorrisdotca/wakusei-planets/suncalc";
115
+ *
116
+ * const t = getTimes(new Date(Date.UTC(2026, 5, 21, 12)), 51.5, -0.1, 0, 60);
117
+ * console.log(t.sunrise!.toISOString().slice(0, 13));
118
+ * ```
119
+ */
120
+ export function getTimes(date, lat, lng, height = 0, utcOffset) {
121
+ const day = sunDay(moment(date), place(lat, lng, height), checkOffset(utcOffset), times);
122
+ const result = { solarNoon: new Date(day.noon), nadir: new Date(day.nadir) };
123
+ for (const [name, at] of day.events)
124
+ result[name] = at === null ? null : new Date(at);
125
+ if (day.alwaysUp)
126
+ result.alwaysUp = true;
127
+ if (day.alwaysDown)
128
+ result.alwaysDown = true;
129
+ return result;
130
+ }
131
+ /**
132
+ * The Moon's rise, set and transits over a day at a place.
133
+ *
134
+ * @param date - Any moment of the day, as a `Date` (or milliseconds since 1970).
135
+ * @param lat - Degrees north, -90 to 90.
136
+ * @param lng - Degrees east (west negative).
137
+ * @param utcOffset - Minutes east of UTC: when given the day is the local calendar day holding `date`; when left out it is the solar day holding `date`.
138
+ * @returns `rise`, `set`, `transit` (the Moon highest) and `lowerTransit` (lowest) as `Date`s, each absent on a day without it, with `alwaysUp` or `alwaysDown` when the Moon never crosses the horizon.
139
+ *
140
+ * @example
141
+ * ```ts
142
+ * import { getMoonTimes } from "@johnmorrisdotca/wakusei-planets/suncalc";
143
+ *
144
+ * const t = getMoonTimes(new Date(Date.UTC(2026, 10, 7, 12)), 35.7, 139.7, 540);
145
+ * console.log(Object.keys(t).length > 0);
146
+ * ```
147
+ */
148
+ export function getMoonTimes(date, lat, lng, utcOffset) {
149
+ const ms = moment(date);
150
+ const observer = place(lat, lng);
151
+ const [start, end] = dayWindow(ms, observer, checkOffset(utcOffset));
152
+ const day = moonDay(start, end, observer);
153
+ const result = {};
154
+ if (day.rise !== null)
155
+ result.rise = new Date(day.rise);
156
+ if (day.set !== null)
157
+ result.set = new Date(day.set);
158
+ if (day.transit !== null)
159
+ result.transit = new Date(day.transit);
160
+ if (day.lowerTransit !== null)
161
+ result.lowerTransit = new Date(day.lowerTransit);
162
+ if (day.alwaysUp)
163
+ result.alwaysUp = true;
164
+ if (day.alwaysDown)
165
+ result.alwaysDown = true;
166
+ return result;
167
+ }
168
+ /** A UTC offset in minutes, or undefined, throwing on anything else. */
169
+ function checkOffset(utcOffset) {
170
+ if (utcOffset !== undefined && !Number.isFinite(utcOffset))
171
+ throw new RangeError(`utcOffset must be a finite number of minutes east of UTC, got ${utcOffset}`);
172
+ return utcOffset;
173
+ }
@@ -0,0 +1,2 @@
1
+ import "./ceres.ts";
2
+ import "./dwarfs.ts";
@@ -0,0 +1,2 @@
1
+ import "./ceres.js";
2
+ import "./dwarfs.js";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,57 @@
1
+ // Made by scripts/make-dwarf-data.py from JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api): each dwarf planet's position from the solar system's barycentre, ecliptic and equinox J2000, in au, terrestrial time.
2
+ // Chebyshev segments, one polynomial of the stated degree for each of x, y and z; the Sun's swing about the barycentre is added back by src/ephemeris.ts. The error on samples held back from each fit is in `worst`. Do not edit by hand.
3
+ // Ceres is a table of its own: its four-year segments are most of the data.
4
+ import { registerTable } from "../data/tables.js";
5
+ // ceres: 1900 to 2100, 50 segments of 4 years, degree 16
6
+ registerTable("ceres", { start: -2208988800000, segment: 126230400000, worst: 0.4981, segments: [
7
+ [[0.05071409, -2.025923149, -1.35590748, 1.159421471, 0.355114177, -0.090089326, -0.048463689, -0.007395263, 0.004073641, 0.002350989, 0.000189666, -0.000262982, -0.00012097, -1.27e-06, 1.8151e-05, 7.207e-06, -3.01e-07], [-0.509156889, 1.204244665, -2.218114704, -0.811331478, 0.409798029, 0.138370912, -0.005374908, -0.015847895, -0.005205412, 0.000603045, 0.000887587, 0.00021824, -5.5798e-05, -5.291e-05, -9.59e-06, 4.683e-06, 3.414e-06], [-0.023307799, 0.407026955, 0.193824437, -0.23655341, -0.055213895, 0.020359433, 0.008858703, 0.00095819, -0.00089301, -0.000420797, -1.1965e-05, 5.4557e-05, 2.1011e-05, -1.147e-06, -3.623e-06, -1.218e-06, 1.43e-07]],
8
+ [[-0.139444584, -0.483749513, -2.534690705, 0.209710922, 0.471262936, 0.021065098, -0.011650752, -0.008232342, -0.002973971, 0.000151799, 0.000265377, 0.000127027, 2.0516e-05, -8.726e-06, -5.871e-06, -1.939e-06, -4.1e-08], [-0.235555148, 2.383114969, -0.49775812, -1.370323538, 0.033389411, 0.112007623, 0.019027043, 0.004016348, -0.002238235, -0.001115178, -0.000194668, 2.2663e-05, 4.5578e-05, 1.4156e-05, 7.52e-07, -1.479e-06, -8.39e-07], [0.019202269, 0.153005299, 0.457661908, -0.074991972, -0.086672673, -0.000969105, 0.002671782, 0.00163854, 0.000494404, -5.8107e-05, -5.5108e-05, -2.3275e-05, -2.575e-06, 2.112e-06, 1.177e-06, 3.35e-07, -3.2e-08]],
9
+ [[-0.059923565, 1.456229873, -2.069873896, -0.801239191, 0.366521557, 0.048949084, -0.004772933, 0.004492561, -0.002073812, -0.000309777, 2.8393e-05, -4.8666e-05, 1.7826e-05, 2.403e-06, -2.38e-07, 6.03e-07, -1.66e-07], [0.093439626, 1.975419429, 1.565323004, -1.106623445, -0.263144782, 0.079582521, -0.000916791, 0.004217883, 0.001777325, -0.000515399, 4.1061e-05, -3.5506e-05, -1.7293e-05, 4.6e-06, -8.04e-07, 4.02e-07, 2.04e-07], [0.014078303, -0.21822056, 0.425168289, 0.119546727, -0.074959028, -0.006986842, 0.000861829, -0.000722427, 0.000431742, 4.3936e-05, -4.201e-06, 8.085e-06, -3.76e-06, -3.24e-07, 2.3e-08, -1.04e-07, 3.6e-08]],
10
+ [[0.229903678, 2.388305597, -0.246575785, -1.363005672, 0.120126468, 0.11062642, -0.028657422, 0.004755377, 0.002378952, -0.001396383, 0.000244295, 6.1249e-05, -6.2743e-05, 1.5646e-05, 1.418e-06, -2.525e-06, 1.159e-06], [0.267427853, 0.196239053, 2.601749921, -0.19988422, -0.482357965, 0.066095523, 0.011117667, -0.010161027, 0.003564248, 0.00011813, -0.000389826, 0.000162025, -1.5469e-05, -1.6915e-05, 8.695e-06, -1.336e-06, -6.44e-07], [-0.035195574, -0.437321557, 0.114978458, 0.247648042, -0.035190399, -0.018864912, 0.005619163, -0.001130155, -0.000343894, 0.000257751, -5.7599e-05, -6.178e-06, 1.2076e-05, -3.466e-06, -3.3e-07, 3.82e-07, -1.21e-07]],
11
+ [[0.565278758, 1.704408926, 1.709080511, -1.105076435, -0.307379204, 0.172405978, -0.000960727, -0.018940854, 0.005799128, 0.00117655, -0.001159003, 0.000151429, 0.000136065, -6.3427e-05, -3.683e-06, 1.1983e-05, -3.19e-06], [0.171669538, -1.609804743, 1.94096826, 0.913708524, -0.47998557, -0.063905801, 0.059706768, -0.009110478, -0.005500776, 0.002841675, 3.4969e-05, -0.000432592, 0.000120268, 3.476e-05, -2.9368e-05, 3.776e-06, 4.16e-06], [-0.099726368, -0.35812879, -0.264035589, 0.229249248, 0.043963132, -0.033651145, 0.001789771, 0.003261256, -0.001222281, -0.000141148, 0.000215551, -3.9722e-05, -2.195e-05, 1.2685e-05, -1.13e-07, -2.117e-06, 7.05e-07]],
12
+ [[0.719244004, 0.025217982, 2.539777844, -0.061863226, -0.607068508, 0.039462917, 0.073392213, -0.012826708, -0.009025431, 0.002996377, 0.00112682, -0.000624383, -0.000121215, 0.000121537, 7.908e-06, -2.5021e-05, 1.672e-06], [-0.135968816, -2.314034817, 0.06367576, 1.479104934, -0.058009282, -0.219300063, 0.02457892, 0.025788203, -0.0064803, -0.003265858, 0.001402661, 0.000387524, -0.000282779, -3.6276e-05, 5.3659e-05, 2.22e-07, -1.0641e-05], [-0.136032335, -0.067852245, -0.468719874, 0.051609028, 0.110916851, -0.013253958, -0.012947881, 0.003073631, 0.001502389, -0.000643078, -0.000172769, 0.000125964, 1.5525e-05, -2.3419e-05, -2.69e-07, 4.597e-06, -4.76e-07]],
13
+ [[0.583414015, -1.617073785, 1.78382659, 1.054622967, -0.412158739, -0.174004096, 0.044389758, 0.02566992, -0.004522643, -0.004291963, 0.000433436, 0.000747373, -1.9895e-05, -0.000130829, -5.719e-06, 2.5394e-05, 3.312e-06], [-0.455403478, -1.64200576, -1.832093363, 1.031519109, 0.461972422, -0.143078416, -0.066426318, 0.014381526, 0.010555661, -0.001481724, -0.001811682, 0.000118703, 0.000318906, 2.056e-06, -5.6183e-05, -5.357e-06, 1.0823e-05], [-0.120669029, 0.253972947, -0.380204104, -0.167134224, 0.088938211, 0.028321116, -0.010033637, -0.004361498, 0.001125632, 0.000754414, -0.000129713, -0.000135177, 1.2389e-05, 2.429e-05, -4.76e-07, -4.851e-06, -3.15e-07]],
14
+ [[0.255452268, -2.318326063, -0.099747205, 1.430007056, 0.100545278, -0.180597033, -0.039714703, 0.011883305, 0.008396285, 0.00021813, -0.001190473, -0.000313039, 0.000108162, 7.6019e-05, 1.538e-06, -1.2623e-05, -3.991e-06], [-0.581138588, 0.037914813, -2.590314816, -0.112175596, 0.575505095, 0.070164268, -0.050693843, -0.01970076, 0.002027773, 0.003369571, 0.000466329, -0.000400778, -0.000169394, 2.3882e-05, 3.2789e-05, 4.913e-06, -4.45e-06], [-0.063235703, 0.430905067, -0.052518476, -0.268059582, -0.002846077, 0.035412675, 0.00596553, -0.002750747, -0.001499063, 5.4604e-05, 0.000232926, 4.6148e-05, -2.4464e-05, -1.3146e-05, 5.19e-07, 2.353e-06, 6.77e-07]],
15
+ [[-0.047580488, -1.577607507, -1.959674637, 0.852171282, 0.436830699, -0.037809112, -0.036458474, -0.011271155, 0.000328339, 0.001637596, 0.000504459, -1.0648e-05, -7.6261e-05, -2.74e-05, 3.29e-07, 4.056e-06, 1.665e-06], [-0.422073127, 1.801524463, -1.70126539, -1.114952905, 0.270205073, 0.140368035, 0.01179266, -0.00746726, -0.005178898, -0.000718543, 0.000364155, 0.000230958, 4.0711e-05, -1.7803e-05, -1.2369e-05, -2.658e-06, 7.84e-07], [-0.00235422, 0.341370436, 0.315994417, -0.188513714, -0.073477928, 0.010867691, 0.007077648, 0.00188216, -0.000203337, -0.000323118, -8.3412e-05, 8.331e-06, 1.525e-05, 4.588e-06, -4.01e-07, -8.26e-07, -2.88e-07]],
16
+ [[-0.137214936, 0.285810353, -2.562259924, -0.19755431, 0.445690295, 0.03412157, -0.00271107, -0.002554604, -0.002968474, -0.000242524, 3.0181e-05, 4.9379e-05, 2.8813e-05, 3.15e-06, -7.67e-07, -9.29e-07, -2.68e-07], [-0.095034048, 2.436017612, 0.320313793, -1.36001525, -0.089278629, 0.092264174, 0.011169321, 0.006510138, -0.000168259, -0.000708424, -0.000153295, -5.8146e-05, 7.891e-06, 7.951e-06, 2.227e-06, 6.93e-07, -1.38e-07], [0.022348255, 0.013866429, 0.483316449, -0.001070865, -0.085017708, -0.00373148, 0.000810986, 0.000648347, 0.000547525, 2.4846e-05, -1.0423e-05, -1.0322e-05, -5.167e-06, -4.69e-07, 2.8e-07, 1.74e-07, 2.6e-08]],
17
+ [[0.041093526, 1.992774842, -1.490141492, -1.088375585, 0.29748961, 0.061540636, -0.014345308, 0.007739391, -0.001059074, -0.000591372, 0.000204816, -8.262e-05, 1.204e-06, 8.416e-06, -3.324e-06, 9.85e-07, 1.14e-07], [0.186878584, 1.395941998, 2.137915841, -0.826862012, -0.35323114, 0.080983375, -0.004632074, -0.0003894, 0.003058754, -0.000604339, 4.153e-05, 4.3677e-05, -3.6282e-05, 6.385e-06, 1.05e-07, -9.58e-07, 5.03e-07], [-0.002324627, -0.329009792, 0.335053006, 0.178418034, -0.064852153, -0.009144557, 0.002525679, -0.001442953, 0.000280782, 9.268e-05, -3.6754e-05, 1.6494e-05, -1.224e-06, -1.381e-06, 6.17e-07, -2.11e-07, -7e-09]],
18
+ [[0.376256383, 2.297786084, 0.536706773, -1.379390745, -0.021001792, 0.144973984, -0.03053966, -0.001719273, 0.005371285, -0.001575102, -0.000137704, 0.000265679, -8.4995e-05, -7.803e-06, 1.5711e-05, -5.468e-06, -2.79e-07], [0.263870829, -0.542365119, 2.555129011, 0.223106, -0.525972084, 0.037732927, 0.02920367, -0.015238492, 0.002234624, 0.001376064, -0.000748212, 0.000104062, 7.0119e-05, -4.2591e-05, 5.929e-06, 3.873e-06, -2.682e-06], [-0.06127648, -0.440084579, -0.028097711, 0.261468099, -0.010838269, -0.025777986, 0.006478122, -0.000112018, -0.000931617, 0.000331277, 3.742e-06, -4.6121e-05, 1.7852e-05, 9.7e-08, -2.691e-06, 1.125e-06, -4.9e-08]],
19
+ [[0.647869387, 1.143140181, 2.190834969, -0.788519427, -0.456403349, 0.150334192, 0.027363852, -0.023925471, 0.001978487, 0.003142914, -0.001011903, -0.000256769, 0.000225528, -1.0666e-05, -3.536e-05, 1.1813e-05, 3.625e-06], [0.072001469, -2.028146902, 1.338870933, 1.222274631, -0.370109267, -0.131811524, 0.061701225, 0.002134263, -0.009135551, 0.001782472, 0.000997099, -0.000511634, -3.9066e-05, 9.4422e-05, -1.5948e-05, -1.2637e-05, 6.427e-06], [-0.117586457, -0.26852124, -0.367413871, 0.18018543, 0.074068711, -0.031494154, -0.003331287, 0.004485186, -0.000622134, -0.000531452, 0.000215087, 3.3124e-05, -4.2821e-05, 4.624e-06, 6.092e-06, -2.539e-06, -4.89e-07]],
20
+ [[0.68551399, -0.641203547, 2.44255445, 0.394268453, -0.592857764, -0.048191794, 0.076656014, 0.002923973, -0.01079881, 5.8171e-05, 0.001694688, -8.6719e-05, -0.000277789, 2.712e-05, 4.6445e-05, -7.739e-06, -8.62e-06], [-0.264496495, -2.224426417, -0.708329401, 1.429092583, 0.154671877, -0.219949788, -0.012650308, 0.028623945, 0.000417695, -0.004311345, 0.000126187, 0.000694134, -5.3125e-05, -0.000114635, 1.4421e-05, 2.1223e-05, -4.056e-06], [-0.133743313, 0.055369179, -0.47222052, -0.03215298, 0.114221679, 0.002598563, -0.014551735, 0.000283525, 0.002007811, -0.000133272, -0.000310101, 3.5703e-05, 5.0085e-05, -8.382e-06, -8.183e-06, 2.062e-06, 1.463e-06]],
21
+ [[0.471794227, -2.033582002, 1.151837454, 1.311549958, -0.226720283, -0.20485584, 0.007696758, 0.026338382, 0.002768996, -0.003524709, -0.000918477, 0.00042951, 0.000211965, -4.1221e-05, -4.1817e-05, 4.38e-07, 8.063e-06], [-0.521982092, -1.082690087, -2.302319798, 0.639074466, 0.564714856, -0.05957417, -0.07391165, -0.002301368, 0.009841811, 0.001740411, -0.001280113, -0.000458687, 0.000142163, 9.6397e-05, -1.0213e-05, -1.9751e-05, -1.305e-06], [-0.101529904, 0.344547951, -0.279501827, -0.22440591, 0.058171423, 0.036210224, -0.003541903, -0.004938816, -0.000229679, 0.000701987, 0.000132936, -9.2796e-05, -3.5153e-05, 1.0434e-05, 7.471e-06, -6.35e-07, -1.527e-06]],
22
+ [[0.128692753, -2.211886525, -0.882112078, 1.309580371, 0.270283219, -0.128341343, -0.050269312, -0.001293937, 0.006537291, 0.002117246, -0.000313418, -0.000403139, -7.9776e-05, 3.8738e-05, 2.4659e-05, 2.361e-06, -3.567e-06], [-0.545453108, 0.754172769, -2.446730164, -0.555222633, 0.490601291, 0.12147003, -0.022197186, -0.01966062, -0.00343041, 0.001840925, 0.001016753, 4.4064e-05, -0.000141499, -5.1282e-05, 6.44e-06, 1.0784e-05, 2.583e-06], [-0.040131855, 0.430667718, 0.092981175, -0.258431317, -0.035893532, 0.027263005, 0.008665105, -0.000327102, -0.001309155, -0.000338845, 8.7323e-05, 7.5888e-05, 1.069e-05, -8.643e-06, -4.375e-06, -1.24e-07, 7.33e-07]],
23
+ [[-0.110337281, -0.954970996, -2.380649368, 0.475812428, 0.470679201, 0.003925397, -0.02048523, -0.010766555, -0.002310421, 0.000639953, 0.000435524, 0.000128635, -6.255e-06, -2.0142e-05, -7.492e-06, -8.61e-07, 7.14e-07], [-0.316477594, 2.217346621, -1.013864009, -1.308820788, 0.123603987, 0.125264095, 0.019913783, 0.00058029, -0.003627829, -0.001236631, -8.3099e-05, 0.000109635, 6.4746e-05, 1.0842e-05, -3.734e-06, -3.3e-06, -1.027e-06], [0.011135284, 0.241403353, 0.411318126, -0.125965246, -0.083591196, 0.002894999, 0.004376174, 0.002014352, 0.000324163, -0.000154539, -8.3658e-05, -2.0993e-05, 2.977e-06, 4.11e-06, 1.346e-06, 9.6e-08, -1.6e-07]],
24
+ [[-0.097529251, 1.014076991, -2.344903208, -0.572885765, 0.403935155, 0.042439744, -0.00163967, 0.001916108, -0.002527808, -0.000266979, -2.1574e-05, -1.3946e-05, 2.3394e-05, 2.323e-06, 5.97e-07, 1.03e-07, -2.4e-07], [0.023800794, 2.241174218, 1.096072219, -1.243281025, -0.195991441, 0.082062171, 0.003251283, 0.005984367, 0.00103707, -0.000523107, -2.3749e-05, -6.0203e-05, -8.285e-06, 4.28e-06, 2.36e-07, 7.38e-07, 1.05e-07], [0.019309846, -0.122759797, 0.465377519, 0.069878918, -0.08041402, -0.005464862, 0.000397741, -0.000180411, 0.000497691, 3.4211e-05, 3.291e-06, 8.2e-07, -4.565e-06, -3.04e-07, -1.02e-07, -0.0, 4.6e-08]],
25
+ [[0.149305465, 2.305947098, -0.772064673, -1.28728349, 0.201979543, 0.088769869, -0.0241862, 0.007080021, 0.000713159, -0.001092751, 0.000304018, -2.7185e-05, -3.3932e-05, 1.6922e-05, -3.026e-06, -7.41e-07, 7.77e-07], [0.253817814, 0.705334992, 2.494947029, -0.471723772, -0.437241891, 0.076693412, 0.002405616, -0.006149773, 0.003683102, -0.000381212, -0.000179513, 0.000133214, -3.5185e-05, -2.874e-06, 4.78e-06, -2.279e-06, 3.42e-07], [-0.01965814, -0.404858714, 0.216113572, 0.224426339, -0.050237676, -0.01429397, 0.004529035, -0.001471713, -1.4743e-05, 0.000190936, -6.4134e-05, 7.913e-06, 5.645e-06, -2.772e-06, 7.47e-07, -5.6e-08, -2.11e-07]],
26
+ [[0.492593246, 2.00498436, 1.28738033, -1.257944151, -0.19582548, 0.170470102, -0.015694264, -0.01289124, 0.006521564, -0.000119907, -0.000862617, 0.000285974, 3.656e-05, -5.5821e-05, 1.2093e-05, 4.657e-06, -3.761e-06], [0.233147106, -1.228610333, 2.257386778, 0.657526896, -0.51984011, -0.020369573, 0.050833531, -0.013410944, -0.00238469, 0.002624118, -0.000440128, -0.000233556, 0.000141092, -8.919e-06, -1.9063e-05, 8.228e-06, 3.31e-07], [-0.083390265, -0.406340678, -0.170189582, 0.252044983, 0.020593532, -0.032103465, 0.004423593, 0.001979157, -0.001276148, 0.000100812, 0.000146154, -5.9832e-05, -2.524e-06, 1.0047e-05, -2.809e-06, -6.16e-07, 7.08e-07]],
27
+ [[0.703414432, 0.476770557, 2.481161129, -0.3606562, -0.571265074, 0.089534645, 0.059844945, -0.019621798, -0.005346559, 0.003767239, 0.000289736, -0.000649939, 4.9989e-05, 0.000101891, -2.3625e-05, -1.4937e-05, 6.887e-06], [-0.03448071, -2.271927466, 0.581854524, 1.42670812, -0.190644353, -0.195468894, 0.04335933, 0.018330079, -0.008889325, -0.001444174, 0.001601725, -5.769e-06, -0.000262862, 3.9953e-05, 3.8333e-05, -1.4402e-05, -4.84e-06], [-0.1303621, -0.15721316, -0.441009562, 0.109591669, 0.099872476, -0.02241455, -0.009772264, 0.00417312, 0.000725831, -0.000738104, -6.935e-06, 0.000119319, -1.6656e-05, -1.7386e-05, 5.367e-06, 2.2e-06, -1.365e-06]],
28
+ [[0.634488601, -1.271237394, 2.108211322, 0.823285651, -0.504875121, -0.132729367, 0.062414665, 0.01900064, -0.008331279, -0.003163331, 0.001251421, 0.000562651, -0.000196896, -0.000102602, 3.1436e-05, 2.1445e-05, -5.7e-06], [-0.377062546, -1.931388153, -1.432408158, 1.230756076, 0.356395356, -0.184186446, -0.04965796, 0.02272809, 0.007741123, -0.003271173, -0.001340589, 0.000504935, 0.000243571, -7.9973e-05, -4.5177e-05, 1.4073e-05, 9.443e-06], [-0.129259789, 0.176065978, -0.432696752, -0.114933182, 0.104073704, 0.018962555, -0.013035478, -0.002824499, 0.001773618, 0.000485729, -0.000271788, -8.8721e-05, 4.3749e-05, 1.6546e-05, -7.175e-06, -3.538e-06, 1.338e-06]],
29
+ [[0.341736498, -2.269002621, 0.410595354, 1.431753819, -0.025726198, -0.201265006, -0.024699194, 0.019515158, 0.007509385, -0.001422984, -0.001427808, -5.8916e-05, 0.000218376, 5.2558e-05, -2.5973e-05, -1.521e-05, 1.412e-06], [-0.570679737, -0.426861431, -2.552331502, 0.190253079, 0.595743003, 0.023421008, -0.064746863, -0.015184777, 0.005778442, 0.003424925, -0.000217916, -0.00058094, -8.3598e-05, 7.9115e-05, 2.9999e-05, -7.258e-06, -7.316e-06], [-0.080755456, 0.406831316, -0.153185403, -0.258833255, 0.022841501, 0.037913847, 0.002588595, -0.004071616, -0.001208774, 0.000368699, 0.000256119, -7.466e-06, -4.2515e-05, -7.042e-06, 5.583e-06, 2.46e-06, -4.27e-07]],
30
+ [[0.011721869, -1.895630557, -1.580102128, 1.064139945, 0.387565898, -0.071718213, -0.044664259, -0.009060334, 0.002668646, 0.002124963, 0.000337195, -0.000163419, -0.00010862, -1.4376e-05, 1.0873e-05, 6.469e-06, 7.55e-07], [-0.477259436, 1.42762772, -2.064538034, -0.924576439, 0.364262096, 0.140506611, 0.001118578, -0.012912393, -0.005311837, 6.7748e-05, 0.000697345, 0.000236745, -1.4172e-05, -4.0277e-05, -1.2087e-05, 1.288e-06, 2.489e-06], [-0.016750386, 0.392782634, 0.228999036, -0.224581124, -0.060514145, 0.01751409, 0.008282624, 0.001281154, -0.000654126, -0.0003904, -4.1099e-05, 3.7368e-05, 1.9636e-05, 1.441e-06, -2.374e-06, -1.158e-06, -6.8e-08]],
31
+ [[-0.139720127, -0.212355461, -2.573144706, 0.06512605, 0.462365592, 0.025202715, -0.007265998, -0.005655787, -0.00296118, -8.9422e-05, 0.000134724, 9.4006e-05, 2.5779e-05, -1.397e-06, -2.44e-06, -1.615e-06, -3.7e-07], [-0.172215492, 2.438433608, -0.213457895, -1.376915548, -0.009788243, 0.102858461, 0.015474393, 0.005307388, -0.001220012, -0.000903185, -0.000194673, -2.4427e-05, 2.4296e-05, 1.161e-05, 2.49e-06, -2.53e-07, -3.84e-07], [0.019874443, 0.113334906, 0.468178801, -0.054393886, -0.085668333, -0.001408929, 0.001817659, 0.001192437, 0.000514001, -1.0558e-05, -3.2784e-05, -1.7498e-05, -3.664e-06, 2.9e-07, 5.57e-07, 3.83e-07, -7e-09]],
32
+ [[-0.019538479, 1.67414422, -1.885463193, -0.908989736, 0.347967315, 0.049664859, -0.008811021, 0.006400373, -0.001747733, -0.000378569, 0.000104908, -7.3935e-05, 1.2881e-05, 3.981e-06, -1.664e-06, 9.65e-07, -1.04e-07], [0.14311011, 1.785913622, 1.787422878, -1.020958727, -0.291957035, 0.082299798, -0.004430237, 0.0024899, 0.002361099, -0.000581602, 7.5457e-05, -5.204e-06, -2.6389e-05, 6.135e-06, -1.109e-06, -9.9e-08, 3.46e-07], [0.007935308, -0.252454524, 0.402576732, 0.135956008, -0.073147472, -0.006614361, 0.001487113, -0.001102661, 0.000394989, 5.1826e-05, -1.7009e-05, 1.3458e-05, -3.186e-06, -5.43e-07, 2.73e-07, -1.84e-07, 3e-08]],
33
+ [[0.291979015, 2.371467359, 0.022521043, -1.387343323, 0.077543571, 0.124858996, -0.032094582, 0.003020884, 0.003758032, -0.001680812, 0.000152107, 0.000153305, -8.7657e-05, 1.2122e-05, 7.578e-06, -5.052e-06, 1.031e-06], [0.286813007, -0.060682019, 2.613474771, -0.05896388, -0.505624598, 0.061266283, 0.01734505, -0.013093502, 0.003548773, 0.000579134, -0.000608109, 0.000178557, 1.4714e-05, -3.2281e-05, 1.0793e-05, -1.21e-07, -1.809e-06], [-0.044647947, -0.43911367, 0.07692644, 0.253929005, -0.030029062, -0.021127137, 0.006468003, -0.000966747, -0.000583994, 0.00032967, -4.7608e-05, -2.2858e-05, 1.6912e-05, -3.38e-06, -1.073e-06, 9.76e-07, -2.8e-07]],
34
+ [[0.595506829, 1.52321049, 1.888713526, -1.012108326, -0.361374182, 0.169144422, 0.008233278, -0.021523266, 0.004871892, 0.001933069, -0.001219669, 2.8375e-05, 0.000185792, -5.4904e-05, -1.5869e-05, 1.4593e-05, -1.568e-06], [0.152092357, -1.765377403, 1.758070997, 1.026945636, -0.451065047, -0.087301508, 0.06245589, -0.005829928, -0.007060425, 0.002703481, 0.000365199, -0.0005097, 8.1246e-05, 6.1382e-05, -3.0125e-05, -1.367e-06, 5.995e-06], [-0.105595883, -0.335856762, -0.293015038, 0.218572315, 0.052545719, -0.033892615, 0.000429117, 0.003784969, -0.001117988, -0.000272017, 0.000236176, -2.1128e-05, -3.1714e-05, 1.2038e-05, 1.981e-06, -2.733e-06, 4.8e-07]],
35
+ [[0.698968584, -0.198821218, 2.536164131, 0.092643741, -0.608831665, 0.009605441, 0.0753947, -0.007493801, -0.009761454, 0.00201128, 0.001346772, -0.000446467, -0.00018159, 9.1325e-05, 2.2398e-05, -1.9893e-05, -2.304e-06], [-0.174832849, -2.311157622, -0.194189624, 1.477169986, 0.013976622, -0.221921117, 0.011960656, 0.027084734, -0.004177035, -0.003671789, 0.000982732, 0.000500709, -0.000208153, -6.5151e-05, 4.1391e-05, 7.904e-06, -8.899e-06], [-0.134256267, -0.035437518, -0.473730814, 0.029273007, 0.11272692, -0.008757249, -0.013526011, 0.002236268, 0.001666372, -0.000485651, -0.000217202, 9.7707e-05, 2.7101e-05, -1.8885e-05, -2.879e-06, 3.95e-06, 1.31e-07]],
36
+ [[0.539154401, -1.780946056, 1.583565828, 1.15644859, -0.350094877, -0.187140632, 0.030947299, 0.026322259, -0.001655679, -0.004091908, -0.000133816, 0.000644772, 8.6313e-05, -9.9474e-05, -2.4673e-05, 1.5814e-05, 6.465e-06], [-0.4714375, -1.465719933, -2.015908528, 0.905058448, 0.502916863, -0.114020264, -0.070026202, 0.008053312, 0.010482408, -0.000175777, -0.001651074, -0.000132997, 0.00025914, 4.7415e-05, -3.939e-05, -1.3823e-05, 6.156e-06], [-0.114315331, 0.281396396, -0.355497394, -0.184692508, 0.080383011, 0.030920934, -0.007906369, -0.004598768, 0.000634896, 0.000748511, -2.7493e-05, -0.000123121, -7.75e-06, 1.9856e-05, 3.324e-06, -3.345e-06, -9.96e-07]],
37
+ [[0.210616351, -2.302841244, -0.379526681, 1.404350634, 0.166690173, -0.162585914, -0.046062132, 0.006219932, 0.008173102, 0.001274127, -0.000869274, -0.000429633, 1.503e-05, 7.3685e-05, 1.8138e-05, -6.904e-06, -5.451e-06], [-0.566329511, 0.285700691, -2.570562128, -0.273206959, 0.551222577, 0.092728979, -0.03968454, -0.020874722, -0.000575383, 0.002924232, 0.000851338, -0.000207255, -0.000191876, -2.0193e-05, 2.5746e-05, 1.1813e-05, -9.51e-07], [-0.057979575, 0.433036009, -0.011048216, -0.267391409, -0.013276947, 0.032885836, 0.007230484, -0.001805627, -0.001524061, -0.000142207, 0.000187045, 7.2595e-05, -8.834e-06, -1.421e-05, -2.525e-06, 1.648e-06, 9.73e-07]],
38
+ [[-0.067142844, -1.375549984, -2.128528763, 0.727108912, 0.452608404, -0.019681887, -0.030112872, -0.012001622, -0.001033878, 0.001257618, 0.000550632, 7.705e-05, -4.8021e-05, -3.0255e-05, -5.537e-06, 1.779e-06, 1.7e-06], [-0.390364936, 1.959304859, -1.481681373, -1.194134529, 0.217226192, 0.13532333, 0.016921175, -0.003927766, -0.004844576, -0.001108797, 0.000144626, 0.000201919, 6.6799e-05, -2.232e-06, -9.992e-06, -4.206e-06, -3.56e-07], [-0.000411854, 0.31602278, 0.345025118, -0.171854105, -0.076533193, 0.007913408, 0.006090367, 0.002090513, 3.8527e-05, -0.000266712, -9.7227e-05, -8.098e-06, 1.0856e-05, 5.505e-06, 7.35e-07, -4.37e-07, -3.15e-07]],
39
+ [[-0.122276934, 0.53053561, -2.518041484, -0.324247749, 0.433301941, 0.036403716, -0.001204129, -0.001023119, -0.00287014, -0.000245771, -1.3188e-05, 2.8222e-05, 2.8107e-05, 2.665e-06, 2.51e-07, -5.27e-07, -3.28e-07], [-0.053970464, 2.400635763, 0.583183727, -1.333733952, -0.124143352, 0.087398354, 0.008286122, 0.006750883, 0.000236509, -0.000615581, -0.000108524, -6.6605e-05, 1.932e-06, 6.064e-06, 1.672e-06, 7.84e-07, -2e-08], [0.020837304, -0.021529061, 0.482101316, 0.01719699, -0.083750744, -0.003912204, 0.000485796, 0.000403934, 0.000535983, 2.5622e-05, -1.037e-06, -7.33e-06, -5.11e-06, -2.97e-07, 8e-09, 1.2e-07, 5.8e-08]],
40
+ [[0.071942515, 2.116044843, -1.265065916, -1.163946289, 0.270907257, 0.069923403, -0.018081178, 0.007763491, -0.000598653, -0.00074965, 0.000260808, -7.1436e-05, -8.492e-06, 1.1293e-05, -3.959e-06, 7.36e-07, 3.76e-07], [0.219642945, 1.183095776, 2.279285239, -0.718986734, -0.382498434, 0.081519408, -0.00294717, -0.002211063, 0.003334769, -0.000597584, -2.0969e-05, 7.2835e-05, -3.8876e-05, 5.612e-06, 1.791e-06, -1.451e-06, 4.58e-07], [-0.006155192, -0.350686904, 0.306372374, 0.191438976, -0.062179668, -0.010346609, 0.003210893, -0.001497917, 0.000223322, 0.000122199, -4.8611e-05, 1.4649e-05, -1.61e-07, -1.927e-06, 9.18e-07, -9.1e-08, -3.8e-08]],
41
+ [[0.408287648, 2.227142798, 0.806721135, -1.354328054, -0.082957521, 0.157826187, -0.025617231, -0.006244428, 0.005969957, -0.00104862, -0.000438956, 0.000290699, -4.0607e-05, -2.9119e-05, 1.6051e-05, -1.787e-06, -1.994e-06], [0.267874365, -0.787102077, 2.480314631, 0.37703026, -0.532403772, 0.017556668, 0.038456591, -0.014881147, 0.000445599, 0.001924766, -0.000660079, -2.9686e-05, 0.000105889, -3.2577e-05, -4.34e-06, 6.567e-06, -1.846e-06], [-0.065752492, -0.435150916, -0.067663632, 0.26173988, -0.00211651, -0.02849884, 0.00597602, 0.000663623, -0.001084966, 0.000256029, 5.9281e-05, -5.4517e-05, 1.0939e-05, 4.302e-06, -3.1e-06, 5.41e-07, 3.1e-07]],
42
+ [[0.668133403, 0.918924365, 2.320385009, -0.642479179, -0.506133889, 0.130094812, 0.04138629, -0.023010187, -0.001153219, 0.003615358, -0.000486409, -0.000468453, 0.000166973, 4.3902e-05, -3.5728e-05, 5.18e-07, 6.338e-06], [0.050457236, -2.139289074, 1.081121668, 1.310588995, -0.309281129, -0.159052427, 0.056057551, 0.009074013, -0.009452238, 0.000442083, 0.001351568, -0.000324422, -0.000152283, 8.227e-05, 9.202e-06, -1.7024e-05, 2.094e-06], [-0.120987769, -0.240212546, -0.392089219, 0.161325458, 0.083150681, -0.029169538, -0.005802107, 0.004532808, -9.3505e-05, -0.000650166, 0.000132947, 7.5082e-05, -3.5531e-05, -5.163e-06, 6.842e-06, -7.62e-07, -1.102e-06]],
43
+ [[0.672898985, -0.872946515, 2.35022821, 0.553280117, -0.571568553, -0.080942982, 0.074410788, 0.009510566, -0.010701565, -0.001297243, 0.001737066, 0.000188793, -0.000298167, -2.8034e-05, 5.2635e-05, 4.512e-06, -1.0566e-05], [-0.30048931, -2.147263694, -0.972260367, 1.376842035, 0.2300952, -0.212527049, -0.027385971, 0.028049879, 0.003460159, -0.004349046, -0.000491117, 0.00072836, 7.244e-05, -0.000126093, -1.0563e-05, 2.5005e-05, 1.767e-06], [-0.134491601, 0.090167449, -0.464731854, -0.056699968, 0.112866424, 0.007930454, -0.014609718, -0.000830704, 0.002085405, 9.613e-05, -0.000336197, -1.0862e-05, 5.7326e-05, 1.028e-06, -1.0051e-05, -1.2e-08, 2.009e-06]],
44
+ [[0.429573508, -2.131686015, 0.905529963, 1.370273974, -0.157598514, -0.20885318, -0.00459724, 0.025286181, 0.004917488, -0.003040266, -0.001261538, 0.000287047, 0.000258825, -7.016e-06, -4.6108e-05, -7.72e-06, 7.878e-06], [-0.550485496, -0.870150513, -2.410781667, 0.489742639, 0.585125311, -0.030065054, -0.073475852, -0.007525826, 0.009034777, 0.002614563, -0.001004741, -0.000585915, 7.0012e-05, 0.000110405, 5.86e-06, -1.9784e-05, -4.695e-06], [-0.097305748, 0.364411574, -0.246248625, -0.236285663, 0.04836308, 0.037495752, -0.001592231, -0.00491313, -0.000603644, 0.000649113, 0.000198184, -7.3352e-05, -4.5126e-05, 5.362e-06, 8.644e-06, 5.62e-07, -1.613e-06]],
45
+ [[0.08715631, -2.130501867, -1.133605363, 1.237709938, 0.315676628, -0.108790655, -0.049403897, -0.00446021, 0.005224185, 0.002231709, -4.3885e-05, -0.000326941, -0.000102049, 1.6909e-05, 2.1139e-05, 5.093e-06, -1.796e-06], [-0.527044242, 0.997430515, -2.342031741, -0.68965446, 0.450631268, 0.130520541, -0.013532376, -0.017651126, -0.004338663, 0.001180308, 0.000944075, 0.000137108, -9.5031e-05, -5.222e-05, -2.354e-06, 7.467e-06, 3.097e-06], [-0.033427776, 0.424396591, 0.131183471, -0.250587094, -0.043208739, 0.024341327, 0.008646094, 0.000237529, -0.001104948, -0.000371763, 3.929e-05, 6.4707e-05, 1.5642e-05, -4.836e-06, -3.966e-06, -6.9e-07, 4.3e-07]],
46
+ [[-0.122790882, -0.704361278, -2.475745801, 0.332503571, 0.467639909, 0.011433061, -0.014575813, -0.00848923, -0.002557466, 0.000260667, 0.000275571, 0.000116194, 1.3515e-05, -9.991e-06, -5.346e-06, -1.196e-06, 9.5e-08], [-0.255242908, 2.333911646, -0.741881935, -1.34247471, 0.076748532, 0.115295493, 0.017787196, 0.002662774, -0.002455904, -0.001055292, -0.000159906, 3.9611e-05, 4.4755e-05, 1.1232e-05, 1.82e-07, -1.234e-06, -8.33e-07], [0.014173907, 0.207409848, 0.430400645, -0.106413518, -0.083584664, 0.001885868, 0.003305858, 0.001625421, 0.00038828, -7.8042e-05, -5.7897e-05, -2.1155e-05, -9.3e-08, 2.359e-06, 6.84e-07, 2.36e-07, 5.3e-08]],
47
+ [[-0.0681978, 1.278030478, -2.205021419, -0.697979236, 0.389254267, 0.041469817, -0.004784134, 0.004177901, -0.002204337, -0.000270583, 2.591e-05, -4.6539e-05, 1.8846e-05, 2.146e-06, -1.94e-07, 5.83e-07, -1.82e-07], [0.082070945, 2.101891262, 1.360388486, -1.177471464, -0.22698966, 0.083970854, -0.001496745, 0.004559313, 0.001606555, -0.00053832, 4.3804e-05, -3.8619e-05, -1.6189e-05, 4.734e-06, -8.19e-07, 4.27e-07, 1.98e-07], [0.016044944, -0.162731647, 0.451125711, 0.088266899, -0.079226039, -0.004772573, 0.000828669, -0.000612947, 0.000459538, 3.1466e-05, -3.278e-06, 7.234e-06, -4.01e-06, -2.34e-07, 9e-09, -9.5e-08, 3.9e-08]],
48
+ [[0.207841798, 2.349507281, -0.493988631, -1.34116152, 0.164132023, 0.103220673, -0.02944335, 0.006152929, 0.00201924, -0.00145981, 0.000296597, 4.3139e-05, -6.4391e-05, 1.9569e-05, 4.84e-07, -2.851e-06, 1.313e-06], [0.285994721, 0.431011059, 2.565160848, -0.33170878, -0.468414538, 0.075934546, 0.007405049, -0.009595126, 0.003995266, -4.2653e-05, -0.00038398, 0.000176967, -2.2197e-05, -1.6277e-05, 9.354e-06, -1.965e-06, -6.51e-07], [-0.027838002, -0.417515399, 0.178170113, 0.235263636, -0.046154771, -0.016405045, 0.005677123, -0.0014593, -0.000237557, 0.000268747, -6.7885e-05, -2.312e-06, 1.1402e-05, -4.195e-06, 1.45e-07, 5.25e-07, -2.77e-07]],
49
+ [[0.532711238, 1.849256297, 1.512542385, -1.187712773, -0.255144363, 0.174166007, -0.008515041, -0.016536738, 0.006423721, 0.000570621, -0.001080748, 0.000235604, 9.4582e-05, -6.6066e-05, 4.77e-06, 9.451e-06, -4.081e-06], [0.214631022, -1.432038384, 2.105992835, 0.792939598, -0.504490371, -0.042728488, 0.056691428, -0.011633457, -0.004147636, 0.002884255, -0.000213874, -0.000360421, 0.000142913, 1.4206e-05, -2.7236e-05, 6.938e-06, 2.497e-06], [-0.090713493, -0.388733349, -0.205792502, 0.2454124, 0.029652711, -0.033473589, 0.003502112, 0.00264197, -0.001322513, -6.341e-06, 0.000191354, -5.563e-05, -1.2505e-05, 1.2634e-05, -1.81e-06, -1.502e-06, 8.38e-07]],
50
+ [[0.702482867, 0.248905505, 2.527785125, -0.207727702, -0.591751542, 0.063663296, 0.066368202, -0.016094246, -0.006979069, 0.003343118, 0.00064292, -0.00061956, -2.0527e-05, 0.000105695, -1.0822e-05, -1.8099e-05, 4.778e-06], [-0.08560195, -2.308340269, 0.322364124, 1.459597427, -0.122977705, -0.207501639, 0.033679655, 0.021735626, -0.007634553, -0.002228115, 0.001483259, 0.000155327, -0.000264717, 1.0081e-05, 4.321e-05, -8.962e-06, -6.911e-06], [-0.13138225, -0.124303777, -0.453570335, 0.088201623, 0.104524042, -0.018827447, -0.011033935, 0.003703218, 0.001018419, -0.000689598, -6.7261e-05, 0.000118823, -5.102e-06, -1.9088e-05, 3.409e-06, 3.07e-06, -1.128e-06]],
51
+ [[0.602695003, -1.464409138, 1.94735356, 0.950603205, -0.455605643, -0.154476361, 0.051779638, 0.022236322, -0.005971143, -0.003655776, 0.000744609, 0.000632774, -8.9208e-05, -0.000111174, 9.117e-06, 2.1955e-05, -5.4e-07], [-0.408195512, -1.786516675, -1.651853485, 1.12983748, 0.412692988, -0.161311779, -0.058121199, 0.017649271, 0.009034424, -0.002159703, -0.001532329, 0.000268115, 0.000269662, -3.0661e-05, -4.7897e-05, 2.589e-06, 9.471e-06], [-0.124577478, 0.206858479, -0.414416708, -0.135781698, 0.097889378, 0.022853744, -0.011503466, -0.003478708, 0.001406628, 0.000597045, -0.000189616, -0.000107119, 2.5643e-05, 1.9383e-05, -3.312e-06, -3.937e-06, 4.29e-07]],
52
+ [[0.301191311, -2.30343144, 0.130599308, 1.439179976, 0.048851362, -0.188647118, -0.035366552, 0.0139739, 0.008403004, -7.6394e-05, -0.0012866, -0.000297643, 0.000131525, 8.1137e-05, -1.949e-06, -1.5051e-05, -3.821e-06], [-0.564882978, -0.180028221, -2.589447661, 0.022412728, 0.586202505, 0.053022669, -0.055318121, -0.018768779, 0.002909699, 0.003484043, 0.000372443, -0.000448029, -0.000170265, 3.1697e-05, 3.6144e-05, 4.751e-06, -5.377e-06], [-0.075564007, 0.416017482, -0.113388488, -0.263185211, 0.01140537, 0.036424298, 0.004563834, -0.003212257, -0.001440265, 0.000135148, 0.000248729, 3.9035e-05, -3.0018e-05, -1.3776e-05, 1.616e-06, 2.925e-06, 5.15e-07]],
53
+ [[-0.005402451, -1.728930402, -1.793537289, 0.952510863, 0.414572437, -0.049325791, -0.038871057, -0.011289984, 0.000840205, 0.001841755, 0.00052666, -3.411e-05, -9.1221e-05, -3.0185e-05, 1.546e-06, 5.102e-06, 1.962e-06], [-0.446257685, 1.628084233, -1.881397465, -1.030151993, 0.31034567, 0.139123967, 0.009423538, -0.008975071, -0.005496379, -0.000626262, 0.000449405, 0.000258799, 3.8865e-05, -2.3249e-05, -1.4433e-05, -2.742e-06, 1.166e-06], [-0.014271092, 0.37394792, 0.263219026, -0.210502805, -0.065252249, 0.013877438, 0.007458454, 0.001760781, -0.000343682, -0.000359057, -8.1043e-05, 1.5063e-05, 1.7974e-05, 4.696e-06, -7.8e-07, -1.02e-06, -3.12e-07]],
54
+ [[-0.127145904, 0.034295465, -2.583891409, -0.065279178, 0.454174663, 0.02872858, -0.003807453, -0.00406951, -0.003044147, -0.000161, 5.9095e-05, 7.1878e-05, 2.9945e-05, 1.019e-06, -1.379e-06, -1.204e-06, -3.78e-07], [-0.127278158, 2.450901173, 0.054363431, -1.375365079, -0.047471159, 0.095926954, 0.013000179, 0.006341663, -0.000694475, -0.000785391, -0.000176386, -5.0032e-05, 1.5984e-05, 9.545e-06, 2.562e-06, 3.9e-07, -2.63e-07], [0.019100861, 0.078931347, 0.47551332, -0.036124738, -0.08493208, -0.001905104, 0.001152487, 0.000968225, 0.000533702, 2.007e-06, -1.7004e-05, -1.4937e-05, -4.921e-06, 1.47e-07, 3.43e-07, 2.33e-07, 5.9e-08]],
55
+ [[0.008200568, 1.834430535, -1.697432666, -1.001963505, 0.326902923, 0.05545904, -0.011911111, 0.007111548, -0.001490808, -0.000486642, 0.000163034, -7.8597e-05, 9.367e-06, 6.343e-06, -2.781e-06, 9.13e-07, -8.2e-08], [0.177157498, 1.601349171, 1.969429128, -0.931770942, -0.322577072, 0.083230763, -0.00470735, 0.001106558, 0.002720671, -0.000627513, 6.177e-05, 1.777e-05, -3.2137e-05, 6.858e-06, -6.08e-07, -4.8e-07, 4.76e-07], [0.004839386, -0.279335332, 0.380555885, 0.151078566, -0.071262528, -0.007283203, 0.002006708, -0.001266657, 0.000370094, 6.8756e-05, -2.7096e-05, 1.5044e-05, -3.003e-06, -1.046e-06, 4.54e-07, -1.81e-07, 5.1e-08]],
56
+ [[0.326606825, 2.353999458, 0.293705356, -1.391841936, 0.023440813, 0.138474534, -0.030287362, -0.000328471, 0.004591041, -0.001485599, -5.4697e-05, 0.000207552, -7.4021e-05, -2.183e-06, 1.1168e-05, -4.258e-06, 6e-09], [0.288218321, -0.307964426, 2.596741272, 0.089232361, -0.521145274, 0.047106801, 0.025294068, -0.013886021, 0.002474127, 0.001063868, -0.000640351, 0.000108197, 4.8222e-05, -3.3695e-05, 5.732e-06, 2.416e-06, -1.963e-06], [-0.048611725, -0.442152822, 0.037799327, 0.258435392, -0.022737078, -0.023735066, 0.006451124, -0.000431181, -0.000754531, 0.000310141, -1.2628e-05, -3.4248e-05, 1.5289e-05, -7.93e-07, -1.847e-06, 8.64e-07, -7e-08]],
57
+ ] });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,59 @@
1
+ // Made by scripts/make-dwarf-data.py from JPL Horizons (https://ssd.jpl.nasa.gov/api/horizons.api): each dwarf planet's position from the solar system's barycentre, ecliptic and equinox J2000, in au, terrestrial time.
2
+ // Chebyshev segments, one polynomial of the stated degree for each of x, y and z; the Sun's swing about the barycentre is added back by src/ephemeris.ts. The error on samples held back from each fit is in `worst`. Do not edit by hand.
3
+ // The seven slower dwarf planets: Orcus, Haumea, Quaoar, Makemake, Gonggong, Eris and Sedna.
4
+ import { registerTable } from "../data/tables.js";
5
+ // orcus: 1800 to 2200, 8 segments of 50 years, degree 9
6
+ registerTable("orcus", { start: -5364662400000, segment: 1577880000000, worst: 0.1156, segments: [
7
+ [[-31.025704474, 14.990116623, 2.491762373, -0.069750806, -0.019240797, -0.002386994, -0.000228893, -1.3477e-05, -1.328e-06, 1.349e-06], [-22.391854429, -14.904198265, 1.913748196, 0.301141397, 0.013300494, 0.000144266, -0.000163036, -3.2775e-05, -2.498e-06, 1.415e-06], [-11.431132724, 5.759691676, 0.9170695, -0.028933077, -0.007335121, -0.000898909, -8.5188e-05, -5.001e-06, -1.1e-08, 1.257e-06]],
8
+ [[9.403836303, 21.611697462, -2.164984363, -0.769294304, -0.018026971, 0.016662862, 0.00275598, -0.000142077, -0.000122371, -1.6185e-05], [-25.10165888, 14.877953911, 4.865883796, -0.158389787, -0.12486589, -0.010745664, 0.002153662, 0.000639244, 1.4716e-05, -1.5762e-05], [3.758545486, 7.969437606, -0.856941021, -0.287132468, -0.00560967, 0.006350621, 0.001012348, -5.9439e-05, -4.2299e-05, -5.612e-06]],
9
+ [[19.218975971, -13.067785022, -3.632801718, 0.600311884, 0.012118617, -0.01475552, 0.002035835, 8.6749e-05, -7.6573e-05, 1.4095e-05], [20.009362167, 22.855190298, -3.30984345, -0.396025848, 0.106741524, -0.00617798, -0.001820438, 0.000488421, -2.1077e-05, -1.3356e-05], [7.023737815, -5.113155346, -1.33223884, 0.22884894, 0.003554547, -0.00547485, 0.000782724, 2.7084e-05, -2.5871e-05, 4.498e-06]],
10
+ [[-17.237491077, -19.317875725, 1.240590954, 0.182898944, -0.018165179, 0.001687092, -0.000106083, -9.65e-07, -4.35e-07, 7.19e-07], [36.794349967, -5.477894704, -2.816231575, 0.197874168, -0.001156107, -0.000698842, 0.000176797, -2.335e-05, 4.221e-06, 1.203e-06], [-6.806999067, -7.195846893, 0.491473849, 0.066780048, -0.006802613, 0.000639814, -4.1664e-05, 1.71e-07, -3.15e-07, -4.33e-07]],
11
+ [[-41.289441727, -3.769746669, 2.424315082, 0.049323587, -0.003672741, 3.922e-05, -4.6207e-05, -1.695e-06, -1.733e-06, 6.6e-07], [10.454412389, -19.029017755, -0.6075526, 0.181410172, 0.002450369, 0.000536519, 1.6004e-05, -6.83e-07, 1.017e-06, 9e-07], [-15.585184289, -1.237539982, 0.915094744, 0.016819512, -0.001399406, 9.838e-06, -1.7947e-05, -7.76e-07, -1.252e-06, 2.63e-07]],
12
+ [[-28.558235154, 16.518238711, 2.410758408, -0.097331474, -0.023450203, -0.002840929, -0.000247789, -8.541e-06, -5.81e-07, 8.98e-07], [-24.490229089, -13.58795906, 2.209286648, 0.317981516, 0.013176591, -0.000248193, -0.000245388, -4.4601e-05, -4.929e-06, 1.51e-06], [-10.484844068, 6.322725467, 0.883813874, -0.039480304, -0.00891891, -0.001063234, -9.0996e-05, -3.422e-06, -2.29e-07, 1.062e-06]],
13
+ [[12.368248941, 20.010086327, -2.874111837, -0.769888497, 0.011632374, 0.021076731, 0.002058826, -0.000451868, -0.00013352, -1.741e-06], [-22.613775866, 17.744260044, 4.627216236, -0.321019024, -0.136726446, -0.005360642, 0.003512643, 0.000598282, -5.9502e-05, -2.9962e-05], [4.84990598, 7.340800431, -1.121362288, -0.285848013, 0.005632989, 0.007955749, 0.000741464, -0.000174168, -4.5868e-05, 8.29e-07]],
14
+ [[17.251678972, -15.192119941, -3.07432928, 0.605604599, -0.008340187, -0.010908018, 0.002080684, -7.6761e-05, -4.7924e-05, 1.587e-05], [23.327510988, 20.765174738, -3.635702058, -0.269009225, 0.095476318, -0.008774897, -0.000846141, 0.000392286, -4.2628e-05, -2.13e-06], [6.252950361, -5.892818535, -1.119259646, 0.229683782, -0.004023918, -0.004007232, 0.000787879, -3.272e-05, -1.5508e-05, 5.961e-06]],
15
+ ] });
16
+ // haumea: 1800 to 2200, 4 segments of 100 years, degree 11
17
+ registerTable("haumea", { start: -5364662400000, segment: 3155760000000, worst: 0.7335, segments: [
18
+ [[16.346782849, -3.292618864, -14.331541961, 0.286383916, 0.933001534, -0.016041353, -0.06545112, 0.001070968, 0.005488898, -7.6534e-05, -0.000530004, 3.116e-06], [-0.654923627, 43.144361624, 0.515886788, -3.96945845, -0.04084496, 0.252189737, 0.0035522, -0.019686615, -0.000360623, 0.001752774, 4e-05, -0.000177194], [-7.247699807, -10.751289115, 6.374055338, 0.997302079, -0.41297223, -0.064312893, 0.028817519, 0.0050854, -0.002408929, -0.000455263, 0.00023187, 4.5205e-05]],
19
+ [[-30.310981825, -23.458967463, 7.392929901, 0.505311449, -0.143627382, 0.022146583, -0.003147787, 0.000145658, 3.8546e-05, -1.8137e-05, 2.943e-06, 7.46e-07], [23.510084627, -23.500401457, -6.428425409, 1.325470012, -0.032032862, -0.003718369, 0.003248359, -0.000711848, 0.000118783, -1.3245e-05, 3.78e-07, 1.73e-06], [7.121566715, 17.345065588, -1.540181174, -0.606124381, 0.074497717, -0.00906019, 0.000531874, 0.000130277, -5.287e-05, 1.3507e-05, -2.303e-06, -1.63e-07]],
20
+ [[-17.158270566, 34.192024861, 4.318417663, -1.24147337, -0.233378128, -0.029220791, -0.00102506, 0.000812147, 0.000282527, 5.986e-05, 8.06e-06, 1.24e-06], [-27.425016781, -14.891864901, 8.787502352, 1.393387173, -0.004800873, -0.024135745, -0.007949494, -0.0014069, -0.000127417, 2.0133e-05, 1.2505e-05, 3.104e-06], [15.590376333, -11.334653008, -4.459124429, 0.169586473, 0.107595559, 0.020160834, 0.002726273, 2.7794e-05, -9.5074e-05, -3.4429e-05, -6.553e-06, 4.9e-08]],
21
+ [[13.545161976, -19.745427078, -11.868713075, 2.303639564, 0.568754962, -0.193459718, -0.01641948, 0.016521169, -0.000680548, -0.001329485, 0.000250729, 9.3103e-05], [10.327624493, 39.641878543, -6.503506792, -3.198300609, 0.626774083, 0.132514405, -0.057312501, -0.003131118, 0.005034694, -0.000356937, -0.000423981, 9.5071e-05], [-9.093945357, -2.260900026, 7.24712572, -0.14106217, -0.436734332, 0.050470777, 0.023742999, -0.006634115, -0.001122119, 0.000709181, 6.795e-06, -6.9886e-05]],
22
+ ] });
23
+ // quaoar: 1800 to 2200, 4 segments of 100 years, degree 8
24
+ registerTable("quaoar", { start: -5364662400000, segment: 3155760000000, worst: 0.2513, segments: [
25
+ [[12.185426549, -36.67276118, -5.079031181, 2.144725248, 0.084149538, -0.041018166, 0.001606184, 0.00044479, -8.5438e-05], [27.85692548, 18.192848163, -10.812598527, -0.830111022, 0.321269339, 0.001018554, -0.004522054, 0.000426348, 3.0079e-05], [-3.596812509, -3.321422579, 1.388624079, 0.161837092, -0.042716765, -0.001037809, 0.0006623, -4.7455e-05, -5.319e-06]],
26
+ [[-33.035031176, 5.512492245, 11.209054039, -0.207593811, -0.248107975, -0.001720755, 0.000791846, 7.8348e-05, 1.7385e-05], [-3.987138748, -39.237852415, 1.445808144, 1.978030457, -0.013303072, -0.020644351, -0.000671868, -0.000107375, 1.9428e-05], [-0.16570875, 5.561455128, 0.043587992, -0.278981404, -0.003564504, 0.002854058, 0.000107011, 1.0424e-05, 8.58e-07]],
27
+ [[19.569104361, 29.909361608, -8.477535663, -1.86007972, 0.234255834, 0.044787284, -0.002653268, -0.000936978, 8.378e-06], [-21.380573371, 28.712293694, 8.96396623, -1.615148479, -0.30134615, 0.027167673, 0.006339611, -0.000191321, -0.000137862], [3.390576674, -3.331579322, -1.427604624, 0.183545497, 0.046889303, -0.00279482, -0.000937186, 6.357e-06, 2.0686e-05]],
28
+ [[2.466956287, -40.387725754, -1.232439814, 2.214808105, -0.026627919, -0.033025511, 0.002700789, 9.1111e-05, -6.0922e-05], [31.008335826, 5.352944273, -11.641763449, -0.085411494, 0.304611277, -0.011769831, -0.002597304, 0.00045622, -1.8634e-05], [-4.246811725, -1.620299065, 1.587895994, 0.059996152, -0.042831081, 0.000912236, 0.000419705, -6.1111e-05, 7.78e-07]],
29
+ ] });
30
+ // makemake: 1800 to 2200, 4 segments of 100 years, degree 10
31
+ registerTable("makemake", { start: -5364662400000, segment: 3155760000000, worst: 0.3460, segments: [
32
+ [[18.712153149, 16.575179461, -9.985928227, -1.630514998, 0.289053577, 0.098374524, 0.0011046, -0.004784642, -0.000797429, 0.000150992, 7.1273e-05], [-14.557605192, 40.115157221, 6.062769277, -2.284060533, -0.445747194, 0.038596599, 0.025339464, 0.001892585, -0.00108173, -0.000293549, 1.7143e-05], [-11.672987058, -4.964302915, 6.059312035, 0.65687802, -0.202985606, -0.049655488, 0.001973632, 0.002782426, 0.00033009, -0.000108685, -3.7862e-05]],
33
+ [[-12.74672201, -35.28207639, 3.218499415, 1.452345692, -0.243157766, 0.010965223, 0.004871702, -0.001613743, 0.00021518, 7.164e-06, -9.704e-06], [30.27687822, -9.92711663, -10.189573315, 1.2340659, 0.118709086, -0.048153108, 0.007956495, -0.000201259, -0.000249778, 7.3494e-05, -7.983e-06], [10.021318339, 18.219922855, -2.788965208, -0.666183566, 0.144570978, -0.010860852, -0.001846597, 0.000855384, -0.000142226, 4.872e-06, 3.884e-06]],
34
+ [[-34.040237166, 16.584322525, 6.694453766, -0.409617568, -0.069916505, -0.004762456, -0.001027101, -2.47e-07, 1.63e-06, 2.302e-06, -3.07e-07], [-22.138197393, -30.15374119, 4.503643317, 1.031654711, -0.013298895, 0.001151818, -0.000818059, -0.000124492, -1.38e-05, -3.517e-06, -5.13e-07], [16.301889327, -12.10123982, -3.190921987, 0.328067194, 0.036760501, 0.002714053, 0.000474447, -1.3747e-05, -1.691e-06, -9.97e-07, 5.52e-07]],
35
+ [[16.813754793, 21.340814228, -8.686163936, -1.88130845, 0.167138467, 0.092326583, 0.00825822, -0.002992145, -0.000966206, -2.052e-05, 5.3866e-05], [-18.922753074, 36.885111285, 7.68138482, -1.820062775, -0.477594424, 0.002732548, 0.020731842, 0.003525012, -0.000439788, -0.000279592, -2.6389e-05], [-11.08478574, -7.881744905, 5.514774383, 0.840586056, -0.139560939, -0.050046868, -0.002407667, 0.001984156, 0.000484515, -1.3603e-05, -3.237e-05]],
36
+ ] });
37
+ // gonggong: 1800 to 2200, 8 segments of 50 years, degree 10
38
+ registerTable("gonggong", { start: -5364662400000, segment: 1577880000000, worst: 0.0411, segments: [
39
+ [[-19.71365781, -15.529476802, 2.128433202, 0.475129747, 0.038527239, -0.004619489, -0.002200361, -0.000336303, 2.646e-06, 1.2515e-05, 3.411e-06], [29.58614426, -18.75353612, -2.708933144, -0.021374067, 0.049615581, 0.010573167, 0.000728756, -0.000210139, -7.7999e-05, -9.131e-06, 2.172e-06], [11.596612757, -13.920474049, -0.986086598, 0.099669375, 0.036234922, 0.004713249, -0.000117026, -0.000194163, -4.1069e-05, -1.064e-06, 1.314e-06]],
40
+ [[-21.382732257, 15.007559053, 3.242866491, -0.577094982, -0.014374363, 0.021534295, -0.002703315, -0.000544473, 0.000225174, -1.1935e-05, -1.135e-05], [-17.755319416, -24.088301877, 2.246034898, 0.319497165, -0.097827221, 0.002889965, 0.003536932, -0.000688906, -5.9995e-05, 4.4541e-05, -3.716e-06], [-14.745119899, -9.685476907, 1.991616788, 0.039821946, -0.056999897, 0.006639775, 0.001303022, -0.00050737, 2.2883e-05, 2.0702e-05, -5.85e-06]],
41
+ [[18.341217933, 21.542784603, -0.591223705, -0.071015397, 0.014319153, -0.001953244, 0.000208052, -1.5679e-05, -3.6e-08, 8.83e-07, -1.26e-07], [-46.805392392, -5.613540527, 1.685038874, -0.129510565, 0.007319295, 7.3195e-05, -0.000117481, 2.4213e-05, -2.872e-06, 2.64e-07, -4.98e-07], [-21.354782925, 1.974340218, 0.78502567, -0.087650652, 0.007372224, -0.000418653, -1.5657e-05, 9.806e-06, -1.401e-06, -9.9e-08, -3.13e-07]],
42
+ [[55.541508321, 15.507503552, -0.794323368, 0.006186237, 0.000684835, -0.000125942, 1.4294e-05, -1.436e-06, 2.42e-07, 1.64e-07, -1.59e-07], [-48.248487786, 3.360857932, 0.703517335, -0.046747326, 0.002791407, -0.000171868, 9.336e-06, -3.52e-07, 9.6e-08, -2.36e-07, -6.7e-08], [-13.423070076, 5.4784185, 0.199372064, -0.024171363, 0.001691229, -0.000123843, 8.319e-06, -4.89e-07, 3.9e-08, -9.2e-08, 3.7e-08]],
43
+ [[80.491711256, 9.522106354, -0.700495278, 0.007493402, -0.000177267, -6.574e-06, 1.035e-06, -6.3e-08, 7e-08, -1.16e-07, -6.7e-08], [-37.271671961, 7.305597152, 0.327501427, -0.02062184, 0.000864964, -4.7334e-05, 2.318e-06, -9.6e-08, -7e-08, -3.5e-08, 7.9e-08], [-1.555906847, 6.23723509, 0.01525665, -0.009547346, 0.000433125, -2.7589e-05, 1.515e-06, -7.8e-08, 1e-09, 3e-09, -2e-09]],
44
+ [[94.17967671, 4.225239938, -0.629246294, 0.004366044, -0.000189586, 1.908e-06, 7.6e-08, -1e-09, -8.1e-08, -2.2e-08, 7e-08], [-20.69578812, 9.114309915, 0.139243371, -0.012176512, 0.00028491, -1.7185e-05, 5.63e-07, -7.4e-08, -4e-09, 7.2e-08, 5e-09], [10.739506754, 5.986610517, -0.071223063, -0.005650525, 0.000111482, -8.994e-06, 3.4e-07, -2.1e-08, -1.6e-08, -1e-08, 1.4e-08]],
45
+ [[97.72757557, -0.647885262, -0.593834349, 0.001621118, -0.000155215, 1.428e-06, -3.4e-08, -2.7e-08, 4e-09, 7.8e-08, -1.3e-08], [-1.776151725, 9.698771679, 0.010890531, -0.00985229, 2.6759e-05, -1.0592e-05, 5.5e-08, -6e-09, 4.5e-08, -9e-09, -4.1e-08], [21.941913716, 5.164293192, -0.133278158, -0.005020336, -2.1728e-05, -5.465e-06, 1.9e-08, -1.5e-08, 3e-09, 3.3e-08, -3e-09]],
46
+ [[91.714307981, -5.360880449, -0.588380121, -0.000643333, -0.000126443, 2.104e-06, 1.08e-07, -4e-09, 4.8e-08, -3.5e-08, -4.6e-08], [17.328538081, 9.303960383, -0.111893904, -0.011180476, -0.000203444, -1.4082e-05, -4.4e-07, -5e-09, -1e-08, -5.4e-08, 2.4e-08], [31.003780507, 3.842744365, -0.199300644, -0.006280194, -0.000141485, -7.173e-06, -1.81e-07, -1.2e-08, 2.6e-08, -2.8e-08, -2.8e-08]],
47
+ ] });
48
+ // eris: 1800 to 2200, 2 segments of 200 years, degree 10
49
+ registerTable("eris", { start: -5364662400000, segment: 6311520000000, worst: 0.5404, segments: [
50
+ [[66.886611964, 31.160403921, -9.718190358, 0.052668346, 0.015602447, -0.014487863, 0.004157376, -0.001060993, 0.000250697, -5.4117e-05, 1.1803e-05], [-7.032349827, 37.180989436, 1.585473007, -1.080714659, 0.137086872, -0.030741913, 0.004939032, -0.000897088, 0.000132374, -1.6227e-05, 3.74e-07], [-43.429280398, 11.376227363, 6.750599901, -0.874264788, 0.098263856, -0.015803886, 0.001496291, -9.5105e-05, -3.8872e-05, 1.6838e-05, -6.1e-06]],
51
+ [[51.734437122, -46.499079534, -9.774846724, 0.194164042, 0.176659856, 0.072743832, 0.022370707, 0.006100236, 0.001486208, 0.000312365, 4.9396e-05], [46.075062765, 6.44948327, -10.431647553, -1.798989423, -0.264247832, -0.03740034, -0.001120825, 0.001683408, 0.000924454, 0.000328548, 0.000102764], [6.656781421, 31.41112975, -2.606461917, -1.515726084, -0.306668892, -0.070483207, -0.013556773, -0.002141639, -0.000122146, 8.0171e-05, 5.235e-05]],
52
+ ] });
53
+ // sedna: 1800 to 2200, 4 segments of 100 years, degree 10
54
+ registerTable("sedna", { start: -5364662400000, segment: 3155760000000, worst: 0.0020, segments: [
55
+ [[152.786044694, -22.422465858, -1.030584762, -0.04940265, -0.002220334, -5.9047e-05, 3.792e-06, 9.04e-07, 1.22e-07, 3e-09, -1.4e-08], [-2.714881331, 24.053698236, 0.006593453, -0.026651726, -0.002917276, -0.000252115, -1.8851e-05, -1.164e-06, -5.5e-08, -1.1e-08, 2e-09], [-18.321689135, -1.374536831, 0.125598937, 0.010653407, 0.00077417, 5.0527e-05, 2.772e-06, 9.3e-08, -7e-09, 1e-09, 3e-09]],
56
+ [[97.410653608, -33.605132151, -1.804045195, -0.066734529, 0.003998044, 0.001318644, 0.000175795, 1.3531e-05, -1.32e-07, -2.42e-07, -2.1e-08], [43.482042584, 21.430124886, -0.872057797, -0.149628154, -0.014796409, -0.000861604, 3.0468e-05, 1.6931e-05, 2.588e-06, 2.36e-07, -8e-09], [-19.447651555, 0.451271095, 0.371644577, 0.033909435, 0.002049971, -1.4165e-05, -2.6875e-05, -4.607e-06, -4.26e-07, -2e-09, -1e-09]],
57
+ [[16.200443605, -46.789175946, -0.739651463, 0.345767019, 0.032111458, -0.005118073, -0.001163514, 5.7012e-05, 3.9306e-05, 1.291e-06, -1.216e-06], [71.045277994, 3.689137706, -3.698961752, -0.182016935, 0.042527351, 0.006480033, -0.000585766, -0.000222425, 2.69e-07, 7.175e-06, 5.6e-07], [-14.195820829, 5.120061215, 0.726371387, -0.011250945, -0.011256362, -0.000484743, 0.000243749, 3.1474e-05, -4.798e-06, -1.459e-06, 2.2e-08]],
58
+ [[-70.67881129, -37.397235318, 2.35646894, 0.000364216, -0.027331907, 0.003893073, -7.8463e-05, -6.9895e-05, 1.3556e-05, -7.55e-07, -1.74e-07], [50.952953391, -22.100175103, -1.851909089, 0.285977846, -0.016344072, -0.002073367, 0.000623453, -5.6466e-05, -4.97e-06, 2.271e-06, -2.2e-07], [-0.060652349, 8.39512863, 0.028325947, -0.049169147, 0.006168407, -0.000122618, -9.7441e-05, 1.8356e-05, -8.14e-07, -3.22e-07, 8e-08]],
59
+ ] });
@@ -0,0 +1,20 @@
1
+ import { type Variable } from "./data/vsop.ts";
2
+ import type { Vec3 } from "./vec.ts";
3
+ /** A planet from its VSOP87B series: longitude, latitude and radius at a moment in terrestrial time, as x, y, z in the J2000 ecliptic. */
4
+ export declare function vsopPosition(series: readonly [Variable, Variable, Variable], terrestrialMs: number): Vec3;
5
+ /** The Earth's heliocentric place (J2000 ecliptic, au) at a UTC instant: the VSOP87B series run in terrestrial time. */
6
+ export declare function earthPosition(ms: number): Vec3;
7
+ /**
8
+ * The Moon's position from the Earth's centre (J2000 mean ecliptic and equinox, kilometres), from the lunar solution ELP2000-82B (Chapront-Touze and Chapront, IMCCE) cut to its 540 largest terms and run in terrestrial time: within a few arc-seconds of Horizons from 1800 to 2200.
9
+ * @param ms - The instant, in milliseconds since 1970 (UTC).
10
+ * @returns The position as x, y, z in kilometres.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { moonGeocentric } from "@johnmorrisdotca/wakusei-planets";
15
+ *
16
+ * const [x, y, z] = moonGeocentric(Date.UTC(2026, 10, 2));
17
+ * console.log(Math.round(Math.hypot(x, y, z)) > 350000);
18
+ * ```
19
+ */
20
+ export declare function moonGeocentric(ms: number): Vec3;