@neilberkman/sidereon 0.36.2 → 0.38.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.
@@ -7106,6 +7106,30 @@ export class Sp3 {
7106
7106
  * Delegates to `sidereon_core::ephemeris::align_clock_reference`.
7107
7107
  */
7108
7108
  alignClockReference(other: Sp3, min_common?: number | null): Sp3;
7109
+ /**
7110
+ * Attest that this product is physically continuous, or report each
7111
+ * violation.
7112
+ *
7113
+ * A merged product is assembled per satellite and epoch from several
7114
+ * analysis centers, which is exactly the operation that can splice two
7115
+ * physically inconsistent arcs together while every input stays
7116
+ * individually well-formed. Two checks run, with different jobs: a
7117
+ * physical earth-fixed speed gate whose bound is a true upper bound for
7118
+ * the orbit class, so it cannot false-positive and catches gross
7119
+ * corruption; and a hold-out interpolation residual, which supplies the
7120
+ * sensitivity a speed gate structurally cannot - adjacent GNSS MEO epochs
7121
+ * are hundreds of kilometres apart, so a metre-scale splice moves the
7122
+ * implied speed by a fraction of a percent.
7123
+ *
7124
+ * `orbitClass` is `"meo_gnss"` (default), `"geosynchronous"`, `"leo"`, or
7125
+ * `null` to disable the speed gate. `residualToleranceM` enables the
7126
+ * residual check; `null` disables it.
7127
+ *
7128
+ * Returns `{ attested, defects, pairsChecked, residualsChecked,
7129
+ * residualsSkipped }`. Reports rather than refuses: whether a product with
7130
+ * defects is acceptable is the caller's decision.
7131
+ */
7132
+ checkContinuity(orbit_class?: string | null, residual_tolerance_m?: number | null): any;
7109
7133
  /**
7110
7134
  * Estimate `other`'s per-epoch common clock offset relative to this product.
7111
7135
  *
@@ -16995,6 +16995,41 @@ class Sp3 {
16995
16995
  }
16996
16996
  return Sp3.__wrap(ret[0]);
16997
16997
  }
16998
+ /**
16999
+ * Attest that this product is physically continuous, or report each
17000
+ * violation.
17001
+ *
17002
+ * A merged product is assembled per satellite and epoch from several
17003
+ * analysis centers, which is exactly the operation that can splice two
17004
+ * physically inconsistent arcs together while every input stays
17005
+ * individually well-formed. Two checks run, with different jobs: a
17006
+ * physical earth-fixed speed gate whose bound is a true upper bound for
17007
+ * the orbit class, so it cannot false-positive and catches gross
17008
+ * corruption; and a hold-out interpolation residual, which supplies the
17009
+ * sensitivity a speed gate structurally cannot - adjacent GNSS MEO epochs
17010
+ * are hundreds of kilometres apart, so a metre-scale splice moves the
17011
+ * implied speed by a fraction of a percent.
17012
+ *
17013
+ * `orbitClass` is `"meo_gnss"` (default), `"geosynchronous"`, `"leo"`, or
17014
+ * `null` to disable the speed gate. `residualToleranceM` enables the
17015
+ * residual check; `null` disables it.
17016
+ *
17017
+ * Returns `{ attested, defects, pairsChecked, residualsChecked,
17018
+ * residualsSkipped }`. Reports rather than refuses: whether a product with
17019
+ * defects is acceptable is the caller's decision.
17020
+ * @param {string | null} [orbit_class]
17021
+ * @param {number | null} [residual_tolerance_m]
17022
+ * @returns {any}
17023
+ */
17024
+ checkContinuity(orbit_class, residual_tolerance_m) {
17025
+ var ptr0 = isLikeNone(orbit_class) ? 0 : passStringToWasm0(orbit_class, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
17026
+ var len0 = WASM_VECTOR_LEN;
17027
+ const ret = wasm.sp3_checkContinuity(this.__wbg_ptr, ptr0, len0, !isLikeNone(residual_tolerance_m), isLikeNone(residual_tolerance_m) ? 0 : residual_tolerance_m);
17028
+ if (ret[2]) {
17029
+ throw takeFromExternrefTable0(ret[1]);
17030
+ }
17031
+ return takeFromExternrefTable0(ret[0]);
17032
+ }
16998
17033
  /**
16999
17034
  * Estimate `other`'s per-epoch common clock offset relative to this product.
17000
17035
  *
Binary file