@interstellar-tools/equations 0.64.2 → 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 (57) hide show
  1. package/dist/categories/helpers/misc.d.ts +18 -0
  2. package/dist/categories/helpers/misc.d.ts.map +1 -1
  3. package/dist/categories/helpers/misc.js +24 -0
  4. package/dist/categories/helpers/misc.js.map +1 -1
  5. package/dist/categories/manoeuvres/burn-time.d.ts +63 -0
  6. package/dist/categories/manoeuvres/burn-time.d.ts.map +1 -0
  7. package/dist/categories/manoeuvres/burn-time.js +87 -0
  8. package/dist/categories/manoeuvres/burn-time.js.map +1 -0
  9. package/dist/categories/manoeuvres/gravity-loss.d.ts +48 -0
  10. package/dist/categories/manoeuvres/gravity-loss.d.ts.map +1 -0
  11. package/dist/categories/manoeuvres/gravity-loss.js +74 -0
  12. package/dist/categories/manoeuvres/gravity-loss.js.map +1 -0
  13. package/dist/categories/manoeuvres/initial-mass-for-delta-v.d.ts +60 -0
  14. package/dist/categories/manoeuvres/initial-mass-for-delta-v.d.ts.map +1 -0
  15. package/dist/categories/manoeuvres/initial-mass-for-delta-v.js +79 -0
  16. package/dist/categories/manoeuvres/initial-mass-for-delta-v.js.map +1 -0
  17. package/dist/categories/manoeuvres/mass-flow-rate.d.ts +57 -0
  18. package/dist/categories/manoeuvres/mass-flow-rate.d.ts.map +1 -0
  19. package/dist/categories/manoeuvres/mass-flow-rate.js +73 -0
  20. package/dist/categories/manoeuvres/mass-flow-rate.js.map +1 -0
  21. package/dist/categories/manoeuvres/rocket-thrust.d.ts +48 -0
  22. package/dist/categories/manoeuvres/rocket-thrust.d.ts.map +1 -0
  23. package/dist/categories/manoeuvres/rocket-thrust.js +62 -0
  24. package/dist/categories/manoeuvres/rocket-thrust.js.map +1 -0
  25. package/dist/categories/manoeuvres/thrust-to-weight.d.ts +57 -0
  26. package/dist/categories/manoeuvres/thrust-to-weight.d.ts.map +1 -0
  27. package/dist/categories/manoeuvres/thrust-to-weight.js +73 -0
  28. package/dist/categories/manoeuvres/thrust-to-weight.js.map +1 -0
  29. package/dist/categories/orbits/elements-to-state.d.ts +61 -0
  30. package/dist/categories/orbits/elements-to-state.d.ts.map +1 -0
  31. package/dist/categories/orbits/elements-to-state.js +107 -0
  32. package/dist/categories/orbits/elements-to-state.js.map +1 -0
  33. package/dist/categories/orbits/inclination-from-launch-azimuth.d.ts +64 -0
  34. package/dist/categories/orbits/inclination-from-launch-azimuth.d.ts.map +1 -0
  35. package/dist/categories/orbits/inclination-from-launch-azimuth.js +76 -0
  36. package/dist/categories/orbits/inclination-from-launch-azimuth.js.map +1 -0
  37. package/dist/categories/orbits/launch-azimuth-for-inclination.d.ts +71 -0
  38. package/dist/categories/orbits/launch-azimuth-for-inclination.d.ts.map +1 -0
  39. package/dist/categories/orbits/launch-azimuth-for-inclination.js +87 -0
  40. package/dist/categories/orbits/launch-azimuth-for-inclination.js.map +1 -0
  41. package/dist/categories/orbits/rotating-launch-azimuth.d.ts +49 -0
  42. package/dist/categories/orbits/rotating-launch-azimuth.d.ts.map +1 -0
  43. package/dist/categories/orbits/rotating-launch-azimuth.js +65 -0
  44. package/dist/categories/orbits/rotating-launch-azimuth.js.map +1 -0
  45. package/dist/categories/orbits/state-to-elements.d.ts +82 -0
  46. package/dist/categories/orbits/state-to-elements.d.ts.map +1 -0
  47. package/dist/categories/orbits/state-to-elements.js +131 -0
  48. package/dist/categories/orbits/state-to-elements.js.map +1 -0
  49. package/dist/categories/orbits/surface-rotation-speed.d.ts +61 -0
  50. package/dist/categories/orbits/surface-rotation-speed.d.ts.map +1 -0
  51. package/dist/categories/orbits/surface-rotation-speed.js +74 -0
  52. package/dist/categories/orbits/surface-rotation-speed.js.map +1 -0
  53. package/dist/index.d.ts +12 -0
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +12 -0
  56. package/dist/index.js.map +1 -1
  57. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -44,25 +44,37 @@ export * from './categories/orbits/atmospheric-drag-acceleration.js';
44
44
  export * from './categories/orbits/characteristic-energy-c3.js';
45
45
  export * from './categories/orbits/circular-speed.js';
46
46
  export * from './categories/orbits/cw-hill-derivatives.js';
