@zodiacs/engine 1.0.0 → 2.0.0-rc.2
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 +1244 -0
- package/LICENSING.md +172 -27
- package/NOTICE +78 -12
- package/README.md +344 -59
- package/dist/{api-WbxJ4Wj-.d.ts → api-C_SVd9BJ.d.ts} +39 -3
- package/dist/{ayanamsa--YQ46fET.d.ts → ayanamsa-Clgkekhh.d.ts} +2 -1
- package/dist/calc.d.ts +91 -4
- package/dist/calc.js +368 -126
- package/dist/chunk-CV53HA7R.js +87 -0
- package/dist/chunk-EEW7746S.js +83 -0
- package/dist/{chunk-WS3TDSP3.js → chunk-FVGA776A.js} +7 -3
- package/dist/chunk-HNVGWN3S.js +852 -0
- package/dist/chunk-I3L4POY7.js +18 -0
- package/dist/{chunk-FTX3JDJA.js → chunk-IXFUYEUF.js} +65 -29
- package/dist/{chunk-7TRLIFFI.js → chunk-LWZS7HI3.js} +1 -1
- package/dist/{chunk-CHSYDKBL.js → chunk-N4UQLCBN.js} +3 -3
- package/dist/{chunk-YIITY7Q7.js → chunk-NX4PHQBL.js} +34 -22
- package/dist/chunk-OVXQQEXL.js +41 -0
- package/dist/{chunk-SRXBTP5H.js → chunk-PNXIA7MI.js} +217 -192
- package/dist/chunk-RMBWKZI2.js +130 -0
- package/dist/{chunk-DMGHYCDI.js → chunk-SCRO6HWB.js} +5 -3
- package/dist/{chunk-OG4OYTJJ.js → chunk-T6F4FYYS.js} +1 -129
- package/dist/chunk-UXY4RU57.js +48 -0
- package/dist/{chunk-PFGUCNOK.js → chunk-WONTOC5W.js} +7 -6
- package/dist/conventions.d.ts +70 -0
- package/dist/conventions.js +26 -0
- package/dist/crossings.d.ts +15 -4
- package/dist/de440-pack.d.ts +43 -0
- package/dist/de440-pack.js +16 -0
- package/dist/de440.d.ts +113 -0
- package/dist/de440.js +19 -0
- package/dist/ephemeris-D1lM832F.d.ts +64 -0
- package/dist/geo.d.ts +28 -7
- package/dist/geo.js +2 -2
- package/dist/houses-extra.d.ts +5 -4
- package/dist/{houses-CFERsAlK.d.ts → houses-icK01yXi.d.ts} +3 -3
- package/dist/index.d.ts +8 -6
- package/dist/index.js +40 -28
- package/dist/{internal-math-DJJ8BYex.d.ts → internal-math-BGX23p4h.d.ts} +2 -2
- package/dist/internal-math.d.ts +4 -3
- package/dist/internal-math.js +14 -12
- package/dist/internal.d.ts +16 -7
- package/dist/internal.js +25 -4
- package/dist/lite-composite.js +114 -0
- package/dist/lite-declinations.js +253 -0
- package/dist/lite-dignities.js +333 -0
- package/dist/lite-sect.js +72 -0
- package/dist/lite.d.ts +82 -0
- package/dist/lite.js +4 -0
- package/dist/receipt.d.ts +3 -2
- package/dist/receipt.js +156 -67
- package/dist/{rulers-Dla6h_Sm.d.ts → rulers-CpS9qkvu.d.ts} +1 -1
- package/dist/sky.d.ts +4 -3
- package/dist/sky.js +17 -10
- package/dist/techniques.d.ts +102 -6
- package/dist/techniques.js +131 -56
- package/dist/time-bands-CZA9AlLg.d.ts +36 -0
- package/dist/time-scale-DIFNa0gz.d.ts +47 -0
- package/dist/time.d.ts +81 -0
- package/dist/time.js +74 -0
- package/dist/timing.d.ts +6 -5
- package/dist/timing.js +24 -17
- package/dist/types-BCnyWBQZ.d.ts +352 -0
- package/dist/vedic.d.ts +112 -4
- package/dist/vedic.js +369 -14
- package/dist/window.d.ts +22 -2
- package/dist/window.js +86 -28
- package/dist/{zone-history-ghdyO0Sc.d.ts → zone-history-0XzMGx9V.d.ts} +32 -10
- package/package.json +24 -3
- package/dist/types-B-yb_tGL.d.ts +0 -240
package/LICENSING.md
CHANGED
|
@@ -2,15 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Status: **GO for a package licensed `MIT AND CC-BY-4.0`**, subject to the
|
|
4
4
|
repository operator having authority to publish the Zodiacs.org-authored
|
|
5
|
-
TypeScript under the MIT license
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
TypeScript under the MIT license. The package ships a pack of series refitted
|
|
6
|
+
from JPL's DE440, which the owner holds to be public data (2026-11-13);
|
|
7
|
+
NAIF's rules permit redistributing its kernels unmodified but do not speak of
|
|
8
|
+
data refitted from one, so shipping the pack rests on the owner's reading and
|
|
9
|
+
not on a statement of JPL's or NAIF's. On 2026-11-16 the owner answered, in
|
|
10
|
+
writing, the question "Do you accept shipping the NASA DE440 data in 1.1.0?"
|
|
11
|
+
with "Yes. I delegate these decisions to you." (*DE440 pack*). Three
|
|
12
|
+
questions are left open for the owner, as they were at 1.0.0: no statement of
|
|
13
|
+
terms was found for IERS EOP 20 C04, so whether its 367 rows of 1972 that the
|
|
14
|
+
repository carries, and the values the package derives from it (the UT1 table
|
|
15
|
+
in 1972 and some of the ΔT table's values from 1941), may be redistributed
|
|
16
|
+
without other terms is not settled (*IERS data*); whether a commercial use of
|
|
17
|
+
the 20 star values that the CDS supplies needs more than the attribution in
|
|
18
|
+
`NOTICE` is not settled by the CDS's terms; and no terms were read for Reid
|
|
19
|
+
and Brunthaler's two values (*Timing and Vedic values*).
|
|
14
20
|
|
|
15
21
|
SPDX licence expression: `MIT AND CC-BY-4.0`. The code is MIT (`LICENSE`). The
|
|
16
22
|
package's ΔT module, exported as `@zodiacs/engine/deltat`, carries 32 values
|
|
@@ -18,8 +24,8 @@ of Table S15 of Stephenson, Morrison & Hohenkerk 2016, which are CC BY 4.0
|
|
|
18
24
|
(see *ΔT data* below), with their attribution in `NOTICE`. The build places
|
|
19
25
|
that module in a shared chunk under `dist/`, which `dist/deltat.js`
|
|
20
26
|
re-exports. Both licences apply to the package as distributed. From
|
|
21
|
-
0.1.1-rc.8, which added those values, to rc.13, `package.json` declared
|
|
22
|
-
alone; rc.14
|
|
27
|
+
0.1.1-rc.8, which added those values, to 0.1.1-rc.13, `package.json` declared
|
|
28
|
+
`MIT` alone; 0.1.1-rc.14 corrected it.
|
|
23
29
|
|
|
24
30
|
## Provenance chain
|
|
25
31
|
|
|
@@ -38,8 +44,10 @@ modules:
|
|
|
38
44
|
- `src/lib/geo/search.ts` — client for the separately hosted GeoNames index
|
|
39
45
|
|
|
40
46
|
The techniques entry, added in 0.1.1-rc.16 (`src/techniques/`, built into
|
|
41
|
-
`dist/techniques.js
|
|
42
|
-
|
|
47
|
+
`dist/techniques.js`, and from 1.1.0-rc.2 its composite and dignity modules
|
|
48
|
+
also into `dist/lite-composite.js` and `dist/lite-dignities.js`, which
|
|
49
|
+
`@zodiacs/engine/lite` re-exports), was adapted from these Zodiacs.org
|
|
50
|
+
TypeScript modules, read at the site repository's commit
|
|
43
51
|
`67cccac5a19a7779a07f85b09218c1ffbe2300cd` (2026-09-29), whose files'
|
|
44
52
|
SHA-256 the entry's preregistration records
|
|
45
53
|
(`docs/evidence/techniques-2026-09-29/PREREGISTRATION.md`):
|
|
@@ -47,7 +55,8 @@ SHA-256 the entry's preregistration records
|
|
|
47
55
|
- `src/lib/engine/solar-return.ts` and `src/lib/engine/lunar-return.ts` —
|
|
48
56
|
solar and lunar returns (`src/techniques/returns.ts`)
|
|
49
57
|
- `src/lib/composite.ts` — composite midpoints and their aspects
|
|
50
|
-
(`src/techniques/relationship.ts`
|
|
58
|
+
(`src/techniques/composite.ts`; `src/techniques/relationship.ts` until
|
|
59
|
+
1.1.0-rc.2)
|
|
51
60
|
- `src/lib/engine/void-of-course.ts` — the void-of-course Moon
|
|
52
61
|
(`src/techniques/void-of-course.ts`)
|
|
53
62
|
- `src/lib/engine/aspect-patterns.ts` and `src/lib/aspect-pattern-model.ts` —
|
|
@@ -58,8 +67,37 @@ SHA-256 the entry's preregistration records
|
|
|
58
67
|
`untimedMoonSign` in `src/lib/share-card.ts` — the Moon signs possible over
|
|
59
68
|
a date (`src/techniques/moon-sign.ts`)
|
|
60
69
|
|
|
61
|
-
The
|
|
62
|
-
|
|
70
|
+
The lite entry's sect part, added in 1.1.0-rc.2 (`src/sect.ts`, built into
|
|
71
|
+
`dist/lite-sect.js`), ports from the Zodiacs.org module `src/lib/sect.ts`,
|
|
72
|
+
read at the site repository's commit
|
|
73
|
+
`9a67f761bc231741c6571af2dfae65b798954e11` (2026-11-01): the sect by the
|
|
74
|
+
Sun's altitude (`sectReading`'s `"altitude"` convention), `orientality`, the
|
|
75
|
+
diurnal and nocturnal planet lists (`DIURNAL_PLANETS`, `NOCTURNAL_PLANETS`),
|
|
76
|
+
the sect light, and Mercury's side of the Sun with the lists of the planets
|
|
77
|
+
in and out of sect.
|
|
78
|
+
|
|
79
|
+
The DE440 entry, added in 1.1.0-rc.3 (`src/de440.ts` and `src/de440/`,
|
|
80
|
+
built into `dist/de440.js` and the chunks it imports), ports the pack reader,
|
|
81
|
+
the reduction, the IAU 2006 frames and the nutation sum of zodiacs.org's
|
|
82
|
+
research runtime, `examples/precision-alpha/src/core/` (`container.mjs`,
|
|
83
|
+
`ephemeris.mjs`, `errors.mjs`, `reduce.mjs`, `frames.mjs`, `nutation.mjs`
|
|
84
|
+
and, for the digest helpers, `source.mjs`), read at the
|
|
85
|
+
site repository's commit `4fa9ffbf87e78948f2187a603a596cfb47d3c530`
|
|
86
|
+
(2026-11-09), with the geocentric Moon as the site's preregistration of P4.1
|
|
87
|
+
(commit `5305fc74`) specifies it. That directory declares the MIT license
|
|
88
|
+
(its `package.json` and `NOTICE.md`), so the port comes in under the MIT
|
|
89
|
+
license as it is. The runtime's own nutation table, which its `NOTICE.md`
|
|
90
|
+
gives as ERFA's (BSD 3-Clause), was not taken: the port sums the engine's
|
|
91
|
+
table, arguments and offsets (*Nutation* below), which equal the runtime's
|
|
92
|
+
term for term and double for double. `src/de440/kernel.testkit.ts`, a reader
|
|
93
|
+
of `de440.bsp` for the tests, is not packed. `src/de440-pack.ts`, added in
|
|
94
|
+
1.1.0-rc.9 and built into a shared chunk under `dist/`, and
|
|
95
|
+
`src/de440/sha256.ts`, a SHA-256 written for this package from FIPS 180-4,
|
|
96
|
+
are this package's own code;
|
|
97
|
+
the pack it carries is the subject of *DE440 pack* below.
|
|
98
|
+
|
|
99
|
+
The site repository's `LICENSE` at both commits reserves all rights in its
|
|
100
|
+
contents but the parts it names (the engine, whose code it states is MIT, its
|
|
63
101
|
shared sky data and the GeoNames data), and grants no licence to this code.
|
|
64
102
|
These modules therefore come into the package on the same condition as the
|
|
65
103
|
ones above: that the repository operator has authority to publish the
|
|
@@ -106,8 +144,9 @@ The tests and their fixtures, none of which is packed, contain:
|
|
|
106
144
|
- values computed with ERFA (BSD 3-Clause) through pyerfa 2.0.1.5, such as
|
|
107
145
|
`src/fixtures/nutation-erfa.json`, the ayanamsas and rates of
|
|
108
146
|
`src/fixtures/ayanamsa-rates.json`, `src/fixtures/ayanamsa-rates-dense.json`
|
|
109
|
-
and `src/fixtures/ayanamsa-epochs.json`,
|
|
110
|
-
|
|
147
|
+
and `src/fixtures/ayanamsa-epochs.json`, the DE440 entry's oracles
|
|
148
|
+
(`docs/evidence/de440-20261110/oracles/`, an ERFA chain over NAIF's
|
|
149
|
+
`de440.bsp`), and the Vedic and angle references:
|
|
111
150
|
numbers ERFA returned, not its code or tables, none of which is copied;
|
|
112
151
|
- US Naval Observatory tables from its Astronomical Applications API, the
|
|
113
152
|
Earth's Seasons times of `src/techniques/fixtures/usno-seasons.json` and the
|
|
@@ -130,6 +169,96 @@ port or translation of Swiss Ephemeris code. This licensing decision must be
|
|
|
130
169
|
revisited before accepting any Swiss Ephemeris source, binary, table, or
|
|
131
170
|
generated fixture into the package.
|
|
132
171
|
|
|
172
|
+
## DE440 pack
|
|
173
|
+
|
|
174
|
+
From 1.1.0-rc.9 the package carries a sealed DE440 pack, and its root entry
|
|
175
|
+
computes on it by default (`docs/de440.md`, *The default source*).
|
|
176
|
+
`scripts/build-de440-pack.mjs` writes it, as base64 text, into
|
|
177
|
+
`src/de440/pack-data.ts`, which the build places in one shared chunk under
|
|
178
|
+
`dist/` that the root's ephemeris chunk and `dist/de440-pack.js`, the file of
|
|
179
|
+
`@zodiacs/engine/de440/pack`, import, and in no other file
|
|
180
|
+
(`scripts/verify-package-contents.mjs` checks that, and the pack's digest).
|
|
181
|
+
The withdrawn draft 1.1.0-rc.8 carried the same pack behind that entry
|
|
182
|
+
alone.
|
|
183
|
+
The pack is `de440-1790-2210.v2.zeph`, 2,489,664 bytes, SHA-256
|
|
184
|
+
`51428874d9a47213abc0ff42cbcec65f338624eaa2d8831f0e6ddc3654bf1fa7`: Chebyshev
|
|
185
|
+
series for the Sun, the Moon, the Earth-Moon barycentre, Mercury, Venus and
|
|
186
|
+
the barycentres of the systems of Mars to Pluto, from 1790 to 2210, which
|
|
187
|
+
zodiacs.org's pack compiler 2.0.0 (part of its research runtime, MIT, above)
|
|
188
|
+
refits body by body from NAIF's SPICE kernel `de440.bsp` (SHA-256
|
|
189
|
+
`a4ce9bf9b3282becc9f4b2ac3cebe03a2ae7599981aabd7265fd8482fff7c4b5`, 119,799,808
|
|
190
|
+
bytes, fetched 2026-11-13 from
|
|
191
|
+
https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de440.bsp)
|
|
192
|
+
and quantises (`docs/de440.md`, *The pack*). The kernel is in neither the
|
|
193
|
+
repository nor the package. The ephemeris is the Jet Propulsion Laboratory's:
|
|
194
|
+
R. S. Park, W. M. Folkner, J. G. Williams and D. H. Boggs, "The JPL Planetary
|
|
195
|
+
and Lunar Ephemerides DE440 and DE441", The Astronomical Journal 161, 105
|
|
196
|
+
(2021), which `NOTICE` cites.
|
|
197
|
+
|
|
198
|
+
The pack holds values derived from DE440, not DE440's own coefficients: the
|
|
199
|
+
compiler fits new series on records of its own and stores their coefficients
|
|
200
|
+
quantised, so no record of the kernel is in it.
|
|
201
|
+
|
|
202
|
+
What the providers state, read 2026-11-13:
|
|
203
|
+
|
|
204
|
+
- **NAIF, "Rules Regarding Use of SPICE"**
|
|
205
|
+
(https://naif.jpl.nasa.gov/naif/rules.html; the page as served, 23,487
|
|
206
|
+
bytes, SHA-256
|
|
207
|
+
`ae85f851646e7c4f0a762db852907bc090a2ab50c815eb2a6cd8639e96b7e047`):
|
|
208
|
+
"Redistribution of SPICE kernels distributed by NAIF is permitted as long
|
|
209
|
+
as they have not been modified. If a kernel distributed by NAIF has been
|
|
210
|
+
modified in any way, any embedded or otherwise allied attribution of the
|
|
211
|
+
original kernel producer must be replaced with the name and institution of
|
|
212
|
+
whomever has made the last modification." And, of commercial use: "No fees
|
|
213
|
+
or licensing are required. Acknowledgement of the use of NASA's SPICE
|
|
214
|
+
system is encouraged."
|
|
215
|
+
- **JPL Solar System Dynamics, "JPL Planetary and Lunar Ephemerides"**
|
|
216
|
+
(https://ssd.jpl.nasa.gov/planets/eph_export.html; the page as served,
|
|
217
|
+
29,979 bytes, SHA-256
|
|
218
|
+
`ce7db9fc032a395318911b6b07cb2f12717f2849dc9938cbd207cb662f4d1687`) names
|
|
219
|
+
DE440 and the paper above and where the files are. It states no licence
|
|
220
|
+
and no terms of redistribution.
|
|
221
|
+
|
|
222
|
+
What follows from those statements, and what does not. The package does not
|
|
223
|
+
redistribute a kernel, so the permission for unmodified kernels is not what
|
|
224
|
+
it relies on. The pack is data that Zodiacs.org made from a kernel, and the
|
|
225
|
+
rule for a modified kernel, read onto it, asks that the attribution name
|
|
226
|
+
whoever made the last modification: `NOTICE` and `docs/de440.md` say that
|
|
227
|
+
Zodiacs.org made the pack, name JPL's ephemeris as its source, and say that
|
|
228
|
+
JPL and NAIF have not reviewed it. NAIF's rules speak of SPICE kernels; they
|
|
229
|
+
do not speak of data refitted from one, and no statement of JPL's on
|
|
230
|
+
redistributing DE440 or data derived from it was found. NAIF's directory of
|
|
231
|
+
the planetary kernels has no readme for DE440 (its two `aareadme` files are
|
|
232
|
+
for DE430, DE431 and DE432s), and its `de440_tech-comments.txt`, which a
|
|
233
|
+
second session read in full on 2026-11-13, gives constants and the reference
|
|
234
|
+
above and no terms (`docs/evidence/1.1.0-rc.8-20261113/breaker/README.md`).
|
|
235
|
+
The owner's position, given on 2026-11-13, is that DE440 is JPL's public
|
|
236
|
+
data. 1.1.0-rc.3 shipped no pack while a question about redistributing one
|
|
237
|
+
was with NAIF (`docs/de440.md` at 1.1.0-rc.3); no answer to it is recorded in
|
|
238
|
+
this repository. Shipping the pack therefore rests on the owner's reading,
|
|
239
|
+
which this file required to be settled, or accepted by the owner in writing,
|
|
240
|
+
before a release carrying the pack is published. On 2026-11-16, before 1.1.0
|
|
241
|
+
was published, the owner answered the question "Do you accept shipping the
|
|
242
|
+
NASA DE440 data in 1.1.0?" in writing with "Yes. I delegate these decisions
|
|
243
|
+
to you."
|
|
244
|
+
That acceptance, recorded as given for 1.1.0, covers 2.0.0 too, which ships
|
|
245
|
+
the same sealed pack: it was given with "Yes. I delegate these decisions to
|
|
246
|
+
you.", and under that delegation it is taken to extend to 2.0.0 and its
|
|
247
|
+
candidates.
|
|
248
|
+
|
|
249
|
+
The rule behind the Sun's disc, from 1.1.0-rc.12, is NASA JPL's. The
|
|
250
|
+
reduction bends no light from a planet farther than the Sun whose direction
|
|
251
|
+
is within the Sun's apparent radius of the Sun's, with the Sun's radius
|
|
252
|
+
taken as 695,700 km, because NASA JPL's Horizons system does so and gives
|
|
253
|
+
that radius (`docs/de440.md`, *Behind the Sun's disc*). `NOTICE` credits
|
|
254
|
+
NASA JPL for the convention. It is a convention and a published constant,
|
|
255
|
+
not data: no Horizons response is in the package. The Horizons responses it
|
|
256
|
+
was measured against are public responses kept in the repository only
|
|
257
|
+
(`docs/evidence/1.1.0-rc.12-20261115/near-sun/`).
|
|
258
|
+
|
|
259
|
+
The pack does not change the SPDX expression: no licence is asserted for it
|
|
260
|
+
that its providers do not state, as for the IERS data below.
|
|
261
|
+
|
|
133
262
|
## ΔT data
|
|
134
263
|
|
|
135
264
|
`src/deltat.ts` ships 32 values of Table S15 of Stephenson, Morrison &
|
|
@@ -151,8 +280,13 @@ instrument, and only statistics are committed.
|
|
|
151
280
|
`src/nutation.ts` carries the IAU 2000B nutation series: the multipliers
|
|
152
281
|
(385) and coefficients (462) of its 77 luni-solar terms, the 10 coefficients
|
|
153
282
|
of its five fundamental arguments and its two fixed offsets for the planetary
|
|
154
|
-
terms. The build places them in
|
|
155
|
-
|
|
283
|
+
terms. The build places them in a shared chunk under `dist/` that the
|
|
284
|
+
ephemeris chunk, `dist/time.js` and `dist/de440.js` import, so the graphs of
|
|
285
|
+
the root, `./calc`, `./de440`, `./internal`, `./sky`, `./techniques`,
|
|
286
|
+
`./time`, `./timing`, `./vedic` and `./window` load them, and so does that
|
|
287
|
+
of `./de440/pack`, which opens its pack with `./de440`;
|
|
288
|
+
`@zodiacs/engine/de440` sums the same terms in the order the research
|
|
289
|
+
runtime of zodiacs.org sums them. The model is D. D.
|
|
156
290
|
McCarthy and B. J. Luzum, "An abridged model of the precession-nutation of
|
|
157
291
|
the celestial pole", Celestial Mechanics and Dynamical Astronomy 85, 37–49
|
|
158
292
|
(2003), as the IERS Conventions (2003), chapter 5, give it.
|
|
@@ -198,7 +332,8 @@ From 1970 conversion uses the host's `Intl`/ICU data.
|
|
|
198
332
|
## Leap-second and UT1 data
|
|
199
333
|
|
|
200
334
|
`src/time-scale-data.ts` holds the time basis's two IERS tables, which the
|
|
201
|
-
root entry
|
|
335
|
+
import graphs of the root entry and of `@zodiacs/engine/time` under `dist/`
|
|
336
|
+
carry. `scripts/build-time-scales.mjs`
|
|
202
337
|
builds it from inputs committed in `scripts/time-scale-sources/` and checks
|
|
203
338
|
each one's SHA-256:
|
|
204
339
|
|
|
@@ -290,8 +425,9 @@ state.
|
|
|
290
425
|
## Gregorian adoption dates
|
|
291
426
|
|
|
292
427
|
`@zodiacs/engine/geo` carries a table of when 18 countries took the Gregorian
|
|
293
|
-
calendar (`GREGORIAN_ADOPTION`, `src/geo/calendar.ts
|
|
294
|
-
`dist/geo.js`
|
|
428
|
+
calendar (`GREGORIAN_ADOPTION`, `src/geo/calendar.ts`), in a shared chunk
|
|
429
|
+
under `dist/` that `dist/geo.js` and `dist/techniques.js` import. Its dates
|
|
430
|
+
and names come from public-domain sources only:
|
|
295
431
|
|
|
296
432
|
- the `calendars` file of tzdata 2025c (the archive whose SHA-256 the zone
|
|
297
433
|
histories pin), which says of itself "This file is in the public domain",
|
|
@@ -367,12 +503,19 @@ Its bounds (`src/calc-bounds.ts`) and its barycentre's error
|
|
|
367
503
|
(`BARYCENTRE_ERROR` in `src/calc-reduce.ts`) are measurements, not
|
|
368
504
|
coefficients derived from JPL data: the largest differences between this
|
|
369
505
|
package's own results and NASA JPL Horizons (DE441) responses at 32
|
|
370
|
-
preregistered instants, rounded up
|
|
506
|
+
preregistered instants, rounded up (for the mean node, the mean south node
|
|
507
|
+
and Black Moon Lilith, from the same definitions evaluated with ERFA's
|
|
508
|
+
fundamental arguments at those instants, which checks the implementation,
|
|
509
|
+
not an ephemeris; from 1.1.0-rc.7, for the geocentric Sun, Moon, planets and
|
|
510
|
+
true nodes, from JPL's DE440 at noon TT on each of 146,097 days from
|
|
511
|
+
1800-01-01 to 2199-12-31, `docs/evidence/de440-sweep-20261111/`), and the
|
|
512
|
+
largest distance of
|
|
371
513
|
astronomy-engine's barycentre from a Newtonian barycentre of the same
|
|
372
514
|
positions, scanned daily from 1800 to 2200 and compared with Horizons's
|
|
373
515
|
barycentre at 88 instants (`docs/evidence/calc-api/`). No value of a JPL
|
|
374
516
|
ephemeris, and no coefficient fitted to one, is in the package; the Horizons
|
|
375
|
-
responses are in that evidence directory,
|
|
517
|
+
responses are in that evidence directory, and the DE440 kernel was read only
|
|
518
|
+
in the sweep's workflow, neither of which is packed.
|
|
376
519
|
|
|
377
520
|
Since 0.1.1-rc.17 it also carries the star values of *Timing and Vedic
|
|
378
521
|
values*, in the chunk it shares with `./vedic`. Its ayanamsa bounds
|
|
@@ -384,8 +527,10 @@ not values taken from ERFA.
|
|
|
384
527
|
|
|
385
528
|
## Techniques tables
|
|
386
529
|
|
|
387
|
-
`@zodiacs/engine/techniques` (`dist/techniques.js`)
|
|
388
|
-
|
|
530
|
+
`@zodiacs/engine/techniques` (`dist/techniques.js`) and, from 1.1.0-rc.2,
|
|
531
|
+
`@zodiacs/engine/lite` (`dist/lite-dignities.js`, which `dist/lite.js`
|
|
532
|
+
re-exports) carry the tables of the essential dignities of the seven
|
|
533
|
+
classical planets, as these works give them
|
|
389
534
|
(`src/techniques/dignities.ts`; `docs/techniques.md` quotes each and names
|
|
390
535
|
the copies read):
|
|
391
536
|
|
package/NOTICE
CHANGED
|
@@ -9,10 +9,11 @@ Don Cross, distributed under the MIT License. Its distributed JavaScript source
|
|
|
9
9
|
retains the full MIT permission and warranty notice. Source and license metadata:
|
|
10
10
|
https://github.com/cosinekitty/astronomy
|
|
11
11
|
|
|
12
|
-
The package's frame module (src/frame.ts, built into
|
|
13
|
-
dist/
|
|
14
|
-
|
|
15
|
-
dist/calc.js) its function
|
|
12
|
+
The package's frame module (src/frame.ts, built into a shared chunk under
|
|
13
|
+
dist/ that the ephemeris chunk and dist/time.js import) reproduces
|
|
14
|
+
astronomy-engine's precession function, precession_rot, and the calc entry's
|
|
15
|
+
reduction module (src/calc-reduce.ts, built into dist/calc.js) its function
|
|
16
|
+
for an observer on the Earth's ellipsoid, terra:
|
|
16
17
|
|
|
17
18
|
Copyright (c) 2019-2023 Don Cross <cosinekitty@gmail.com>
|
|
18
19
|
MIT License: the permission and warranty notice is the one in this
|
|
@@ -21,7 +22,8 @@ dist/calc.js) its function for an observer on the Earth's ellipsoid, terra:
|
|
|
21
22
|
IAU 2000B nutation
|
|
22
23
|
------------------
|
|
23
24
|
|
|
24
|
-
The package's nutation module (src/nutation.ts, built into
|
|
25
|
+
The package's nutation module (src/nutation.ts, built into a shared chunk
|
|
26
|
+
under dist/ that the ephemeris chunk, dist/time.js and dist/de440.js import)
|
|
25
27
|
carries the 77 luni-solar terms, fundamental arguments and fixed planetary
|
|
26
28
|
offsets of the IAU 2000B nutation model,
|
|
27
29
|
|
|
@@ -61,15 +63,78 @@ composes it, and the obliquity of J2000.0 of the IAU 2006 precession,
|
|
|
61
63
|
|
|
62
64
|
Its bounds and its barycentre's error are measurements: the largest
|
|
63
65
|
differences of this package's own results from NASA JPL Horizons (DE441)
|
|
64
|
-
responses at 32 instants
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
responses at 32 instants (for the mean nodes and Black Moon Lilith, from
|
|
67
|
+
their definitions evaluated with ERFA at those instants; from 1.1.0-rc.7,
|
|
68
|
+
for the geocentric Sun, Moon, planets and true nodes, from JPL's DE440 on
|
|
69
|
+
146,097 days), and of
|
|
70
|
+
astronomy-engine's barycentre from a Newtonian barycentre and from
|
|
71
|
+
Horizons's. They are not coefficients derived
|
|
72
|
+
from JPL data. The one file of the package that holds values derived from a
|
|
73
|
+
JPL ephemeris is the DE440 pack's (DE440 pack, below).
|
|
74
|
+
|
|
75
|
+
DE440 entry
|
|
76
|
+
-----------
|
|
77
|
+
|
|
78
|
+
The DE440 entry (dist/de440.js and the chunks it imports) ports the
|
|
79
|
+
reduction of zodiacs.org's research runtime (MIT; LICENSING.md says which
|
|
80
|
+
files). It carries the Fukushima-Williams angles of the IAU 2006 precession,
|
|
81
|
+
with the frame bias, and the IAU 2006 mean obliquity, from
|
|
82
|
+
|
|
83
|
+
N. Capitaine, P. T. Wallace and J. Chapront 2003, Expressions for IAU 2000
|
|
84
|
+
precession quantities. Astronomy & Astrophysics 412, 567-586 (adopted by
|
|
85
|
+
IAU 2006 Resolution B1),
|
|
86
|
+
|
|
87
|
+
and the adjustment of the IAU 2000 nutation to that precession from
|
|
88
|
+
|
|
89
|
+
P. T. Wallace and N. Capitaine 2006, Precession-nutation procedures
|
|
90
|
+
consistent with IAU 2006 resolutions. Astronomy & Astrophysics 459,
|
|
91
|
+
981-985.
|
|
92
|
+
|
|
93
|
+
It sums the nutation module's terms above. It holds no JPL ephemeris value:
|
|
94
|
+
the pack it reads is the caller's, or the one below.
|
|
95
|
+
|
|
96
|
+
DE440 pack
|
|
97
|
+
----------
|
|
98
|
+
|
|
99
|
+
The package carries, as base64 text in one shared chunk under dist/ that the
|
|
100
|
+
root's ephemeris chunk and @zodiacs/engine/de440/pack (dist/de440-pack.js)
|
|
101
|
+
import, and in no other file, the sealed pack de440-1790-2210.v2.zeph (2,489,664 bytes,
|
|
102
|
+
SHA-256 51428874d9a47213abc0ff42cbcec65f338624eaa2d8831f0e6ddc3654bf1fa7):
|
|
103
|
+
Chebyshev series for the Sun, the Moon, the Earth-Moon barycentre, Mercury,
|
|
104
|
+
Venus and the barycentres of the systems of Mars to Pluto, from 1790 to 2210,
|
|
105
|
+
which Zodiacs.org's pack compiler 2.0.0 refitted and quantised from the
|
|
106
|
+
planetary and lunar ephemeris DE440 of the Jet Propulsion Laboratory,
|
|
107
|
+
California Institute of Technology, as the Navigation and Ancillary
|
|
108
|
+
Information Facility (NAIF) distributes it in the SPICE kernel de440.bsp
|
|
109
|
+
(SHA-256 a4ce9bf9b3282becc9f4b2ac3cebe03a2ae7599981aabd7265fd8482fff7c4b5):
|
|
110
|
+
|
|
111
|
+
R. S. Park, W. M. Folkner, J. G. Williams and D. H. Boggs 2021, The JPL
|
|
112
|
+
Planetary and Lunar Ephemerides DE440 and DE441. The Astronomical Journal
|
|
113
|
+
161, 105.
|
|
114
|
+
|
|
115
|
+
The pack is not the kernel and does not hold DE440's own series. Zodiacs.org
|
|
116
|
+
made it and made the last modification to the data; its errors are
|
|
117
|
+
Zodiacs.org's (docs/de440.md in the repository states them). JPL and NAIF
|
|
118
|
+
have not reviewed or endorsed it. From 1.1.0-rc.9 the root entry computes on
|
|
119
|
+
it by default (docs/de440.md). LICENSING.md, DE440 pack, records what
|
|
120
|
+
NAIF's rules for SPICE kernels say and what they leave open.
|
|
121
|
+
|
|
122
|
+
Behind the Sun's disc, from 1.1.0-rc.12, the reduction bends no light from a
|
|
123
|
+
planet farther than the Sun whose direction is within the Sun's apparent
|
|
124
|
+
radius of the Sun's, the Sun's radius taken as 695,700 km. Both the rule and
|
|
125
|
+
the radius are those of NASA JPL's Horizons system (Jet Propulsion
|
|
126
|
+
Laboratory, California Institute of Technology), and the package credits
|
|
127
|
+
NASA JPL for them. The package holds no Horizons response: the rule was
|
|
128
|
+
measured against Horizons responses kept in the repository
|
|
129
|
+
(docs/evidence/1.1.0-rc.12-20261115/near-sun/). JPL has not reviewed or
|
|
130
|
+
endorsed the package's use of it.
|
|
67
131
|
|
|
68
132
|
Essential dignities
|
|
69
133
|
-------------------
|
|
70
134
|
|
|
71
|
-
The techniques entry (dist/techniques.js)
|
|
72
|
-
|
|
135
|
+
The techniques entry (dist/techniques.js) and the lite entry
|
|
136
|
+
(dist/lite-dignities.js, which dist/lite.js re-exports) carry the tables of
|
|
137
|
+
the essential dignities as these works give them, and none of their text:
|
|
73
138
|
|
|
74
139
|
Ptolemy, Tetrabiblos I.17-I.20, tr. F. E. Robbins (Loeb Classical Library,
|
|
75
140
|
1940): domiciles, exaltations, the Egyptian terms.
|
|
@@ -178,8 +243,9 @@ Gregorian adoption dates
|
|
|
178
243
|
------------------------
|
|
179
244
|
|
|
180
245
|
@zodiacs/engine/geo carries a table of when 18 countries took the Gregorian
|
|
181
|
-
calendar (GREGORIAN_ADOPTION, in dist/geo.js
|
|
182
|
-
public-domain
|
|
246
|
+
calendar (GREGORIAN_ADOPTION), in a shared chunk under dist/ that dist/geo.js
|
|
247
|
+
and dist/techniques.js import. Its dates come from these public-domain
|
|
248
|
+
sources:
|
|
183
249
|
|
|
184
250
|
IANA Time Zone Database 2025c, file calendars, which quotes H. Grotefend,
|
|
185
251
|
Taschenbuch der Zeitrechnung des deutschen Mittelalters und der Neuzeit,
|