@essrt/physics 23.3.2 → 23.3.3

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/README.md CHANGED
@@ -115,6 +115,8 @@ model.earth.eccentricity(2000 - 100000); // 0.04008 — the series (La2004: 0.
115
115
  createModel().earth.eccentricity(2000 - 100000); // 0.03374 — the mode table
116
116
  ```
117
117
 
118
+ `model.identity.earthElements` names which one a result came from
119
+ (`'secular-series'` or `'mode-table'`), so a stored value is never ambiguous.
118
120
  Without the artifact `createModel()` evaluates the embedded 18-term mode
119
121
  table at every epoch: exact at J2000, a compact approximation away from it
120
122
  (RMS 3.6·10⁻³ in e against La2010a over the last 500 kyr, where the series
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@essrt/physics",
3
- "version": "23.3.2",
3
+ "version": "23.3.3",
4
4
  "description": "ESSRT (Expanding Solar System Resonance Theory) physics core — pure, injectable-constants, no I/O, no globals, no DOM. The complete model incl. fitted coefficients; every published version immutably ships one recorded model identity.",
5
5
  "essrt": {
6
6
  "modelVersion": "v26.4",
package/src/index.js CHANGED
@@ -294,6 +294,11 @@ export const createModel = (constants = GENERATED, opts = {}) => {
294
294
  coefficientsHash: COEFF_HASH,
295
295
  counterfactual: hash !== CONSTANTS_HASH,
296
296
  preprintDoi: PREPRINT_DOI,
297
+ // Which evaluator serves Earth's orbit elements away from J2000: the banked
298
+ // N-body series (every published surface passes it) or the embedded 18-term
299
+ // mode table (the bare package — exact at J2000, e RMS 3.6e-3 vs La2010a
300
+ // over 500 kyr where the series reads 2.5e-5). A stored result names it.
301
+ earthElements: opts.secularSeriesArtifact ? 'secular-series' : 'mode-table',
297
302
  }),
298
303
 
299
304
  // The assembled surfaces (§7a step 1): epoch, earth, lengths, cardinal, moon.