ootk 4.0.0-13 → 4.0.0-15
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/CHANGELOG.md +17 -2
- package/dist/coordinate/Hill.d.ts +2 -2
- package/dist/coordinate/Hill.js +1 -1
- package/dist/coordinate/Hill.js.map +1 -1
- package/dist/coordinate/index.d.ts +1 -1
- package/dist/coordinate/index.js +1 -1
- package/dist/coordinate/index.js.map +1 -1
- package/dist/covariance/CovarianceSample.d.ts +3 -3
- package/dist/covariance/CovarianceSample.js +3 -3
- package/dist/covariance/CovarianceSample.js.map +1 -1
- package/dist/covariance/StateCovariance.js.map +1 -1
- package/dist/enums/index.d.ts +2 -2
- package/dist/enums/index.js +2 -2
- package/dist/enums/index.js.map +1 -1
- package/dist/force/AtmosphericDrag.d.ts +1 -1
- package/dist/force/AtmosphericDrag.js.map +1 -1
- package/dist/force/EarthGravity.d.ts +1 -1
- package/dist/force/EarthGravity.js.map +1 -1
- package/dist/force/ForceModel.d.ts +1 -1
- package/dist/force/ForceModel.js +5 -5
- package/dist/force/ForceModel.js.map +1 -1
- package/dist/force/Gravity.d.ts +1 -1
- package/dist/force/SolarRadiationPressure.d.ts +1 -1
- package/dist/force/SolarRadiationPressure.js +1 -1
- package/dist/force/SolarRadiationPressure.js.map +1 -1
- package/dist/force/ThirdBodyGravity.d.ts +1 -1
- package/dist/force/ThirdBodyGravity.js.map +1 -1
- package/dist/force/Thrust.d.ts +1 -1
- package/dist/force/index.d.ts +1 -1
- package/dist/force/index.js +1 -1
- package/dist/force/index.js.map +1 -1
- package/dist/interfaces/RfSensorParams.d.ts +1 -1
- package/dist/interfaces/index.d.ts +1 -1
- package/dist/interpolator/ChebyshevCoefficients.js.map +1 -1
- package/dist/interpolator/ChebyshevInterpolator.d.ts +2 -2
- package/dist/interpolator/ChebyshevInterpolator.js +1 -1
- package/dist/interpolator/ChebyshevInterpolator.js.map +1 -1
- package/dist/interpolator/CubicSplineInterpolator.d.ts +2 -2
- package/dist/interpolator/CubicSplineInterpolator.js +2 -2
- package/dist/interpolator/CubicSplineInterpolator.js.map +1 -1
- package/dist/interpolator/FieldInterpolator.d.ts +1 -1
- package/dist/interpolator/FieldInterpolator.js +1 -1
- package/dist/interpolator/FieldInterpolator.js.map +1 -1
- package/dist/interpolator/Interpolator.js.map +1 -1
- package/dist/interpolator/LagrangeInterpolator.d.ts +1 -1
- package/dist/interpolator/LagrangeInterpolator.js +1 -1
- package/dist/interpolator/LagrangeInterpolator.js.map +1 -1
- package/dist/interpolator/StateInterpolator.d.ts +1 -1
- package/dist/interpolator/StateInterpolator.js +1 -1
- package/dist/interpolator/StateInterpolator.js.map +1 -1
- package/dist/interpolator/VerletBlendInterpolator.d.ts +3 -3
- package/dist/interpolator/VerletBlendInterpolator.js +3 -3
- package/dist/interpolator/VerletBlendInterpolator.js.map +1 -1
- package/dist/main.d.ts +10 -10
- package/dist/main.js +10 -10
- package/dist/main.js.map +1 -1
- package/dist/maneuver/TwoBurnOrbitTransfer.d.ts +1 -1
- package/dist/maneuver/TwoBurnOrbitTransfer.js +1 -1
- package/dist/maneuver/TwoBurnOrbitTransfer.js.map +1 -1
- package/dist/maneuver/Waypoint.d.ts +3 -3
- package/dist/maneuver/Waypoint.js +5 -5
- package/dist/maneuver/Waypoint.js.map +1 -1
- package/dist/objects/DetailedSatellite.d.ts +1 -1
- package/dist/objects/DetailedSatellite.js +1 -1
- package/dist/objects/DetailedSatellite.js.map +1 -1
- package/dist/objects/DetailedSensor.d.ts +2 -2
- package/dist/objects/RfSensor.d.ts +2 -2
- package/dist/objects/RfSensor.js +2 -2
- package/dist/objects/RfSensor.js.map +1 -1
- package/dist/objects/index.d.ts +5 -5
- package/dist/objects/index.js +5 -5
- package/dist/objects/index.js.map +1 -1
- package/dist/observation/Observation.d.ts +3 -3
- package/dist/observation/ObservationOptical.d.ts +4 -4
- package/dist/observation/ObservationOptical.js +2 -2
- package/dist/observation/ObservationOptical.js.map +1 -1
- package/dist/observation/ObservationRadar.d.ts +4 -4
- package/dist/observation/ObservationRadar.js +2 -2
- package/dist/observation/ObservationRadar.js.map +1 -1
- package/dist/observation/ObservationUtils.js.map +1 -1
- package/dist/observation/PropagatorPairs.d.ts +1 -1
- package/dist/operations/BoxMuller.js.map +1 -1
- package/dist/operations/Quaternion.js.map +1 -1
- package/dist/operations/RandomGaussianSource.js +1 -1
- package/dist/operations/RandomGaussianSource.js.map +1 -1
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +4 -4
- package/dist/operations/index.js.map +1 -1
- package/dist/optimize/ChebyshevCompressor.d.ts +2 -2
- package/dist/optimize/ChebyshevCompressor.js +2 -2
- package/dist/optimize/ChebyshevCompressor.js.map +1 -1
- package/dist/optimize/DownhillSimplex.d.ts +1 -1
- package/dist/optimize/DownhillSimplex.js +1 -1
- package/dist/optimize/DownhillSimplex.js.map +1 -1
- package/dist/optimize/GoldenSection.d.ts +1 -1
- package/dist/optimize/GoldenSection.js.map +1 -1
- package/dist/optimize/PolynomialRegression.d.ts +1 -1
- package/dist/optimize/PolynomialRegression.js +2 -2
- package/dist/optimize/PolynomialRegression.js.map +1 -1
- package/dist/optimize/SimpleLinearRegression.js.map +1 -1
- package/dist/orbit_determination/BatchLeastSquaresOD.d.ts +3 -3
- package/dist/orbit_determination/BatchLeastSquaresOD.js +6 -6
- package/dist/orbit_determination/BatchLeastSquaresOD.js.map +1 -1
- package/dist/orbit_determination/BatchLeastSquaresResult.d.ts +1 -1
- package/dist/orbit_determination/GibbsIOD.js +2 -2
- package/dist/orbit_determination/GibbsIOD.js.map +1 -1
- package/dist/orbit_determination/GoodingIOD.d.ts +1 -1
- package/dist/orbit_determination/GoodingIOD.js +4 -4
- package/dist/orbit_determination/GoodingIOD.js.map +1 -1
- package/dist/orbit_determination/LambertIOD.js.map +1 -1
- package/dist/orbit_determination/ModifiedGoodingIOD.d.ts +1 -1
- package/dist/orbit_determination/ModifiedGoodingIOD.js +4 -4
- package/dist/orbit_determination/ModifiedGoodingIOD.js.map +1 -1
- package/dist/propagator/DormandPrince54Propagator.d.ts +1 -1
- package/dist/propagator/DormandPrince54Propagator.js +1 -1
- package/dist/propagator/DormandPrince54Propagator.js.map +1 -1
- package/dist/propagator/KeplerPropagator.d.ts +3 -3
- package/dist/propagator/KeplerPropagator.js +2 -2
- package/dist/propagator/KeplerPropagator.js.map +1 -1
- package/dist/propagator/Propagator.d.ts +2 -2
- package/dist/propagator/Propagator.js +2 -2
- package/dist/propagator/Propagator.js.map +1 -1
- package/dist/propagator/RungeKutta4Propagator.d.ts +4 -4
- package/dist/propagator/RungeKutta4Propagator.js +3 -3
- package/dist/propagator/RungeKutta4Propagator.js.map +1 -1
- package/dist/propagator/RungeKutta89Propagator.d.ts +1 -1
- package/dist/propagator/RungeKutta89Propagator.js +1 -1
- package/dist/propagator/RungeKutta89Propagator.js.map +1 -1
- package/dist/propagator/RungeKuttaAdaptive.d.ts +4 -4
- package/dist/propagator/RungeKuttaAdaptive.js +5 -5
- package/dist/propagator/RungeKuttaAdaptive.js.map +1 -1
- package/dist/propagator/Sgp4Propagator.d.ts +3 -3
- package/dist/propagator/Sgp4Propagator.js +1 -1
- package/dist/propagator/Sgp4Propagator.js.map +1 -1
- package/dist/propagator/index.d.ts +3 -3
- package/dist/propagator/index.js +3 -3
- package/dist/propagator/index.js.map +1 -1
- package/dist/smoothing/ExponentialSmoothing.js.map +1 -1
- package/dist/transforms/index.d.ts +1 -1
- package/dist/transforms/index.js +1 -1
- package/dist/transforms/index.js.map +1 -1
- package/dist/transforms/transforms.d.ts +1 -1
- package/dist/transforms/transforms.js.map +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/utils/functions.d.ts +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/jacobian.d.ts +1 -1
- package/dist/utils/jacobian.js.map +1 -1
- package/package.json +16 -13
- package/src/coordinate/Hill.ts +2 -2
- package/src/coordinate/index.ts +1 -1
- package/src/covariance/CovarianceSample.ts +4 -4
- package/src/enums/index.ts +2 -2
- package/src/force/AtmosphericDrag.ts +1 -1
- package/src/force/EarthGravity.ts +1 -1
- package/src/force/ForceModel.ts +7 -7
- package/src/force/Gravity.ts +1 -1
- package/src/force/SolarRadiationPressure.ts +1 -1
- package/src/force/ThirdBodyGravity.ts +1 -1
- package/src/force/Thrust.ts +1 -1
- package/src/force/index.ts +1 -1
- package/src/interfaces/RfSensorParams.ts +1 -1
- package/src/interfaces/index.ts +1 -1
- package/src/interpolator/ChebyshevInterpolator.ts +2 -2
- package/src/interpolator/CubicSplineInterpolator.ts +2 -2
- package/src/interpolator/FieldInterpolator.ts +1 -1
- package/src/interpolator/LagrangeInterpolator.ts +1 -1
- package/src/interpolator/StateInterpolator.ts +1 -1
- package/src/interpolator/VerletBlendInterpolator.ts +3 -3
- package/src/main.ts +10 -10
- package/src/maneuver/TwoBurnOrbitTransfer.ts +1 -1
- package/src/maneuver/Waypoint.ts +6 -6
- package/src/objects/DetailedSatellite.ts +2 -2
- package/src/objects/DetailedSensor.ts +2 -2
- package/src/objects/RfSensor.ts +2 -2
- package/src/objects/index.ts +5 -5
- package/src/observation/Observation.ts +3 -3
- package/src/observation/ObservationOptical.ts +5 -5
- package/src/observation/ObservationRadar.ts +5 -5
- package/src/observation/PropagatorPairs.ts +1 -1
- package/src/operations/RandomGaussianSource.ts +1 -1
- package/src/operations/index.ts +4 -4
- package/src/optimize/ChebyshevCompressor.ts +3 -3
- package/src/optimize/DownhillSimplex.ts +1 -1
- package/src/optimize/GoldenSection.ts +1 -1
- package/src/optimize/PolynomialRegression.ts +2 -2
- package/src/orbit_determination/BatchLeastSquaresOD.ts +8 -8
- package/src/orbit_determination/BatchLeastSquaresResult.ts +1 -1
- package/src/orbit_determination/GibbsIOD.ts +2 -2
- package/src/orbit_determination/GoodingIOD.ts +5 -5
- package/src/orbit_determination/ModifiedGoodingIOD.ts +6 -6
- package/src/propagator/DormandPrince54Propagator.ts +1 -1
- package/src/propagator/KeplerPropagator.ts +3 -3
- package/src/propagator/Propagator.ts +3 -3
- package/src/propagator/RungeKutta4Propagator.ts +4 -4
- package/src/propagator/RungeKutta89Propagator.ts +1 -1
- package/src/propagator/RungeKuttaAdaptive.ts +6 -6
- package/src/propagator/Sgp4Propagator.ts +3 -3
- package/src/propagator/index.ts +3 -3
- package/src/transforms/index.ts +1 -1
- package/src/transforms/transforms.ts +1 -1
- package/src/types/types.ts +1 -1
- package/src/utils/functions.ts +1 -1
- package/src/utils/index.ts +2 -2
- package/src/utils/jacobian.ts +1 -1
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, EpochWindow, J2000, Kilometers, KilometersPerSecond, Seconds, Vector3D } from 'ootk-core';
|
|
19
|
-
import { StateInterpolator } from './StateInterpolator';
|
|
19
|
+
import { StateInterpolator } from './StateInterpolator.js';
|
|
20
20
|
|
|
21
21
|
export class LagrangeInterpolator extends StateInterpolator {
|
|
22
22
|
private t_: Float64Array;
|
|
@@ -19,7 +19,7 @@ import { EpochUTC, J2000 } from 'ootk-core';
|
|
|
19
19
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
20
20
|
/* eslint-disable class-methods-use-this */
|
|
21
21
|
|
|
22
|
-
import { Interpolator } from './Interpolator';
|
|
22
|
+
import { Interpolator } from './Interpolator.js';
|
|
23
23
|
|
|
24
24
|
// / Base class for state vector interpolators.
|
|
25
25
|
export abstract class StateInterpolator extends Interpolator {
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
Seconds,
|
|
27
27
|
Vector3D,
|
|
28
28
|
} from 'ootk-core';
|
|
29
|
-
import { CubicSplineInterpolator } from './CubicSplineInterpolator';
|
|
30
|
-
import { LagrangeInterpolator } from './LagrangeInterpolator';
|
|
31
|
-
import { StateInterpolator } from './StateInterpolator';
|
|
29
|
+
import { CubicSplineInterpolator } from './CubicSplineInterpolator.js';
|
|
30
|
+
import { LagrangeInterpolator } from './LagrangeInterpolator.js';
|
|
31
|
+
import { StateInterpolator } from './StateInterpolator.js';
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Two-body Velocity Verlet Blend interpolator.
|
package/src/main.ts
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
export * from 'ootk-core';
|
|
24
|
-
export * from './enums/index';
|
|
25
|
-
export * from './types/types';
|
|
26
|
-
export * from './interfaces/index';
|
|
27
|
-
export * from './coordinate/index';
|
|
28
|
-
export * from './objects/index';
|
|
29
|
-
export * from './operations/index';
|
|
30
|
-
export * from './force/index';
|
|
31
|
-
export * from './propagator/index';
|
|
32
|
-
export * from './transforms/index';
|
|
33
|
-
export * from './utils/index';
|
|
24
|
+
export * from './enums/index.js';
|
|
25
|
+
export * from './types/types.js';
|
|
26
|
+
export * from './interfaces/index.js';
|
|
27
|
+
export * from './coordinate/index.js';
|
|
28
|
+
export * from './objects/index.js';
|
|
29
|
+
export * from './operations/index.js';
|
|
30
|
+
export * from './force/index.js';
|
|
31
|
+
export * from './propagator/index.js';
|
|
32
|
+
export * from './transforms/index.js';
|
|
33
|
+
export * from './utils/index.js';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { Earth, EpochUTC, MetersPerSecond, Seconds, SecondsPerMeterPerSecond } from 'ootk-core';
|
|
19
|
-
import { Thrust } from '../force/Thrust';
|
|
19
|
+
import { Thrust } from '../force/Thrust.js';
|
|
20
20
|
|
|
21
21
|
// / Container for a two-burn orbit transfer.
|
|
22
22
|
export class TwoBurnOrbitTransfer {
|
package/src/maneuver/Waypoint.ts
CHANGED
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
SecondsPerMeterPerSecond,
|
|
26
26
|
Vector3D,
|
|
27
27
|
} from 'ootk-core';
|
|
28
|
-
import { Thrust } from '../force/Thrust';
|
|
29
|
-
import { StateInterpolator } from '../interpolator/StateInterpolator';
|
|
30
|
-
import { ForceModel } from './../force/ForceModel';
|
|
31
|
-
import { DownhillSimplex } from './../optimize/DownhillSimplex';
|
|
32
|
-
import { LambertIOD } from './../orbit_determination/LambertIOD';
|
|
33
|
-
import { RungeKutta89Propagator } from './../propagator/RungeKutta89Propagator';
|
|
28
|
+
import { Thrust } from '../force/Thrust.js';
|
|
29
|
+
import { StateInterpolator } from '../interpolator/StateInterpolator.js';
|
|
30
|
+
import { ForceModel } from './../force/ForceModel.js';
|
|
31
|
+
import { DownhillSimplex } from './../optimize/DownhillSimplex.js';
|
|
32
|
+
import { LambertIOD } from './../orbit_determination/LambertIOD.js';
|
|
33
|
+
import { RungeKutta89Propagator } from './../propagator/RungeKutta89Propagator.js';
|
|
34
34
|
|
|
35
35
|
// / Relative waypoint targeting.
|
|
36
36
|
export class Waypoint {
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
TleLine1,
|
|
26
26
|
TleLine2,
|
|
27
27
|
} from 'ootk-core';
|
|
28
|
-
import { DetailedSatelliteParams } from '../types/types';
|
|
29
|
-
import { CatalogSource } from '../main';
|
|
28
|
+
import { DetailedSatelliteParams } from '../types/types.js';
|
|
29
|
+
import { CatalogSource } from '../main.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Represents a detailed satellite object with launch, spacecraft, and operations details.
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { Milliseconds, Sensor } from 'ootk-core';
|
|
19
|
-
import { DetailedSensorParams, ZoomValue } from '../types/types';
|
|
20
|
-
import { CommLink } from '../enums/CommLink';
|
|
19
|
+
import { DetailedSensorParams, ZoomValue } from '../types/types.js';
|
|
20
|
+
import { CommLink } from '../enums/CommLink.js';
|
|
21
21
|
|
|
22
22
|
export class DetailedSensor extends Sensor {
|
|
23
23
|
sensorId?: number;
|
package/src/objects/RfSensor.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
import { DEG2RAD, Degrees, RAD2DEG, Radians, SpaceObjectType } from 'ootk-core';
|
|
25
|
-
import { azel2uv, uv2azel, RfSensorParams } from '../main';
|
|
26
|
-
import { DetailedSensor } from './DetailedSensor';
|
|
25
|
+
import { azel2uv, uv2azel, RfSensorParams } from '../main.js';
|
|
26
|
+
import { DetailedSensor } from './DetailedSensor.js';
|
|
27
27
|
|
|
28
28
|
export class RfSensor extends DetailedSensor {
|
|
29
29
|
boresightAz: Degrees[];
|
package/src/objects/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DetailedSatellite } from './DetailedSatellite';
|
|
2
|
-
export { DetailedSensor } from './DetailedSensor';
|
|
3
|
-
export { LandObject } from './LandObject';
|
|
4
|
-
export { Marker } from './Marker';
|
|
5
|
-
export { RfSensor } from './RfSensor';
|
|
1
|
+
export { DetailedSatellite } from './DetailedSatellite.js';
|
|
2
|
+
export { DetailedSensor } from './DetailedSensor.js';
|
|
3
|
+
export { LandObject } from './LandObject.js';
|
|
4
|
+
export { Marker } from './Marker.js';
|
|
5
|
+
export { RfSensor } from './RfSensor.js';
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, J2000, Matrix, Vector, Vector3D } from 'ootk-core';
|
|
19
|
-
import { Propagator } from '../propagator/Propagator';
|
|
20
|
-
import { RandomGaussianSource } from './../operations/RandomGaussianSource';
|
|
21
|
-
import { PropagatorPairs } from './PropagatorPairs';
|
|
19
|
+
import { Propagator } from '../propagator/Propagator.js';
|
|
20
|
+
import { RandomGaussianSource } from './../operations/RandomGaussianSource.js';
|
|
21
|
+
import { PropagatorPairs } from './PropagatorPairs.js';
|
|
22
22
|
|
|
23
23
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
24
24
|
/**
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
Vector,
|
|
29
29
|
Vector3D,
|
|
30
30
|
} from 'ootk-core';
|
|
31
|
-
import { RandomGaussianSource } from '../operations/RandomGaussianSource';
|
|
32
|
-
import { Propagator } from '../propagator/Propagator';
|
|
33
|
-
import { Observation } from './Observation';
|
|
34
|
-
import { normalizeAngle, observationDerivative, observationNoiseFromSigmas } from './ObservationUtils';
|
|
35
|
-
import { PropagatorPairs } from './PropagatorPairs';
|
|
31
|
+
import { RandomGaussianSource } from '../operations/RandomGaussianSource.js';
|
|
32
|
+
import { Propagator } from '../propagator/Propagator.js';
|
|
33
|
+
import { Observation } from './Observation.js';
|
|
34
|
+
import { normalizeAngle, observationDerivative, observationNoiseFromSigmas } from './ObservationUtils.js';
|
|
35
|
+
import { PropagatorPairs } from './PropagatorPairs.js';
|
|
36
36
|
|
|
37
37
|
// / Optical observation data.
|
|
38
38
|
export class ObservationOptical extends Observation {
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
Vector,
|
|
30
30
|
Vector3D,
|
|
31
31
|
} from 'ootk-core';
|
|
32
|
-
import { RandomGaussianSource } from '../operations/RandomGaussianSource';
|
|
33
|
-
import { Propagator } from '../propagator/Propagator';
|
|
34
|
-
import { Observation } from './Observation';
|
|
35
|
-
import { normalizeAngle, observationDerivative, observationNoiseFromSigmas } from './ObservationUtils';
|
|
36
|
-
import { PropagatorPairs } from './PropagatorPairs';
|
|
32
|
+
import { RandomGaussianSource } from '../operations/RandomGaussianSource.js';
|
|
33
|
+
import { Propagator } from '../propagator/Propagator.js';
|
|
34
|
+
import { Observation } from './Observation.js';
|
|
35
|
+
import { normalizeAngle, observationDerivative, observationNoiseFromSigmas } from './ObservationUtils.js';
|
|
36
|
+
import { PropagatorPairs } from './PropagatorPairs.js';
|
|
37
37
|
|
|
38
38
|
// / Radar observation data.
|
|
39
39
|
export class ObservationRadar extends Observation {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Propagator } from '../propagator/Propagator';
|
|
18
|
+
import { Propagator } from '../propagator/Propagator.js';
|
|
19
19
|
|
|
20
20
|
export class PropagatorPairs {
|
|
21
21
|
constructor(private _posStep: number, private _velStep: number) {
|
package/src/operations/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BoxMuller } from './BoxMuller';
|
|
2
|
-
export { EulerAngles } from './EulerAngles';
|
|
3
|
-
export { Quaternion } from './Quaternion';
|
|
4
|
-
export { RandomGaussianSource } from './RandomGaussianSource';
|
|
1
|
+
export { BoxMuller } from './BoxMuller.js';
|
|
2
|
+
export { EulerAngles } from './EulerAngles.js';
|
|
3
|
+
export { Quaternion } from './Quaternion.js';
|
|
4
|
+
export { RandomGaussianSource } from './RandomGaussianSource.js';
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, Seconds, Vector3D } from 'ootk-core';
|
|
19
|
-
import { StateInterpolator } from '../interpolator/StateInterpolator';
|
|
20
|
-
import { ChebyshevCoefficients } from './../interpolator/ChebyshevCoefficients';
|
|
21
|
-
import { ChebyshevInterpolator } from './../interpolator/ChebyshevInterpolator';
|
|
19
|
+
import { StateInterpolator } from '../interpolator/StateInterpolator.js';
|
|
20
|
+
import { ChebyshevCoefficients } from './../interpolator/ChebyshevCoefficients.js';
|
|
21
|
+
import { ChebyshevInterpolator } from './../interpolator/ChebyshevInterpolator.js';
|
|
22
22
|
|
|
23
23
|
// / Ephemeris compressor.
|
|
24
24
|
export class ChebyshevCompressor {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { CostFunction, SimplexEntry } from './SimplexEntry';
|
|
18
|
+
import { CostFunction, SimplexEntry } from './SimplexEntry.js';
|
|
19
19
|
|
|
20
20
|
// / Derivative-free Nelder-Mead simplex optimizer.
|
|
21
21
|
export class DownhillSimplex {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { DifferentiableFunction } from '../main';
|
|
18
|
+
import { DifferentiableFunction } from '../main.js';
|
|
19
19
|
|
|
20
20
|
// / Golden Section bounded single value optimizer.
|
|
21
21
|
export class GoldenSection {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
/* eslint-disable require-jsdoc */
|
|
19
19
|
/* eslint-disable func-style */
|
|
20
20
|
import { evalPoly } from 'ootk-core';
|
|
21
|
-
import { DownhillSimplex } from './DownhillSimplex';
|
|
22
|
-
import { PolynomicalRegressionResult } from './PolynomicalRegressionResult';
|
|
21
|
+
import { DownhillSimplex } from './DownhillSimplex.js';
|
|
22
|
+
import { PolynomicalRegressionResult } from './PolynomicalRegressionResult.js';
|
|
23
23
|
// / Polynomial regression optimizer.
|
|
24
24
|
export class PolynomialRegression {
|
|
25
25
|
private constructor() {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { concat, EpochUTC, J2000, Kilometers, KilometersPerSecond, Matrix, Vector, Vector3D } from 'ootk-core';
|
|
19
|
-
import { Observation } from '../observation/Observation';
|
|
20
|
-
import { PropagatorPairs } from '../observation/PropagatorPairs';
|
|
21
|
-
import { Propagator } from '../propagator/Propagator';
|
|
22
|
-
import { CovarianceFrame, StateCovariance } from './../covariance/StateCovariance';
|
|
23
|
-
import { ForceModel } from './../force/ForceModel';
|
|
24
|
-
import { KeplerPropagator } from './../propagator/KeplerPropagator';
|
|
25
|
-
import { RungeKutta89Propagator } from './../propagator/RungeKutta89Propagator';
|
|
26
|
-
import { BatchLeastSquaresResult } from './BatchLeastSquaresResult';
|
|
19
|
+
import { Observation } from '../observation/Observation.js';
|
|
20
|
+
import { PropagatorPairs } from '../observation/PropagatorPairs.js';
|
|
21
|
+
import { Propagator } from '../propagator/Propagator.js';
|
|
22
|
+
import { CovarianceFrame, StateCovariance } from './../covariance/StateCovariance.js';
|
|
23
|
+
import { ForceModel } from './../force/ForceModel.js';
|
|
24
|
+
import { KeplerPropagator } from './../propagator/KeplerPropagator.js';
|
|
25
|
+
import { RungeKutta89Propagator } from './../propagator/RungeKutta89Propagator.js';
|
|
26
|
+
import { BatchLeastSquaresResult } from './BatchLeastSquaresResult.js';
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Batch least squares orbit determination.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { J2000 } from 'ootk-core';
|
|
19
|
-
import { StateCovariance } from './../covariance/StateCovariance';
|
|
19
|
+
import { StateCovariance } from './../covariance/StateCovariance.js';
|
|
20
20
|
|
|
21
21
|
// / Batch least squares orbit determination result.
|
|
22
22
|
export class BatchLeastSquaresResult {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { DEG2RAD, Earth, EpochUTC, halfPi, J2000, Kilometers, KilometersPerSecond, Radians, Vector3D } from 'ootk-core';
|
|
19
|
-
import { ForceModel } from './../force/ForceModel';
|
|
20
|
-
import { RungeKutta89Propagator } from './../propagator/RungeKutta89Propagator';
|
|
19
|
+
import { ForceModel } from './../force/ForceModel.js';
|
|
20
|
+
import { RungeKutta89Propagator } from './../propagator/RungeKutta89Propagator.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Gibbs 3-position inital orbit determination.
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { Earth, J2000, Kilometers, KilometersPerSecond, Seconds, TAU, Vector3D } from 'ootk-core';
|
|
19
|
-
import { ForceModel } from '../force/ForceModel';
|
|
20
|
-
import { RungeKutta89Propagator } from '../propagator/RungeKutta89Propagator';
|
|
21
|
-
import { ObservationOptical } from './../observation/ObservationOptical';
|
|
22
|
-
import { GibbsIOD } from './GibbsIOD';
|
|
23
|
-
import { LambertIOD } from './LambertIOD';
|
|
19
|
+
import { ForceModel } from '../force/ForceModel.js';
|
|
20
|
+
import { RungeKutta89Propagator } from '../propagator/RungeKutta89Propagator.js';
|
|
21
|
+
import { ObservationOptical } from './../observation/ObservationOptical.js';
|
|
22
|
+
import { GibbsIOD } from './GibbsIOD.js';
|
|
23
|
+
import { LambertIOD } from './LambertIOD.js';
|
|
24
24
|
|
|
25
25
|
type SolveRangeProblemParams = {
|
|
26
26
|
rho1init: Kilometers;
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { Earth, EpochUTC, J2000, Kilometers, KilometersPerSecond, RadecTopocentric, Vector3D } from 'ootk-core';
|
|
19
|
-
import { ForceModel } from '../force/ForceModel';
|
|
20
|
-
import { RungeKutta89Propagator } from '../propagator/RungeKutta89Propagator';
|
|
21
|
-
import { ObservationOptical } from './../observation/ObservationOptical';
|
|
22
|
-
import { DownhillSimplex } from './../optimize/DownhillSimplex';
|
|
23
|
-
import { CostFunction } from './../optimize/SimplexEntry';
|
|
24
|
-
import { GoodingIOD } from './GoodingIOD';
|
|
19
|
+
import { ForceModel } from '../force/ForceModel.js';
|
|
20
|
+
import { RungeKutta89Propagator } from '../propagator/RungeKutta89Propagator.js';
|
|
21
|
+
import { ObservationOptical } from './../observation/ObservationOptical.js';
|
|
22
|
+
import { DownhillSimplex } from './../optimize/DownhillSimplex.js';
|
|
23
|
+
import { CostFunction } from './../optimize/SimplexEntry.js';
|
|
24
|
+
import { GoodingIOD } from './GoodingIOD.js';
|
|
25
25
|
|
|
26
26
|
type SolveOptions = {
|
|
27
27
|
nRev?: number;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
/* eslint-disable class-methods-use-this */
|
|
19
|
-
import { RungeKuttaAdaptive } from './RungeKuttaAdaptive';
|
|
19
|
+
import { RungeKuttaAdaptive } from './RungeKuttaAdaptive.js';
|
|
20
20
|
|
|
21
21
|
export class DormandPrince54Propagator extends RungeKuttaAdaptive {
|
|
22
22
|
private _a: Float64Array = Float64Array.from([0.0, 1.0 / 5.0, 3.0 / 10.0, 4.0 / 5.0, 8.0 / 9.0, 1.0, 1.0]);
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { ClassicalElements, EpochUTC, J2000, Seconds } from 'ootk-core';
|
|
19
|
-
import { Thrust } from '../force/Thrust';
|
|
20
|
-
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator';
|
|
21
|
-
import { Propagator } from './Propagator';
|
|
19
|
+
import { Thrust } from '../force/Thrust.js';
|
|
20
|
+
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator.js';
|
|
21
|
+
import { Propagator } from './Propagator.js';
|
|
22
22
|
|
|
23
23
|
// / Kepler analytical two-body propagator.
|
|
24
24
|
export class KeplerPropagator extends Propagator {
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, J2000, Seconds } from 'ootk-core';
|
|
19
|
-
import { Thrust } from '../force/Thrust';
|
|
20
|
-
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator';
|
|
21
|
-
import { GoldenSection } from './../optimize/GoldenSection';
|
|
19
|
+
import { Thrust } from '../force/Thrust.js';
|
|
20
|
+
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator.js';
|
|
21
|
+
import { GoldenSection } from './../optimize/GoldenSection.js';
|
|
22
22
|
|
|
23
23
|
// Propagator base class.
|
|
24
24
|
export abstract class Propagator {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, J2000, Kilometers, KilometersPerSecond, Seconds, Vector, Vector3D } from 'ootk-core';
|
|
19
|
-
import { ForceModel } from '../force/ForceModel';
|
|
20
|
-
import { Thrust } from '../force/Thrust';
|
|
21
|
-
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator';
|
|
22
|
-
import { Propagator } from './Propagator';
|
|
19
|
+
import { ForceModel } from '../force/ForceModel.js';
|
|
20
|
+
import { Thrust } from '../force/Thrust.js';
|
|
21
|
+
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator.js';
|
|
22
|
+
import { Propagator } from './Propagator.js';
|
|
23
23
|
|
|
24
24
|
// / Runge-Kutta 4 fixed numerical propagator.
|
|
25
25
|
export class RungeKutta4Propagator extends Propagator {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
/* eslint-disable @typescript-eslint/no-loss-of-precision */
|
|
19
19
|
/* eslint-disable class-methods-use-this */
|
|
20
|
-
import { RungeKuttaAdaptive } from './RungeKuttaAdaptive';
|
|
20
|
+
import { RungeKuttaAdaptive } from './RungeKuttaAdaptive.js';
|
|
21
21
|
|
|
22
22
|
// / Runge-Kutta 8(9) adaptive numerical propagator.
|
|
23
23
|
export class RungeKutta89Propagator extends RungeKuttaAdaptive {
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, J2000, Kilometers, KilometersPerSecond, Seconds, Vector, Vector3D } from 'ootk-core';
|
|
19
|
-
import { ForceModel } from '../force/ForceModel';
|
|
20
|
-
import { Thrust } from '../force/Thrust';
|
|
21
|
-
import { VerletBlendInterpolator } from './../interpolator/VerletBlendInterpolator';
|
|
22
|
-
import { Propagator } from './Propagator';
|
|
23
|
-
import { RkCheckpoint } from './RkCheckpoint';
|
|
24
|
-
import { RkResult } from './RkResult';
|
|
19
|
+
import { ForceModel } from '../force/ForceModel.js';
|
|
20
|
+
import { Thrust } from '../force/Thrust.js';
|
|
21
|
+
import { VerletBlendInterpolator } from './../interpolator/VerletBlendInterpolator.js';
|
|
22
|
+
import { Propagator } from './Propagator.js';
|
|
23
|
+
import { RkCheckpoint } from './RkCheckpoint.js';
|
|
24
|
+
import { RkResult } from './RkResult.js';
|
|
25
25
|
|
|
26
26
|
// / Adaptive Runge-Kutta propagator base class.
|
|
27
27
|
export abstract class RungeKuttaAdaptive extends Propagator {
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
19
19
|
/* eslint-disable class-methods-use-this */
|
|
20
20
|
import { EpochUTC, J2000, Tle } from 'ootk-core';
|
|
21
|
-
import { Thrust } from '../force/Thrust';
|
|
22
|
-
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator';
|
|
23
|
-
import { Propagator } from './Propagator';
|
|
21
|
+
import { Thrust } from '../force/Thrust.js';
|
|
22
|
+
import { VerletBlendInterpolator } from '../interpolator/VerletBlendInterpolator.js';
|
|
23
|
+
import { Propagator } from './Propagator.js';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Sgp4Propagator is a propagator that uses the SGP4 model to propagate the state of an object.
|
package/src/propagator/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { RungeKutta4Propagator } from './RungeKutta4Propagator';
|
|
2
|
-
export { RungeKutta89Propagator } from './RungeKutta89Propagator';
|
|
3
|
-
export { Sgp4Propagator } from './Sgp4Propagator';
|
|
1
|
+
export { RungeKutta4Propagator } from './RungeKutta4Propagator.js';
|
|
2
|
+
export { RungeKutta89Propagator } from './RungeKutta89Propagator.js';
|
|
3
|
+
export { Sgp4Propagator } from './Sgp4Propagator.js';
|
package/src/transforms/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './transforms';
|
|
1
|
+
export * from './transforms.js';
|
package/src/types/types.ts
CHANGED
package/src/utils/functions.ts
CHANGED
package/src/utils/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './jacobian';
|
|
2
|
-
export * from './functions';
|
|
1
|
+
export * from './jacobian.js';
|
|
2
|
+
export * from './functions.js';
|
package/src/utils/jacobian.ts
CHANGED