ootk 4.0.0-9 → 4.0.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.
- package/CHANGELOG.md +66 -2
- package/README.md +4 -4
- 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/CatalogSource.d.ts +2 -0
- package/dist/enums/CatalogSource.js +2 -0
- package/dist/enums/CatalogSource.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 +10 -7
- package/dist/interfaces/RfSensorParams.js +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 +6 -5
- package/dist/objects/DetailedSensor.js +2 -0
- package/dist/objects/DetailedSensor.js.map +1 -1
- package/dist/objects/RfSensor.d.ts +43 -11
- package/dist/objects/RfSensor.js +60 -16
- 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 +5 -3
- package/dist/transforms/transforms.js +7 -5
- package/dist/transforms/transforms.js.map +1 -1
- package/dist/types/types.d.ts +5 -4
- 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 +17 -14
- package/src/coordinate/Hill.ts +2 -2
- package/src/coordinate/index.ts +1 -1
- package/src/covariance/CovarianceSample.ts +4 -4
- package/src/enums/CatalogSource.ts +3 -1
- 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 +10 -7
- 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 +7 -5
- package/src/objects/RfSensor.ts +65 -18
- 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 +8 -5
- package/src/types/types.ts +5 -4
- package/src/utils/functions.ts +1 -1
- package/src/utils/index.ts +2 -2
- package/src/utils/jacobian.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/propagator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/propagator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExponentialSmoothing.js","sourceRoot":"","sources":["../../src/smoothing/ExponentialSmoothing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,wCAAwC;AACxC,MAAM,OAAO,oBAAoB;IAC/B;QACE,sBAAsB;IACxB,CAAC;IAED;;;OAGG;IACH,M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,GAAG,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC;gBAE5D,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC3C,CAAC;QACH,CAAC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './transforms';
|
|
1
|
+
export * from './transforms.js';
|
package/dist/transforms/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './transforms';
|
|
1
|
+
export * from './transforms.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transforms/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Degrees, EnuVec3, Radians, RaeVec3 } from 'ootk-core';
|
|
2
|
-
import { RfVec3, RuvVec3, RfSensor } from '../main';
|
|
2
|
+
import { RfVec3, RuvVec3, RfSensor } from '../main.js';
|
|
3
3
|
/**
|
|
4
4
|
* Converts Azimuth and Elevation to U and V.
|
|
5
5
|
* Azimuth is the angle off of boresight in the horizontal plane.
|
|
@@ -18,10 +18,11 @@ export declare function azel2uv(az: Radians, el: Radians, coneHalfAngle: Radians
|
|
|
18
18
|
* Determine azimuth and elevation off of boresight based on sensor orientation and RAE.
|
|
19
19
|
* @param rae Range, Azimuth, Elevation
|
|
20
20
|
* @param sensor Radar sensor object
|
|
21
|
+
* @param face Face number of the sensor
|
|
21
22
|
* @param maxSensorAz Maximum sensor azimuth
|
|
22
23
|
* @returns Azimuth and Elevation off of boresight
|
|
23
24
|
*/
|
|
24
|
-
export declare function rae2raeOffBoresight(rae: RaeVec3, sensor: RfSensor, maxSensorAz: Degrees): {
|
|
25
|
+
export declare function rae2raeOffBoresight(rae: RaeVec3, sensor: RfSensor, face: number, maxSensorAz: Degrees): {
|
|
25
26
|
az: Radians;
|
|
26
27
|
el: Radians;
|
|
27
28
|
};
|
|
@@ -29,10 +30,11 @@ export declare function rae2raeOffBoresight(rae: RaeVec3, sensor: RfSensor, maxS
|
|
|
29
30
|
* Converts Range Az El to Range U V.
|
|
30
31
|
* @param rae Range, Azimuth, Elevation
|
|
31
32
|
* @param sensor Radar sensor object
|
|
33
|
+
* @param face Face number of the sensor
|
|
32
34
|
* @param maxSensorAz Maximum sensor azimuth
|
|
33
35
|
* @returns Range, U, V
|
|
34
36
|
*/
|
|
35
|
-
export declare function rae2ruv(rae: RaeVec3, sensor: RfSensor, maxSensorAz: Degrees): RuvVec3;
|
|
37
|
+
export declare function rae2ruv(rae: RaeVec3, sensor: RfSensor, face: number, maxSensorAz: Degrees): RuvVec3;
|
|
36
38
|
/**
|
|
37
39
|
* Converts U and V to Azimuth and Elevation off of boresight.
|
|
38
40
|
* @param u The U coordinate.
|
|
@@ -27,27 +27,29 @@ export function azel2uv(az, el, coneHalfAngle) {
|
|
|
27
27
|
* Determine azimuth and elevation off of boresight based on sensor orientation and RAE.
|
|
28
28
|
* @param rae Range, Azimuth, Elevation
|
|
29
29
|
* @param sensor Radar sensor object
|
|
30
|
+
* @param face Face number of the sensor
|
|
30
31
|
* @param maxSensorAz Maximum sensor azimuth
|
|
31
32
|
* @returns Azimuth and Elevation off of boresight
|
|
32
33
|
*/
|
|
33
|
-
export function rae2raeOffBoresight(rae, sensor, maxSensorAz) {
|
|
34
|
+
export function rae2raeOffBoresight(rae, sensor, face, maxSensorAz) {
|
|
34
35
|
let az = (rae.az * DEG2RAD);
|
|
35
36
|
let el = (rae.el * DEG2RAD);
|
|
36
37
|
// Correct azimuth for sensor orientation.
|
|
37
38
|
az = az > maxSensorAz * DEG2RAD ? (az - TAU) : az;
|
|
38
|
-
az = (az - sensor.boresightAz);
|
|
39
|
-
el = (el - sensor.boresightEl);
|
|
39
|
+
az = (az - sensor.boresightAz[face]);
|
|
40
|
+
el = (el - sensor.boresightEl[face]);
|
|
40
41
|
return { az, el };
|
|
41
42
|
}
|
|
42
43
|
/**
|
|
43
44
|
* Converts Range Az El to Range U V.
|
|
44
45
|
* @param rae Range, Azimuth, Elevation
|
|
45
46
|
* @param sensor Radar sensor object
|
|
47
|
+
* @param face Face number of the sensor
|
|
46
48
|
* @param maxSensorAz Maximum sensor azimuth
|
|
47
49
|
* @returns Range, U, V
|
|
48
50
|
*/
|
|
49
|
-
export function rae2ruv(rae, sensor, maxSensorAz) {
|
|
50
|
-
const { az, el } = rae2raeOffBoresight(rae, sensor, maxSensorAz);
|
|
51
|
+
export function rae2ruv(rae, sensor, face, maxSensorAz) {
|
|
52
|
+
const { az, el } = rae2raeOffBoresight(rae, sensor, face, maxSensorAz);
|
|
51
53
|
const { u, v } = azel2uv(az, el, sensor.beamwidthRad);
|
|
52
54
|
return { rng: rae.rng, u, v };
|
|
53
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transforms.js","sourceRoot":"","sources":["../../src/transforms/transforms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAoB,OAAO,EAAoB,GAAG,EAAE,MAAM,WAAW,CAAC;AAGtF;;;;;;;;;GASG;AACH,MAAM,UAAU,OAAO,CAAC,EAAW,EAAE,EAAW,EAAE,aAAsB;IACtE,IAAI,EAAE,GAAG,aAAa,IAAI,EAAE,GAAG,aAAa,EAAE;
|
|
1
|
+
{"version":3,"file":"transforms.js","sourceRoot":"","sources":["../../src/transforms/transforms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAoB,OAAO,EAAoB,GAAG,EAAE,MAAM,WAAW,CAAC;AAGtF;;;;;;;;;GASG;AACH,MAAM,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a,GAAG,OAAO,CAAC,CAAY,CAAC;IACjE,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,CAAC,aAAa,GAAG,OAAO,CAAC,CAAY,CAAC;IAEhE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AACpB,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,MAAM,CAA+C,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAc,EAAE,EAAK,EAAE,EAAK;IACxG,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACjG,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACjG,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAEjD,OAAO;QACL,CAAC,EAAE,GAAQ;QACX,CAAC,EAAE,GAAQ;QACX,CAAC,EAAE,GAAQ;KACZ,CAAC;AACJ,CAAC"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* You should have received a copy of the GNU Affero General Public License along with
|
|
15
15
|
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
*/
|
|
17
|
-
import { Kilometers, Milliseconds, SatelliteParams, Vec3 } from 'ootk-core';
|
|
18
|
-
import { CommLink } from '../main';
|
|
17
|
+
import { Kilometers, Milliseconds, SatelliteParams, SensorParams, Vec3 } from 'ootk-core';
|
|
18
|
+
import { CommLink } from '../main.js';
|
|
19
19
|
export declare enum ZoomValue {
|
|
20
20
|
LEO = 0.45,
|
|
21
21
|
GEO = 0.82,
|
|
@@ -53,20 +53,21 @@ export interface DetailedSatelliteParams extends SatelliteParams {
|
|
|
53
53
|
altId?: string;
|
|
54
54
|
altName?: string;
|
|
55
55
|
}
|
|
56
|
-
export interface DetailedSensorParams {
|
|
56
|
+
export interface DetailedSensorParams extends SensorParams {
|
|
57
57
|
/** The country that owns the sensor */
|
|
58
58
|
country?: string;
|
|
59
59
|
/** 3 Letter Designation */
|
|
60
60
|
shortName?: string;
|
|
61
61
|
changeObjectInterval?: Milliseconds;
|
|
62
62
|
commLinks?: CommLink[];
|
|
63
|
+
freqBand?: string;
|
|
63
64
|
static?: boolean;
|
|
64
65
|
sensorId?: number;
|
|
65
66
|
url?: string;
|
|
66
67
|
/** Does this sensor use a volumetric search pattern? */
|
|
67
68
|
volume?: boolean;
|
|
68
69
|
/** How far away should we zoom when selecting this sensor? */
|
|
69
|
-
zoom
|
|
70
|
+
zoom?: ZoomValue;
|
|
70
71
|
/** This is the name of the object in the array */
|
|
71
72
|
objName?: string;
|
|
72
73
|
/** This is the name of the object in the UI */
|
package/dist/utils/index.d.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/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './jacobian';
|
|
2
|
-
export * from './functions';
|
|
1
|
+
export * from './jacobian.js';
|
|
2
|
+
export * from './functions.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
package/dist/utils/jacobian.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jacobian.js","sourceRoot":"","sources":["../../src/utils/jacobian.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGpD,uDAAuD;AAEvD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAmB,EAAE,CAAS,EAAE,EAAgB,EAAE,IAAI,GAAG,OAAO,EAAU,EAAE;IACnG,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IACpB,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3B,MAAM,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC;IAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"jacobian.js","sourceRoot":"","sources":["../../src/utils/jacobian.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGpD,uDAAuD;AAEvD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAmB,EAAE,CAAS,EAAE,EAAgB,EAAE,IAAI,GAAG,OAAO,EAAU,EAAE;IACnG,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IACpB,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3B,MAAM,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC;IAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3B,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC;QAEtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QACX,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAE7B,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC;QAEtB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QACX,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAE7B,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;QAE3C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC3B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;IAED,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC;AACvB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ootk",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "dist/main.js",
|
|
6
6
|
"description": "Orbital Object Toolkit including Multiple Propagators, Initial Orbit Determination, and Maneuver Calculations.",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "npm run clean && npx tsc -p tsconfig.build.json
|
|
8
|
+
"build": "npm run clean && npx tsc -p tsconfig.build.json",
|
|
9
9
|
"clean": "node ./scripts/cleanup.mjs",
|
|
10
10
|
"lint": "npx eslint src",
|
|
11
11
|
"lint:fix": "npx eslint src --fix",
|
|
@@ -35,24 +35,27 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/core": "^7.23.7",
|
|
38
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
39
|
-
"@babel/preset-env": "^7.
|
|
40
|
-
"@babel/preset-typescript": "^7.
|
|
41
|
-
"@types/jest": "^29.5.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
43
|
-
"@typescript-eslint/parser": "^
|
|
38
|
+
"@babel/plugin-transform-runtime": "^7.24.3",
|
|
39
|
+
"@babel/preset-env": "^7.24.3",
|
|
40
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
41
|
+
"@types/jest": "^29.5.12",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
43
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
44
44
|
"auto-changelog": "^2.4.0",
|
|
45
45
|
"babel-eslint": "^10.1.0",
|
|
46
46
|
"babel-jest": "^29.7.0",
|
|
47
47
|
"babel-loader": "^9.1.3",
|
|
48
|
-
"eslint": "^8.
|
|
49
|
-
"eslint-plugin-jsdoc": "^48.
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
48
|
+
"eslint": "^8.57.0",
|
|
49
|
+
"eslint-plugin-jsdoc": "^48.2.2",
|
|
50
|
+
"fix-esm-import-path": "^1.5.0",
|
|
51
|
+
"jest": "^29.7.0",
|
|
52
|
+
"ts-jest": "^29.1.2",
|
|
53
|
+
"ts-node": "^10.9.2",
|
|
54
|
+
"tsx": "^4.7.1",
|
|
55
|
+
"typescript": "^5.4.3"
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|
|
55
|
-
"ootk-core": "^1.
|
|
58
|
+
"ootk-core": "^1.2.2"
|
|
56
59
|
},
|
|
57
60
|
"homepage": "https://github.com/thkruz/ootk"
|
|
58
61
|
}
|
package/src/coordinate/Hill.ts
CHANGED
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
Seconds,
|
|
29
29
|
Vector3D,
|
|
30
30
|
} from 'ootk-core';
|
|
31
|
-
import { Thrust } from './../force/Thrust';
|
|
32
|
-
import { Waypoint } from './../maneuver/Waypoint';
|
|
31
|
+
import { Thrust } from './../force/Thrust.js';
|
|
32
|
+
import { Waypoint } from './../maneuver/Waypoint.js';
|
|
33
33
|
|
|
34
34
|
// / Hill Modified Equidistant Cyllindrical _(EQCM)_ coordinates.
|
|
35
35
|
export class Hill {
|
package/src/coordinate/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Hill } from './Hill';
|
|
1
|
+
export { Hill } from './Hill.js';
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
Vector,
|
|
29
29
|
Vector3D,
|
|
30
30
|
} from 'ootk-core';
|
|
31
|
-
import { ForceModel } from '../force/ForceModel';
|
|
32
|
-
import { Thrust } from '../force/Thrust';
|
|
33
|
-
import { RungeKutta89Propagator } from '../propagator/RungeKutta89Propagator';
|
|
34
|
-
import { CovarianceFrame, StateCovariance } from './StateCovariance';
|
|
31
|
+
import { ForceModel } from '../force/ForceModel.js';
|
|
32
|
+
import { Thrust } from '../force/Thrust.js';
|
|
33
|
+
import { RungeKutta89Propagator } from '../propagator/RungeKutta89Propagator.js';
|
|
34
|
+
import { CovarianceFrame, StateCovariance } from './StateCovariance.js';
|
|
35
35
|
|
|
36
36
|
// / Sigma point covariance sample.
|
|
37
37
|
export class CovarianceSample {
|
|
@@ -2,7 +2,9 @@ export enum CatalogSource {
|
|
|
2
2
|
USSF = 'USSF',
|
|
3
3
|
CELESTRAK = 'Celestrak',
|
|
4
4
|
UNIV_OF_MICH = 'University of Michigan',
|
|
5
|
+
CALPOLY = 'CalPoly',
|
|
6
|
+
NUSPACE = 'NuSpace',
|
|
5
7
|
VIMPEL = 'JSC Vimpel',
|
|
6
8
|
TLE_TXT = 'TLE.txt',
|
|
7
|
-
EXTRA_JSON = 'extra.json'
|
|
9
|
+
EXTRA_JSON = 'extra.json'
|
|
8
10
|
}
|
package/src/enums/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CatalogSource } from './CatalogSource';
|
|
2
|
-
export { CommLink } from './CommLink';
|
|
1
|
+
export { CatalogSource } from './CatalogSource.js';
|
|
2
|
+
export { CommLink } from './CommLink.js';
|
|
@@ -19,7 +19,7 @@ import { DataHandler, Earth, ITRF, J2000, Kilometers, KilometersPerSecond, Vecto
|
|
|
19
19
|
/* eslint-disable class-methods-use-this */
|
|
20
20
|
// / Complex Earth gravity model, accounting for EGM-96 zonal, sectoral, and
|
|
21
21
|
|
|
22
|
-
import { Force } from './Force';
|
|
22
|
+
import { Force } from './Force.js';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* designed to model the Earth's gravitational field, which is not uniformly distributed due to variations in mass
|
package/src/force/ForceModel.ts
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { Earth, J2000, Vector, Vector3D } from 'ootk-core';
|
|
19
|
-
import { AtmosphericDrag } from './AtmosphericDrag';
|
|
20
|
-
import { EarthGravity } from './EarthGravity';
|
|
21
|
-
import { Force } from './Force';
|
|
22
|
-
import { Gravity } from './Gravity';
|
|
23
|
-
import { SolarRadiationPressure } from './SolarRadiationPressure';
|
|
24
|
-
import { ThirdBodyGravity } from './ThirdBodyGravity';
|
|
25
|
-
import { Thrust } from './Thrust';
|
|
19
|
+
import { AtmosphericDrag } from './AtmosphericDrag.js';
|
|
20
|
+
import { EarthGravity } from './EarthGravity.js';
|
|
21
|
+
import { Force } from './Force.js';
|
|
22
|
+
import { Gravity } from './Gravity.js';
|
|
23
|
+
import { SolarRadiationPressure } from './SolarRadiationPressure.js';
|
|
24
|
+
import { ThirdBodyGravity } from './ThirdBodyGravity.js';
|
|
25
|
+
import { Thrust } from './Thrust.js';
|
|
26
26
|
|
|
27
27
|
// / Force model for spacecraft propagation.
|
|
28
28
|
|
package/src/force/Gravity.ts
CHANGED
package/src/force/Thrust.ts
CHANGED
package/src/force/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ForceModel } from './ForceModel';
|
|
1
|
+
export { ForceModel } from './ForceModel.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @author Theodore Kruczek.
|
|
3
|
-
* @license
|
|
3
|
+
* @license AGPL-3.0-or-later
|
|
4
4
|
* @copyright (c) 2022-2024 Theodore Kruczek Permission is
|
|
5
5
|
* hereby granted, free of charge, to any person obtaining a copy of this
|
|
6
6
|
* software and associated documentation files (the "Software"), to deal in the
|
|
@@ -21,13 +21,16 @@
|
|
|
21
21
|
* SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import { Degrees
|
|
24
|
+
import { Degrees } from 'ootk-core';
|
|
25
|
+
import { DetailedSensorParams } from '../types/types.js';
|
|
25
26
|
|
|
26
|
-
export interface RfSensorParams extends
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**
|
|
27
|
+
export interface RfSensorParams extends DetailedSensorParams {
|
|
28
|
+
/** The azimuth angles at boresight of the sensor */
|
|
29
|
+
boresightAz: Degrees[];
|
|
30
|
+
/** The elevation angles at boresight of the sensor */
|
|
31
|
+
boresightEl: Degrees[];
|
|
32
|
+
/** The width of the beam */
|
|
30
33
|
beamwidth: Degrees;
|
|
31
|
-
/**
|
|
34
|
+
/** The frequency this sensor operate in */
|
|
32
35
|
freqBand?: string;
|
|
33
36
|
}
|
package/src/interfaces/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { RfSensorParams } from './RfSensorParams';
|
|
1
|
+
export type { RfSensorParams } from './RfSensorParams.js';
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, EpochWindow, J2000 } from 'ootk-core';
|
|
19
|
-
import { ChebyshevCoefficients } from './ChebyshevCoefficients';
|
|
20
|
-
import { StateInterpolator } from './StateInterpolator';
|
|
19
|
+
import { ChebyshevCoefficients } from './ChebyshevCoefficients.js';
|
|
20
|
+
import { StateInterpolator } from './StateInterpolator.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Compressed Chebyshev ephemeris interpolator.
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { EpochUTC, EpochWindow, J2000, Kilometers, KilometersPerSecond, Vector3D } from 'ootk-core';
|
|
19
|
-
import { CubicSpline } from './CubicSpline';
|
|
20
|
-
import { StateInterpolator } from './StateInterpolator';
|
|
19
|
+
import { CubicSpline } from './CubicSpline.js';
|
|
20
|
+
import { StateInterpolator } from './StateInterpolator.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Cubic spline ephemeris interpolator.
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
19
19
|
/* eslint-disable class-methods-use-this */
|
|
20
20
|
|
|
21
|
-
import { Interpolator } from './Interpolator';
|
|
21
|
+
import { Interpolator } from './Interpolator.js';
|
|
22
22
|
|
|
23
23
|
// / Base class for arbitrary field interpolators.
|
|
24
24
|
export abstract class FieldInterpolator extends Interpolator {
|
|
@@ -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';
|
|
25
|
-
export * from './types/types';
|
|
26
|
-
export * from './interfaces';
|
|
27
|
-
export * from './coordinate';
|
|
28
|
-
export * from './objects';
|
|
29
|
-
export * from './operations';
|
|
30
|
-
export * from './force';
|
|
31
|
-
export * from './propagator';
|
|
32
|
-
export * from './transforms';
|
|
33
|
-
export * from './utils';
|
|
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.
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* Orbital Object ToolKit. If not, see <http://www.gnu.org/licenses/>.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import {
|
|
19
|
-
import { DetailedSensorParams, ZoomValue } from '../types/types';
|
|
20
|
-
import { CommLink } from '../enums/CommLink';
|
|
18
|
+
import { Milliseconds, Sensor } from 'ootk-core';
|
|
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;
|
|
@@ -26,20 +26,22 @@ export class DetailedSensor extends Sensor {
|
|
|
26
26
|
uiName?: string;
|
|
27
27
|
country?: string;
|
|
28
28
|
dwellTime?: Milliseconds;
|
|
29
|
+
freqBand?: string;
|
|
29
30
|
commLinks: CommLink[];
|
|
30
31
|
/** Is this sensor volumetric? */
|
|
31
32
|
isVolumetric?: boolean;
|
|
32
33
|
/** The ideal zoom to see the sensor's full FOV */
|
|
33
|
-
zoom
|
|
34
|
+
zoom?: ZoomValue | number;
|
|
34
35
|
system?: string;
|
|
35
36
|
operator?: string;
|
|
36
37
|
url?: string;
|
|
37
38
|
|
|
38
|
-
constructor(info: DetailedSensorParams
|
|
39
|
+
constructor(info: DetailedSensorParams) {
|
|
39
40
|
super(info);
|
|
40
41
|
this.commLinks = info.commLinks ?? [];
|
|
41
42
|
this.country = info.country;
|
|
42
43
|
this.dwellTime = info.changeObjectInterval;
|
|
44
|
+
this.freqBand = info.freqBand;
|
|
43
45
|
this.isVolumetric = info.volume;
|
|
44
46
|
this.objName = info.objName;
|
|
45
47
|
this.operator = info.operator;
|