@zodiacs/engine 0.1.1-rc.14 → 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.
Files changed (64) hide show
  1. package/CHANGELOG.md +797 -6
  2. package/LICENSING.md +354 -21
  3. package/NOTICE +166 -9
  4. package/README.md +327 -84
  5. package/dist/api-VOW6Umy5.d.ts +197 -0
  6. package/dist/calc.d.ts +279 -0
  7. package/dist/calc.js +853 -0
  8. package/dist/{chunk-NAJ735VN.js → chunk-2OWGBT3O.js} +1 -1
  9. package/dist/{chunk-4OSOCZY2.js → chunk-4NV4ZEFZ.js} +21 -6
  10. package/dist/chunk-A3U2ZS2W.js +29 -0
  11. package/dist/chunk-I7O5EGFV.js +25 -0
  12. package/dist/chunk-KFTJMMG7.js +61 -0
  13. package/dist/chunk-KHBLFXFG.js +227 -0
  14. package/dist/chunk-L6ZHWJZ6.js +355 -0
  15. package/dist/chunk-N4B5JNMA.js +473 -0
  16. package/dist/chunk-O3NJRGJ2.js +56 -0
  17. package/dist/{chunk-RETEVD4F.js → chunk-WOU7JVD3.js} +293 -154
  18. package/dist/crossings.d.ts +1 -1
  19. package/dist/deltat.d.ts +8 -8
  20. package/dist/geo.d.ts +137 -8
  21. package/dist/geo.js +28 -166
  22. package/dist/houses-extra.d.ts +81 -0
  23. package/dist/houses-extra.js +337 -0
  24. package/dist/houses-q1O2GGp4.d.ts +128 -0
  25. package/dist/index.d.ts +8 -201
  26. package/dist/index.js +38 -315
  27. package/dist/internal-math-CmJ9xtaW.d.ts +160 -0
  28. package/dist/internal-math.d.ts +3 -2
  29. package/dist/internal-math.js +2 -2
  30. package/dist/internal.d.ts +2 -1
  31. package/dist/internal.js +4 -4
  32. package/dist/receipt.d.ts +74 -29
  33. package/dist/receipt.js +194 -33
  34. package/dist/rulers-9wljfVaO.d.ts +10 -0
  35. package/dist/sky.d.ts +158 -0
  36. package/dist/sky.js +377 -0
  37. package/dist/techniques.d.ts +410 -0
  38. package/dist/techniques.js +830 -0
  39. package/dist/timing.d.ts +473 -0
  40. package/dist/timing.js +904 -0
  41. package/dist/{types-CeafogFp.d.ts → types-B4MCoCCS.d.ts} +35 -4
  42. package/dist/tzdb-2025c-00-6GVG6RYL.js +6 -0
  43. package/dist/tzdb-2025c-01-CEYMG3LE.js +6 -0
  44. package/dist/tzdb-2025c-02-NWQJCVUU.js +6 -0
  45. package/dist/tzdb-2025c-03-PLHP6VH4.js +6 -0
  46. package/dist/tzdb-2025c-04-MEKUJA6M.js +6 -0
  47. package/dist/tzdb-2025c-05-3K5YKZBL.js +6 -0
  48. package/dist/tzdb-2025c-06-L2VV5XJV.js +6 -0
  49. package/dist/tzdb-2025c-07-H3GLGJGY.js +6 -0
  50. package/dist/tzdb-2025c-08-DA7QQIGD.js +6 -0
  51. package/dist/tzdb-2025c-09-MTXIO3QL.js +6 -0
  52. package/dist/tzdb-2025c-10-ASL4UW5C.js +6 -0
  53. package/dist/tzdb-2025c-11-EQEOANYB.js +6 -0
  54. package/dist/tzdb-2025c-12-NKCCXJ5G.js +6 -0
  55. package/dist/tzdb-2025c-13-DYTF3UC7.js +6 -0
  56. package/dist/tzdb-2025c-14-C25H45R5.js +6 -0
  57. package/dist/tzdb-2025c-15-7OYYZWRY.js +6 -0
  58. package/dist/vedic.d.ts +393 -0
  59. package/dist/vedic.js +930 -0
  60. package/dist/window.d.ts +178 -0
  61. package/dist/window.js +961 -0
  62. package/package.json +31 -3
  63. package/dist/chunk-GFT24GFR.js +0 -25
  64. package/dist/internal-math-BE2hcSHd.d.ts +0 -271
