@interstellar-tools/equations 0.64.0 → 0.64.1
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/dist/categories/angle/compute-angle.d.ts +3 -2
- package/dist/categories/angle/compute-angle.d.ts.map +1 -1
- package/dist/categories/angle/compute-angle.js +3 -2
- package/dist/categories/angle/compute-angle.js.map +1 -1
- package/dist/categories/anomalies/advance-mean-anomaly.d.ts +3 -2
- package/dist/categories/anomalies/advance-mean-anomaly.d.ts.map +1 -1
- package/dist/categories/anomalies/advance-mean-anomaly.js +3 -2
- package/dist/categories/anomalies/advance-mean-anomaly.js.map +1 -1
- package/package.json +3 -3
|
@@ -15,8 +15,9 @@ import type { OrbitInterface, Radians, TimeStepInterface } from '@interstellar-t
|
|
|
15
15
|
* where:
|
|
16
16
|
* - $M_0$ is the mean anomaly at the start, converted from the true anomaly
|
|
17
17
|
* `angle` (equal to it when $e = 0$).
|
|
18
|
-
* - $n$ is the mean motion, from the period $P$ converted to days.
|
|
19
|
-
*
|
|
18
|
+
* - $n$ is the mean motion, from the period $P$ converted to days. $P$ is a
|
|
19
|
+
* positive duration; a negative one, from data in the old 0.x convention, is
|
|
20
|
+
* read as its absolute value. A positive step always moves the body forward.
|
|
20
21
|
* - $\Delta t$ is `timeStep.value` in days. It can be any length, and negative
|
|
21
22
|
* to go back in time.
|
|
22
23
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-angle.d.ts","sourceRoot":"","sources":["../../../src/categories/angle/compute-angle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,OAAO,EACP,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AAMnC
|
|
1
|
+
{"version":3,"file":"compute-angle.d.ts","sourceRoot":"","sources":["../../../src/categories/angle/compute-angle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,OAAO,EACP,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AAMnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,IAAI,CAAC,cAAc,EAAE,GAAG,GAAG,OAAO,GAAG,QAAQ,CAAC,EACrD,UAAU,iBAAiB,KAC1B,OASF,CAAC"}
|
|
@@ -17,8 +17,9 @@ import { solveKepler } from '../kepler/solve-kepler.js';
|
|
|
17
17
|
* where:
|
|
18
18
|
* - $M_0$ is the mean anomaly at the start, converted from the true anomaly
|
|
19
19
|
* `angle` (equal to it when $e = 0$).
|
|
20
|
-
* - $n$ is the mean motion, from the period $P$ converted to days.
|
|
21
|
-
*
|
|
20
|
+
* - $n$ is the mean motion, from the period $P$ converted to days. $P$ is a
|
|
21
|
+
* positive duration; a negative one, from data in the old 0.x convention, is
|
|
22
|
+
* read as its absolute value. A positive step always moves the body forward.
|
|
22
23
|
* - $\Delta t$ is `timeStep.value` in days. It can be any length, and negative
|
|
23
24
|
* to go back in time.
|
|
24
25
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-angle.js","sourceRoot":"","sources":["../../../src/categories/angle/compute-angle.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD
|
|
1
|
+
{"version":3,"file":"compute-angle.js","sourceRoot":"","sources":["../../../src/categories/angle/compute-angle.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,KAAqD,EACrD,QAA2B,EAClB,EAAE;IACX,0CAA0C;IAC1C,MAAM,CAAC,GAAY,kBAAkB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACvD,oDAAoD;IACpD,MAAM,CAAC,GAAY,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3C,oDAAoD;IACpD,MAAM,CAAC,GAAY,sBAAsB,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -16,8 +16,9 @@ import type { OrbitInterface, Radians, TemporalInterface } from '@interstellar-t
|
|
|
16
16
|
*
|
|
17
17
|
* where:
|
|
18
18
|
* - $M_0$ is the **initial mean anomaly**, converted from the true anomaly `angle`.
|
|
19
|
-
* - $n$ is the **mean motion**, from the period $P$ in days.
|
|
20
|
-
*
|
|
19
|
+
* - $n$ is the **mean motion**, from the period $P$ in days. $P$ is a positive
|
|
20
|
+
* duration; a negative one, from data in the old 0.x convention, is read as
|
|
21
|
+
* its absolute value. A positive step always moves the body forward.
|
|
21
22
|
* - $\Delta T$ is the time step, converted to days from its unit.
|
|
22
23
|
*
|
|
23
24
|
* The step can be any length, from a fraction of a second to many orbits, and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advance-mean-anomaly.d.ts","sourceRoot":"","sources":["../../../src/categories/anomalies/advance-mean-anomaly.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,OAAO,EACP,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AAOnC
|
|
1
|
+
{"version":3,"file":"advance-mean-anomaly.d.ts","sourceRoot":"","sources":["../../../src/categories/anomalies/advance-mean-anomaly.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,OAAO,EACP,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AAOnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH,eAAO,MAAM,kBAAkB,GAC7B,OAAO,IAAI,CAAC,cAAc,EAAE,GAAG,GAAG,OAAO,GAAG,QAAQ,CAAC,EACrD,UAAU,iBAAiB,KAC1B,OAiBF,CAAC"}
|
|
@@ -20,8 +20,9 @@ import { trueToMeanAnomaly } from './true-to-mean-anomaly.js';
|
|
|
20
20
|
*
|
|
21
21
|
* where:
|
|
22
22
|
* - $M_0$ is the **initial mean anomaly**, converted from the true anomaly `angle`.
|
|
23
|
-
* - $n$ is the **mean motion**, from the period $P$ in days.
|
|
24
|
-
*
|
|
23
|
+
* - $n$ is the **mean motion**, from the period $P$ in days. $P$ is a positive
|
|
24
|
+
* duration; a negative one, from data in the old 0.x convention, is read as
|
|
25
|
+
* its absolute value. A positive step always moves the body forward.
|
|
25
26
|
* - $\Delta T$ is the time step, converted to days from its unit.
|
|
26
27
|
*
|
|
27
28
|
* The step can be any length, from a fraction of a second to many orbits, and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advance-mean-anomaly.js","sourceRoot":"","sources":["../../../src/categories/anomalies/advance-mean-anomaly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAOnE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,2BAA2B;AAC3B
|
|
1
|
+
{"version":3,"file":"advance-mean-anomaly.js","sourceRoot":"","sources":["../../../src/categories/anomalies/advance-mean-anomaly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAOnE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,2BAA2B;AAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,0BAA0B;AAC1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,KAAqD,EACrD,QAA2B,EAClB,EAAE;IACX,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEnC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,MAAM,IAAI,UAAU,CAClB,yBAAyB,CAAC,6CAA6C,CACxE,CAAC;IACJ,CAAC;IAED,+DAA+D;IAC/D,MAAM,YAAY,GAAG,mBAAmB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5D,MAAM,cAAc,GAAG,mBAAmB,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC;IAChE,MAAM,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACnD,gDAAgD;IAChD,MAAM,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAEzD,OAAO,OAAO,CAAC,EAAE,GAAG,UAAU,GAAG,cAAc,CAAY,CAAC;AAC9D,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interstellar-tools/equations",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.1",
|
|
4
4
|
"description": "Curated, well-tested orbital mechanics and dynamics formulas (e.g., Newtonian gravity, vis-viva, Kepler's 3rd law, escape/circular speeds, specific energy, specific angular momentum, peri/apoapsis radii).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"interstellar",
|
|
@@ -110,9 +110,9 @@
|
|
|
110
110
|
"test:ci": "glob-bin -c \"node --import tsx --test --no-warnings --experimental-test-coverage --test-coverage-exclude='**/__tests__/helpers/**' --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"**/__tests__/**/*.spec.ts\""
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@interstellar-tools/constants": "^0.
|
|
113
|
+
"@interstellar-tools/constants": "^0.63.0",
|
|
114
114
|
"@interstellar-tools/temporal": "^0.61.0",
|
|
115
|
-
"@interstellar-tools/types": "^0.
|
|
115
|
+
"@interstellar-tools/types": "^0.63.0"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
118
|
"@types/node": "^24.19.2",
|