@neilberkman/sidereon 0.23.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.
@@ -10323,6 +10323,17 @@ export function pseudorangeDropReasonLabel(reason: PseudorangeDropReason): strin
10323
10323
  */
10324
10324
  export function pseudorangeVariance(elevation_deg: number, options: any): number;
10325
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
+
10326
10337
  /**
10327
10338
  * Run standalone range RAIM/FDE over a linearized measurement set.
10328
10339
  *
@@ -10331,9 +10342,10 @@ export function pseudorangeVariance(elevation_deg: number, options: any): number
10331
10342
  * estimated state dimension). `options` is an optional `{ pFa?, maxExclusions?,
10332
10343
  * minRedundancy? }` object (pass `undefined` for the core defaults). Returns the
10333
10344
  * protected state correction, covariance, global chi-square test, the excluded
10334
- * ids, the per-measurement diagnostics, and the exclusion count. Delegates to
10335
- * `sidereon_core::quality::raim_fde_design`. Throws a `TypeError` for malformed
10336
- * 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`.
10337
10349
  */
10338
10350
  export function raimFdeDesign(rows: any, options: any): any;
10339
10351
 
@@ -26996,6 +26996,27 @@ function pseudorangeVariance(elevation_deg, options) {
26996
26996
  }
26997
26997
  exports.pseudorangeVariance = pseudorangeVariance;
26998
26998
 
26999
+ /**
27000
+ * Run direct post-solve residual RAIM.
27001
+ *
27002
+ * `input` is `{ usedSats, residualsM }`. Use `options` fields `pFa`,
27003
+ * `nSystems`, and either `weights` or `weightEntries` with `varianceOptions`.
27004
+ * The result has the fault flag, chi-square statistic, threshold, largest
27005
+ * normalized residual satellite, reduced chi-square, normalized residual map,
27006
+ * RMS residual, and degrees of freedom.
27007
+ * @param {any} input
27008
+ * @param {any} options
27009
+ * @returns {any}
27010
+ */
27011
+ function raim(input, options) {
27012
+ const ret = wasm.raim(input, options);
27013
+ if (ret[2]) {
27014
+ throw takeFromExternrefTable0(ret[1]);
27015
+ }
27016
+ return takeFromExternrefTable0(ret[0]);
27017
+ }
27018
+ exports.raim = raim;
27019
+
26999
27020
  /**
27000
27021
  * Run standalone range RAIM/FDE over a linearized measurement set.
27001
27022
  *
@@ -27004,9 +27025,10 @@ exports.pseudorangeVariance = pseudorangeVariance;
27004
27025
  * estimated state dimension). `options` is an optional `{ pFa?, maxExclusions?,
27005
27026
  * minRedundancy? }` object (pass `undefined` for the core defaults). Returns the
27006
27027
  * protected state correction, covariance, global chi-square test, the excluded
27007
- * ids, the per-measurement diagnostics, and the exclusion count. Delegates to
27008
- * `sidereon_core::quality::raim_fde_design`. Throws a `TypeError` for malformed
27009
- * input and an `Error` for a rank-deficient or otherwise rejected set.
27028
+ * ids, the per-measurement diagnostics, and the exclusion count. FDE
27029
+ * computation runs in `sidereon_core::quality::raim_fde_design`.
27030
+ * Malformed input throws a `TypeError`; a rank-deficient or rejected set throws
27031
+ * an `Error`.
27010
27032
  * @param {any} rows
27011
27033
  * @param {any} options
27012
27034
  * @returns {any}
Binary file