package/LICENSING.md CHANGED
@@ -2,7 +2,15 @@
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.
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*).
6
14
 
7
15
  SPDX licence expression: `MIT AND CC-BY-4.0`. The code is MIT (`LICENSE`). The
8
16
  package's ΔT module, exported as `@zodiacs/engine/deltat`, carries 32 values
@@ -25,9 +33,39 @@ modules:
25
33
  - `src/lib/engine/synastry.ts` — inter-chart aspect and balance summaries
26
34
  - `src/lib/engine/returns.ts` — longitude crossing and Saturn-return scans
27
35
  - `src/lib/engine/progressions.ts` — elapsed-time secondary-progression mapping
28
- - `src/lib/time/localToUtc.ts` — host-`Intl` timezone conversion
36
+ - `src/lib/time/localToUtc.ts` — timezone conversion, with its birthplace
37
+ local mean time, pinned tzdb history and Julian-calendar handling
29
38
  - `src/lib/geo/search.ts` — client for the separately hosted GeoNames index
30
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
+
31
69
  `src/exact.ts`, added in 0.1.1-rc.13, is this package's own implementation of
32
70
  exact sums of binary64 values for the configured-aspect and declination
33
71
  decisions. It follows published algorithms: the nonoverlapping expansions of
@@ -39,8 +77,14 @@ The computational dependency is `astronomy-engine@2.1.19`. Its installed npm
39
77
  metadata declares MIT, names Donald Cross as author, and links to
40
78
  `https://github.com/cosinekitty/astronomy`. Its distributed
41
79
  `esm/astronomy.js` begins with a preserved MIT notice and a 2019–2023 Don Cross
42
- copyright line. The package uses its geocentric vectors, coordinate rotations,
43
- Moon state, sidereal time, and date helpers.
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).
44
88
 
45
89
  Repository and dependency searches found no Swiss Ephemeris runtime import,
46
90
  package dependency, vendored source, or generated lookup table in this npm
@@ -50,12 +94,33 @@ package.
50
94
 
51
95
  The website test suite contains Placidus reference constants generated with
52
96
  `pyswisseph`. Those constants and their surrounding test block were
53
- deliberately **not copied**. Package accuracy tests contain only:
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:
54
100
 
55
- - public JPL Horizons longitude vectors;
56
- - geometric and astronomical invariants;
57
- - synthetic aspect fixtures; and
58
- - behavior computed directly by this package.
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.
59
124
 
60
125
  The Placidus implementation is the site's own formula-based TypeScript, not a
61
126
  port or translation of Swiss Ephemeris code. This licensing decision must be
@@ -70,27 +135,295 @@ constants of its equations (4.1) and (5.1). The article and its electronic
70
135
  supplement are CC BY 4.0, which permits redistribution with attribution;
71
136
  `NOTICE` carries it. The 2020 addendum's revised table has no established
72
137
  licence and is not shipped. From 1941 the table holds values derived from
73
- USNO files (US Government works) and IERS Earth-orientation data, which IERS
74
- distributes free of charge and asks users to cite. The derivation, every
75
- source's digest and licence, and the measurements are in the Zodiacs site
76
- repository, `docs/platform/evidence/deltat-2026-09-25/`. No Swiss Ephemeris
138
+ USNO files (US Government works) and IERS Earth-orientation data (EOP 20 C04
139
+ and Bulletin A). For those IERS files this record states only what their
140
+ providers' pages say (see *IERS data* below). The derivation, every source's
141
+ digest, and the measurements are in the Zodiacs site repository,
142
+ `docs/platform/evidence/deltat-2026-09-25/`. No Swiss Ephemeris
77
143
  output was used to build the table; Swiss is used there only as a comparison
