@neilberkman/sidereon 0.22.0 → 0.23.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 +1821 -1651
- package/pkg/sidereon.js +364 -10
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1694 -1658
- package/pkg-node/sidereon.d.ts +143 -9
- package/pkg-node/sidereon.js +364 -10
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1694 -1658
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -3705,22 +3705,26 @@ export enum NavMessage {
|
|
|
3705
3705
|
* QZSS CNAV-2.
|
|
3706
3706
|
*/
|
|
3707
3707
|
QzssCnav2 = 4,
|
|
3708
|
+
/**
|
|
3709
|
+
* QZSS LNAV.
|
|
3710
|
+
*/
|
|
3711
|
+
QzssLnav = 5,
|
|
3708
3712
|
/**
|
|
3709
3713
|
* Galileo I/NAV.
|
|
3710
3714
|
*/
|
|
3711
|
-
GalileoInav =
|
|
3715
|
+
GalileoInav = 6,
|
|
3712
3716
|
/**
|
|
3713
3717
|
* Galileo F/NAV.
|
|
3714
3718
|
*/
|
|
3715
|
-
GalileoFnav =
|
|
3719
|
+
GalileoFnav = 7,
|
|
3716
3720
|
/**
|
|
3717
3721
|
* BeiDou D1.
|
|
3718
3722
|
*/
|
|
3719
|
-
BeidouD1 =
|
|
3723
|
+
BeidouD1 = 8,
|
|
3720
3724
|
/**
|
|
3721
3725
|
* BeiDou D2.
|
|
3722
3726
|
*/
|
|
3723
|
-
BeidouD2 =
|
|
3727
|
+
BeidouD2 = 9,
|
|
3724
3728
|
}
|
|
3725
3729
|
|
|
3726
3730
|
/**
|
|
@@ -4908,6 +4912,10 @@ export class PppFixedSolution {
|
|
|
4908
4912
|
[Symbol.dispose](): void;
|
|
4909
4913
|
readonly codeRmsM: number;
|
|
4910
4914
|
readonly converged: boolean;
|
|
4915
|
+
/**
|
|
4916
|
+
* Epoch receiver clock states, metres.
|
|
4917
|
+
*/
|
|
4918
|
+
readonly epochClocksM: Float64Array;
|
|
4911
4919
|
/**
|
|
4912
4920
|
* Fixed ambiguities, integer cycles, as an id-keyed object.
|
|
4913
4921
|
*/
|
|
@@ -4920,6 +4928,18 @@ export class PppFixedSolution {
|
|
|
4920
4928
|
* The float solution that seeded the integer search.
|
|
4921
4929
|
*/
|
|
4922
4930
|
readonly floatSolution: PppFloatSolution;
|
|
4931
|
+
/**
|
|
4932
|
+
* Formal ECEF position covariance, row-major 3-by-3.
|
|
4933
|
+
*/
|
|
4934
|
+
readonly formalPositionCovarianceEcefM2: Float64Array;
|
|
4935
|
+
/**
|
|
4936
|
+
* Formal ENU position covariance, row-major 3-by-3.
|
|
4937
|
+
*/
|
|
4938
|
+
readonly formalPositionCovarianceEnuM2: Float64Array;
|
|
4939
|
+
/**
|
|
4940
|
+
* Formal north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
4941
|
+
*/
|
|
4942
|
+
readonly formalTropoGradientCovarianceM2: Float64Array | undefined;
|
|
4923
4943
|
readonly integerCandidates: number;
|
|
4924
4944
|
readonly integerRatio: number;
|
|
4925
4945
|
/**
|
|
@@ -4928,10 +4948,57 @@ export class PppFixedSolution {
|
|
|
4928
4948
|
readonly integerStatus: string;
|
|
4929
4949
|
readonly iterations: number;
|
|
4930
4950
|
readonly phaseRmsM: number;
|
|
4951
|
+
/**
|
|
4952
|
+
* Posterior ECEF position covariance, row-major 3-by-3.
|
|
4953
|
+
*/
|
|
4954
|
+
readonly positionCovarianceEcefM2: Float64Array;
|
|
4955
|
+
/**
|
|
4956
|
+
* Posterior ENU position covariance, row-major 3-by-3.
|
|
4957
|
+
*/
|
|
4958
|
+
readonly positionCovarianceEnuM2: Float64Array;
|
|
4959
|
+
readonly positionCovarianceScaleFactor: number;
|
|
4931
4960
|
/**
|
|
4932
4961
|
* ECEF position as a `Float64Array` `[x, y, z]`, metres.
|
|
4933
4962
|
*/
|
|
4934
4963
|
readonly positionM: Float64Array;
|
|
4964
|
+
readonly posteriorVarianceFactor: number;
|
|
4965
|
+
/**
|
|
4966
|
+
* Residual ionosphere states, metres, as an id-keyed object.
|
|
4967
|
+
*/
|
|
4968
|
+
readonly residualIonosphereM: any;
|
|
4969
|
+
/**
|
|
4970
|
+
* Post-fit PPP residual rows.
|
|
4971
|
+
*/
|
|
4972
|
+
readonly residuals: any;
|
|
4973
|
+
/**
|
|
4974
|
+
* Static PPP termination status.
|
|
4975
|
+
*/
|
|
4976
|
+
readonly status: string;
|
|
4977
|
+
/**
|
|
4978
|
+
* Temporal-correlation summary used by the conservative covariance.
|
|
4979
|
+
*/
|
|
4980
|
+
readonly temporalCorrelation: any;
|
|
4981
|
+
/**
|
|
4982
|
+
* Temporal-correlation-deflated ECEF covariance, row-major 3-by-3.
|
|
4983
|
+
*/
|
|
4984
|
+
readonly temporalPositionCovarianceEcefM2: Float64Array;
|
|
4985
|
+
/**
|
|
4986
|
+
* Temporal-correlation-deflated ENU covariance, row-major 3-by-3.
|
|
4987
|
+
*/
|
|
4988
|
+
readonly temporalPositionCovarianceEnuM2: Float64Array;
|
|
4989
|
+
readonly temporalPositionCovarianceScaleFactor: number;
|
|
4990
|
+
/**
|
|
4991
|
+
* Posterior north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
4992
|
+
*/
|
|
4993
|
+
readonly tropoGradientCovarianceM2: Float64Array | undefined;
|
|
4994
|
+
/**
|
|
4995
|
+
* Estimated east tropospheric gradient, metres, or `undefined`.
|
|
4996
|
+
*/
|
|
4997
|
+
readonly tropoGradientEastM: number | undefined;
|
|
4998
|
+
/**
|
|
4999
|
+
* Estimated north tropospheric gradient, metres, or `undefined`.
|
|
5000
|
+
*/
|
|
5001
|
+
readonly tropoGradientNorthM: number | undefined;
|
|
4935
5002
|
/**
|
|
4936
5003
|
* Satellite tokens used in the accepted solution.
|
|
4937
5004
|
*/
|
|
@@ -4956,12 +5023,75 @@ export class PppFloatSolution {
|
|
|
4956
5023
|
readonly ambiguitiesM: any;
|
|
4957
5024
|
readonly codeRmsM: number;
|
|
4958
5025
|
readonly converged: boolean;
|
|
5026
|
+
/**
|
|
5027
|
+
* Epoch receiver clock states, metres.
|
|
5028
|
+
*/
|
|
5029
|
+
readonly epochClocksM: Float64Array;
|
|
5030
|
+
/**
|
|
5031
|
+
* Formal ECEF position covariance, row-major 3-by-3.
|
|
5032
|
+
*/
|
|
5033
|
+
readonly formalPositionCovarianceEcefM2: Float64Array;
|
|
5034
|
+
/**
|
|
5035
|
+
* Formal ENU position covariance, row-major 3-by-3.
|
|
5036
|
+
*/
|
|
5037
|
+
readonly formalPositionCovarianceEnuM2: Float64Array;
|
|
5038
|
+
/**
|
|
5039
|
+
* Formal north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
5040
|
+
*/
|
|
5041
|
+
readonly formalTropoGradientCovarianceM2: Float64Array | undefined;
|
|
4959
5042
|
readonly iterations: number;
|
|
4960
5043
|
readonly phaseRmsM: number;
|
|
5044
|
+
/**
|
|
5045
|
+
* Posterior ECEF position covariance, row-major 3-by-3.
|
|
5046
|
+
*/
|
|
5047
|
+
readonly positionCovarianceEcefM2: Float64Array;
|
|
5048
|
+
/**
|
|
5049
|
+
* Posterior ENU position covariance, row-major 3-by-3.
|
|
5050
|
+
*/
|
|
5051
|
+
readonly positionCovarianceEnuM2: Float64Array;
|
|
5052
|
+
readonly positionCovarianceScaleFactor: number;
|
|
4961
5053
|
/**
|
|
4962
5054
|
* ECEF position as a `Float64Array` `[x, y, z]`, metres.
|
|
4963
5055
|
*/
|
|
4964
5056
|
readonly positionM: Float64Array;
|
|
5057
|
+
readonly posteriorVarianceFactor: number;
|
|
5058
|
+
/**
|
|
5059
|
+
* Residual ionosphere states, metres, as an id-keyed object.
|
|
5060
|
+
*/
|
|
5061
|
+
readonly residualIonosphereM: any;
|
|
5062
|
+
/**
|
|
5063
|
+
* Post-fit PPP residual rows.
|
|
5064
|
+
*/
|
|
5065
|
+
readonly residuals: any;
|
|
5066
|
+
/**
|
|
5067
|
+
* Static PPP termination status.
|
|
5068
|
+
*/
|
|
5069
|
+
readonly status: string;
|
|
5070
|
+
/**
|
|
5071
|
+
* Temporal-correlation summary used by the conservative covariance.
|
|
5072
|
+
*/
|
|
5073
|
+
readonly temporalCorrelation: any;
|
|
5074
|
+
/**
|
|
5075
|
+
* Temporal-correlation-deflated ECEF covariance, row-major 3-by-3.
|
|
5076
|
+
*/
|
|
5077
|
+
readonly temporalPositionCovarianceEcefM2: Float64Array;
|
|
5078
|
+
/**
|
|
5079
|
+
* Temporal-correlation-deflated ENU covariance, row-major 3-by-3.
|
|
5080
|
+
*/
|
|
5081
|
+
readonly temporalPositionCovarianceEnuM2: Float64Array;
|
|
5082
|
+
readonly temporalPositionCovarianceScaleFactor: number;
|
|
5083
|
+
/**
|
|
5084
|
+
* Posterior north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
5085
|
+
*/
|
|
5086
|
+
readonly tropoGradientCovarianceM2: Float64Array | undefined;
|
|
5087
|
+
/**
|
|
5088
|
+
* Estimated east tropospheric gradient, metres, or `undefined`.
|
|
5089
|
+
*/
|
|
5090
|
+
readonly tropoGradientEastM: number | undefined;
|
|
5091
|
+
/**
|
|
5092
|
+
* Estimated north tropospheric gradient, metres, or `undefined`.
|
|
5093
|
+
*/
|
|
5094
|
+
readonly tropoGradientNorthM: number | undefined;
|
|
4965
5095
|
/**
|
|
4966
5096
|
* Satellite tokens used in the accepted solution.
|
|
4967
5097
|
*/
|
|
@@ -8370,7 +8500,9 @@ export function decodeCrinexLines(bytes: Uint8Array): string[];
|
|
|
8370
8500
|
* scan resynchronizes on the next preamble. Returns an array of message objects,
|
|
8371
8501
|
* each tagged with a `type` discriminant (`"msm"`, `"stationCoordinates"`,
|
|
8372
8502
|
* `"antennaDescriptor"`, `"gpsEphemeris"`, `"glonassEphemeris"`,
|
|
8373
|
-
* `"
|
|
8503
|
+
* `"beidouEphemeris"`, `"qzssEphemeris"`, `"galileoFnavEphemeris"`,
|
|
8504
|
+
* `"galileoInavEphemeris"`, `"unsupported"`). Delegates to
|
|
8505
|
+
* `sidereon_core::rtcm::decode_messages`.
|
|
8374
8506
|
*/
|
|
8375
8507
|
export function decodeRtcm(bytes: Uint8Array): any;
|
|
8376
8508
|
|
|
@@ -8616,10 +8748,12 @@ export function encodeCrinex(rinex_text: string): string;
|
|
|
8616
8748
|
*
|
|
8617
8749
|
* `message` is a `type`-tagged plain object of the same shape [`decodeRtcm`]
|
|
8618
8750
|
* returns (`"stationCoordinates"`, `"antennaDescriptor"`, `"gpsEphemeris"`,
|
|
8619
|
-
* `"glonassEphemeris"`, `"
|
|
8620
|
-
*
|
|
8621
|
-
* `
|
|
8622
|
-
* `
|
|
8751
|
+
* `"glonassEphemeris"`, `"beidouEphemeris"`, `"qzssEphemeris"`,
|
|
8752
|
+
* `"galileoFnavEphemeris"`, `"galileoInavEphemeris"`, `"msm"`,
|
|
8753
|
+
* `"unsupported"`), carrying the raw transmitted field integers (large fields
|
|
8754
|
+
* as `bigint`). Returns the encoded body as a `Uint8Array`. Delegates to
|
|
8755
|
+
* `sidereon_core::rtcm::Message::encode`. Throws a `TypeError` for a malformed
|
|
8756
|
+
* object or unknown type.
|
|
8623
8757
|
*/
|
|
8624
8758
|
export function encodeRtcm(message: any): Uint8Array;
|
|
8625
8759
|
|
package/pkg-node/sidereon.js
CHANGED
|
@@ -9119,7 +9119,7 @@ exports.NamedTle = NamedTle;
|
|
|
9119
9119
|
|
|
9120
9120
|
/**
|
|
9121
9121
|
* Which supported RINEX NAV message a broadcast record carries.
|
|
9122
|
-
* @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8}
|
|
9122
|
+
* @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}
|
|
9123
9123
|
*/
|
|
9124
9124
|
const NavMessage = Object.freeze({
|
|
9125
9125
|
/**
|
|
@@ -9142,22 +9142,26 @@ const NavMessage = Object.freeze({
|
|
|
9142
9142
|
* QZSS CNAV-2.
|
|
9143
9143
|
*/
|
|
9144
9144
|
QzssCnav2: 4, "4": "QzssCnav2",
|
|
9145
|
+
/**
|
|
9146
|
+
* QZSS LNAV.
|
|
9147
|
+
*/
|
|
9148
|
+
QzssLnav: 5, "5": "QzssLnav",
|
|
9145
9149
|
/**
|
|
9146
9150
|
* Galileo I/NAV.
|
|
9147
9151
|
*/
|
|
9148
|
-
GalileoInav:
|
|
9152
|
+
GalileoInav: 6, "6": "GalileoInav",
|
|
9149
9153
|
/**
|
|
9150
9154
|
* Galileo F/NAV.
|
|
9151
9155
|
*/
|
|
9152
|
-
GalileoFnav:
|
|
9156
|
+
GalileoFnav: 7, "7": "GalileoFnav",
|
|
9153
9157
|
/**
|
|
9154
9158
|
* BeiDou D1.
|
|
9155
9159
|
*/
|
|
9156
|
-
BeidouD1:
|
|
9160
|
+
BeidouD1: 8, "8": "BeidouD1",
|
|
9157
9161
|
/**
|
|
9158
9162
|
* BeiDou D2.
|
|
9159
9163
|
*/
|
|
9160
|
-
BeidouD2:
|
|
9164
|
+
BeidouD2: 9, "9": "BeidouD2",
|
|
9161
9165
|
});
|
|
9162
9166
|
exports.NavMessage = NavMessage;
|
|
9163
9167
|
|
|
@@ -12606,6 +12610,16 @@ class PppFixedSolution {
|
|
|
12606
12610
|
const ret = wasm.pppfixedsolution_converged(this.__wbg_ptr);
|
|
12607
12611
|
return ret !== 0;
|
|
12608
12612
|
}
|
|
12613
|
+
/**
|
|
12614
|
+
* Epoch receiver clock states, metres.
|
|
12615
|
+
* @returns {Float64Array}
|
|
12616
|
+
*/
|
|
12617
|
+
get epochClocksM() {
|
|
12618
|
+
const ret = wasm.pppfixedsolution_epochClocksM(this.__wbg_ptr);
|
|
12619
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12620
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12621
|
+
return v1;
|
|
12622
|
+
}
|
|
12609
12623
|
/**
|
|
12610
12624
|
* Fixed ambiguities, integer cycles, as an id-keyed object.
|
|
12611
12625
|
* @returns {any}
|
|
@@ -12630,6 +12644,39 @@ class PppFixedSolution {
|
|
|
12630
12644
|
const ret = wasm.pppfixedsolution_floatSolution(this.__wbg_ptr);
|
|
12631
12645
|
return PppFloatSolution.__wrap(ret);
|
|
12632
12646
|
}
|
|
12647
|
+
/**
|
|
12648
|
+
* Formal ECEF position covariance, row-major 3-by-3.
|
|
12649
|
+
* @returns {Float64Array}
|
|
12650
|
+
*/
|
|
12651
|
+
get formalPositionCovarianceEcefM2() {
|
|
12652
|
+
const ret = wasm.pppfixedsolution_formalPositionCovarianceEcefM2(this.__wbg_ptr);
|
|
12653
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12654
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12655
|
+
return v1;
|
|
12656
|
+
}
|
|
12657
|
+
/**
|
|
12658
|
+
* Formal ENU position covariance, row-major 3-by-3.
|
|
12659
|
+
* @returns {Float64Array}
|
|
12660
|
+
*/
|
|
12661
|
+
get formalPositionCovarianceEnuM2() {
|
|
12662
|
+
const ret = wasm.pppfixedsolution_formalPositionCovarianceEnuM2(this.__wbg_ptr);
|
|
12663
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12664
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12665
|
+
return v1;
|
|
12666
|
+
}
|
|
12667
|
+
/**
|
|
12668
|
+
* Formal north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
12669
|
+
* @returns {Float64Array | undefined}
|
|
12670
|
+
*/
|
|
12671
|
+
get formalTropoGradientCovarianceM2() {
|
|
12672
|
+
const ret = wasm.pppfixedsolution_formalTropoGradientCovarianceM2(this.__wbg_ptr);
|
|
12673
|
+
let v1;
|
|
12674
|
+
if (ret[0] !== 0) {
|
|
12675
|
+
v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12676
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12677
|
+
}
|
|
12678
|
+
return v1;
|
|
12679
|
+
}
|
|
12633
12680
|
/**
|
|
12634
12681
|
* @returns {number}
|
|
12635
12682
|
*/
|
|
@@ -12674,6 +12721,33 @@ class PppFixedSolution {
|
|
|
12674
12721
|
const ret = wasm.pppfixedsolution_phaseRmsM(this.__wbg_ptr);
|
|
12675
12722
|
return ret;
|
|
12676
12723
|
}
|
|
12724
|
+
/**
|
|
12725
|
+
* Posterior ECEF position covariance, row-major 3-by-3.
|
|
12726
|
+
* @returns {Float64Array}
|
|
12727
|
+
*/
|
|
12728
|
+
get positionCovarianceEcefM2() {
|
|
12729
|
+
const ret = wasm.pppfixedsolution_positionCovarianceEcefM2(this.__wbg_ptr);
|
|
12730
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12731
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12732
|
+
return v1;
|
|
12733
|
+
}
|
|
12734
|
+
/**
|
|
12735
|
+
* Posterior ENU position covariance, row-major 3-by-3.
|
|
12736
|
+
* @returns {Float64Array}
|
|
12737
|
+
*/
|
|
12738
|
+
get positionCovarianceEnuM2() {
|
|
12739
|
+
const ret = wasm.pppfixedsolution_positionCovarianceEnuM2(this.__wbg_ptr);
|
|
12740
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12741
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12742
|
+
return v1;
|
|
12743
|
+
}
|
|
12744
|
+
/**
|
|
12745
|
+
* @returns {number}
|
|
12746
|
+
*/
|
|
12747
|
+
get positionCovarianceScaleFactor() {
|
|
12748
|
+
const ret = wasm.pppfixedsolution_positionCovarianceScaleFactor(this.__wbg_ptr);
|
|
12749
|
+
return ret;
|
|
12750
|
+
}
|
|
12677
12751
|
/**
|
|
12678
12752
|
* ECEF position as a `Float64Array` `[x, y, z]`, metres.
|
|
12679
12753
|
* @returns {Float64Array}
|
|
@@ -12684,6 +12758,109 @@ class PppFixedSolution {
|
|
|
12684
12758
|
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12685
12759
|
return v1;
|
|
12686
12760
|
}
|
|
12761
|
+
/**
|
|
12762
|
+
* @returns {number}
|
|
12763
|
+
*/
|
|
12764
|
+
get posteriorVarianceFactor() {
|
|
12765
|
+
const ret = wasm.pppfixedsolution_posteriorVarianceFactor(this.__wbg_ptr);
|
|
12766
|
+
return ret;
|
|
12767
|
+
}
|
|
12768
|
+
/**
|
|
12769
|
+
* Residual ionosphere states, metres, as an id-keyed object.
|
|
12770
|
+
* @returns {any}
|
|
12771
|
+
*/
|
|
12772
|
+
get residualIonosphereM() {
|
|
12773
|
+
const ret = wasm.pppfixedsolution_residualIonosphereM(this.__wbg_ptr);
|
|
12774
|
+
return ret;
|
|
12775
|
+
}
|
|
12776
|
+
/**
|
|
12777
|
+
* Post-fit PPP residual rows.
|
|
12778
|
+
* @returns {any}
|
|
12779
|
+
*/
|
|
12780
|
+
get residuals() {
|
|
12781
|
+
const ret = wasm.pppfixedsolution_residuals(this.__wbg_ptr);
|
|
12782
|
+
return ret;
|
|
12783
|
+
}
|
|
12784
|
+
/**
|
|
12785
|
+
* Static PPP termination status.
|
|
12786
|
+
* @returns {string}
|
|
12787
|
+
*/
|
|
12788
|
+
get status() {
|
|
12789
|
+
let deferred1_0;
|
|
12790
|
+
let deferred1_1;
|
|
12791
|
+
try {
|
|
12792
|
+
const ret = wasm.pppfixedsolution_status(this.__wbg_ptr);
|
|
12793
|
+
deferred1_0 = ret[0];
|
|
12794
|
+
deferred1_1 = ret[1];
|
|
12795
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
12796
|
+
} finally {
|
|
12797
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
12798
|
+
}
|
|
12799
|
+
}
|
|
12800
|
+
/**
|
|
12801
|
+
* Temporal-correlation summary used by the conservative covariance.
|
|
12802
|
+
* @returns {any}
|
|
12803
|
+
*/
|
|
12804
|
+
get temporalCorrelation() {
|
|
12805
|
+
const ret = wasm.pppfixedsolution_temporalCorrelation(this.__wbg_ptr);
|
|
12806
|
+
return ret;
|
|
12807
|
+
}
|
|
12808
|
+
/**
|
|
12809
|
+
* Temporal-correlation-deflated ECEF covariance, row-major 3-by-3.
|
|
12810
|
+
* @returns {Float64Array}
|
|
12811
|
+
*/
|
|
12812
|
+
get temporalPositionCovarianceEcefM2() {
|
|
12813
|
+
const ret = wasm.pppfixedsolution_temporalPositionCovarianceEcefM2(this.__wbg_ptr);
|
|
12814
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12815
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12816
|
+
return v1;
|
|
12817
|
+
}
|
|
12818
|
+
/**
|
|
12819
|
+
* Temporal-correlation-deflated ENU covariance, row-major 3-by-3.
|
|
12820
|
+
* @returns {Float64Array}
|
|
12821
|
+
*/
|
|
12822
|
+
get temporalPositionCovarianceEnuM2() {
|
|
12823
|
+
const ret = wasm.pppfixedsolution_temporalPositionCovarianceEnuM2(this.__wbg_ptr);
|
|
12824
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12825
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12826
|
+
return v1;
|
|
12827
|
+
}
|
|
12828
|
+
/**
|
|
12829
|
+
* @returns {number}
|
|
12830
|
+
*/
|
|
12831
|
+
get temporalPositionCovarianceScaleFactor() {
|
|
12832
|
+
const ret = wasm.pppfixedsolution_temporalPositionCovarianceScaleFactor(this.__wbg_ptr);
|
|
12833
|
+
return ret;
|
|
12834
|
+
}
|
|
12835
|
+
/**
|
|
12836
|
+
* Posterior north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
12837
|
+
* @returns {Float64Array | undefined}
|
|
12838
|
+
*/
|
|
12839
|
+
get tropoGradientCovarianceM2() {
|
|
12840
|
+
const ret = wasm.pppfixedsolution_tropoGradientCovarianceM2(this.__wbg_ptr);
|
|
12841
|
+
let v1;
|
|
12842
|
+
if (ret[0] !== 0) {
|
|
12843
|
+
v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12844
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12845
|
+
}
|
|
12846
|
+
return v1;
|
|
12847
|
+
}
|
|
12848
|
+
/**
|
|
12849
|
+
* Estimated east tropospheric gradient, metres, or `undefined`.
|
|
12850
|
+
* @returns {number | undefined}
|
|
12851
|
+
*/
|
|
12852
|
+
get tropoGradientEastM() {
|
|
12853
|
+
const ret = wasm.pppfixedsolution_tropoGradientEastM(this.__wbg_ptr);
|
|
12854
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
12855
|
+
}
|
|
12856
|
+
/**
|
|
12857
|
+
* Estimated north tropospheric gradient, metres, or `undefined`.
|
|
12858
|
+
* @returns {number | undefined}
|
|
12859
|
+
*/
|
|
12860
|
+
get tropoGradientNorthM() {
|
|
12861
|
+
const ret = wasm.pppfixedsolution_tropoGradientNorthM(this.__wbg_ptr);
|
|
12862
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
12863
|
+
}
|
|
12687
12864
|
/**
|
|
12688
12865
|
* Satellite tokens used in the accepted solution.
|
|
12689
12866
|
* @returns {string[]}
|
|
@@ -12755,6 +12932,49 @@ class PppFloatSolution {
|
|
|
12755
12932
|
const ret = wasm.pppfloatsolution_converged(this.__wbg_ptr);
|
|
12756
12933
|
return ret !== 0;
|
|
12757
12934
|
}
|
|
12935
|
+
/**
|
|
12936
|
+
* Epoch receiver clock states, metres.
|
|
12937
|
+
* @returns {Float64Array}
|
|
12938
|
+
*/
|
|
12939
|
+
get epochClocksM() {
|
|
12940
|
+
const ret = wasm.pppfloatsolution_epochClocksM(this.__wbg_ptr);
|
|
12941
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12942
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12943
|
+
return v1;
|
|
12944
|
+
}
|
|
12945
|
+
/**
|
|
12946
|
+
* Formal ECEF position covariance, row-major 3-by-3.
|
|
12947
|
+
* @returns {Float64Array}
|
|
12948
|
+
*/
|
|
12949
|
+
get formalPositionCovarianceEcefM2() {
|
|
12950
|
+
const ret = wasm.pppfloatsolution_formalPositionCovarianceEcefM2(this.__wbg_ptr);
|
|
12951
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12952
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12953
|
+
return v1;
|
|
12954
|
+
}
|
|
12955
|
+
/**
|
|
12956
|
+
* Formal ENU position covariance, row-major 3-by-3.
|
|
12957
|
+
* @returns {Float64Array}
|
|
12958
|
+
*/
|
|
12959
|
+
get formalPositionCovarianceEnuM2() {
|
|
12960
|
+
const ret = wasm.pppfloatsolution_formalPositionCovarianceEnuM2(this.__wbg_ptr);
|
|
12961
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12962
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12963
|
+
return v1;
|
|
12964
|
+
}
|
|
12965
|
+
/**
|
|
12966
|
+
* Formal north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
12967
|
+
* @returns {Float64Array | undefined}
|
|
12968
|
+
*/
|
|
12969
|
+
get formalTropoGradientCovarianceM2() {
|
|
12970
|
+
const ret = wasm.pppfloatsolution_formalTropoGradientCovarianceM2(this.__wbg_ptr);
|
|
12971
|
+
let v1;
|
|
12972
|
+
if (ret[0] !== 0) {
|
|
12973
|
+
v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12974
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12975
|
+
}
|
|
12976
|
+
return v1;
|
|
12977
|
+
}
|
|
12758
12978
|
/**
|
|
12759
12979
|
* @returns {number}
|
|
12760
12980
|
*/
|
|
@@ -12769,6 +12989,33 @@ class PppFloatSolution {
|
|
|
12769
12989
|
const ret = wasm.pppfloatsolution_phaseRmsM(this.__wbg_ptr);
|
|
12770
12990
|
return ret;
|
|
12771
12991
|
}
|
|
12992
|
+
/**
|
|
12993
|
+
* Posterior ECEF position covariance, row-major 3-by-3.
|
|
12994
|
+
* @returns {Float64Array}
|
|
12995
|
+
*/
|
|
12996
|
+
get positionCovarianceEcefM2() {
|
|
12997
|
+
const ret = wasm.pppfloatsolution_positionCovarianceEcefM2(this.__wbg_ptr);
|
|
12998
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
12999
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
13000
|
+
return v1;
|
|
13001
|
+
}
|
|
13002
|
+
/**
|
|
13003
|
+
* Posterior ENU position covariance, row-major 3-by-3.
|
|
13004
|
+
* @returns {Float64Array}
|
|
13005
|
+
*/
|
|
13006
|
+
get positionCovarianceEnuM2() {
|
|
13007
|
+
const ret = wasm.pppfloatsolution_positionCovarianceEnuM2(this.__wbg_ptr);
|
|
13008
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
13009
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
13010
|
+
return v1;
|
|
13011
|
+
}
|
|
13012
|
+
/**
|
|
13013
|
+
* @returns {number}
|
|
13014
|
+
*/
|
|
13015
|
+
get positionCovarianceScaleFactor() {
|
|
13016
|
+
const ret = wasm.pppfloatsolution_positionCovarianceScaleFactor(this.__wbg_ptr);
|
|
13017
|
+
return ret;
|
|
13018
|
+
}
|
|
12772
13019
|
/**
|
|
12773
13020
|
* ECEF position as a `Float64Array` `[x, y, z]`, metres.
|
|
12774
13021
|
* @returns {Float64Array}
|
|
@@ -12779,6 +13026,109 @@ class PppFloatSolution {
|
|
|
12779
13026
|
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
12780
13027
|
return v1;
|
|
12781
13028
|
}
|
|
13029
|
+
/**
|
|
13030
|
+
* @returns {number}
|
|
13031
|
+
*/
|
|
13032
|
+
get posteriorVarianceFactor() {
|
|
13033
|
+
const ret = wasm.pppfloatsolution_posteriorVarianceFactor(this.__wbg_ptr);
|
|
13034
|
+
return ret;
|
|
13035
|
+
}
|
|
13036
|
+
/**
|
|
13037
|
+
* Residual ionosphere states, metres, as an id-keyed object.
|
|
13038
|
+
* @returns {any}
|
|
13039
|
+
*/
|
|
13040
|
+
get residualIonosphereM() {
|
|
13041
|
+
const ret = wasm.pppfloatsolution_residualIonosphereM(this.__wbg_ptr);
|
|
13042
|
+
return ret;
|
|
13043
|
+
}
|
|
13044
|
+
/**
|
|
13045
|
+
* Post-fit PPP residual rows.
|
|
13046
|
+
* @returns {any}
|
|
13047
|
+
*/
|
|
13048
|
+
get residuals() {
|
|
13049
|
+
const ret = wasm.pppfloatsolution_residuals(this.__wbg_ptr);
|
|
13050
|
+
return ret;
|
|
13051
|
+
}
|
|
13052
|
+
/**
|
|
13053
|
+
* Static PPP termination status.
|
|
13054
|
+
* @returns {string}
|
|
13055
|
+
*/
|
|
13056
|
+
get status() {
|
|
13057
|
+
let deferred1_0;
|
|
13058
|
+
let deferred1_1;
|
|
13059
|
+
try {
|
|
13060
|
+
const ret = wasm.pppfloatsolution_status(this.__wbg_ptr);
|
|
13061
|
+
deferred1_0 = ret[0];
|
|
13062
|
+
deferred1_1 = ret[1];
|
|
13063
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
13064
|
+
} finally {
|
|
13065
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
13066
|
+
}
|
|
13067
|
+
}
|
|
13068
|
+
/**
|
|
13069
|
+
* Temporal-correlation summary used by the conservative covariance.
|
|
13070
|
+
* @returns {any}
|
|
13071
|
+
*/
|
|
13072
|
+
get temporalCorrelation() {
|
|
13073
|
+
const ret = wasm.pppfloatsolution_temporalCorrelation(this.__wbg_ptr);
|
|
13074
|
+
return ret;
|
|
13075
|
+
}
|
|
13076
|
+
/**
|
|
13077
|
+
* Temporal-correlation-deflated ECEF covariance, row-major 3-by-3.
|
|
13078
|
+
* @returns {Float64Array}
|
|
13079
|
+
*/
|
|
13080
|
+
get temporalPositionCovarianceEcefM2() {
|
|
13081
|
+
const ret = wasm.pppfloatsolution_temporalPositionCovarianceEcefM2(this.__wbg_ptr);
|
|
13082
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
13083
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
13084
|
+
return v1;
|
|
13085
|
+
}
|
|
13086
|
+
/**
|
|
13087
|
+
* Temporal-correlation-deflated ENU covariance, row-major 3-by-3.
|
|
13088
|
+
* @returns {Float64Array}
|
|
13089
|
+
*/
|
|
13090
|
+
get temporalPositionCovarianceEnuM2() {
|
|
13091
|
+
const ret = wasm.pppfloatsolution_temporalPositionCovarianceEnuM2(this.__wbg_ptr);
|
|
13092
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
13093
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
13094
|
+
return v1;
|
|
13095
|
+
}
|
|
13096
|
+
/**
|
|
13097
|
+
* @returns {number}
|
|
13098
|
+
*/
|
|
13099
|
+
get temporalPositionCovarianceScaleFactor() {
|
|
13100
|
+
const ret = wasm.pppfloatsolution_temporalPositionCovarianceScaleFactor(this.__wbg_ptr);
|
|
13101
|
+
return ret;
|
|
13102
|
+
}
|
|
13103
|
+
/**
|
|
13104
|
+
* Posterior north/east tropospheric-gradient covariance, row-major 2-by-2.
|
|
13105
|
+
* @returns {Float64Array | undefined}
|
|
13106
|
+
*/
|
|
13107
|
+
get tropoGradientCovarianceM2() {
|
|
13108
|
+
const ret = wasm.pppfloatsolution_tropoGradientCovarianceM2(this.__wbg_ptr);
|
|
13109
|
+
let v1;
|
|
13110
|
+
if (ret[0] !== 0) {
|
|
13111
|
+
v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
13112
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
13113
|
+
}
|
|
13114
|
+
return v1;
|
|
13115
|
+
}
|
|
13116
|
+
/**
|
|
13117
|
+
* Estimated east tropospheric gradient, metres, or `undefined`.
|
|
13118
|
+
* @returns {number | undefined}
|
|
13119
|
+
*/
|
|
13120
|
+
get tropoGradientEastM() {
|
|
13121
|
+
const ret = wasm.pppfloatsolution_tropoGradientEastM(this.__wbg_ptr);
|
|
13122
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
13123
|
+
}
|
|
13124
|
+
/**
|
|
13125
|
+
* Estimated north tropospheric gradient, metres, or `undefined`.
|
|
13126
|
+
* @returns {number | undefined}
|
|
13127
|
+
*/
|
|
13128
|
+
get tropoGradientNorthM() {
|
|
13129
|
+
const ret = wasm.pppfloatsolution_tropoGradientNorthM(this.__wbg_ptr);
|
|
13130
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
13131
|
+
}
|
|
12782
13132
|
/**
|
|
12783
13133
|
* Satellite tokens used in the accepted solution.
|
|
12784
13134
|
* @returns {string[]}
|
|
@@ -21528,7 +21878,9 @@ exports.decodeCrinexLines = decodeCrinexLines;
|
|
|
21528
21878
|
* scan resynchronizes on the next preamble. Returns an array of message objects,
|
|
21529
21879
|
* each tagged with a `type` discriminant (`"msm"`, `"stationCoordinates"`,
|
|
21530
21880
|
* `"antennaDescriptor"`, `"gpsEphemeris"`, `"glonassEphemeris"`,
|
|
21531
|
-
* `"
|
|
21881
|
+
* `"beidouEphemeris"`, `"qzssEphemeris"`, `"galileoFnavEphemeris"`,
|
|
21882
|
+
* `"galileoInavEphemeris"`, `"unsupported"`). Delegates to
|
|
21883
|
+
* `sidereon_core::rtcm::decode_messages`.
|
|
21532
21884
|
* @param {Uint8Array} bytes
|
|
21533
21885
|
* @returns {any}
|
|
21534
21886
|
*/
|
|
@@ -22199,10 +22551,12 @@ exports.encodeCrinex = encodeCrinex;
|
|
|
22199
22551
|
*
|
|
22200
22552
|
* `message` is a `type`-tagged plain object of the same shape [`decodeRtcm`]
|
|
22201
22553
|
* returns (`"stationCoordinates"`, `"antennaDescriptor"`, `"gpsEphemeris"`,
|
|
22202
|
-
* `"glonassEphemeris"`, `"
|
|
22203
|
-
*
|
|
22204
|
-
* `
|
|
22205
|
-
* `
|
|
22554
|
+
* `"glonassEphemeris"`, `"beidouEphemeris"`, `"qzssEphemeris"`,
|
|
22555
|
+
* `"galileoFnavEphemeris"`, `"galileoInavEphemeris"`, `"msm"`,
|
|
22556
|
+
* `"unsupported"`), carrying the raw transmitted field integers (large fields
|
|
22557
|
+
* as `bigint`). Returns the encoded body as a `Uint8Array`. Delegates to
|
|
22558
|
+
* `sidereon_core::rtcm::Message::encode`. Throws a `TypeError` for a malformed
|
|
22559
|
+
* object or unknown type.
|
|
22206
22560
|
* @param {any} message
|
|
22207
22561
|
* @returns {Uint8Array}
|
|
22208
22562
|
*/
|
|
Binary file
|