@neilberkman/sidereon 0.13.0 → 0.14.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/package.json +1 -1
- package/pkg/sidereon.d.ts +1093 -960
- package/pkg/sidereon.js +210 -0
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1216 -1198
- package/pkg-node/sidereon.d.ts +115 -0
- package/pkg-node/sidereon.js +213 -0
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1216 -1198
- package/types/sidereon-extra.d.ts +129 -0
package/pkg/sidereon.js
CHANGED
|
@@ -4745,6 +4745,85 @@ export class GeoidGrid {
|
|
|
4745
4745
|
}
|
|
4746
4746
|
if (Symbol.dispose) GeoidGrid.prototype[Symbol.dispose] = GeoidGrid.prototype.free;
|
|
4747
4747
|
|
|
4748
|
+
/**
|
|
4749
|
+
* Geometry observability and covariance-validation diagnostics.
|
|
4750
|
+
*/
|
|
4751
|
+
export class GeometryQuality {
|
|
4752
|
+
static __wrap(ptr) {
|
|
4753
|
+
const obj = Object.create(GeometryQuality.prototype);
|
|
4754
|
+
obj.__wbg_ptr = ptr;
|
|
4755
|
+
GeometryQualityFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
4756
|
+
return obj;
|
|
4757
|
+
}
|
|
4758
|
+
__destroy_into_raw() {
|
|
4759
|
+
const ptr = this.__wbg_ptr;
|
|
4760
|
+
this.__wbg_ptr = 0;
|
|
4761
|
+
GeometryQualityFinalization.unregister(this);
|
|
4762
|
+
return ptr;
|
|
4763
|
+
}
|
|
4764
|
+
free() {
|
|
4765
|
+
const ptr = this.__destroy_into_raw();
|
|
4766
|
+
wasm.__wbg_geometryquality_free(ptr, 0);
|
|
4767
|
+
}
|
|
4768
|
+
/**
|
|
4769
|
+
* Singular-value condition number of the design matrix.
|
|
4770
|
+
* @returns {number}
|
|
4771
|
+
*/
|
|
4772
|
+
get conditionNumber() {
|
|
4773
|
+
const ret = wasm.geometryquality_conditionNumber(this.__wbg_ptr);
|
|
4774
|
+
return ret;
|
|
4775
|
+
}
|
|
4776
|
+
/**
|
|
4777
|
+
* Whether residuals or a propagated prior validated the covariance bound.
|
|
4778
|
+
* @returns {boolean}
|
|
4779
|
+
*/
|
|
4780
|
+
get covarianceValidated() {
|
|
4781
|
+
const ret = wasm.geometryquality_covarianceValidated(this.__wbg_ptr);
|
|
4782
|
+
return ret !== 0;
|
|
4783
|
+
}
|
|
4784
|
+
/**
|
|
4785
|
+
* Geometric dilution of precision for the solved state.
|
|
4786
|
+
* @returns {number}
|
|
4787
|
+
*/
|
|
4788
|
+
get gdop() {
|
|
4789
|
+
const ret = wasm.geometryquality_gdop(this.__wbg_ptr);
|
|
4790
|
+
return ret;
|
|
4791
|
+
}
|
|
4792
|
+
/**
|
|
4793
|
+
* Whether residual-based RAIM can test the solve.
|
|
4794
|
+
* @returns {boolean}
|
|
4795
|
+
*/
|
|
4796
|
+
get raimCheckable() {
|
|
4797
|
+
const ret = wasm.geometryquality_raimCheckable(this.__wbg_ptr);
|
|
4798
|
+
return ret !== 0;
|
|
4799
|
+
}
|
|
4800
|
+
/**
|
|
4801
|
+
* Rank of the design matrix used by the solve.
|
|
4802
|
+
* @returns {number}
|
|
4803
|
+
*/
|
|
4804
|
+
get rank() {
|
|
4805
|
+
const ret = wasm.geometryquality_rank(this.__wbg_ptr);
|
|
4806
|
+
return ret >>> 0;
|
|
4807
|
+
}
|
|
4808
|
+
/**
|
|
4809
|
+
* Observation redundancy, `nObs - nParams`.
|
|
4810
|
+
* @returns {number}
|
|
4811
|
+
*/
|
|
4812
|
+
get redundancy() {
|
|
4813
|
+
const ret = wasm.geometryquality_redundancy(this.__wbg_ptr);
|
|
4814
|
+
return ret;
|
|
4815
|
+
}
|
|
4816
|
+
/**
|
|
4817
|
+
* Observability and validation tier.
|
|
4818
|
+
* @returns {ObservabilityTier}
|
|
4819
|
+
*/
|
|
4820
|
+
get tier() {
|
|
4821
|
+
const ret = wasm.geometryquality_tier(this.__wbg_ptr);
|
|
4822
|
+
return ret;
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
if (Symbol.dispose) GeometryQuality.prototype[Symbol.dispose] = GeometryQuality.prototype.free;
|
|
4826
|
+
|
|
4748
4827
|
/**
|
|
4749
4828
|
* One GLONASS broadcast state-vector record. `toeUtcJ2000S` is UTC seconds past
|
|
4750
4829
|
* J2000; position is PZ-90.11 ECEF metres, velocity m/s, acceleration m/s^2.
|
|
@@ -8162,6 +8241,35 @@ export class ObsPhaseShift {
|
|
|
8162
8241
|
}
|
|
8163
8242
|
if (Symbol.dispose) ObsPhaseShift.prototype[Symbol.dispose] = ObsPhaseShift.prototype.free;
|
|
8164
8243
|
|
|
8244
|
+
/**
|
|
8245
|
+
* Observability and validation tier for an estimation design.
|
|
8246
|
+
*
|
|
8247
|
+
* `ZeroRedundancy` means the design is full rank but has no residual degrees of
|
|
8248
|
+
* freedom, so snapshot-solve covariance bounds are unvalidated unless a
|
|
8249
|
+
* propagated prior is present. `Weak` means the design exceeded the configured
|
|
8250
|
+
* condition-number or GDOP cutoff; the returned bounds are reported as computed
|
|
8251
|
+
* and are not clamped.
|
|
8252
|
+
* @enum {0 | 1 | 2 | 3}
|
|
8253
|
+
*/
|
|
8254
|
+
export const ObservabilityTier = Object.freeze({
|
|
8255
|
+
/**
|
|
8256
|
+
* At least one estimated parameter is not observable.
|
|
8257
|
+
*/
|
|
8258
|
+
RankDeficient: 0, "0": "RankDeficient",
|
|
8259
|
+
/**
|
|
8260
|
+
* Full rank with no residual degrees of freedom.
|
|
8261
|
+
*/
|
|
8262
|
+
ZeroRedundancy: 1, "1": "ZeroRedundancy",
|
|
8263
|
+
/**
|
|
8264
|
+
* Full rank with residual degrees of freedom, but above a cutoff.
|
|
8265
|
+
*/
|
|
8266
|
+
Weak: 2, "2": "Weak",
|
|
8267
|
+
/**
|
|
8268
|
+
* Full rank and within the configured cutoffs.
|
|
8269
|
+
*/
|
|
8270
|
+
Nominal: 3, "3": "Nominal",
|
|
8271
|
+
});
|
|
8272
|
+
|
|
8165
8273
|
/**
|
|
8166
8274
|
* Optional observation-code allow-list for raw and carrier-phase rows. Build
|
|
8167
8275
|
* with `new ObservationFilter()` then chain `.withSystem(system, codes)`.
|
|
@@ -12420,6 +12528,15 @@ export class RtkFixedSolution {
|
|
|
12420
12528
|
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12421
12529
|
return v1;
|
|
12422
12530
|
}
|
|
12531
|
+
/**
|
|
12532
|
+
* Geometry observability and covariance-validation diagnostics for the
|
|
12533
|
+
* float design used by the integer-fixed solve.
|
|
12534
|
+
* @returns {GeometryQuality}
|
|
12535
|
+
*/
|
|
12536
|
+
get geometryQuality() {
|
|
12537
|
+
const ret = wasm.rtkfixedsolution_geometryQuality(this.__wbg_ptr);
|
|
12538
|
+
return GeometryQuality.__wrap(ret);
|
|
12539
|
+
}
|
|
12423
12540
|
/**
|
|
12424
12541
|
* @returns {number}
|
|
12425
12542
|
*/
|
|
@@ -12451,6 +12568,24 @@ export class RtkFixedSolution {
|
|
|
12451
12568
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
12452
12569
|
}
|
|
12453
12570
|
}
|
|
12571
|
+
/**
|
|
12572
|
+
* Whether residual-based RAIM can test the float design used by the
|
|
12573
|
+
* integer-fixed solve.
|
|
12574
|
+
* @returns {boolean}
|
|
12575
|
+
*/
|
|
12576
|
+
get raimCheckable() {
|
|
12577
|
+
const ret = wasm.rtkfixedsolution_raimCheckable(this.__wbg_ptr);
|
|
12578
|
+
return ret !== 0;
|
|
12579
|
+
}
|
|
12580
|
+
/**
|
|
12581
|
+
* Observation redundancy, `nObs - nParams`, for the float design used by
|
|
12582
|
+
* the integer-fixed solve.
|
|
12583
|
+
* @returns {number}
|
|
12584
|
+
*/
|
|
12585
|
+
get redundancy() {
|
|
12586
|
+
const ret = wasm.rtkfixedsolution_redundancy(this.__wbg_ptr);
|
|
12587
|
+
return ret;
|
|
12588
|
+
}
|
|
12454
12589
|
}
|
|
12455
12590
|
if (Symbol.dispose) RtkFixedSolution.prototype[Symbol.dispose] = RtkFixedSolution.prototype.free;
|
|
12456
12591
|
|
|
@@ -12506,6 +12641,17 @@ export class RtkFloatSolution {
|
|
|
12506
12641
|
const ret = wasm.rtkfloatsolution_converged(this.__wbg_ptr);
|
|
12507
12642
|
return ret !== 0;
|
|
12508
12643
|
}
|
|
12644
|
+
/**
|
|
12645
|
+
* Geometry observability and covariance-validation diagnostics for the
|
|
12646
|
+
* final double-difference design. `ZeroRedundancy` bounds are unvalidated
|
|
12647
|
+
* for snapshot solves, `Weak` bounds are unclamped, and rank-deficient
|
|
12648
|
+
* designs are returned as a singular-geometry `Error`.
|
|
12649
|
+
* @returns {GeometryQuality}
|
|
12650
|
+
*/
|
|
12651
|
+
get geometryQuality() {
|
|
12652
|
+
const ret = wasm.rtkfloatsolution_geometryQuality(this.__wbg_ptr);
|
|
12653
|
+
return GeometryQuality.__wrap(ret);
|
|
12654
|
+
}
|
|
12509
12655
|
/**
|
|
12510
12656
|
* @returns {number}
|
|
12511
12657
|
*/
|
|
@@ -12527,6 +12673,22 @@ export class RtkFloatSolution {
|
|
|
12527
12673
|
const ret = wasm.rtkfloatsolution_phaseRmsM(this.__wbg_ptr);
|
|
12528
12674
|
return ret;
|
|
12529
12675
|
}
|
|
12676
|
+
/**
|
|
12677
|
+
* Whether residual-based RAIM can test the float design.
|
|
12678
|
+
* @returns {boolean}
|
|
12679
|
+
*/
|
|
12680
|
+
get raimCheckable() {
|
|
12681
|
+
const ret = wasm.rtkfloatsolution_raimCheckable(this.__wbg_ptr);
|
|
12682
|
+
return ret !== 0;
|
|
12683
|
+
}
|
|
12684
|
+
/**
|
|
12685
|
+
* Observation redundancy, `nObs - nParams`, for the float design.
|
|
12686
|
+
* @returns {number}
|
|
12687
|
+
*/
|
|
12688
|
+
get redundancy() {
|
|
12689
|
+
const ret = wasm.rtkfloatsolution_redundancy(this.__wbg_ptr);
|
|
12690
|
+
return ret;
|
|
12691
|
+
}
|
|
12530
12692
|
/**
|
|
12531
12693
|
* @returns {number}
|
|
12532
12694
|
*/
|
|
@@ -14554,6 +14716,17 @@ export class SppSolution {
|
|
|
14554
14716
|
}
|
|
14555
14717
|
return v1;
|
|
14556
14718
|
}
|
|
14719
|
+
/**
|
|
14720
|
+
* Geometry observability and covariance-validation diagnostics for this
|
|
14721
|
+
* solved design. `ZeroRedundancy` marks unvalidated snapshot covariance
|
|
14722
|
+
* bounds, `Weak` leaves large bounds unclamped, and rank-deficient designs
|
|
14723
|
+
* are returned as a singular-geometry `Error` rather than a solution.
|
|
14724
|
+
* @returns {GeometryQuality}
|
|
14725
|
+
*/
|
|
14726
|
+
get geometryQuality() {
|
|
14727
|
+
const ret = wasm.sppsolution_geometryQuality(this.__wbg_ptr);
|
|
14728
|
+
return GeometryQuality.__wrap(ret);
|
|
14729
|
+
}
|
|
14557
14730
|
/**
|
|
14558
14731
|
* ECEF position as a `Float64Array` `[x, y, z]`, metres.
|
|
14559
14732
|
* @returns {Float64Array}
|
|
@@ -14564,6 +14737,22 @@ export class SppSolution {
|
|
|
14564
14737
|
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
14565
14738
|
return v1;
|
|
14566
14739
|
}
|
|
14740
|
+
/**
|
|
14741
|
+
* Whether residual-based RAIM can test the accepted solve.
|
|
14742
|
+
* @returns {boolean}
|
|
14743
|
+
*/
|
|
14744
|
+
get raimCheckable() {
|
|
14745
|
+
const ret = wasm.sppsolution_raimCheckable(this.__wbg_ptr);
|
|
14746
|
+
return ret !== 0;
|
|
14747
|
+
}
|
|
14748
|
+
/**
|
|
14749
|
+
* Degrees of freedom in the accepted solve: `usedCount - (3 + clocks)`.
|
|
14750
|
+
* @returns {number}
|
|
14751
|
+
*/
|
|
14752
|
+
get redundancy() {
|
|
14753
|
+
const ret = wasm.sppsolution_redundancy(this.__wbg_ptr);
|
|
14754
|
+
return ret;
|
|
14755
|
+
}
|
|
14567
14756
|
/**
|
|
14568
14757
|
* Post-fit residuals, metres, index-aligned to `usedSats`.
|
|
14569
14758
|
* @returns {Float64Array}
|
|
@@ -19896,6 +20085,24 @@ export function ntripRequestBytes(config) {
|
|
|
19896
20085
|
return v1;
|
|
19897
20086
|
}
|
|
19898
20087
|
|
|
20088
|
+
/**
|
|
20089
|
+
* Stable string label for an [`ObservabilityTier`] enum value.
|
|
20090
|
+
* @param {ObservabilityTier} tier
|
|
20091
|
+
* @returns {string}
|
|
20092
|
+
*/
|
|
20093
|
+
export function observabilityTierLabel(tier) {
|
|
20094
|
+
let deferred1_0;
|
|
20095
|
+
let deferred1_1;
|
|
20096
|
+
try {
|
|
20097
|
+
const ret = wasm.observabilityTierLabel(tier);
|
|
20098
|
+
deferred1_0 = ret[0];
|
|
20099
|
+
deferred1_1 = ret[1];
|
|
20100
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
20101
|
+
} finally {
|
|
20102
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
20103
|
+
}
|
|
20104
|
+
}
|
|
20105
|
+
|
|
19899
20106
|
/**
|
|
19900
20107
|
* Missing-position sentinel used in failed observable-state batch elements.
|
|
19901
20108
|
*
|
|
@@ -23340,6 +23547,9 @@ const FrameStatesFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
23340
23547
|
const GeoidGridFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
23341
23548
|
? { register: () => {}, unregister: () => {} }
|
|
23342
23549
|
: new FinalizationRegistry(ptr => wasm.__wbg_geoidgrid_free(ptr, 1));
|
|
23550
|
+
const GeometryQualityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
23551
|
+
? { register: () => {}, unregister: () => {} }
|
|
23552
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_geometryquality_free(ptr, 1));
|
|
23343
23553
|
const GlonassRecordJsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
23344
23554
|
? { register: () => {}, unregister: () => {} }
|
|
23345
23555
|
: new FinalizationRegistry(ptr => wasm.__wbg_glonassrecordjs_free(ptr, 1));
|
package/pkg/sidereon_bg.wasm
CHANGED
|
Binary file
|