78
144
  instrument, and only statistics are committed.
79
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
+
80
182
  ## GeoNames and timezone data
81
183
 
82
- The `./geo` entry point is code-only and bundles no place records. Compatible
83
- indexes may be derived from GeoNames `cities15000`, `admin1CodesASCII`, and
84
- `countryInfo`, which are CC BY 4.0. Downstream users who host or redistribute
85
- that data are instructed to retain `NOTICE`.
184
+ The `./geo` entry point bundles no place records. Compatible indexes may be
185
+ derived from GeoNames `cities15000`, `admin1CodesASCII`, and `countryInfo`,
186
+ which are CC BY 4.0. Downstream users who host or redistribute that data are
187
+ instructed to retain `NOTICE`. The country names in the Gregorian adoption
188
+ table come from tzdata, not from GeoNames (next section but one).
189
+
190
+ Its zone histories before 1970 (`dist/tzdb-2025c-*.js`) are compiled by
191
+ `scripts/build-tz-shards.mjs` from tzdata 2025c with backzone, which the tz
192
+ project places in the public domain; the script checks the archive's SHA-256.
193
+ From 1970 conversion uses the host's `Intl`/ICU data.
194
+
195
+ ## Leap-second and UT1 data
196
+
197
+ `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`
199
+ builds it from inputs committed in `scripts/time-scale-sources/` and checks
200
+ each one's SHA-256:
201
+
202
+ - **TAI − UTC**: the 28 changes of the IERS leap-second list, with its update
203
+ and expiry dates, from `leap-seconds.list` as the IERS Earth Orientation
204
+ Centre at Paris Observatory serves it at
205
+ https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list (retrieved
206
+ 2026-09-29, Last-Modified 2026-07-06T07:54:11Z, SHA-256
207
+ `db5a895f16853b03bfc865e8d68f9fc8710ef1740e3400c701cd46a5bbbc3433`;
208
+ updated 2026-07-06 through IERS Bulletin C 72, expires 2027-06-28). Under
209
+ the heading "COPYRIGHT STATUS OF THIS FILE", its header states: "This file
210
+ is in the public domain." The repository carries the file unchanged
211
+ (`scripts/time-scale-sources/leap-seconds.list`). It replaces the copy in
212
+ tzdata 2025c (updated 2025-07-07, expired 2026-06-28), which rc.15 as first
213
+ cut shipped and which is also in the public domain; that copy stays in the
214
+ repository, not packed, as a source of the conformance suite
215
+ (`conformance/sources/l3/leap-seconds.list`), which a unit test also reads
216
+ to check that the IERS list holds the same leap seconds.
217
+ - **UT1 − UTC in 1972**: UT1 − TAI on 1972-01-01 and every third day from
218
+ 1972-01-02, in whole milliseconds, and the largest formal error of those days,
219
+ derived from the IERS EOP 20 C04 series, `eopc04.1962-now`, which the IERS
220
+ Earth Orientation Centre at Paris Observatory produces and serves at
221
+ https://hpiers.obspm.fr/iers/eop/eopc04/eopc04.1962-now (retrieved
222
+ 2026-09-29, Last-Modified 2026-09-28T13:21:06Z, SHA-256
223
+ `e16cfbba34574b8bad3cf81e2e56a84c2b4bbfd3c822cf9ebdd860bf97d711dc`). The
224
+ repository carries the file's six header lines and its 367 rows from
225
+ 1972-01-01 to 1973-01-01 unchanged
226
+ (`scripts/time-scale-sources/eopc04-1972.txt`); the package carries only the
227
+ values derived from them. No statement of terms was found for it (see *IERS
228
+ data* below).
229
+ - **UT1 − UTC from 1973-01-02**: sampled in the same way from IERS
230
+ `finals2000A.all` of 2026-09-24 (Bulletin A; see *IERS data* below). The
231
+ repository carries the date, flag, UT1 − UTC and formal error of the 19,997
232
+ rows that give UT1 − UTC
233
+ (`scripts/time-scale-sources/finals2000A-20260924-ut1.csv.gz`); the package
234
+ carries only the values derived from them.
235
+
236
+ `NOTICE` names the three sources.
237
+
238
+ ## IERS data
239
+
240
+ Three IERS products reach the package: `finals2000A.all` and EOP 20 C04 in
241
+ the UT1 table and, from 1941, in the ΔT table (see *ΔT data* above), and the
242
+ leap-second list in the time basis. For each, this record states what its
243
+ providers' pages and files say, and asserts no licence that they do not
244
+ state.
245
+
246
+ - **Bulletin A, `finals2000A.all`.** `finals2000A.all` and Bulletin A are
247
+ products of the IERS Rapid Service/Prediction Centre. Bulletin A itself
248
+ names its primary source as "the official IERS RS/PC website:
249
+ https://maia.usno.navy.mil", the US Naval Observatory's, which is where the
250
+ Zodiacs site's ΔT evidence records `finals2000A.all` of 2026-09-24 as
251
+ downloaded (with a byte-identical copy at datacenter.iers.org). The
252
+ Observatory's pages for these products, Bulletin A's included
253
+ (https://maia.usno.navy.mil/products/bulletin-a, read 2026-09-29), end:
254
+ "Distribution Statement A. Approved for public release: distribution
255
+ unlimited." An earlier version of this file said that IERS distributes
256
+ these data free of charge and asks users to cite them. No IERS statement to
257
+ that effect was found on the IERS pages read on 2026-09-29 (its Terms of
258
+ Reference, its data and publication pages, and the pages of its EOP Centre
259
+ at Paris Observatory), so this file no longer says so.
260
+ - **EOP 20 C04, `eopc04.1962-now`.** A product of the IERS Earth Orientation
261
+ Centre at Paris Observatory. The file's header names the Centre, the series
262
+ ("EOP (IERS) 20 C04 TIME SERIES consistent with ITRF 2020 - sampled at 0h
263
+ UTC"), a description and a contact, and states no terms. The description,
264
+ https://hpiers.obspm.fr/eoppc/eop/eopc04/readme (Last-Modified 2026-02-04,
265
+ read 2026-09-29), states none. Neither does the IERS Data Center's record of
266
+ the series
267
+ (https://datacenter.iers.org/versionMetadata.php?filename=latestVersionMeta/254_EOP_C04_20u24.62-NOW254.txt,
268
+ read 2026-09-29), which names the IERS Earth Orientation Centre as its
269
+ creator and publisher, nor the Centre's page for it
270
+ (https://hpiers.obspm.fr/eop-pc/index.php?index=C04&lang=en, read
271
+ 2026-09-29). The IERS web site's Legal & Privacy page
272
+ (https://www.iers.org/iers/en/service/imprint, read 2026-09-29) names the
273
+ site's operator, the German Federal Agency for Cartography and Geodesy
274
+ (BKG), and limits the agency's liability for the site and its content; it
275
+ states no terms for IERS data. No statement of terms or licence was found
276
+ for EOP 20 C04. The Centre's page for the series gives, as its technical
277
+ note, Bizouard, Lambert, Gattano, Becker and Richard, "The IERS EOP 14C04
278
+ solution for Earth orientation parameters consistent with ITRF 2014",
279
+ J. Geod. 93, 621–633 (2019), doi:10.1007/s00190-018-1186-3, whose author
280
+ list and title were checked against that DOI's record (read 2026-09-29);
281
+ `NOTICE` cites it.
282
+ - **The leap-second list, `leap-seconds.list`.** In the public domain, as
283
+ its own header states (quoted above).
284
+
285
+ `NOTICE` names the IERS centre that provides each.
286
+
287
+ ## Gregorian adoption dates
288
+
289
+ `@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:
292
+
293
+ - the `calendars` file of tzdata 2025c (the archive whose SHA-256 the zone
294
+ histories pin), which says of itself "This file is in the public domain",
295
+ and whose list quotes H. Grotefend, *Taschenbuch der Zeitrechnung des
296
+ deutschen Mittelalters und der Neuzeit*, edited by O. Grotefend (Hannover:
297
+ Hahnsche Buchhandlung, 1941), pp. 26–28;
298
+ - Hermann Grotefend's own tables, in the public domain because they were
299
+ published in 1891 and 1898 and their author died in 1931: *Zeitrechnung des
300
+ deutschen Mittelalters und der Neuzeit*, vol. 1 (Hannover: Hahn, 1891),
301
+ pp. 133–134, and *Taschenbuch der Zeitrechnung* (Hannover and Leipzig: Hahn,
302
+ 1898), pp. 23–24, read in the Internet Archive's scans;
303
+ - for the country names, tzdata 2025c's `iso3166.tab`, which is in the public
304
+ domain.
305
+
306
+ Each row names the sources that give its date, `GREGORIAN_ADOPTION_SOURCES`
307
+ cites them, and `src/fixtures/gregorian-adoption.json` quotes them for every
308
+ row, beside copies of the two tzdata files. `NOTICE` names them. The table as
309
+ 0.1.1-rc.15 was first cut, never published, cited English Wikipedia's list of
310
+ adoption dates (CC BY-SA 4.0) and two other Wikipedia articles among its
311
+ sources and took its names from a GeoNames index; none of those rows or names
312
+ remains.
313
+
314
+ ## Timing and Vedic values
315
+
316
+ `@zodiacs/engine/timing` and `@zodiacs/engine/vedic` carry the period
317
+ 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
320
+ objects: position, proper motion, parallax and radial velocity from the
321
+ Hipparcos new reduction (F. van Leeuwen 2007, VizieR I/311), SIMBAD,
322
+ Gontcharov 2006 (VizieR III/252) and Famaey et al. 2005 (VizieR
323
+ J/A+A/430/165), and for Sgr A* a SIMBAD position with Reid and Brunthaler's
324
+ (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
327
+ the three stars, and position and proper motion for Sgr A*. `NOTICE` carries
328
+ their attribution.
329
+
330
+ The terms for the 20 values that the Strasbourg astronomical Data Center
331
+ (CDS) supplies, through VizieR and SIMBAD, are the CDS's. Its General Terms and
332
+ Conditions (https://cds.unistra.fr/legals/, updated 7 January 2026, read
333
+ 2026-09-29) say that datasets holding only public information are distributed
334
+ under an open licence (the French Licence Ouverte, ODbL or CC BY), or under a
335
+ contributor's own licence shown on the dataset's page, and that "The Data Sets
336
+ must be cited in any work or product that uses them", with the DOI where there
337
+ is one and the CDS service that supplied them. Its rules for VizieR data
338
+ (https://cds.unistra.fr/vizier-org/licences_vizier.html, read 2026-09-29) say
339
+ that the data "are free of usage in a scientific context" with the original
340
+ authors and publication cited, and that "The commercial usage of the data is
341
+ subject to rules depending of the origin". None of the three catalogues'
342
+ ReadMe files, nor VizieR's record of them, states a licence of its own
343
+ (read 2026-09-29). Sgr A*'s two proper-motion values come from Reid and
344
+ Brunthaler's article (ApJ 616, 872, 2004, table 2), not from CDS, and no terms
345
+ for them were read. The attribution in `NOTICE` meets the CDS citation terms;
346
+ whether a commercial use needs more than attribution is not settled by these
347
+ sources.
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.
86
418
 
87
- Timezone conversion uses the host's `Intl`/ICU implementation. The package
88
- does not redistribute tzdb, so historical timezone completeness is a runtime
89
- property rather than a package-data guarantee.
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.
90
423
 
91
424
  ## The conformance suite
92
425
 
93
- Everything under `conformance/` is dedicated to the public domain under CC0 1.0 (`conformance/LICENSE`). It is not part of the npm package: the package's `files` list leaves it out.
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.
94
427
 
95
428
  Swiss Ephemeris is used there only as an instrument:
96
429
 
package/NOTICE CHANGED
@@ -9,6 +9,99 @@ 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:
16
+
17
+ Copyright (c) 2019-2023 Don Cross <cosinekitty@gmail.com>
18
+ MIT License: the permission and warranty notice is the one in this
19
+ package's LICENSE file, word for word.
20
+
21
+ IAU 2000B nutation
22
+ ------------------
23
+
24
+ The package's nutation module (src/nutation.ts, built into the same chunk)
25
+ carries the 77 luni-solar terms, fundamental arguments and fixed planetary
26
+ offsets of the IAU 2000B nutation model,
27
+
28
+ D. D. McCarthy and B. J. Luzum 2003, An abridged model of the
29
+ precession-nutation of the celestial pole. Celestial Mechanics and Dynamical
30
+ Astronomy 85, 37-49; IERS Conventions (2003), chapter 5,
31
+
32
+ transcribed from the function iau2000b of the Naval Observatory Vector
33
+ Astrometry Software (NOVAS) C 3.1, nutation.c, as the package novas 3.1.1.5
34
+ distributes it (sha256
35
+ 49d193c9e0d6dfb14650ed0b2603e3954ef02ab51f83d66869a769e892e471bb), a work of
36
+ the US Government, which its authors ask to be cited as:
37
+
38
+ Barron, E. G., Kaplan, G. H., Bangert, J., Bartlett, J. L., Puatua, W.,
39
+ Harris, W., & Barrett, P. (2011), "Naval Observatory Vector Astrometry
40
+ Software (NOVAS) Version 3.1, Introducing a Python Edition," Bull. AAS, 43.
41
+
42
+ Its equation of the equinoxes adds two complementary terms from the IERS
43
+ Conventions (2010), table 5.2e (IERS, https://www.iers.org/).
44
+
45
+ Calculation entry
46
+ -----------------
47
+
48
+ The calc entry (dist/calc.js and the chunks it imports) carries the frame
49
+ bias of the IAU 2000 precession-nutation model, dpsi = -0.041775",
50
+ deps = -0.0068192" and dalpha0 = -0.0146", composed as
51
+
52
+ G. Petit and B. Luzum (eds.) 2010, IERS Conventions (2010), IERS Technical
53
+ Note No. 36, chapter 5, eq. 5.21,
54
+
55
+ composes it, and the obliquity of J2000.0 of the IAU 2006 precession,
56
+ 84381.406", from
57
+
58
+ N. Capitaine, P. T. Wallace and J. Chapront 2003, Expressions for IAU 2000
59
+ precession quantities. Astronomy & Astrophysics 412, 567-586 (adopted by
60
+ IAU 2006 Resolution B1).
61
+
62
+ Its bounds and its barycentre's error are measurements: the largest
63
+ 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.
67
+
68
+ Essential dignities
69
+ -------------------
70
+
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:
73
+
74
+ Ptolemy, Tetrabiblos I.17-I.20, tr. F. E. Robbins (Loeb Classical Library,
75
+ 1940): domiciles, exaltations, the Egyptian terms.
76
+ Dorotheus of Sidon, Carmen Astrologicum I.1-I.2, ed. and tr. D. Pingree
77
+ (Leipzig: Teubner, 1976), pp. 161-162: domiciles, exaltations, triplicity
78
+ lords.
79
+ al-Biruni, The Book of Instruction in the Elements of the Art of Astrology
80
+ (1029), tr. R. Ramsay Wright (London: Luzac, 1934), sections 440-453:
81
+ detriments, triplicities, terms, the Chaldean faces.
82
+ W. Lilly, Christian Astrology (London, 1647), p. 112: reception and the
83
+ peregrine planet.
84
+
85
+ Rise, set and transit
86
+ ---------------------
87
+
88
+ The sky entry (dist/sky.js) carries 34' of refraction at the horizon, from
89
+ the US Naval Observatory's Rise, Set, and Twilight Definitions
90
+ (https://aa.usno.navy.mil/faq/RST_defs, a work of the US Government); the
91
+ Moon's mean radius, 1,737.4 km, from
92
+
93
+ B. A. Archinal et al. 2018, Report of the IAU Working Group on
94
+ Cartographic Coordinates and Rotational Elements: 2015. Celestial
95
+ Mechanics and Dynamical Astronomy 130:22;
96
+
97
+ the Sun's radius, 696,000 km, which subtends 959.64" at 1 au, where J.
98
+ Meeus, Astronomical Algorithms, 2nd ed. (Willmann-Bell, 1998), ch. 55, gives
99
+ 959.63"; the astronomical unit, 149,597,870.7 km (IAU 2012 Resolution B2);
100
+ and the WGS84 ellipsoid, a = 6,378,137 m and 1/f = 298.257223563, from
101
+
102
+ NIMA TR8350.2 2000, Department of Defense World Geodetic System 1984: Its
103
+ Definition and Relationships with Local Geodetic Systems, 3rd ed.
104
+
12
105
  ΔT (TT − UT1)
13
106
  ------------
14
107
 
@@ -30,8 +123,8 @@ dist/deltat.js itself.
30
123
  Its values from 1941 come from the United States Naval Observatory
31
124
  (historic_deltat.data and tai-utc.dat, US Government works) and from the
32
125
  International Earth Rotation and Reference Systems Service (IERS EOP 20 C04
33
- and Bulletin A, finals2000A.all), which asks that its products be cited:
34
- IERS, https://www.iers.org/. They enter the table as 91 values in 0.01 s.
126
+ and Bulletin A, finals2000A.all; IERS, https://www.iers.org/). They enter the
127
+ table as 91 values in 0.01 s.
35
128
 
36
129
  GeoNames
37
130
  --------
@@ -46,13 +139,77 @@ licensed under Creative Commons Attribution 4.0 International (CC BY 4.0):
46
139
  The Zodiacs.org index rounds latitude and longitude to two decimal places,
47
140
  interns timezone, administrative-area, and country strings, sorts cities by
48
141
  population, and shards records by the first folded ASCII letter. No GeoNames
49
- records are bundled in this npm package. If you host, copy, or redistribute a
142
+ records are bundled in this npm package: the country names in its Gregorian
143
+ adoption table come from tzdata (below). If you host, copy, or redistribute a
50
144
  compatible GeoNames-derived index, retain this notice and attribution.
51
145
 
52
- Timezone data
53
- -------------
146
+ Time zone, leap-second and UT1 data
147
+ -----------------------------------
148
+
149
+ @zodiacs/engine/geo ships zone histories before 1970 compiled from the IANA
150
+ Time Zone Database 2025c with its backzone file (tzdata2025c.tar.gz, sha256
151
+ 4aa79e4effee53fc4029ffe5f6ebe97937282ebcdf386d5d2da91ce84142f957), which is in
152
+ the public domain: https://www.iana.org/time-zones. From 1970 local time
153
+ comes from the host runtime's Intl/ICU data.
154
+
155
+ The core carries TAI - UTC from the IERS leap-second list, leap-seconds.list,
156
+ updated 2026-07-06 through IERS Bulletin C 72 and expiring 2027-06-28 (sha256
157
+ db5a895f16853b03bfc865e8d68f9fc8710ef1740e3400c701cd46a5bbbc3433), from the
158
+ IERS Earth Orientation Centre at Paris Observatory,
159
+ https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list, whose header
160
+ states: "This file is in the public domain."
161
+
162
+ It carries UT1 - UTC for 1972 derived from the IERS EOP 20 C04 series,
163
+ eopc04.1962-now of 2026-09-28 (sha256
164
+ e16cfbba34574b8bad3cf81e2e56a84c2b4bbfd3c822cf9ebdd860bf97d711dc), from the
165
+ IERS Earth Orientation Centre at Paris Observatory,
166
+ https://hpiers.obspm.fr/iers/eop/eopc04/ (IERS, https://www.iers.org/), and
167
+ UT1 - UTC from 1973-01-02 from IERS finals2000A.all (Bulletin A) of
168
+ 2026-09-24, from the IERS Rapid Service/Prediction Centre at the US Naval
169
+ Observatory, https://maia.usno.navy.mil/ (IERS, https://www.iers.org/).
170
+
171
+ The Earth Orientation Centre gives this technical note for the C04 series:
172
+
173
+ Bizouard, C., Lambert, S., Gattano, C., Becker, O. & Richard, J.-Y. 2019,
174
+ The IERS EOP 14C04 solution for Earth orientation parameters consistent
175
+ with ITRF 2014. J. Geod. 93, 621-633. doi:10.1007/s00190-018-1186-3
176
+
177
+ Gregorian adoption dates
178
+ ------------------------
179
+
180
+ @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:
183
+
184
+ IANA Time Zone Database 2025c, file calendars, which quotes H. Grotefend,
185
+ Taschenbuch der Zeitrechnung des deutschen Mittelalters und der Neuzeit,
186
+ ed. O. Grotefend (Hannover: Hahnsche Buchhandlung, 1941), pp. 26-28.
187
+ H. Grotefend, Zeitrechnung des deutschen Mittelalters und der Neuzeit,
188
+ vol. 1 (Hannover: Hahn, 1891), pp. 133-134.
189
+ H. Grotefend, Taschenbuch der Zeitrechnung des deutschen Mittelalters und
190
+ der Neuzeit (Hannover and Leipzig: Hahn, 1898), pp. 23-24.
191
+
192
+ Its country names come from the IANA Time Zone Database 2025c, file
193
+ iso3166.tab, which is in the public domain.
194
+
195
+ Star positions and motions
196
+ --------------------------
197
+
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
200
+ the VizieR catalogue access tool (DOI 10.26093/cds/vizier) and the SIMBAD
201
+ database (M. Wenger et al. 2000, A&AS 143, 9) of the CDS, Strasbourg
202
+ Astronomical Observatory, France:
203
+
204
+ F. van Leeuwen 2007, A&A 474, 653 (VizieR I/311, Hipparcos, the New
205
+ Reduction): the positions, proper motions and parallaxes of Spica,
206
+ zeta Psc A and delta Cnc.
207
+ G. A. Gontcharov 2006, Astronomy Letters 32, 759 (VizieR III/252, Pulkovo
208
+ radial velocities): the radial velocity of zeta Psc A.
209
+ B. Famaey et al. 2005, A&A 430, 165 (VizieR J/A+A/430/165,
210
+ DOI 10.26093/cds/vizier.34300165): the radial velocity of delta Cnc.
211
+ SIMBAD: the radial velocity of Spica, and the ICRS position of Sgr A*
212
+ (L. Petrov et al. 2011).
54
213
 
55
- @zodiacs/engine/geo does not redistribute the IANA Time Zone Database. Local
56
- time conversion uses the host JavaScript runtime's Intl/ICU data. Historical
57
- coverage, including pre-standardization local mean time, therefore depends on
58
- the browser or Node.js build used by the consumer.
214
+ The other two, the proper motion of Sgr A*, come from M. J. Reid and
215
+ A. Brunthaler 2004, ApJ 616, 872, table 2. LICENSING.md gives the terms.