47
+ export * from './categories/orbits/elements-to-state.js';
47
48
  export * from './categories/orbits/escape-speed.js';
48
49
  export * from './categories/orbits/flight-path-angle-from-true-anomaly.js';
49
50
  export * from './categories/orbits/hyperbolic-periapsis-speed.js';
51
+ export * from './categories/orbits/inclination-from-launch-azimuth.js';
50
52
  export * from './categories/orbits/j2-argument-of-perigee-rate.js';
51
53
  export * from './categories/orbits/j2-nodal-precession-rate.js';
52
54
  export * from './categories/orbits/kepler-period.js';
55
+ export * from './categories/orbits/launch-azimuth-for-inclination.js';
53
56
  export * from './categories/orbits/mean-motion.js';
54
57
  export * from './categories/orbits/peri-apoapsis-radii.js';
58
+ export * from './categories/orbits/rotating-launch-azimuth.js';
55
59
  export * from './categories/orbits/specific-angular-momentum-from-elements.js';
56
60
  export * from './categories/orbits/specific-angular-momentum.js';
57
61
  export * from './categories/orbits/specific-mechanical-energy.js';
58
62
  export * from './categories/orbits/sphere-of-influence-radius.js';
63
+ export * from './categories/orbits/state-to-elements.js';
64
+ export * from './categories/orbits/surface-rotation-speed.js';
59
65
  export * from './categories/orbits/vis-viva-speed.js';
60
66
  // categories/manoeuvres
67
+ export * from './categories/manoeuvres/burn-time.js';
61
68
  export * from './categories/manoeuvres/combine-burns-delta-v.js';
62
69
  export * from './categories/manoeuvres/gravity-assist-turning-angle.js';
70
+ export * from './categories/manoeuvres/gravity-loss.js';
63
71
  export * from './categories/manoeuvres/hohmann-transfer.js';
72
+ export * from './categories/manoeuvres/initial-mass-for-delta-v.js';
73
+ export * from './categories/manoeuvres/mass-flow-rate.js';
64
74
  export * from './categories/manoeuvres/oberth-energy-gain.js';
65
75
  export * from './categories/manoeuvres/plane-change-delta-v.js';
66
76
  export * from './categories/manoeuvres/rocket-delta-v-from-isp.js';
67
77
  export * from './categories/manoeuvres/rocket-delta-v-from-ve.js';
78
+ export * from './categories/manoeuvres/rocket-thrust.js';
79
+ export * from './categories/manoeuvres/thrust-to-weight.js';
68
80
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,mBAAmB;AACnB,cAAc,qCAAqC,CAAC;AAEpD,cAAc,kCAAkC,CAAC;AAEjD,yBAAyB;AAEzB,cAAc,8DAA8D,CAAC;AAE7E,cAAc,kEAAkE,CAAC;AAEjF,cAAc,wDAAwD,CAAC;AAEvE,cAAc,8DAA8D,CAAC;AAE7E,cAAc,qDAAqD,CAAC;AAEpE,cAAc,4DAA4D,CAAC;AAE3E,qBAAqB;AAErB,cAAc,wCAAwC,CAAC;AAEvD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,+BAA+B,CAAC;AAE9C,cAAc,kCAAkC,CAAC;AAEjD,cAAc,8BAA8B,CAAC;AAE7C,cAAc,iDAAiD,CAAC;AAEhE,cAAc,iCAAiC,CAAC;AAEhD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,qCAAqC,CAAC;AAEpD,uBAAuB;AAEvB,cAAc,gDAAgD,CAAC;AAE/D,cAAc,sCAAsC,CAAC;AAErD,cAAc,qDAAqD,CAAC;AAEpE,cAAc,gDAAgD,CAAC;AAE/D,8BAA8B;AAE9B,cAAc,+CAA+C,CAAC;AAE9D,cAAc,uDAAuD,CAAC;AAEtE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,qCAAqC,CAAC;AAEpD,qBAAqB;AAErB,cAAc,8CAA8C,CAAC;AAE7D,cAAc,uCAAuC,CAAC;AAEtD,cAAc,6CAA6C,CAAC;AAE5D,cAAc,iDAAiD,CAAC;AAEhE,oBAAoB;AAEpB,cAAc,sDAAsD,CAAC;AAErE,cAAc,iDAAiD,CAAC;AAEhE,cAA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Ac,+CAA+C,CAAC;AAE9D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,mDAAmD,CAAC;AAElE,cAAc,0CAA0C,CAAC;AAEzD,cAAc,6CAA6C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interstellar-tools/equations",
3
- "version": "0.64.2",
3
+ "version": "1.1.0",
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.64.0",
114
- "@interstellar-tools/temporal": "^0.61.0",
115
- "@interstellar-tools/types": "^0.64.0"
113
+ "@interstellar-tools/constants": "^1.0.0",
114
+ "@interstellar-tools/temporal": "^1.0.0",
115
+ "@interstellar-tools/types": "^1.0.0"
116
116
  },
117
117
  "devDependencies": {
118
118
  "@types/node": "^24.19.2",