@neilberkman/sidereon 0.21.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/README.md +5 -1
- package/package.json +1 -1
- package/pkg/sidereon.d.ts +1749 -1457
- package/pkg/sidereon.js +640 -10
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1829 -1769
- package/pkg-node/sidereon.d.ts +241 -9
- package/pkg-node/sidereon.js +641 -10
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1829 -1769
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
|
*/
|
|
@@ -6427,6 +6557,99 @@ export class Sp3ClockReferenceOffset {
|
|
|
6427
6557
|
readonly satellites: number;
|
|
6428
6558
|
}
|
|
6429
6559
|
|
|
6560
|
+
/**
|
|
6561
|
+
* One coordinate-label reconciliation applied before SP3 merge consensus.
|
|
6562
|
+
*/
|
|
6563
|
+
export class Sp3FrameReconciliationReport {
|
|
6564
|
+
private constructor();
|
|
6565
|
+
free(): void;
|
|
6566
|
+
[Symbol.dispose](): void;
|
|
6567
|
+
/**
|
|
6568
|
+
* Caller assertion set, empty unless assertion reconciliation was used.
|
|
6569
|
+
*/
|
|
6570
|
+
readonly assertedLabelSet: string[];
|
|
6571
|
+
/**
|
|
6572
|
+
* True when the published catalog row was applied in reverse.
|
|
6573
|
+
*/
|
|
6574
|
+
readonly catalogInverse: boolean;
|
|
6575
|
+
/**
|
|
6576
|
+
* Source frame of the published catalog row used for Helmert reconciliation.
|
|
6577
|
+
*/
|
|
6578
|
+
readonly catalogSourceFrame: string | undefined;
|
|
6579
|
+
/**
|
|
6580
|
+
* Target frame of the published catalog row used for Helmert reconciliation.
|
|
6581
|
+
*/
|
|
6582
|
+
readonly catalogTargetFrame: string | undefined;
|
|
6583
|
+
/**
|
|
6584
|
+
* Inclusive decimal-year span of affected records.
|
|
6585
|
+
*/
|
|
6586
|
+
readonly epochYearSpan: Float64Array;
|
|
6587
|
+
/**
|
|
6588
|
+
* True when both labels resolved to the same terrestrial realization.
|
|
6589
|
+
*/
|
|
6590
|
+
readonly identity: boolean;
|
|
6591
|
+
/**
|
|
6592
|
+
* Reconciliation mechanism: "asserted_equivalence" or "helmert".
|
|
6593
|
+
*/
|
|
6594
|
+
readonly method: string;
|
|
6595
|
+
/**
|
|
6596
|
+
* Published-table provenance for the catalog entry.
|
|
6597
|
+
*/
|
|
6598
|
+
readonly provenance: string | undefined;
|
|
6599
|
+
/**
|
|
6600
|
+
* Number of satellite position records covered by the reconciliation.
|
|
6601
|
+
*/
|
|
6602
|
+
readonly recordsAffected: number;
|
|
6603
|
+
/**
|
|
6604
|
+
* Published transform reference epoch, if a catalog entry was used.
|
|
6605
|
+
*/
|
|
6606
|
+
readonly referenceEpochYear: number | undefined;
|
|
6607
|
+
/**
|
|
6608
|
+
* Rotation parameters in milliarcseconds, empty for non-catalog identity.
|
|
6609
|
+
*/
|
|
6610
|
+
readonly rotationMas: Float64Array;
|
|
6611
|
+
/**
|
|
6612
|
+
* Rotation rates in milliarcseconds per year.
|
|
6613
|
+
*/
|
|
6614
|
+
readonly rotationMasPerYear: Float64Array;
|
|
6615
|
+
/**
|
|
6616
|
+
* Scale parameter in parts per billion, undefined for non-catalog identity.
|
|
6617
|
+
*/
|
|
6618
|
+
readonly scalePpb: number | undefined;
|
|
6619
|
+
/**
|
|
6620
|
+
* Scale rate in parts per billion per year.
|
|
6621
|
+
*/
|
|
6622
|
+
readonly scalePpbPerYear: number | undefined;
|
|
6623
|
+
/**
|
|
6624
|
+
* Resolved source terrestrial frame for Helmert reconciliation.
|
|
6625
|
+
*/
|
|
6626
|
+
readonly sourceFrame: string | undefined;
|
|
6627
|
+
/**
|
|
6628
|
+
* Source index in the mergeSp3 input array.
|
|
6629
|
+
*/
|
|
6630
|
+
readonly sourceIndex: number;
|
|
6631
|
+
/**
|
|
6632
|
+
* Original coordinate-system label on that source.
|
|
6633
|
+
*/
|
|
6634
|
+
readonly sourceLabel: string;
|
|
6635
|
+
/**
|
|
6636
|
+
* Resolved target terrestrial frame for Helmert reconciliation.
|
|
6637
|
+
*/
|
|
6638
|
+
readonly targetFrame: string | undefined;
|
|
6639
|
+
/**
|
|
6640
|
+
* Target coordinate-system label, taken from source 0.
|
|
6641
|
+
*/
|
|
6642
|
+
readonly targetLabel: string;
|
|
6643
|
+
/**
|
|
6644
|
+
* Translation parameters in millimetres, empty for non-catalog identity.
|
|
6645
|
+
*/
|
|
6646
|
+
readonly translationMm: Float64Array;
|
|
6647
|
+
/**
|
|
6648
|
+
* Translation rates in millimetres per year.
|
|
6649
|
+
*/
|
|
6650
|
+
readonly translationMmPerYear: Float64Array;
|
|
6651
|
+
}
|
|
6652
|
+
|
|
6430
6653
|
/**
|
|
6431
6654
|
* A batch of interpolated SP3 states.
|
|
6432
6655
|
*/
|
|
@@ -6485,6 +6708,11 @@ export class Sp3MergeReport {
|
|
|
6485
6708
|
*/
|
|
6486
6709
|
readonly agreement: Sp3AgreementMetric[];
|
|
6487
6710
|
readonly agreementCount: number;
|
|
6711
|
+
readonly frameReconciliationCount: number;
|
|
6712
|
+
/**
|
|
6713
|
+
* Coordinate-label reconciliations applied before consensus.
|
|
6714
|
+
*/
|
|
6715
|
+
readonly frameReconciliations: Sp3FrameReconciliationReport[];
|
|
6488
6716
|
readonly positionOutlierCount: number;
|
|
6489
6717
|
/**
|
|
6490
6718
|
* Cells where an accepted consensus rejected source outliers.
|
|
@@ -8272,7 +8500,9 @@ export function decodeCrinexLines(bytes: Uint8Array): string[];
|
|
|
8272
8500
|
* scan resynchronizes on the next preamble. Returns an array of message objects,
|
|
8273
8501
|
* each tagged with a `type` discriminant (`"msm"`, `"stationCoordinates"`,
|
|
8274
8502
|
* `"antennaDescriptor"`, `"gpsEphemeris"`, `"glonassEphemeris"`,
|
|
8275
|
-
* `"
|
|
8503
|
+
* `"beidouEphemeris"`, `"qzssEphemeris"`, `"galileoFnavEphemeris"`,
|
|
8504
|
+
* `"galileoInavEphemeris"`, `"unsupported"`). Delegates to
|
|
8505
|
+
* `sidereon_core::rtcm::decode_messages`.
|
|
8276
8506
|
*/
|
|
8277
8507
|
export function decodeRtcm(bytes: Uint8Array): any;
|
|
8278
8508
|
|
|
@@ -8518,10 +8748,12 @@ export function encodeCrinex(rinex_text: string): string;
|
|
|
8518
8748
|
*
|
|
8519
8749
|
* `message` is a `type`-tagged plain object of the same shape [`decodeRtcm`]
|
|
8520
8750
|
* returns (`"stationCoordinates"`, `"antennaDescriptor"`, `"gpsEphemeris"`,
|
|
8521
|
-
* `"glonassEphemeris"`, `"
|
|
8522
|
-
*
|
|
8523
|
-
* `
|
|
8524
|
-
* `
|
|
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.
|
|
8525
8757
|
*/
|
|
8526
8758
|
export function encodeRtcm(message: any): Uint8Array;
|
|
8527
8759
|
|