@zodiacs/engine 0.1.1-rc.16 → 1.1.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 (80) hide show
  1. package/CHANGELOG.md +1478 -0
  2. package/LICENSING.md +184 -30
  3. package/NOTICE +81 -14
  4. package/README.md +345 -67
  5. package/dist/{api-VOW6Umy5.d.ts → api-ChL1N2Sr.d.ts} +44 -7
  6. package/dist/ayanamsa-ClFzkKmV.d.ts +135 -0
  7. package/dist/calc.d.ts +218 -21
  8. package/dist/calc.js +580 -160
  9. package/dist/chunk-2PZYJQV5.js +83 -0
  10. package/dist/chunk-47ERTK5X.js +27 -0
  11. package/dist/{chunk-O3NJRGJ2.js → chunk-4XOYTBLS.js} +1 -1
  12. package/dist/chunk-767FTO7O.js +48 -0
  13. package/dist/{chunk-N4B5JNMA.js → chunk-7Y2F2IWN.js} +40 -28
  14. package/dist/chunk-B4M2Y7FT.js +96 -0
  15. package/dist/{chunk-KHBLFXFG.js → chunk-B5LKF437.js} +29 -28
  16. package/dist/{chunk-ONBZ4HK7.js → chunk-BHJXUY67.js} +4 -2
  17. package/dist/{chunk-PFGUCNOK.js → chunk-BMDASNPB.js} +6 -6
  18. package/dist/chunk-I3L4POY7.js +18 -0
  19. package/dist/{chunk-I7O5EGFV.js → chunk-LNGURVNH.js} +3 -3
  20. package/dist/{chunk-4NV4ZEFZ.js → chunk-NNOSOOWS.js} +4 -4
  21. package/dist/chunk-OVXQQEXL.js +41 -0
  22. package/dist/{chunk-WOU7JVD3.js → chunk-QLIEEICB.js} +205 -194
  23. package/dist/chunk-RMBWKZI2.js +130 -0
  24. package/dist/{chunk-AECKV73C.js → chunk-TSS2SZWQ.js} +8 -2
  25. package/dist/{chunk-L6ZHWJZ6.js → chunk-TZVPZHZM.js} +51 -29
  26. package/dist/chunk-WBTWY2OB.js +478 -0
  27. package/dist/chunk-Y4E3WJU5.js +87 -0
  28. package/dist/chunk-YPU3MDNI.js +852 -0
  29. package/dist/conventions.d.ts +70 -0
  30. package/dist/conventions.js +26 -0
  31. package/dist/crossings.d.ts +22 -10
  32. package/dist/crossings.js +1 -1
  33. package/dist/de440-pack.d.ts +43 -0
  34. package/dist/de440-pack.js +16 -0
  35. package/dist/de440.d.ts +113 -0
  36. package/dist/de440.js +19 -0
  37. package/dist/deltat.d.ts +28 -3
  38. package/dist/deltat.js +1 -1
  39. package/dist/ephemeris-exTSqBgb.d.ts +60 -0
  40. package/dist/geo.d.ts +46 -13
  41. package/dist/geo.js +4 -2
  42. package/dist/{houses-q1O2GGp4.d.ts → houses-Bh7GCnPi.d.ts} +14 -4
  43. package/dist/houses-extra.d.ts +22 -7
  44. package/dist/houses-extra.js +4 -2
  45. package/dist/index.d.ts +36 -49
  46. package/dist/index.js +54 -34
  47. package/dist/{internal-math-CmJ9xtaW.d.ts → internal-math-CxenuGfm.d.ts} +41 -27
  48. package/dist/internal-math.d.ts +4 -3
  49. package/dist/internal-math.js +14 -12
  50. package/dist/internal.d.ts +16 -7
  51. package/dist/internal.js +27 -6
  52. package/dist/lite-composite.js +114 -0
  53. package/dist/lite-declinations.js +253 -0
  54. package/dist/lite-dignities.js +333 -0
  55. package/dist/lite-sect.js +72 -0
  56. package/dist/lite.d.ts +82 -0
  57. package/dist/lite.js +4 -0
  58. package/dist/receipt.d.ts +3 -268
  59. package/dist/receipt.js +202 -89
  60. package/dist/reference-span-CILpclrz.d.ts +40 -0
  61. package/dist/{rulers-9wljfVaO.d.ts → rulers-CSSWtiWF.d.ts} +7 -2
  62. package/dist/sky.d.ts +26 -10
  63. package/dist/sky.js +23 -14
  64. package/dist/techniques.d.ts +160 -21
  65. package/dist/techniques.js +157 -89
  66. package/dist/time-bands-CZA9AlLg.d.ts +36 -0
  67. package/dist/time-scale-DIFNa0gz.d.ts +47 -0
  68. package/dist/time.d.ts +81 -0
  69. package/dist/time.js +74 -0
  70. package/dist/timing.d.ts +55 -17
  71. package/dist/timing.js +33 -45
  72. package/dist/types-DpPdtXgO.d.ts +335 -0
  73. package/dist/vedic.d.ts +150 -123
  74. package/dist/vedic.js +398 -440
  75. package/dist/window.d.ts +102 -80
  76. package/dist/window.js +108 -51
  77. package/dist/zone-history-BxmDCcTK.d.ts +290 -0
  78. package/package.json +26 -3
  79. package/dist/chunk-2OWGBT3O.js +0 -219
  80. package/dist/types-B4MCoCCS.d.ts +0 -228
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, and with three questions left open for the
6
- owner: no statement of terms was found for IERS EOP 20 C04, so whether its
7
- 367 rows of 1972 that the repository carries, and the values the package
8
- derives from it (the UT1 table in 1972 and some of the ΔT table's values from
9
- 1941), may be redistributed without other terms is not settled (*IERS
10
- data*); whether a commercial use of the 20 star values that the CDS supplies
11
- needs more than the attribution in `NOTICE` is not settled by the CDS's
12
- terms; and no terms were read for Reid and Brunthaler's two values (*Timing
13
- and Vedic values*).
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 `MIT`
22
- alone; rc.14 corrects it.
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`), was adapted from these Zodiacs.org TypeScript modules,
42
- read at the site repository's commit
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 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
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
@@ -104,7 +142,11 @@ The tests and their fixtures, none of which is packed, contain:
104
142
  - public JPL Horizons responses (apparent longitudes and vectors, DE441),
105
143
  such as `src/timing/fixtures/planetary-returns-horizons.json`;
106
144
  - 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:
145
+ `src/fixtures/nutation-erfa.json`, the ayanamsas and rates of
146
+ `src/fixtures/ayanamsa-rates.json`, `src/fixtures/ayanamsa-rates-dense.json`
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:
108
150
  numbers ERFA returned, not its code or tables, none of which is copied;
109
151
  - US Naval Observatory tables from its Astronomical Applications API, the
110
152
  Earth's Seasons times of `src/techniques/fixtures/usno-seasons.json` and the
@@ -127,6 +169,92 @@ port or translation of Swiss Ephemeris code. This licensing decision must be
127
169
  revisited before accepting any Swiss Ephemeris source, binary, table, or
128
170
  generated fixture into the package.
129
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
+
245
+ The rule behind the Sun's disc, from 1.1.0-rc.12, is NASA JPL's. The
246
+ reduction bends no light from a planet farther than the Sun whose direction
247
+ is within the Sun's apparent radius of the Sun's, with the Sun's radius
248
+ taken as 695,700 km, because NASA JPL's Horizons system does so and gives
249
+ that radius (`docs/de440.md`, *Behind the Sun's disc*). `NOTICE` credits
250
+ NASA JPL for the convention. It is a convention and a published constant,
251
+ not data: no Horizons response is in the package. The Horizons responses it
252
+ was measured against are public responses kept in the repository only
253
+ (`docs/evidence/1.1.0-rc.12-20261115/near-sun/`).
254
+
255
+ The pack does not change the SPDX expression: no licence is asserted for it
256
+ that its providers do not state, as for the IERS data below.
257
+
130
258
  ## ΔT data
131
259
 
132
260
  `src/deltat.ts` ships 32 values of Table S15 of Stephenson, Morrison &
@@ -148,8 +276,13 @@ instrument, and only statistics are committed.
148
276
  `src/nutation.ts` carries the IAU 2000B nutation series: the multipliers
149
277
  (385) and coefficients (462) of its 77 luni-solar terms, the 10 coefficients
150
278
  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.
279
+ terms. The build places them in a shared chunk under `dist/` that the
280
+ ephemeris chunk, `dist/time.js` and `dist/de440.js` import, so the graphs of
281
+ the root, `./calc`, `./de440`, `./internal`, `./sky`, `./techniques`,
282
+ `./time`, `./timing`, `./vedic` and `./window` load them, and so does that
283
+ of `./de440/pack`, which opens its pack with `./de440`;
284
+ `@zodiacs/engine/de440` sums the same terms in the order the research
285
+ runtime of zodiacs.org sums them. The model is D. D.
153
286
  McCarthy and B. J. Luzum, "An abridged model of the precession-nutation of
154
287
  the celestial pole", Celestial Mechanics and Dynamical Astronomy 85, 37–49
155
288
  (2003), as the IERS Conventions (2003), chapter 5, give it.
@@ -195,7 +328,8 @@ From 1970 conversion uses the host's `Intl`/ICU data.
195
328
  ## Leap-second and UT1 data
196
329
 
197
330
  `src/time-scale-data.ts` holds the time basis's two IERS tables, which the
198
- root entry's import graph under `dist/` carries. `scripts/build-time-scales.mjs`
331
+ import graphs of the root entry and of `@zodiacs/engine/time` under `dist/`
332
+ carry. `scripts/build-time-scales.mjs`
199
333
  builds it from inputs committed in `scripts/time-scale-sources/` and checks
200
334
  each one's SHA-256:
201
335
 
@@ -287,8 +421,9 @@ state.
287
421
  ## Gregorian adoption dates
288
422
 
289
423
  `@zodiacs/engine/geo` carries a table of when 18 countries took the Gregorian
290
- calendar (`GREGORIAN_ADOPTION`, `src/geo/calendar.ts`, built into
291
- `dist/geo.js`). Its dates and names come from public-domain sources only:
424
+ calendar (`GREGORIAN_ADOPTION`, `src/geo/calendar.ts`), in a shared chunk
425
+ under `dist/` that `dist/geo.js` and `dist/techniques.js` import. Its dates
426
+ and names come from public-domain sources only:
292
427
 
293
428
  - the `calendars` file of tzdata 2025c (the archive whose SHA-256 the zone
294
429
  histories pin), which says of itself "This file is in the public domain",
@@ -315,15 +450,17 @@ remains.
315
450
 
316
451
  `@zodiacs/engine/timing` and `@zodiacs/engine/vedic` carry the period
317
452
  lengths, rulers and sequences of the techniques they implement, from the
318
- classical texts that `docs/timing-hellenistic.md` and `docs/vedic.md` cite,
319
- and, for the four star-based ayanamsas, single published values for four
453
+ classical texts that `docs/timing-hellenistic.md` and `docs/vedic.md` cite.
454
+ For the four star-based ayanamsas, `@zodiacs/engine/vedic` and, since
455
+ 0.1.1-rc.17, `@zodiacs/engine/calc` carry single published values for four
320
456
  objects: position, proper motion, parallax and radial velocity from the
321
457
  Hipparcos new reduction (F. van Leeuwen 2007, VizieR I/311), SIMBAD,
322
458
  Gontcharov 2006 (VizieR III/252) and Famaey et al. 2005 (VizieR
323
459
  J/A+A/430/165), and for Sgr A* a SIMBAD position with Reid and Brunthaler's
324
460
  (2004) proper motion. `docs/vedic.md` cites each; no catalogue file or table
325
- is redistributed, only 22 values in `src/vedic/ayanamsa.ts`, built into
326
- `dist/vedic.js`: position, proper motion, parallax and radial velocity for
461
+ is redistributed, only 22 values in `src/vedic/ayanamsa.ts`, built into a
462
+ shared chunk under `dist/` that `dist/vedic.js` and `dist/calc.js` import:
463
+ position, proper motion, parallax and radial velocity for
327
464
  the three stars, and position and proper motion for Sgr A*. `NOTICE` carries
328
465
  their attribution.
329
466
 
@@ -362,17 +499,34 @@ Its bounds (`src/calc-bounds.ts`) and its barycentre's error
362
499
  (`BARYCENTRE_ERROR` in `src/calc-reduce.ts`) are measurements, not
363
500
  coefficients derived from JPL data: the largest differences between this
364
501
  package's own results and NASA JPL Horizons (DE441) responses at 32
365
- preregistered instants, rounded up, and the largest distance of
502
+ preregistered instants, rounded up (for the mean node, the mean south node
503
+ and Black Moon Lilith, from the same definitions evaluated with ERFA's
504
+ fundamental arguments at those instants, which checks the implementation,
505
+ not an ephemeris; from 1.1.0-rc.7, for the geocentric Sun, Moon, planets and
506
+ true nodes, from JPL's DE440 at noon TT on each of 146,097 days from
507
+ 1800-01-01 to 2199-12-31, `docs/evidence/de440-sweep-20261111/`), and the
508
+ largest distance of
366
509
  astronomy-engine's barycentre from a Newtonian barycentre of the same
367
510
  positions, scanned daily from 1800 to 2200 and compared with Horizons's
368
511
  barycentre at 88 instants (`docs/evidence/calc-api/`). No value of a JPL
369
512
  ephemeris, and no coefficient fitted to one, is in the package; the Horizons
370
- responses are in that evidence directory, which is not packed.
513
+ responses are in that evidence directory, and the DE440 kernel was read only
514
+ in the sweep's workflow, neither of which is packed.
515
+
516
+ Since 0.1.1-rc.17 it also carries the star values of *Timing and Vedic
517
+ values*, in the chunk it shares with `./vedic`. Its ayanamsa bounds
518
+ (`AYANAMSA_BOUNDS` in `src/calc-ayanamsa.ts`) are measurements too: the
519
+ largest differences of the engine's ayanamsas from ERFA's construction of the
520
+ same definitions (`docs/evidence/calc-sidereal-2026-10-05/` and, for a
521
+ caller's epoch outside 1800 to 2200, `docs/evidence/calc-epochs-2026-10-06/`),
522
+ not values taken from ERFA.
371
523
 
372
524
  ## Techniques tables
373
525
 
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
526
+ `@zodiacs/engine/techniques` (`dist/techniques.js`) and, from 1.1.0-rc.2,
527
+ `@zodiacs/engine/lite` (`dist/lite-dignities.js`, which `dist/lite.js`
528
+ re-exports) carry the tables of the essential dignities of the seven
529
+ classical planets, as these works give them
376
530
  (`src/techniques/dignities.ts`; `docs/techniques.md` quotes each and names
377
531
  the copies read):
378
532
 
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 the ephemeris chunk under
13
- dist/) reproduces astronomy-engine's precession function, precession_rot, and
14
- the calc entry's reduction module (src/calc-reduce.ts, built into
15
- dist/calc.js) its function for an observer on the Earth's ellipsoid, terra:
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 the same chunk)
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, and of astronomy-engine's barycentre from a
65
- Newtonian barycentre and from Horizons's. They are not coefficients derived
66
- from JPL data, and no JPL ephemeris value is in the package.
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) carries the tables of the
72
- essential dignities as these works give them, and none of their text:
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). Its dates come from these
182
- public-domain sources:
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,
@@ -195,8 +261,9 @@ iso3166.tab, which is in the public domain.
195
261
  Star positions and motions
196
262
  --------------------------
197
263
 
198
- @zodiacs/engine/vedic carries 22 published values for the objects of four
199
- star-based ayanamsas, in dist/vedic.js. Twenty of them were obtained through
264
+ @zodiacs/engine/vedic and @zodiacs/engine/calc carry 22 published values for
265
+ the objects of four star-based ayanamsas, in a shared chunk under dist/ that
266
+ dist/vedic.js and dist/calc.js import. Twenty of them were obtained through
200
267
  the VizieR catalogue access tool (DOI 10.26093/cds/vizier) and the SIMBAD
201
268
  database (M. Wenger et al. 2000, A&AS 143, 9) of the CDS, Strasbourg
202
269
  Astronomical Observatory, France: