@zodiacs/engine 0.1.1-rc.15 → 0.1.1-rc.16
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.
- package/CHANGELOG.md +433 -0
- package/LICENSING.md +175 -8
- package/NOTICE +93 -0
- package/README.md +255 -59
- package/dist/{api-CoB_kqE3.d.ts → api-VOW6Umy5.d.ts} +4 -5
- package/dist/calc.d.ts +279 -0
- package/dist/calc.js +853 -0
- package/dist/{chunk-MFF3VKO3.js → chunk-2OWGBT3O.js} +1 -1
- package/dist/{chunk-ZHVI3KWJ.js → chunk-4NV4ZEFZ.js} +1 -1
- package/dist/chunk-A3U2ZS2W.js +29 -0
- package/dist/{chunk-OYGRVGXD.js → chunk-I7O5EGFV.js} +3 -3
- package/dist/{chunk-CWI4YUDL.js → chunk-L6ZHWJZ6.js} +9 -9
- package/dist/chunk-N4B5JNMA.js +473 -0
- package/dist/chunk-O3NJRGJ2.js +56 -0
- package/dist/{chunk-ZZPITHQS.js → chunk-WOU7JVD3.js} +194 -60
- package/dist/crossings.d.ts +1 -1
- package/dist/geo.d.ts +1 -1
- package/dist/geo.js +15 -458
- package/dist/houses-extra.d.ts +81 -0
- package/dist/houses-extra.js +337 -0
- package/dist/{internal-math-BbktkHCc.d.ts → houses-q1O2GGp4.d.ts} +3 -159
- package/dist/index.d.ts +5 -4
- package/dist/index.js +17 -17
- package/dist/internal-math-CmJ9xtaW.d.ts +160 -0
- package/dist/internal-math.d.ts +3 -2
- package/dist/internal-math.js +2 -2
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +3 -3
- package/dist/receipt.d.ts +31 -6
- package/dist/receipt.js +13 -7
- package/dist/rulers-9wljfVaO.d.ts +10 -0
- package/dist/sky.d.ts +158 -0
- package/dist/sky.js +377 -0
- package/dist/techniques.d.ts +410 -0
- package/dist/techniques.js +830 -0
- package/dist/timing.d.ts +69 -10
- package/dist/timing.js +86 -33
- package/dist/{types-BsWaqwU_.d.ts → types-B4MCoCCS.d.ts} +2 -2
- package/dist/vedic.d.ts +3 -4
- package/dist/vedic.js +26 -43
- package/dist/window.d.ts +178 -0
- package/dist/window.js +961 -0
- package/package.json +23 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,438 @@
|
|
|
1
1
|
# Engine changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1-rc.16 — unreleased candidate
|
|
4
|
+
|
|
5
|
+
rc.16 brings six pieces of work onto rc.15 (main at `93ebae9`, the merge of
|
|
6
|
+
zodiacs-org/engine#20), each from its feature branch as that branch's own
|
|
7
|
+
commits, in this order: the uniform calculation API (`@zodiacs/engine/calc`),
|
|
8
|
+
birth-time windows (`@zodiacs/engine/window`), the techniques entry
|
|
9
|
+
(`@zodiacs/engine/techniques`), house positions, cusp speeds and planetary
|
|
10
|
+
returns (`@zodiacs/engine/houses`, and `planetaryReturns` in
|
|
11
|
+
`@zodiacs/engine/timing`), the sky entry (`@zodiacs/engine/sky`) and, last,
|
|
12
|
+
the full IAU 2000B nutation. The branches' copies of earlier local rc.15
|
|
13
|
+
builds were left out. The calc and window entries were then put on rc.15's
|
|
14
|
+
time basis, the budgets and the root's isolation extended to the new entries,
|
|
15
|
+
and calc, window and sky moved onto the engine's nutation. Nothing was pushed
|
|
16
|
+
or published. One build came before this one, on a local branch, and was
|
|
17
|
+
neither pushed nor published; its review found preregistered gates that fail
|
|
18
|
+
described as not applying, figures read off samples too sparse or placed in
|
|
19
|
+
the wrong band of latitude, and sources missing from `LICENSING.md` and
|
|
20
|
+
`NOTICE`, and this candidate corrects them
|
|
21
|
+
(`docs/evidence/rc16-20260930/README.md`, *The re-cut*). Checks:
|
|
22
|
+
`docs/evidence/rc16-20260930/`, and each piece's own evidence, beside which
|
|
23
|
+
its preregistered gates were run again after the nutation, on this candidate's
|
|
24
|
+
code (the `rc16/` directory of each; the evidence README says which build each
|
|
25
|
+
ran on, and that the source commit's computing code is the same).
|
|
26
|
+
|
|
27
|
+
**Held back:** the sky branch's Chinese-calendar entry
|
|
28
|
+
(`@zodiacs/engine/chinese`: the 24 solar terms and the Four Pillars). Its
|
|
29
|
+
apparent Sun is a series fitted to JPL DE430, and no coefficient set derived
|
|
30
|
+
from a JPL ephemeris ships until NAIF answers whether such derived
|
|
31
|
+
coefficients may be redistributed. The entry waits for a Sun source that is
|
|
32
|
+
not JPL-derived. Its source, tests, export, guide, data script, licensing
|
|
33
|
+
notes and evidence claims are all left out; the sky branch's
|
|
34
|
+
preregistration, which set the Chinese gates C1 to C4 beside the sky's, is
|
|
35
|
+
carried unchanged, and rc.16 acts on none of them.
|
|
36
|
+
|
|
37
|
+
Breaking changes:
|
|
38
|
+
|
|
39
|
+
- `NATAL_RECEIPT_CONVENTION_SETS` (`@zodiacs/engine/receipt`) has a new set
|
|
40
|
+
at index 0, which names the nutation, so each earlier set is one index
|
|
41
|
+
later: rc.15's time-basis set is at 1 and the rc.8 set at 2. Code that
|
|
42
|
+
takes a set by its index needs the new one. A receipt of the new set
|
|
43
|
+
carries `nutation: "iau2000b;equation-of-equinoxes-with-two-complementary-terms"`
|
|
44
|
+
and `moonPosition: "astronomy-engine-geo-moon;no-light-time;no-aberration"`.
|
|
45
|
+
The codec accepts it from 0.1.1-rc.16 on, in SemVer order, and now accepts
|
|
46
|
+
rc.15's set under 0.1.1-rc.15 alone, where rc.15 accepted it from rc.15 on
|
|
47
|
+
(`src/receipt-nutation.test.ts`, `src/receipt-versions.test.ts`).
|
|
48
|
+
- Every result that depends on the nutation moves, by the amounts under
|
|
49
|
+
*The nutation* below: longitudes of date, the angles and the cusps, the
|
|
50
|
+
Vertex, the East Point and the lots, right ascensions and declinations, the
|
|
51
|
+
mean nodes and Black Moon Lilith, the ayanamsas' `nutation` and `true`
|
|
52
|
+
values, and every instant found from them (longitude crossings, returns,
|
|
53
|
+
stations, void-of-course windows, window switches, rises and sets). No
|
|
54
|
+
function signature of the root entry or of an rc.15 entry point changes,
|
|
55
|
+
and the root's exports are rc.15's.
|
|
56
|
+
|
|
57
|
+
Migration: take a conventions set by its content (the `nutation` key marks
|
|
58
|
+
the current one), or add one to its index. A test or a stored value that
|
|
59
|
+
pins a longitude, an angle or an instant to rc.15's last digits needs rc.16's
|
|
60
|
+
value. A receipt replays its request, not its engine: to reproduce an rc.15
|
|
61
|
+
result as rc.15 computed it, run the carried rc.15 archive.
|
|
62
|
+
|
|
63
|
+
### New entry points
|
|
64
|
+
|
|
65
|
+
- `@zodiacs/engine/calc` (`docs/calc.md`). `calc({ body, time, frame,
|
|
66
|
+
center, zodiac, flags })` returns `{ lon, lat, dist, speeds, cartesian,
|
|
67
|
+
bounds, receipt }`; `houses()`, `events()` and `chart()` give the engine's
|
|
68
|
+
houses, longitude crossings and natal charts in the same vocabulary. Eight
|
|
69
|
+
frames (the ecliptic or the equator; true or mean of date, J2000.0 or the
|
|
70
|
+
ICRS), four centers (geocentric, heliocentric, barycentric, topocentric) and
|
|
71
|
+
three corrections (apparent, astrometric, geometric); speeds in every
|
|
72
|
+
coordinate, analytic for geometric positions on fixed axes and central
|
|
73
|
+
differences otherwise; receipts of convention ids; and typed refusals,
|
|
74
|
+
`not-in-this-version` (the sidereal zodiac, which `@zodiacs/engine/vedic`
|
|
75
|
+
gives, and light deflection), `unsupported-combination`, `out-of-range`
|
|
76
|
+
and `sample-budget`. An instant is an ISO string, a `Date` or
|
|
77
|
+
`{ jd, scale: "UTC" | "UT1" | "TT" }`, read on the engine's time basis as
|
|
78
|
+
`positions()` reads it, with an optional pinned ΔT; the receipt records its
|
|
79
|
+
UTC, `jdUt1` and `jdTt`. calc refuses an instant whose UT1 or TT is outside
|
|
80
|
+
1800 to 2200, where it has no comparison to take a bound from. With every
|
|
81
|
+
default it is the position `positions()` gives, to the bit. Bounds are the
|
|
82
|
+
largest differences from JPL Horizons (DE441) over 32 preregistered
|
|
83
|
+
instants from 1802 to 2188 (sample maxima, not limits), from the comparison
|
|
84
|
+
rerun after the nutation (`docs/evidence/calc-api/rc16/`): 3.00″ median and
|
|
85
|
+
24.6″ at worst, geocentric and apparent, the ephemeris's own error; the
|
|
86
|
+
barycentric Sun's are derived from the barycentre's error. All twelve
|
|
87
|
+
frame checks against ERFA pass there; on astronomy-engine's five-term
|
|
88
|
+
nutation the four through the nutation had failed by up to 0.20″.
|
|
89
|
+
`houses()` carries the conformance suite's L2 bounds, 0.02″ for the angles
|
|
90
|
+
and 0.08″ for the cusps. `docs/calc.md` maps every Swiss Ephemeris
|
|
91
|
+
`calc_ut` flag.
|
|
92
|
+
- `@zodiacs/engine/window` (the README's *Birth-time windows*).
|
|
93
|
+
`birthWindow(input)` partitions a window of up to 48 hours inside
|
|
94
|
+
`REFERENCE_SPAN` into cells within which each body's sign and house, the
|
|
95
|
+
signs of the ascendant and midheaven, the aspects in orb and any Placidus or
|
|
96
|
+
Koch fallback are constant, with each switch's first millisecond and
|
|
97
|
+
changes, and each cell's share under a uniform prior and, optionally, a
|
|
98
|
+
rounding model; also `WINDOW_RATE_BOUNDS`, `MAX_WINDOW_MS`,
|
|
99
|
+
`WINDOW_VERIFICATION` ("sampled at one-second resolution") and
|
|
100
|
+
`WindowBudgetError`. The search splits at every step of the time basis (the
|
|
101
|
+
ΔT model's seam in 1941, 1972-01-01, each leap second and the end of the
|
|
102
|
+
IERS table) and compares both sides. Where the true node's millisecond
|
|
103
|
+
jitter would make its sign flicker for longer than the budget of two
|
|
104
|
+
million instants allows (24 of its 294 ingresses from 1800 to 2200), the
|
|
105
|
+
flicker is left unresolved, found before the budget is spent: the nodes'
|
|
106
|
+
signs are null there, and so are their houses where those are whole signs,
|
|
107
|
+
the interval is listed in `unresolved`, and the result carries
|
|
108
|
+
`node-unresolved`. The preregistered check, natalChart at every second of
|
|
109
|
+
1,000 random windows, rerun after the nutation, passes: all 24,188 sampled
|
|
110
|
+
transitions matched, none missed and none extra, and natalChart confirmed
|
|
111
|
+
every switch at its millisecond (1,487,520 checks)
|
|
112
|
+
(`docs/evidence/birth-window/rc16/`).
|
|
113
|
+
- `@zodiacs/engine/techniques` (`docs/techniques.md`), six techniques the
|
|
114
|
+
Zodiacs.org site computed outside the package: solar and lunar returns
|
|
115
|
+
(`solarReturnInstant`, `mostRecentSolarReturnInstant`, `lunarReturnInstant`,
|
|
116
|
+
`solarReturn`, `lunarReturn`); composite and Davison charts
|
|
117
|
+
(`compositeMidpoints`, `compositeAspects`, `compositeChart`, `davisonChart`,
|
|
118
|
+
`davisonPlace`); the void-of-course Moon (`moonIngresses`, `moonAspects`,
|
|
119
|
+
`voidOfCourseWindows`, `voidOfCourseAt`) under one named convention,
|
|
120
|
+
`VOID_OF_COURSE_CONVENTION`; grand trines, T-squares, grand crosses and
|
|
121
|
+
kites (`aspectPatterns`, `chartAspectPatterns`, `patternContainment`);
|
|
122
|
+
essential dignities with cited tables and mutual reception
|
|
123
|
+
(`dignityRulersAt`, `essentialDignities`, `mutualReceptions`, beside the
|
|
124
|
+
site's `dignityFor` and `dignitiesFor`); and the Moon signs possible over a
|
|
125
|
+
date (`moonSignCandidates`, `moonSignsBetween`). Against the site's code on
|
|
126
|
+
a seeded synthetic corpus, 6,795 of 6,796 cases agree exactly; the
|
|
127
|
+
preregistered parity gate, G1, allowed none to differ, so it is recorded as
|
|
128
|
+
failed. The one that differs is 2011-12-30 in Pacific/Apia, a date the zone
|
|
129
|
+
skipped, which the site answers and the package refuses. The rerun after the
|
|
130
|
+
nutation generated the site's outputs on rc.16's build, where the
|
|
131
|
+
preregistration named the carried rc.15 archive: a deviation, made so that a
|
|
132
|
+
difference comes from the port and not from the nutation. By design, returns
|
|
133
|
+
are not clipped to 1800–2200 but flagged, and dates before 1970 are read on
|
|
134
|
+
the shipped tzdata. The solar return is within 42.27 s of USNO's 20
|
|
135
|
+
published equinoxes and solstices of 1850 to 2022 (gate 120 s), and within
|
|
136
|
+
32.05 s and 6.81 s of the Horizons Sun and Moon of the conformance suite's
|
|
137
|
+
L1 vectors (60 s and 15 s). Two more of its gates fail on rc.16. G5, sizes:
|
|
138
|
+
the root's graph was to stay at rc.15's 95,273 bytes and is 103,537; the
|
|
139
|
+
package was to stay within the 700,000-byte cap, not raised, and is 923,282
|
|
140
|
+
bytes; `./techniques` was to be at most 150,000 bytes and is 152,472. G6: no
|
|
141
|
+
existing file under `src/` was to change and every existing test was to pass
|
|
142
|
+
unchanged; it failed as run on its branch, and rc.16 changes 20 of rc.15's
|
|
143
|
+
files under `src/`, 13 of them tests
|
|
144
|
+
(`docs/evidence/techniques-2026-09-29/rc16/`).
|
|
145
|
+
- `@zodiacs/engine/houses` (`docs/houses.md`), one file that imports no other
|
|
146
|
+
module, no ephemeris and nothing of the root entry:
|
|
147
|
+
`housePosition(system, input, { lon, lat })`, a body's house position in
|
|
148
|
+
each of the thirteen systems as Swiss Ephemeris's `swe_house_pos` defines it
|
|
149
|
+
(`null` for Koch or Topocentric where the system has none);
|
|
150
|
+
`coAscendants(input)`, the equatorial ascendant, Koch's and Munkasey's
|
|
151
|
+
co-ascendants and Munkasey's polar ascendant; and
|
|
152
|
+
`houseSpeeds(system, input)` with `SIDEREAL_RATE`, the speeds of the cusps
|
|
153
|
+
and angles, derived analytically. Given the same inputs, house positions are
|
|
154
|
+
within 0.01″ of `swe_house_pos` for eleven systems and not for Porphyry (11
|
|
155
|
+
of 20,000 cases) or Topocentric, where Swiss's positions leave up to 0.445″
|
|
156
|
+
in their defining equation; the co-ascendants are within 0.00000001″ of
|
|
157
|
+
Swiss's `ascmc[4]` to `ascmc[7]`; the speeds are within 0.00035° a day of a
|
|
158
|
+
central difference of the engine's own cusps, and differ from Swiss's for
|
|
159
|
+
Koch, Placidus, Porphyry, whole sign and, in 5 cases, Alcabitius, where
|
|
160
|
+
Swiss's are not the derivatives of its cusps
|
|
161
|
+
(`docs/evidence/houses-extra-2026-09-29/`, Swiss Ephemeris an instrument
|
|
162
|
+
only). These take their inputs as given and do not move with the nutation.
|
|
163
|
+
Gate B of its preregistration fails on rc.16: the root's graph was to stay
|
|
164
|
+
at rc.15's 95,273 bytes, its files byte-identical, and is 103,537 bytes;
|
|
165
|
+
`./timing` was to stay within its 120,000-byte budget and is 123,039; the
|
|
166
|
+
package was to stay within the 700,000-byte cap and is 923,282; and existing
|
|
167
|
+
tests and released functions' results change with the nutation. Its part for
|
|
168
|
+
`./houses`, a budget with its reason, holds: 13,606 bytes of 15,000
|
|
169
|
+
(`docs/evidence/houses-extra-2026-09-29/rc16/`).
|
|
170
|
+
- `planetaryReturns(natal, body, from, to)`, with `RETURN_BODIES` and
|
|
171
|
+
`RETURN_STEP_DAYS`, in `@zodiacs/engine/timing`: every instant in a window
|
|
172
|
+
at which the Sun, the Moon or Mercury to Pluto stands on its natal
|
|
173
|
+
longitude, retrograde returns included, each result carrying its verdict
|
|
174
|
+
(`complete`, or `refused` over a sample budget). Against JPL Horizons, for
|
|
175
|
+
invented charts that include a direct, retrograde and direct return of each
|
|
176
|
+
of Mercury to Pluto, every return is found with its direction and within
|
|
177
|
+
the preregistered τ, and the solar returns of an invented native are within
|
|
178
|
+
49.7 s of USNO's March equinoxes of 2001 to 2004
|
|
179
|
+
(`docs/evidence/houses-extra-2026-09-29/rc16/`).
|
|
180
|
+
- `@zodiacs/engine/sky` (`docs/sky.md`): `skyEvents` and `skyEventsOn` give
|
|
181
|
+
the rise, set and upper and lower transit of the Sun, the Moon and the
|
|
182
|
+
planets for an observer on the WGS84 ellipsoid, with 34′ of refraction
|
|
183
|
+
(USNO), the topocentric semi-diameter (upper limb by default) and parallax,
|
|
184
|
+
`limb` and `refraction` options and polar flags; `planetaryHours` and
|
|
185
|
+
`planetaryHourAt` give the planetary hours in the Chaldean order, and say
|
|
186
|
+
why a day has none. Rerun after the nutation against the preregistered
|
|
187
|
+
gates: against skyfield with JPL DE440s (226,717 events, 1900–2100) and
|
|
188
|
+
Swiss `rise_trans` (statistics only), every event agrees within 5 s but 192
|
|
189
|
+
rises and sets of Uranus at 65° in 1950 (up to 11.61 s, from
|
|
190
|
+
astronomy-engine's Uranus), so gates S1 and S2 fail, as they did on the
|
|
191
|
+
branch; 465 of 467 USNO times are within 30 s of the published minute, and
|
|
192
|
+
S3 fails on the other two (30.06 s and 30.15 s) and on three events only one
|
|
193
|
+
side lists; S4, the planetary hours' worked examples and their consistency
|
|
194
|
+
with the rise and set function, passes. Its package gate fails on rc.16: the
|
|
195
|
+
root's graph was not to grow from rc.15's 95,273 bytes, and is 103,537
|
|
196
|
+
(`docs/evidence/sky-chinese-2026-09-29/rc16/`).
|
|
197
|
+
|
|
198
|
+
The root imports none of these, and `scripts/root-isolation.mjs` checks it
|
|
199
|
+
from the build's own module list (`OPT_IN_SOURCE` names each entry's
|
|
200
|
+
modules, with `src/equator.ts`, which calc and sky share, and
|
|
201
|
+
`src/first-millisecond.ts`, the sky entry's).
|
|
202
|
+
|
|
203
|
+
### The nutation
|
|
204
|
+
|
|
205
|
+
The nutation is now the full IAU 2000B series (McCarthy & Luzum 2003; IERS
|
|
206
|
+
Conventions 2003, chapter 5). astronomy-engine 2.1.19, which is still the
|
|
207
|
+
ephemeris, keeps 5 of that model's 77 luni-solar terms; the engine now
|
|
208
|
+
evaluates all 77 and the two fixed planetary offsets itself
|
|
209
|
+
(`src/nutation.ts`, transcribed from `iau2000b` in NOVAS C 3.1, a work of the
|
|
210
|
+
US Government), adds the two largest IAU 2000 complementary terms to the
|
|
211
|
+
equation of the equinoxes (IERS Conventions 2010, table 5.2e), and turns
|
|
212
|
+
astronomy-engine's vectors on the J2000 mean equator to the ecliptic and
|
|
213
|
+
equator of date with astronomy-engine's own IAU 2006 precession, reproduced
|
|
214
|
+
line for line (`src/frame.ts`, `src/equator.ts`). No code of the package
|
|
215
|
+
calls astronomy-engine's nutation, its rotations to the ecliptic or equator
|
|
216
|
+
of date, its sidereal time or its observer functions any more; the calc
|
|
217
|
+
entry's topocentric observer is astronomy-engine's `terra`, reproduced term
|
|
218
|
+
for term, on the engine's sidereal time and frames. `LICENSING.md` and
|
|
219
|
+
`NOTICE` record the sources. This answers finding production-positions-7 of
|
|
220
|
+
the engine audit of 2026-09-22 (Zodiacs site repository,
|
|
221
|
+
`docs/platform/evidence/engine-audit-2026-09-22/LEDGER.md`). Evidence:
|
|
222
|
+
`docs/evidence/nutation-2026-09-29/`; the figures for the new entries are
|
|
223
|
+
from `docs/evidence/rc16-20260930/results/entries-plumbing.json` and each
|
|
224
|
+
entry's rerun.
|
|
225
|
+
|
|
226
|
+
The model: Δψ and Δε equal ERFA's `nut00b` within 1e-10″ at 101 instants
|
|
227
|
+
from 1800 to 2200 and within 6e-11″ every 0.1 day over that span
|
|
228
|
+
(`docs/evidence/calc-api/rc16/diagnostics.json`, D4). Sampled every 0.1 day
|
|
229
|
+
of TT from 1800 to 2200, the equation of the equinoxes is within 3.50e-5″ of
|
|
230
|
+
ERFA's `ee00` on IAU 2000B (the largest in 2146; 1.5e-5″ at the 101
|
|
231
|
+
instants), and the sidereal time within 3.50e-5″ of gmst06 plus that `ee00`
|
|
232
|
+
(`docs/evidence/rc16-20260930/results/nutation-grid.json`). The rotation to
|
|
233
|
+
the ecliptic of date is within 7.1e-7″ of ERFA's with `bp06` at the 101
|
|
234
|
+
instants (`docs/evidence/nutation-2026-09-29/results/module-against-erfa.json`).
|
|
235
|
+
IAU 2000B itself differs from IAU 2006/2000A (ERFA's `nut06a`) by up to
|
|
236
|
+
0.00394″ in Δψ on the same 0.1-day grid (in 2192), and so puts a longitude
|
|
237
|
+
of date up to that far from it. The engine's nutation is computed for each
|
|
238
|
+
instant, where astronomy-engine reused the last one for any time within
|
|
239
|
+
1e-6 day, so no result depends on what was computed before it.
|
|
240
|
+
|
|
241
|
+
What it moved, from rc.15 (and, in the new entries, from their builds on
|
|
242
|
+
rc.15 before the nutation):
|
|
243
|
+
|
|
244
|
+
- The root entry. Every longitude of date moves by the change in Δψ, the same
|
|
245
|
+
for every body, node, Lilith and lot: up to 0.2701″ sampled every 10 minutes
|
|
246
|
+
from 1800 to 2200, and up to 0.2635″ over 9,697 synthetic charts from 1850
|
|
247
|
+
to 2150; latitudes by less than 1e-10″; speeds by up to 0.0726″ a day in the
|
|
248
|
+
plumbing check's 520 charts (below). The sidereal time and the true
|
|
249
|
+
obliquity move by up to 0.2452″ and 0.08654″ (every 10 minutes), so over the
|
|
250
|
+
9,697 charts, at places up to 60.17° N, the ascendant and Placidus cusps
|
|
251
|
+
moved by up to 0.8003″ and the midheaven by up to 0.2576″, and no chart
|
|
252
|
+
changed house system. Toward the polar circle they move more: in those 520
|
|
253
|
+
charts, Koch's cusps by up to 3.883″ at 65.75°, and at 66° to 80° the angles
|
|
254
|
+
by up to 1.622″ and the lots by up to 3.345″, both at 67.21°, where Koch's
|
|
255
|
+
cusps moved by at most 0.1023″ (46 of the 48 charts there fall back to whole
|
|
256
|
+
signs) (`docs/evidence/rc16-20260930/results/plumbing-by-latitude.json`).
|
|
257
|
+
Saturn-return crossings move by up to 257 s near stations (median 20 s).
|
|
258
|
+
Against ERFA's IAU 2006/2000A chain on the same vectors, at 4,001 instants
|
|
259
|
+
from 1800 to 2200, a longitude was up to 0.2520″ off and is up to 0.003691″
|
|
260
|
+
off; the ascendant and midheaven were up to 0.8235″ and 0.2457″ off and are
|
|
261
|
+
up to 0.006284″ and 0.003358″ off, at latitudes within 60°. Against Swiss
|
|
262
|
+
Ephemeris 2.10.03 (statistics only), the house ladder of the Zodiacs site's
|
|
263
|
+
rc.9 record is within 0.035″ in every system from 1850 to 2049, where rc.15
|
|
264
|
+
was up to 3.727″ (Koch); the mean node and Lilith within 0.4503″ and 0.4887″
|
|
265
|
+
(0.6091″ and 0.6785″). Each body's largest declination error against DE440s
|
|
266
|
+
changes by less than 0.04″. The ayanamsas' `mean` values do not change;
|
|
267
|
+
`nutation` and `true` move by the change in Δψ, which cancels from sidereal
|
|
268
|
+
longitudes. (`docs/evidence/nutation-2026-09-29/results/`; on this tree the
|
|
269
|
+
same run gives the same figures,
|
|
270
|
+
`docs/evidence/rc16-20260930/results/root-plumbing.json`.)
|
|
271
|
+
- `@zodiacs/engine/calc`: in the true-of-date frames by the root's amounts (up
|
|
272
|
+
to 0.114″ in longitude and 0.0554″ a day in speed at the plumbing check's 24
|
|
273
|
+
instants); in the mean-of-date, J2000.0 and ICRS frames not at all, except a
|
|
274
|
+
topocentric position, whose observer now turns with the engine's sidereal
|
|
275
|
+
time and nutation: by up to 0.00092″. `houses()` moves with the root's
|
|
276
|
+
angles (up to 0.322″ in the angles and 0.874″ in Koch's cusps at 63.4° S in
|
|
277
|
+
that check); `events()` by the longitudes' change over the body's speed, up
|
|
278
|
+
to 4.9 s there for the true node. Of calc's 107 rows of bounds, 104 are
|
|
279
|
+
measured against Horizons and 3, the barycentric Sun's, derived from the
|
|
280
|
+
barycentre's error. 71 of the measured rows fall and none rises, among them
|
|
281
|
+
the outer planets' rate bounds, which the five-term nutation's rate error
|
|
282
|
+
dominated (geocentric apparent Neptune 0.051 to 0.013″ a day), and the mean
|
|
283
|
+
nodes' and Lilith's position bounds, 0.2 to 0.0023″; the derived rows do not
|
|
284
|
+
change.
|
|
285
|
+
- `@zodiacs/engine/window`: switch instants by up to 17 ms in the plumbing
|
|
286
|
+
check's eight windows, whose switches otherwise match one for one, but for
|
|
287
|
+
two one-millisecond flickers of the true node's house at a cusp that
|
|
288
|
+
appear in two windows, which natalChart confirms. The node's flicker at an
|
|
289
|
+
ingress changes with it: at the ingresses of July 2026, March 2028 and
|
|
290
|
+
September 2029, 1,349, 299 and 179 sign changes where the build before the
|
|
291
|
+
nutation gave 1,603, 311 and 147
|
|
292
|
+
(`docs/evidence/birth-window/rc16/node-flicker.json`). The engine's
|
|
293
|
+
obliquity now changes by up to 2.60e-5° a day (2.073e-5° on the five-term
|
|
294
|
+
series); the window's bound, 5e-5° a day, is 1.9 times that
|
|
295
|
+
(`docs/evidence/birth-window/rc16/window-rates.json`). Scanned again on
|
|
296
|
+
this build, the true node's millisecond jitter reaches 4.394e-5° (in 1835),
|
|
297
|
+
so its bound is at least 3.01 times every value found (the branch's scan,
|
|
298
|
+
before the time basis and the nutation, gave 4.832e-5° in 2187 and 2.97),
|
|
299
|
+
and the same 24 of 294 ingresses are over the budget
|
|
300
|
+
(`docs/evidence/birth-window/rc16/`).
|
|
301
|
+
- `@zodiacs/engine/techniques`: over the site-parity corpus, solar returns by
|
|
302
|
+
up to 7.2 s, lunar returns by up to 0.59 s and void-of-course windows by up
|
|
303
|
+
to 0.372 s, and no window, sign or aspect changes; over the plumbing check's
|
|
304
|
+
six invented natives, composite positions by up to 0.1081″ and a Davison
|
|
305
|
+
chart's bodies by up to 0.129″. Against USNO the solar returns moved from
|
|
306
|
+
45.35 s at worst to 42.27 s, against Horizons from 33.23 s and 6.87 s to
|
|
307
|
+
32.05 s and 6.81 s.
|
|
308
|
+
- `@zodiacs/engine/houses`: nothing, given the same input; an input taken
|
|
309
|
+
from the engine moves with its sidereal time and obliquity.
|
|
310
|
+
- `planetaryReturns`: by the longitudes' change over the body's speed, up to
|
|
311
|
+
79.2 s for a slow body near a station in the plumbing check; against
|
|
312
|
+
Horizons the largest differences, as motion, went from 0.840″ to 0.804″
|
|
313
|
+
(Sun) and 0.815″ to 0.705″ (Moon), and the planets' changed by up to
|
|
314
|
+
0.239″.
|
|
315
|
+
- `@zodiacs/engine/sky`: event instants by up to 25 ms (the Moon), the
|
|
316
|
+
planetary hours' boundaries by up to 8 ms, altitudes by up to 0.061″;
|
|
317
|
+
azimuths by up to 2.45″, where a transit passes near the zenith. Against
|
|
318
|
+
skyfield and Swiss each body's largest difference moved by at most 0.018 s,
|
|
319
|
+
and the same 192 events fail.
|
|
320
|
+
|
|
321
|
+
The plumbing was checked first: the tree with the series cut to
|
|
322
|
+
astronomy-engine's five terms and no complementary terms gives rc.15's
|
|
323
|
+
results (the root, 520 charts, largest difference 8.0e-13°,
|
|
324
|
+
`docs/evidence/nutation-2026-09-29/results/plumbing.json`, and again on this
|
|
325
|
+
tree, `docs/evidence/rc16-20260930/results/root-plumbing.json`) and the new
|
|
326
|
+
entries' results before the nutation (178,416 values: longitudes within
|
|
327
|
+
2.3e-13° and every angle within 6.9e-11°, speeds within 1.2e-10° a day,
|
|
328
|
+
every instant to the millisecond, every structure the same;
|
|
329
|
+
`docs/evidence/rc16-20260930/results/entries-plumbing.json`).
|
|
330
|
+
|
|
331
|
+
Cost: a natal chart takes 3 per cent longer, one longitude 6 to 20 per cent
|
|
332
|
+
and a Saturn-return scan 19 per cent (the nutation's
|
|
333
|
+
`results/performance.json`). The series is evaluated from products of its
|
|
334
|
+
arguments' multiples, ten calls to `Math.sin` and `Math.cos` where 154 would
|
|
335
|
+
do it directly, within 1e-14″ of NOVAS's own loop.
|
|
336
|
+
|
|
337
|
+
Conformance: one verdict moves, `L1-POS-0041`, the Sun on 1908-05-30, which
|
|
338
|
+
was 1.076″ off in longitude and passes: 267 pass, 192 fail, 41 unsupported
|
|
339
|
+
of 500. The L2 residuals shrink: the ascendant from 0.182″ to 0.0190″ at
|
|
340
|
+
most, the midheaven from 0.178″ to 0.00815″, the Vertex from 0.285″ to
|
|
341
|
+
0.0134″, the East Point from 0.103″ to 0.00680″ and the cusps from 0.489″
|
|
342
|
+
to 0.0712″ (`conformance/RESULTS.md`, regenerated on this build;
|
|
343
|
+
`docs/evidence/rc16-20260930/conformance-changes.json`).
|
|
344
|
+
|
|
345
|
+
Tests whose expectations changed, each saying where its expectation now
|
|
346
|
+
comes from: the Mercury station of February 2026 moves 5.94 s, to
|
|
347
|
+
06:47:13.822Z, 0.047 s from where ERFA's frame puts it; the polar-fallback
|
|
348
|
+
receipt's ascendant follows the engine, 0.0003″ from ERFA's; the Placidus
|
|
349
|
+
latitude of the polar-limit tests (the root's and the window's), which was
|
|
350
|
+
1.07e-5″ below the limit on the five-term obliquity, moves by the
|
|
351
|
+
obliquity's change; the 1973 rc.14 replay separates the time basis from the
|
|
352
|
+
nutation; the calc round-trip fixture and the techniques' site-parity
|
|
353
|
+
fixtures were generated again on this build; and tests that took
|
|
354
|
+
astronomy-engine's nutation as the engine's take the engine's own.
|
|
355
|
+
|
|
356
|
+
### Receipts
|
|
357
|
+
|
|
358
|
+
The current conventions set names the nutation (*Breaking changes*). rc.15's
|
|
359
|
+
receipts, as the carried rc.15 archive serializes them
|
|
360
|
+
(`src/fixtures/receipt-rc15.json`), still parse under rc.15's set and replay
|
|
361
|
+
as the requests they record, on the same time basis; recomputed today every
|
|
362
|
+
longitude moves by the change in Δψ (0.2701″ at most) and the angles and cusps
|
|
363
|
+
by the change in the sidereal time and the obliquity. Receipts that rc.13 and
|
|
364
|
+
rc.14 wrote still parse under the rc.8 set; replayed on UT1 with the recorded
|
|
365
|
+
ΔT pinned, 16,218 rc.14 receipts from 1972 to 2027-10-02 differ from their
|
|
366
|
+
recorded results by up to 0.2554″ in the bodies and 3.022″ in the angles and
|
|
367
|
+
cusps, where rc.15 reproduced the angles and cusps exactly
|
|
368
|
+
(`docs/evidence/nutation-2026-09-29/results/receipt-replay.json`,
|
|
369
|
+
`docs/time.md`).
|
|
370
|
+
|
|
371
|
+
### Sizes and budgets
|
|
372
|
+
|
|
373
|
+
Import graphs (`scripts/verify-package-contents.mjs`'s measure: the
|
|
374
|
+
JavaScript a plain import loads), in bytes, with the sum of the graph's files
|
|
375
|
+
each gzipped at level 9 in parentheses
|
|
376
|
+
(`docs/evidence/rc16-20260930/sizes.json`):
|
|
377
|
+
|
|
378
|
+
| Entry | rc.15 as carried | rc.16 | Budget |
|
|
379
|
+
| --- | ---: | ---: | ---: |
|
|
380
|
+
| `.` | 97,704 (32,408) | 103,537 (34,828) | 108,500 (was 100,000) |
|
|
381
|
+
| `./calc` | | 113,904 (37,490) | 115,000 |
|
|
382
|
+
| `./crossings` | 9,410 (2,768) | 9,410 (2,768) | 10,000 |
|
|
383
|
+
| `./deltat` | 4,968 (1,944) | 4,968 (1,944) | 5,500 |
|
|
384
|
+
| `./geo` | 34,135 (12,459) | 34,659 (12,953) | 35,000 |
|
|
385
|
+
| `./houses` | | 13,606 (3,503) | 15,000 |
|
|
386
|
+
| `./internal` | 58,997 (20,156) | 64,830 (22,572) | 68,000 (was 60,000) |
|
|
387
|
+
| `./internal/math` | 18,165 (4,928) | 18,165 (4,928) | 20,000 |
|
|
388
|
+
| `./receipt` | 66,200 (22,290) | 66,580 (22,374) | 70,000 |
|
|
389
|
+
| `./sky` | | 92,109 (31,262) | 97,000 (92,000 on its branch) |
|
|
390
|
+
| `./techniques` | | 152,472 (50,308) | 160,000 (150,000 on its branch) |
|
|
391
|
+
| `./timing` | 114,916 (36,305) | 123,039 (39,477) | 129,000 (was 120,000) |
|
|
392
|
+
| `./vedic` | 116,779 (38,359) | 122,131 (40,647) | 128,000 (was 120,000) |
|
|
393
|
+
| `./window` | | 102,590 (34,123) | 105,000 |
|
|
394
|
+
|
|
395
|
+
The root grows by 5,833 bytes, 2,420 gzipped: the nutation, 5,794
|
|
396
|
+
(`src/nutation.ts` 4,146, `src/frame.ts` 2,110, less 508 in
|
|
397
|
+
`src/ephemeris.ts`, and 46 of imports, exports and their use in
|
|
398
|
+
`src/declination.ts` and `src/points.ts`), and 39 bytes of export names that
|
|
399
|
+
the calc, window and sky entries import from the root's shared chunk
|
|
400
|
+
(`gastHours`, `tilt`, `eclipticOfDate`).
|
|
401
|
+
|
|
402
|
+
Every budget raised here was raised after these sizes were measured, to fit
|
|
403
|
+
them; each has its reason in the budget file. For the nutation, which every
|
|
404
|
+
graph that loads the ephemeris carries: the root from 100,000 to 108,500,
|
|
405
|
+
`./internal` from 60,000 to 68,000, `./timing` from 120,000 to 129,000,
|
|
406
|
+
`./vedic` from 120,000 to 128,000 and `./techniques` from its branch's
|
|
407
|
+
150,000 to 160,000. For the nutation and the frames of date it now takes
|
|
408
|
+
from `src/equator.ts`: `./sky` from its branch's 92,000 to 97,000. The
|
|
409
|
+
techniques and houses preregistrations had fixed `./techniques` at 150,000
|
|
410
|
+
and `./timing` at 120,000, and the sky's did not let the root grow; those
|
|
411
|
+
gates are recorded as failed (*New entry points*), and the raised budgets
|
|
412
|
+
do not make them pass. New budgets: `./calc` 115,000, `./window` 105,000 and
|
|
413
|
+
`./houses` 15,000; calc and window, set before the nutation, keep theirs,
|
|
414
|
+
with 0.96 and 2.34 per cent of headroom left. `./geo` grows by 524 bytes,
|
|
415
|
+
the imports and exports of the local-time chunk it now shares with
|
|
416
|
+
`./techniques`, and `./receipt` by 380, the conventions set that names the
|
|
417
|
+
nutation; both stay within their budgets.
|
|
418
|
+
|
|
419
|
+
The cap on the whole package was raised from 700,000 to 950,000 bytes after
|
|
420
|
+
the five new entry points were measured (in `5e0d00c`, before the nutation,
|
|
421
|
+
when they took the package to 879,777 bytes), for them and their
|
|
422
|
+
documentation; the techniques and houses preregistrations had required the
|
|
423
|
+
package to stay within 700,000 bytes without raising the cap. The package is
|
|
424
|
+
923,282 bytes unpacked in 69 files (rc.15: 668,343 in 54). A stand-in for the
|
|
425
|
+
Zodiacs site's engine chunk grows by 1,080 bytes gzipped with the nutation
|
|
426
|
+
(the nutation's `results/sizes.json`); no site build measured it.
|
|
427
|
+
|
|
428
|
+
### Corrections
|
|
429
|
+
|
|
430
|
+
- rc.15's entry says that Placidus's iteration settles to 1e-9° within 64
|
|
431
|
+
steps "except within about 4e-9° of the polar limit". The window branch's
|
|
432
|
+
review measured the band at about 1e-8°; `src/houses.ts` says so, and the
|
|
433
|
+
window search compares the house system and the houses at every
|
|
434
|
+
millisecond within 1e-8° of the limit.
|
|
435
|
+
|
|
3
436
|
## 0.1.1-rc.15 — unreleased candidate
|
|
4
437
|
|
|
5
438
|
rc.15 brings four pieces of work onto rc.14: the time basis and local time
|
package/LICENSING.md
CHANGED
|
@@ -37,6 +37,35 @@ modules:
|
|
|
37
37
|
local mean time, pinned tzdb history and Julian-calendar handling
|
|
38
38
|
- `src/lib/geo/search.ts` — client for the separately hosted GeoNames index
|
|
39
39
|
|
|
40
|
+
The techniques entry, added in 0.1.1-rc.16 (`src/techniques/`, built into
|
|
41
|
+
`dist/techniques.js`), was adapted from these Zodiacs.org TypeScript modules,
|
|
42
|
+
read at the site repository's commit
|
|
43
|
+
`67cccac5a19a7779a07f85b09218c1ffbe2300cd` (2026-09-29), whose files'
|
|
44
|
+
SHA-256 the entry's preregistration records
|
|
45
|
+
(`docs/evidence/techniques-2026-09-29/PREREGISTRATION.md`):
|
|
46
|
+
|
|
47
|
+
- `src/lib/engine/solar-return.ts` and `src/lib/engine/lunar-return.ts` —
|
|
48
|
+
solar and lunar returns (`src/techniques/returns.ts`)
|
|
49
|
+
- `src/lib/composite.ts` — composite midpoints and their aspects
|
|
50
|
+
(`src/techniques/relationship.ts`)
|
|
51
|
+
- `src/lib/engine/void-of-course.ts` — the void-of-course Moon
|
|
52
|
+
(`src/techniques/void-of-course.ts`)
|
|
53
|
+
- `src/lib/engine/aspect-patterns.ts` and `src/lib/aspect-pattern-model.ts` —
|
|
54
|
+
aspect patterns and their containment (`src/techniques/aspect-patterns.ts`)
|
|
55
|
+
- `src/lib/dignities.ts` — `dignityFor`, `dignitiesFor` and
|
|
56
|
+
`hasClassicalDignities` (`src/techniques/dignities.ts`)
|
|
57
|
+
- `src/lib/moon-certainty.ts`, `src/lib/chart-date-certainty.ts` and
|
|
58
|
+
`untimedMoonSign` in `src/lib/share-card.ts` — the Moon signs possible over
|
|
59
|
+
a date (`src/techniques/moon-sign.ts`)
|
|
60
|
+
|
|
61
|
+
The site repository's `LICENSE` at that commit reserves all rights in its
|
|
62
|
+
contents but the parts it names (the engine, which it states is MIT, its
|
|
63
|
+
shared sky data and the GeoNames data), and grants no licence to this code.
|
|
64
|
+
These modules therefore come into the package on the same condition as the
|
|
65
|
+
ones above: that the repository operator has authority to publish the
|
|
66
|
+
Zodiacs.org-authored TypeScript under the MIT license (the status at the
|
|
67
|
+
top of this file).
|
|
68
|
+
|
|
40
69
|
`src/exact.ts`, added in 0.1.1-rc.13, is this package's own implementation of
|
|
41
70
|
exact sums of binary64 values for the configured-aspect and declination
|
|
42
71
|
decisions. It follows published algorithms: the nonoverlapping expansions of
|
|
@@ -48,8 +77,14 @@ The computational dependency is `astronomy-engine@2.1.19`. Its installed npm
|
|
|
48
77
|
metadata declares MIT, names Donald Cross as author, and links to
|
|
49
78
|
`https://github.com/cosinekitty/astronomy`. Its distributed
|
|
50
79
|
`esm/astronomy.js` begins with a preserved MIT notice and a 2019–2023 Don Cross
|
|
51
|
-
copyright line. The package uses its geocentric vectors
|
|
52
|
-
Moon state,
|
|
80
|
+
copyright line. The package uses its geocentric vectors (the Moon's
|
|
81
|
+
included), Moon state, heliocentric and barycentric vectors, and date
|
|
82
|
+
helpers. It no longer calls its nutation, its rotations to the ecliptic or
|
|
83
|
+
equator of date, its sidereal time or its observer functions (`ObserverVector`,
|
|
84
|
+
`ObserverState`): `src/frame.ts` reproduces its precession function
|
|
85
|
+
(`precession_rot`, from J2000.0) line for line, and `src/calc-reduce.ts` its
|
|
86
|
+
observer on the ellipsoid (`terra`), under the same MIT notice, which `NOTICE`
|
|
87
|
+
carries, and the nutation is the engine's own (*Nutation* below).
|
|
53
88
|
|
|
54
89
|
Repository and dependency searches found no Swiss Ephemeris runtime import,
|
|
55
90
|
package dependency, vendored source, or generated lookup table in this npm
|
|
@@ -59,12 +94,33 @@ package.
|
|
|
59
94
|
|
|
60
95
|
The website test suite contains Placidus reference constants generated with
|
|
61
96
|
`pyswisseph`. Those constants and their surrounding test block were
|
|
62
|
-
deliberately **not copied
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- synthetic
|
|
67
|
-
|
|
97
|
+
deliberately **not copied**, and no test takes an expected value from Swiss
|
|
98
|
+
Ephemeris; where a comment cites Swiss, it cites a statistic of a comparison.
|
|
99
|
+
The tests and their fixtures, none of which is packed, contain:
|
|
100
|
+
|
|
101
|
+
- geometric and astronomical invariants, synthetic fixtures, and behavior
|
|
102
|
+
computed directly by this package (the calc round-trip fixture and the
|
|
103
|
+
receipts of earlier versions among them);
|
|
104
|
+
- public JPL Horizons responses (apparent longitudes and vectors, DE441),
|
|
105
|
+
such as `src/timing/fixtures/planetary-returns-horizons.json`;
|
|
106
|
+
- values computed with ERFA (BSD 3-Clause) through pyerfa 2.0.1.5, such as
|
|
107
|
+
`src/fixtures/nutation-erfa.json` and the Vedic and angle references:
|
|
108
|
+
numbers ERFA returned, not its code or tables, none of which is copied;
|
|
109
|
+
- US Naval Observatory tables from its Astronomical Applications API, the
|
|
110
|
+
Earth's Seasons times of `src/techniques/fixtures/usno-seasons.json` and the
|
|
111
|
+
rise, set and transit times of `src/sky/fixtures/usno-rstt.json`: works of
|
|
112
|
+
the US Government, served by an official US Navy site whose pages state no
|
|
113
|
+
other terms (read 2026-09-30);
|
|
114
|
+
- the NOVAS C 3.1 excerpt `src/fixtures/novas-c3.1-iau2000b.txt`, a work of
|
|
115
|
+
the US Government that its distribution states "is not suseptible to
|
|
116
|
+
copyright" (*Nutation* below);
|
|
117
|
+
- the Zodiacs.org site's outputs (`src/techniques/fixtures/site-parity/`):
|
|
118
|
+
what the site's code at commit `67cccac5` returned on a seeded synthetic
|
|
119
|
+
corpus, run on this package. They are Zodiacs.org's, under the site
|
|
120
|
+
repository's `LICENSE` above, and are carried on the same condition as its
|
|
121
|
+
code; and
|
|
122
|
+
- published values that *ΔT data*, *IERS data*, *Gregorian adoption dates*
|
|
123
|
+
and *Timing and Vedic values* below name, under the terms stated there.
|
|
68
124
|
|
|
69
125
|
The Placidus implementation is the site's own formula-based TypeScript, not a
|
|
70
126
|
port or translation of Swiss Ephemeris code. This licensing decision must be
|
|
@@ -87,6 +143,42 @@ digest, and the measurements are in the Zodiacs site repository,
|
|
|
87
143
|
output was used to build the table; Swiss is used there only as a comparison
|
|
88
144
|
instrument, and only statistics are committed.
|
|
89
145
|
|
|
146
|
+
## Nutation (IAU 2000B)
|
|
147
|
+
|
|
148
|
+
`src/nutation.ts` carries the IAU 2000B nutation series: the multipliers
|
|
149
|
+
(385) and coefficients (462) of its 77 luni-solar terms, the 10 coefficients
|
|
150
|
+
of its five fundamental arguments and its two fixed offsets for the planetary
|
|
151
|
+
terms. The build places them in the ephemeris chunk under `dist/`, which the
|
|
152
|
+
root, `./internal`, `./timing` and `./vedic` import. The model is D. D.
|
|
153
|
+
McCarthy and B. J. Luzum, "An abridged model of the precession-nutation of
|
|
154
|
+
the celestial pole", Celestial Mechanics and Dynamical Astronomy 85, 37–49
|
|
155
|
+
(2003), as the IERS Conventions (2003), chapter 5, give it.
|
|
156
|
+
|
|
157
|
+
The values were transcribed from the function `iau2000b` in `Cdist/nutation.c`
|
|
158
|
+
of NOVAS C 3.1, the Naval Observatory Vector Astrometry Software of the US
|
|
159
|
+
Naval Observatory, as the package novas 3.1.1.5 on PyPI distributes it
|
|
160
|
+
(`novas-3.1.1.5.tar.gz`, uploaded 2020-01-25, SHA-256
|
|
161
|
+
`6784780f03589996c2cd0e2b7e68afbec734d953010612ed0a45ace714761935`, the digest
|
|
162
|
+
PyPI lists; `nutation.c` SHA-256
|
|
163
|
+
`49d193c9e0d6dfb14650ed0b2603e3954ef02ab51f83d66869a769e892e471bb`). Under
|
|
164
|
+
"License and Citation" the package states: "This software was produced by the
|
|
165
|
+
United States Naval Observatory at the expense of United States taxpayers, and
|
|
166
|
+
is therefore not suseptible to copyright [...] Since it is not copyrighted, it
|
|
167
|
+
cannot be licensed; it is simply free." NOVAS is a work of the US Government.
|
|
168
|
+
The repository carries the function unchanged, lines 3019 to 3375 of that file
|
|
169
|
+
(`src/fixtures/novas-c3.1-iau2000b.txt`, SHA-256
|
|
170
|
+
`95ba8b40a582a23b5916a5dbb7839650deb9a7f7d9743554cc222f813f56bde5`), which is
|
|
171
|
+
not packed, and `src/nutation.test.ts` compares every value with it. No code or
|
|
172
|
+
table was taken from ERFA or SOFA, or from Swiss Ephemeris; ERFA, through
|
|
173
|
+
pyerfa, is only the independent check (`src/fixtures/nutation-erfa.json`).
|
|
174
|
+
|
|
175
|
+
The equation of the equinoxes adds the two largest of its complementary terms,
|
|
176
|
+
2640.96 µas sin Ω and 63.52 µas sin 2Ω, as the IERS Conventions (2010),
|
|
177
|
+
table 5.2e, publish them
|
|
178
|
+
(https://iers-conventions.obspm.fr/content/chapter5/additional_info/tab5.2e.txt,
|
|
179
|
+
read 2026-09-29, SHA-256
|
|
180
|
+
`a5c690b277108e35d88df9cc20fea4120dfbc10a81444bb41b15cf9c6edcd6cb`).
|
|
181
|
+
|
|
90
182
|
## GeoNames and timezone data
|
|
91
183
|
|
|
92
184
|
The `./geo` entry point bundles no place records. Compatible indexes may be
|
|
@@ -254,6 +346,81 @@ for them were read. The attribution in `NOTICE` meets the CDS citation terms;
|
|
|
254
346
|
whether a commercial use needs more than attribution is not settled by these
|
|
255
347
|
sources.
|
|
256
348
|
|
|
349
|
+
## Calculation entry values
|
|
350
|
+
|
|
351
|
+
`@zodiacs/engine/calc` (`dist/calc.js` and the chunks it imports) carries the
|
|
352
|
+
frame bias of the IAU 2000 precession-nutation model, dψ = −0.041775″,
|
|
353
|
+
dε = −0.0068192″ and dα₀ = −0.0146″, composed as the IERS Conventions
|
|
354
|
+
(2010), chapter 5, eq. 5.21, compose it (G. Petit and B. Luzum, eds., IERS
|
|
355
|
+
Technical Note No. 36, 2010), and the obliquity of J2000.0 of the IAU 2006
|
|
356
|
+
precession, 84381.406″ (N. Capitaine, P. T. Wallace and J. Chapront, A&A
|
|
357
|
+
412, 567–586, 2003, adopted by IAU 2006 Resolution B1;
|
|
358
|
+
`src/calc-frames.ts`). These are single published constants; `NOTICE`
|
|
359
|
+
cites them.
|
|
360
|
+
|
|
361
|
+
Its bounds (`src/calc-bounds.ts`) and its barycentre's error
|
|
362
|
+
(`BARYCENTRE_ERROR` in `src/calc-reduce.ts`) are measurements, not
|
|
363
|
+
coefficients derived from JPL data: the largest differences between this
|
|
364
|
+
package's own results and NASA JPL Horizons (DE441) responses at 32
|
|
365
|
+
preregistered instants, rounded up, and the largest distance of
|
|
366
|
+
astronomy-engine's barycentre from a Newtonian barycentre of the same
|
|
367
|
+
positions, scanned daily from 1800 to 2200 and compared with Horizons's
|
|
368
|
+
barycentre at 88 instants (`docs/evidence/calc-api/`). No value of a JPL
|
|
369
|
+
ephemeris, and no coefficient fitted to one, is in the package; the Horizons
|
|
370
|
+
responses are in that evidence directory, which is not packed.
|
|
371
|
+
|
|
372
|
+
## Techniques tables
|
|
373
|
+
|
|
374
|
+
`@zodiacs/engine/techniques` (`dist/techniques.js`) carries the tables of the
|
|
375
|
+
essential dignities of the seven classical planets, as these works give them
|
|
376
|
+
(`src/techniques/dignities.ts`; `docs/techniques.md` quotes each and names
|
|
377
|
+
the copies read):
|
|
378
|
+
|
|
379
|
+
- Ptolemy, *Tetrabiblos* I.17–I.20, tr. F. E. Robbins (Loeb Classical
|
|
380
|
+
Library, 1940): the domiciles, the exaltations and the Egyptian terms;
|
|
381
|
+
- Dorotheus of Sidon, *Carmen Astrologicum* I.1–I.2, ed. and tr. David
|
|
382
|
+
Pingree (Leipzig: Teubner, 1976), pp. 161–162: the domiciles, the
|
|
383
|
+
exaltations and the triplicity lords;
|
|
384
|
+
- al-Bīrūnī, *The Book of Instruction in the Elements of the Art of
|
|
385
|
+
Astrology* (1029), tr. R. Ramsay Wright (London: Luzac, 1934),
|
|
386
|
+
§§440–453: the detriments, the triplicities, the terms and the Chaldean
|
|
387
|
+
faces;
|
|
388
|
+
- William Lilly, *Christian Astrology* (London, 1647), p. 112: reception
|
|
389
|
+
and the peregrine planet, and the order of the five dignities.
|
|
390
|
+
|
|
391
|
+
The package carries none of these editions' text, only the tables (which
|
|
392
|
+
planet rules each sign, is exalted in it or holds its triplicity, where each
|
|
393
|
+
term ends and which planet rules each face), their citations, and a few words
|
|
394
|
+
of Lilly's in its declarations. The works of Ptolemy, Dorotheus, al-Bīrūnī
|
|
395
|
+
and Lilly are in the public domain; this record claims no licence for the
|
|
396
|
+
modern editions and translations, and uses nothing of them but what they
|
|
397
|
+
report of those works. `NOTICE` cites them.
|
|
398
|
+
|
|
399
|
+
## Sky values
|
|
400
|
+
|
|
401
|
+
`@zodiacs/engine/sky` (`dist/sky.js`) carries these published constants
|
|
402
|
+
(`src/sky/riseset.ts`; `docs/sky.md` cites each):
|
|
403
|
+
|
|
404
|
+
- 34′ of refraction at the horizon, from the US Naval Observatory's *Rise,
|
|
405
|
+
Set, and Twilight Definitions* (https://aa.usno.navy.mil/faq/RST_defs,
|
|
406
|
+
read 2026-09-29), a work of the US Government;
|
|
407
|
+
- the Moon's mean radius, 1,737.4 km, from B. A. Archinal et al., "Report of
|
|
408
|
+
the IAU Working Group on Cartographic Coordinates and Rotational Elements:
|
|
409
|
+
2015", Celest. Mech. Dyn. Astr. 130:22 (2018);
|
|
410
|
+
- the Sun's radius, 696,000 km, a round value that subtends 959.64″ at 1 au,
|
|
411
|
+
against the 959.63″ of the solar semi-diameter at unit distance in J. Meeus,
|
|
412
|
+
*Astronomical Algorithms*, 2nd ed. (Willmann-Bell, 1998), ch. 55;
|
|
413
|
+
- the astronomical unit, 149,597,870.7 km, as IAU 2012 Resolution B2 defines
|
|
414
|
+
it;
|
|
415
|
+
- the WGS84 ellipsoid, a = 6,378.137 km and 1/f = 298.257223563, from NIMA
|
|
416
|
+
TR8350.2, *Department of Defense World Geodetic System 1984*, 3rd ed.
|
|
417
|
+
(2000), a publication of the US Government.
|
|
418
|
+
|
|
419
|
+
Its planetary hours follow Chaucer's *Treatise on the Astrolabe* (c. 1391)
|
|
420
|
+
and, for the rulers of the days, Cassius Dio's *Roman History* 37.18–19,
|
|
421
|
+
works in the public domain, as `docs/sky.md` cites them. `NOTICE` cites the
|
|
422
|
+
constants' sources.
|
|
423
|
+
|
|
257
424
|
## The conformance suite
|
|
258
425
|
|
|
259
426
|
Everything under `conformance/` but the copied inputs in `conformance/sources/` is dedicated to the public domain under CC0 1.0 (`conformance/LICENSE`). Those inputs are copies of files from NASA JPL Horizons, the IANA time zone database and the IERS, which the dedication does not cover; the arbiter entries of the vector files name each one's source (`conformance/README.md`, *Licence*). None of `conformance/` is part of the npm package: the package's `files` list leaves it out.
|