@neilberkman/sidereon 0.22.0 → 0.24.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.
@@ -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 = 5,
3715
+ GalileoInav = 6,
3712
3716
  /**
3713
3717
  * Galileo F/NAV.
3714
3718
  */
3715
- GalileoFnav = 6,
3719
+ GalileoFnav = 7,
3716
3720
  /**
3717
3721
  * BeiDou D1.
3718
3722
  */
3719
- BeidouD1 = 7,
3723
+ BeidouD1 = 8,
3720
3724
  /**
3721
3725
  * BeiDou D2.
3722
3726
  */
3723
- BeidouD2 = 8,
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
- * `"unsupported"`). Delegates to `sidereon_core::rtcm::decode_messages`.
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"`, `"msm"`, `"unsupported"`), carrying the raw transmitted
8620
- * field integers (large fields as `bigint`). Returns the encoded body as a
8621
- * `Uint8Array`. Delegates to `sidereon_core::rtcm::Message::encode`. Throws a
8622
- * `TypeError` for a malformed object or unknown type.
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
 
@@ -10189,6 +10323,17 @@ export function pseudorangeDropReasonLabel(reason: PseudorangeDropReason): strin
10189
10323
  */
10190
10324
  export function pseudorangeVariance(elevation_deg: number, options: any): number;
10191
10325
 
10326
+ /**
10327
+ * Run direct post-solve residual RAIM.
10328
+ *
10329
+ * `input` is `{ usedSats, residualsM }`. Use `options` fields `pFa`,
10330
+ * `nSystems`, and either `weights` or `weightEntries` with `varianceOptions`.
10331
+ * The result has the fault flag, chi-square statistic, threshold, largest
10332
+ * normalized residual satellite, reduced chi-square, normalized residual map,
10333
+ * RMS residual, and degrees of freedom.
10334
+ */
10335
+ export function raim(input: any, options: any): any;
10336
+
10192
10337
  /**
10193
10338
  * Run standalone range RAIM/FDE over a linearized measurement set.
10194
10339
  *
@@ -10197,9 +10342,10 @@ export function pseudorangeVariance(elevation_deg: number, options: any): number
10197
10342
  * estimated state dimension). `options` is an optional `{ pFa?, maxExclusions?,
10198
10343
  * minRedundancy? }` object (pass `undefined` for the core defaults). Returns the
10199
10344
  * protected state correction, covariance, global chi-square test, the excluded
10200
- * ids, the per-measurement diagnostics, and the exclusion count. Delegates to
10201
- * `sidereon_core::quality::raim_fde_design`. Throws a `TypeError` for malformed
10202
- * input and an `Error` for a rank-deficient or otherwise rejected set.
10345
+ * ids, the per-measurement diagnostics, and the exclusion count. FDE
10346
+ * computation runs in `sidereon_core::quality::raim_fde_design`.
10347
+ * Malformed input throws a `TypeError`; a rank-deficient or rejected set throws
10348
+ * an `Error`.
10203
10349
  */
10204
10350
  export function raimFdeDesign(rows: any, options: any): any;
10205
10351