@neilberkman/sidereon 0.15.0 → 0.16.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/pkg/sidereon.js CHANGED
@@ -3234,6 +3234,51 @@ export class CoverageGrid {
3234
3234
  }
3235
3235
  if (Symbol.dispose) CoverageGrid.prototype[Symbol.dispose] = CoverageGrid.prototype.free;
3236
3236
 
3237
+ /**
3238
+ * Stateful opt-in latch for SGP4 decay-like failures.
3239
+ *
3240
+ * Pass one latch per satellite to [`Tle.propagateWithDecayLatch`]. The first
3241
+ * decay-like SGP4 failure records the requested epoch in minutes since the TLE
3242
+ * epoch; later requests at the same or a later epoch throw immediately through
3243
+ * the core latch instead of returning a raw post-decay state.
3244
+ */
3245
+ export class DecayLatch {
3246
+ __destroy_into_raw() {
3247
+ const ptr = this.__wbg_ptr;
3248
+ this.__wbg_ptr = 0;
3249
+ DecayLatchFinalization.unregister(this);
3250
+ return ptr;
3251
+ }
3252
+ free() {
3253
+ const ptr = this.__destroy_into_raw();
3254
+ wasm.__wbg_decaylatch_free(ptr, 0);
3255
+ }
3256
+ /**
3257
+ * Clear the recorded decay state.
3258
+ */
3259
+ clear() {
3260
+ wasm.decaylatch_clear(this.__wbg_ptr);
3261
+ }
3262
+ /**
3263
+ * First observed decay-like epoch, in minutes since the TLE epoch.
3264
+ * @returns {number | undefined}
3265
+ */
3266
+ get firstFailingEpochMinutes() {
3267
+ const ret = wasm.decaylatch_firstFailingEpochMinutes(this.__wbg_ptr);
3268
+ return ret[0] === 0 ? undefined : ret[1];
3269
+ }
3270
+ /**
3271
+ * Construct an empty decay latch.
3272
+ */
3273
+ constructor() {
3274
+ const ret = wasm.decaylatch_new();
3275
+ this.__wbg_ptr = ret;
3276
+ DecayLatchFinalization.register(this, this.__wbg_ptr, this);
3277
+ return this;
3278
+ }
3279
+ }
3280
+ if (Symbol.dispose) DecayLatch.prototype[Symbol.dispose] = DecayLatch.prototype.free;
3281
+
3237
3282
  /**
3238
3283
  * SBAS degradation terms used when deriving an error model from a store.
3239
3284
  */
@@ -4111,6 +4156,36 @@ export class DtedTerrain {
4111
4156
  }
4112
4157
  if (Symbol.dispose) DtedTerrain.prototype[Symbol.dispose] = DtedTerrain.prototype.free;
4113
4158
 
4159
+ /**
4160
+ * Earth figure used for conical eclipse shadow geometry.
4161
+ * @enum {0 | 1}
4162
+ */
4163
+ export const EarthShadowModel = Object.freeze({
4164
+ /**
4165
+ * Spherical Earth using the core mean Earth radius.
4166
+ */
4167
+ Spherical: 0, "0": "Spherical",
4168
+ /**
4169
+ * WGS84 oblate Earth approximation by polar-axis scaling.
4170
+ */
4171
+ Wgs84Oblate: 1, "1": "Wgs84Oblate",
4172
+ });
4173
+
4174
+ /**
4175
+ * EGM2008 raster spacing for NGA row-framed interpolation grids.
4176
+ * @enum {0 | 1}
4177
+ */
4178
+ export const Egm2008GridSpacing = Object.freeze({
4179
+ /**
4180
+ * The 1-arcminute EGM2008 grid.
4181
+ */
4182
+ OneMinute: 0, "0": "OneMinute",
4183
+ /**
4184
+ * The 2.5-arcminute EGM2008 grid.
4185
+ */
4186
+ TwoPointFiveMinute: 1, "1": "TwoPointFiveMinute",
4187
+ });
4188
+
4114
4189
  /**
4115
4190
  * Loaded EGM96 15-arcminute geoid grid for explicit terrain datum conversion.
4116
4191
  */
@@ -4807,6 +4882,18 @@ export class FrameStates {
4807
4882
  }
4808
4883
  if (Symbol.dispose) FrameStates.prototype[Symbol.dispose] = FrameStates.prototype.free;
4809
4884
 
4885
+ /**
4886
+ * WGS84 geodesic input failure class exposed as a stable enum symbol.
4887
+ * @enum {0}
4888
+ */
4889
+ export const GeodesicError = Object.freeze({
4890
+ /**
4891
+ * A latitude, longitude, azimuth, or distance was outside the accepted
4892
+ * numeric domain.
4893
+ */
4894
+ InvalidInput: 0, "0": "InvalidInput",
4895
+ });
4896
+
4810
4897
  /**
4811
4898
  * A regular latitude/longitude grid of geoid undulation samples with bilinear
4812
4899
  * interpolation, wrapping a real (loaded) geoid model.
@@ -4850,6 +4937,49 @@ export class GeoidGrid {
4850
4937
  const ret = wasm.geoidgrid_ellipsoidalHeightRad(this.__wbg_ptr, orthometric_height_m, lat_rad, lon_rad);
4851
4938
  return ret;
4852
4939
  }
4940
+ /**
4941
+ * Parse a full NGA EGM2008 row-framed interpolation raster.
4942
+ *
4943
+ * The byte stream must contain one north-to-south Fortran sequential record
4944
+ * per latitude row at the requested spacing. Use
4945
+ * [`fromEgm2008RasterWindow`] for small cropped fixtures or partial loads.
4946
+ * @param {Uint8Array} bytes
4947
+ * @param {Egm2008GridSpacing} spacing
4948
+ * @returns {GeoidGrid}
4949
+ */
4950
+ static fromEgm2008Raster(bytes, spacing) {
4951
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
4952
+ const len0 = WASM_VECTOR_LEN;
4953
+ const ret = wasm.geoidgrid_fromEgm2008Raster(ptr0, len0, spacing);
4954
+ if (ret[2]) {
4955
+ throw takeFromExternrefTable0(ret[1]);
4956
+ }
4957
+ return GeoidGrid.__wrap(ret[0]);
4958
+ }
4959
+ /**
4960
+ * Parse a cropped NGA EGM2008 row-framed interpolation raster window.
4961
+ *
4962
+ * `latMinDeg` and `lonMinDeg` are the southwest node of the loaded grid.
4963
+ * `nLat` and `nLon` are the latitude and longitude node counts in the byte
4964
+ * stream. Queries use the same undulation methods as every other
4965
+ * [`GeoidGrid`].
4966
+ * @param {Uint8Array} bytes
4967
+ * @param {Egm2008GridSpacing} spacing
4968
+ * @param {number} lat_min_deg
4969
+ * @param {number} lon_min_deg
4970
+ * @param {number} n_lat
4971
+ * @param {number} n_lon
4972
+ * @returns {GeoidGrid}
4973
+ */
4974
+ static fromEgm2008RasterWindow(bytes, spacing, lat_min_deg, lon_min_deg, n_lat, n_lon) {
4975
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
4976
+ const len0 = WASM_VECTOR_LEN;
4977
+ const ret = wasm.geoidgrid_fromEgm2008RasterWindow(ptr0, len0, spacing, lat_min_deg, lon_min_deg, n_lat, n_lon);
4978
+ if (ret[2]) {
4979
+ throw takeFromExternrefTable0(ret[1]);
4980
+ }
4981
+ return GeoidGrid.__wrap(ret[0]);
4982
+ }
4853
4983
  /**
4854
4984
  * Parse an EGM96 `WW15MGH.DAC` byte buffer into a full-resolution grid.
4855
4985
  * @param {Uint8Array} bytes
@@ -5583,6 +5713,239 @@ export class GroundTrack {
5583
5713
  }
5584
5714
  if (Symbol.dispose) GroundTrack.prototype[Symbol.dispose] = GroundTrack.prototype.free;
5585
5715
 
5716
+ /**
5717
+ * Helmert parameters in the units used by the published catalog tables.
5718
+ */
5719
+ export class HelmertParameters {
5720
+ static __wrap(ptr) {
5721
+ const obj = Object.create(HelmertParameters.prototype);
5722
+ obj.__wbg_ptr = ptr;
5723
+ HelmertParametersFinalization.register(obj, obj.__wbg_ptr, obj);
5724
+ return obj;
5725
+ }
5726
+ __destroy_into_raw() {
5727
+ const ptr = this.__wbg_ptr;
5728
+ this.__wbg_ptr = 0;
5729
+ HelmertParametersFinalization.unregister(this);
5730
+ return ptr;
5731
+ }
5732
+ free() {
5733
+ const ptr = this.__destroy_into_raw();
5734
+ wasm.__wbg_helmertparameters_free(ptr, 0);
5735
+ }
5736
+ /**
5737
+ * Construct Helmert parameters from translation millimetres, scale parts
5738
+ * per billion, and rotation milliarcseconds.
5739
+ * @param {Float64Array} translation_mm
5740
+ * @param {number} scale_ppb
5741
+ * @param {Float64Array} rotation_mas
5742
+ */
5743
+ constructor(translation_mm, scale_ppb, rotation_mas) {
5744
+ const ptr0 = passArrayF64ToWasm0(translation_mm, wasm.__wbindgen_malloc);
5745
+ const len0 = WASM_VECTOR_LEN;
5746
+ const ptr1 = passArrayF64ToWasm0(rotation_mas, wasm.__wbindgen_malloc);
5747
+ const len1 = WASM_VECTOR_LEN;
5748
+ const ret = wasm.helmertparameters_new(ptr0, len0, scale_ppb, ptr1, len1);
5749
+ if (ret[2]) {
5750
+ throw takeFromExternrefTable0(ret[1]);
5751
+ }
5752
+ this.__wbg_ptr = ret[0];
5753
+ HelmertParametersFinalization.register(this, this.__wbg_ptr, this);
5754
+ return this;
5755
+ }
5756
+ /**
5757
+ * Rotation components `[Rx, Ry, Rz]`, in milliarcseconds.
5758
+ * @returns {Float64Array}
5759
+ */
5760
+ get rotationMas() {
5761
+ const ret = wasm.helmertparameters_rotationMas(this.__wbg_ptr);
5762
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
5763
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
5764
+ return v1;
5765
+ }
5766
+ /**
5767
+ * Scale difference, in parts per billion.
5768
+ * @returns {number}
5769
+ */
5770
+ get scalePpb() {
5771
+ const ret = wasm.helmertparameters_scalePpb(this.__wbg_ptr);
5772
+ return ret;
5773
+ }
5774
+ /**
5775
+ * Translation components `[Tx, Ty, Tz]`, in millimetres.
5776
+ * @returns {Float64Array}
5777
+ */
5778
+ get translationMm() {
5779
+ const ret = wasm.helmertparameters_translationMm(this.__wbg_ptr);
5780
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
5781
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
5782
+ return v1;
5783
+ }
5784
+ }
5785
+ if (Symbol.dispose) HelmertParameters.prototype[Symbol.dispose] = HelmertParameters.prototype.free;
5786
+
5787
+ /**
5788
+ * Helmert parameter rates in the units used by the published catalog tables.
5789
+ */
5790
+ export class HelmertRates {
5791
+ static __wrap(ptr) {
5792
+ const obj = Object.create(HelmertRates.prototype);
5793
+ obj.__wbg_ptr = ptr;
5794
+ HelmertRatesFinalization.register(obj, obj.__wbg_ptr, obj);
5795
+ return obj;
5796
+ }
5797
+ __destroy_into_raw() {
5798
+ const ptr = this.__wbg_ptr;
5799
+ this.__wbg_ptr = 0;
5800
+ HelmertRatesFinalization.unregister(this);
5801
+ return ptr;
5802
+ }
5803
+ free() {
5804
+ const ptr = this.__destroy_into_raw();
5805
+ wasm.__wbg_helmertrates_free(ptr, 0);
5806
+ }
5807
+ /**
5808
+ * Construct Helmert parameter rates from translation millimetres per year,
5809
+ * scale parts per billion per year, and rotation milliarcseconds per year.
5810
+ * @param {Float64Array} translation_mm_per_year
5811
+ * @param {number} scale_ppb_per_year
5812
+ * @param {Float64Array} rotation_mas_per_year
5813
+ */
5814
+ constructor(translation_mm_per_year, scale_ppb_per_year, rotation_mas_per_year) {
5815
+ const ptr0 = passArrayF64ToWasm0(translation_mm_per_year, wasm.__wbindgen_malloc);
5816
+ const len0 = WASM_VECTOR_LEN;
5817
+ const ptr1 = passArrayF64ToWasm0(rotation_mas_per_year, wasm.__wbindgen_malloc);
5818
+ const len1 = WASM_VECTOR_LEN;
5819
+ const ret = wasm.helmertrates_new(ptr0, len0, scale_ppb_per_year, ptr1, len1);
5820
+ if (ret[2]) {
5821
+ throw takeFromExternrefTable0(ret[1]);
5822
+ }
5823
+ this.__wbg_ptr = ret[0];
5824
+ HelmertRatesFinalization.register(this, this.__wbg_ptr, this);
5825
+ return this;
5826
+ }
5827
+ /**
5828
+ * Rotation rates `[Rx, Ry, Rz]`, in milliarcseconds per year.
5829
+ * @returns {Float64Array}
5830
+ */
5831
+ get rotationMasPerYear() {
5832
+ const ret = wasm.helmertrates_rotationMasPerYear(this.__wbg_ptr);
5833
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
5834
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
5835
+ return v1;
5836
+ }
5837
+ /**
5838
+ * Scale rate, in parts per billion per year.
5839
+ * @returns {number}
5840
+ */
5841
+ get scalePpbPerYear() {
5842
+ const ret = wasm.helmertrates_scalePpbPerYear(this.__wbg_ptr);
5843
+ return ret;
5844
+ }
5845
+ /**
5846
+ * Translation rates `[Tx, Ty, Tz]`, in millimetres per year.
5847
+ * @returns {Float64Array}
5848
+ */
5849
+ get translationMmPerYear() {
5850
+ const ret = wasm.helmertrates_translationMmPerYear(this.__wbg_ptr);
5851
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
5852
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
5853
+ return v1;
5854
+ }
5855
+ }
5856
+ if (Symbol.dispose) HelmertRates.prototype[Symbol.dispose] = HelmertRates.prototype.free;
5857
+
5858
+ /**
5859
+ * One published 14-parameter Helmert catalog entry.
5860
+ */
5861
+ export class HelmertTransform {
5862
+ static __wrap(ptr) {
5863
+ const obj = Object.create(HelmertTransform.prototype);
5864
+ obj.__wbg_ptr = ptr;
5865
+ HelmertTransformFinalization.register(obj, obj.__wbg_ptr, obj);
5866
+ return obj;
5867
+ }
5868
+ __destroy_into_raw() {
5869
+ const ptr = this.__wbg_ptr;
5870
+ this.__wbg_ptr = 0;
5871
+ HelmertTransformFinalization.unregister(this);
5872
+ return ptr;
5873
+ }
5874
+ free() {
5875
+ const ptr = this.__destroy_into_raw();
5876
+ wasm.__wbg_helmerttransform_free(ptr, 0);
5877
+ }
5878
+ /**
5879
+ * Published source frame for the forward transform.
5880
+ * @returns {TerrestrialFrame}
5881
+ */
5882
+ get from() {
5883
+ const ret = wasm.helmerttransform_from(this.__wbg_ptr);
5884
+ return ret;
5885
+ }
5886
+ /**
5887
+ * Parameters at `referenceEpochYear`.
5888
+ * @returns {HelmertParameters}
5889
+ */
5890
+ get parameters() {
5891
+ const ret = wasm.helmerttransform_parameters(this.__wbg_ptr);
5892
+ return HelmertParameters.__wrap(ret);
5893
+ }
5894
+ /**
5895
+ * Evaluate the seven Helmert parameters at a decimal year.
5896
+ * @param {number} epoch_year
5897
+ * @returns {HelmertParameters}
5898
+ */
5899
+ parametersAt(epoch_year) {
5900
+ const ret = wasm.helmerttransform_parametersAt(this.__wbg_ptr, epoch_year);
5901
+ if (ret[2]) {
5902
+ throw takeFromExternrefTable0(ret[1]);
5903
+ }
5904
+ return HelmertParameters.__wrap(ret[0]);
5905
+ }
5906
+ /**
5907
+ * Published table or memo that supplied this entry.
5908
+ * @returns {string}
5909
+ */
5910
+ get provenance() {
5911
+ let deferred1_0;
5912
+ let deferred1_1;
5913
+ try {
5914
+ const ret = wasm.helmerttransform_provenance(this.__wbg_ptr);
5915
+ deferred1_0 = ret[0];
5916
+ deferred1_1 = ret[1];
5917
+ return getStringFromWasm0(ret[0], ret[1]);
5918
+ } finally {
5919
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
5920
+ }
5921
+ }
5922
+ /**
5923
+ * Linear rates of the seven Helmert parameters.
5924
+ * @returns {HelmertRates}
5925
+ */
5926
+ get rates() {
5927
+ const ret = wasm.helmerttransform_rates(this.__wbg_ptr);
5928
+ return HelmertRates.__wrap(ret);
5929
+ }
5930
+ /**
5931
+ * Parameter reference epoch, expressed as a decimal year.
5932
+ * @returns {number}
5933
+ */
5934
+ get referenceEpochYear() {
5935
+ const ret = wasm.helmerttransform_referenceEpochYear(this.__wbg_ptr);
5936
+ return ret;
5937
+ }
5938
+ /**
5939
+ * Published target frame for the forward transform.
5940
+ * @returns {TerrestrialFrame}
5941
+ */
5942
+ get to() {
5943
+ const ret = wasm.helmerttransform_to(this.__wbg_ptr);
5944
+ return ret;
5945
+ }
5946
+ }
5947
+ if (Symbol.dispose) HelmertTransform.prototype[Symbol.dispose] = HelmertTransform.prototype.free;
5948
+
5586
5949
  /**
5587
5950
  * A point in time, tagged UTC, with the precise time scales resolved.
5588
5951
  *
@@ -8404,7 +8767,7 @@ export class ObsHeader {
8404
8767
  */
8405
8768
  get timeOfFirstObsScale() {
8406
8769
  const ret = wasm.obsheader_timeOfFirstObsScale(this.__wbg_ptr);
8407
- return ret === 9 ? undefined : ret;
8770
+ return ret === 11 ? undefined : ret;
8408
8771
  }
8409
8772
  /**
8410
8773
  * RINEX version, for example `3.05`.
@@ -12547,15 +12910,21 @@ export class RinexClock {
12547
12910
  * @returns {string}
12548
12911
  */
12549
12912
  toRinexString() {
12550
- let deferred1_0;
12551
- let deferred1_1;
12913
+ let deferred2_0;
12914
+ let deferred2_1;
12552
12915
  try {
12553
12916
  const ret = wasm.rinexclock_toRinexString(this.__wbg_ptr);
12554
- deferred1_0 = ret[0];
12555
- deferred1_1 = ret[1];
12556
- return getStringFromWasm0(ret[0], ret[1]);
12917
+ var ptr1 = ret[0];
12918
+ var len1 = ret[1];
12919
+ if (ret[3]) {
12920
+ ptr1 = 0; len1 = 0;
12921
+ throw takeFromExternrefTable0(ret[2]);
12922
+ }
12923
+ deferred2_0 = ptr1;
12924
+ deferred2_1 = len1;
12925
+ return getStringFromWasm0(ptr1, len1);
12557
12926
  } finally {
12558
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
12927
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
12559
12928
  }
12560
12929
  }
12561
12930
  }
@@ -15812,21 +16181,721 @@ export class SunMoon {
15812
16181
  if (Symbol.dispose) SunMoon.prototype[Symbol.dispose] = SunMoon.prototype.free;
15813
16182
 
15814
16183
  /**
15815
- * Terrain datum conversion and optional geoid-grid loading error variants.
15816
- * @enum {0 | 1 | 2 | 3}
16184
+ * A parsed CCSDS Tracking Data Message.
15817
16185
  */
15818
- export const TerrainDatumError = Object.freeze({
15819
- /**
15820
- * Terrain lookup failed before datum conversion.
15821
- */
15822
- Terrain: 0, "0": "Terrain",
15823
- /**
15824
- * A geoid grid could not be parsed.
15825
- */
15826
- Geoid: 1, "1": "Geoid",
15827
- /**
15828
- * Reading a geoid grid failed for a reason other than absence.
15829
- */
16186
+ export class Tdm {
16187
+ static __wrap(ptr) {
16188
+ const obj = Object.create(Tdm.prototype);
16189
+ obj.__wbg_ptr = ptr;
16190
+ TdmFinalization.register(obj, obj.__wbg_ptr, obj);
16191
+ return obj;
16192
+ }
16193
+ __destroy_into_raw() {
16194
+ const ptr = this.__wbg_ptr;
16195
+ this.__wbg_ptr = 0;
16196
+ TdmFinalization.unregister(this);
16197
+ return ptr;
16198
+ }
16199
+ free() {
16200
+ const ptr = this.__destroy_into_raw();
16201
+ wasm.__wbg_tdm_free(ptr, 0);
16202
+ }
16203
+ /**
16204
+ * Header comments in parse order.
16205
+ * @returns {string[]}
16206
+ */
16207
+ get comments() {
16208
+ const ret = wasm.tdm_comments(this.__wbg_ptr);
16209
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16210
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16211
+ return v1;
16212
+ }
16213
+ /**
16214
+ * Optional `CREATION_DATE` header value.
16215
+ * @returns {string | undefined}
16216
+ */
16217
+ get creationDate() {
16218
+ const ret = wasm.tdm_creationDate(this.__wbg_ptr);
16219
+ let v1;
16220
+ if (ret[0] !== 0) {
16221
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16222
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16223
+ }
16224
+ return v1;
16225
+ }
16226
+ /**
16227
+ * Header fields not part of the common modeled header.
16228
+ * @returns {TdmField[]}
16229
+ */
16230
+ get headerFields() {
16231
+ const ret = wasm.tdm_headerFields(this.__wbg_ptr);
16232
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16233
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16234
+ return v1;
16235
+ }
16236
+ /**
16237
+ * Optional `MESSAGE_ID` header value.
16238
+ * @returns {string | undefined}
16239
+ */
16240
+ get messageId() {
16241
+ const ret = wasm.tdm_messageId(this.__wbg_ptr);
16242
+ let v1;
16243
+ if (ret[0] !== 0) {
16244
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16245
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16246
+ }
16247
+ return v1;
16248
+ }
16249
+ /**
16250
+ * Optional `ORIGINATOR` header value.
16251
+ * @returns {string | undefined}
16252
+ */
16253
+ get originator() {
16254
+ const ret = wasm.tdm_originator(this.__wbg_ptr);
16255
+ let v1;
16256
+ if (ret[0] !== 0) {
16257
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16258
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16259
+ }
16260
+ return v1;
16261
+ }
16262
+ /**
16263
+ * Number of segments in the message.
16264
+ * @returns {number}
16265
+ */
16266
+ get segmentCount() {
16267
+ const ret = wasm.tdm_segmentCount(this.__wbg_ptr);
16268
+ return ret >>> 0;
16269
+ }
16270
+ /**
16271
+ * Metadata/data segments in message order.
16272
+ * @returns {TdmSegment[]}
16273
+ */
16274
+ get segments() {
16275
+ const ret = wasm.tdm_segments(this.__wbg_ptr);
16276
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16277
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16278
+ return v1;
16279
+ }
16280
+ /**
16281
+ * Encode this TDM as canonical CCSDS KVN text.
16282
+ * @returns {string}
16283
+ */
16284
+ toKvnString() {
16285
+ let deferred2_0;
16286
+ let deferred2_1;
16287
+ try {
16288
+ const ret = wasm.tdm_toKvnString(this.__wbg_ptr);
16289
+ var ptr1 = ret[0];
16290
+ var len1 = ret[1];
16291
+ if (ret[3]) {
16292
+ ptr1 = 0; len1 = 0;
16293
+ throw takeFromExternrefTable0(ret[2]);
16294
+ }
16295
+ deferred2_0 = ptr1;
16296
+ deferred2_1 = len1;
16297
+ return getStringFromWasm0(ptr1, len1);
16298
+ } finally {
16299
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
16300
+ }
16301
+ }
16302
+ /**
16303
+ * The `CCSDS_TDM_VERS` header value.
16304
+ * @returns {string}
16305
+ */
16306
+ get version() {
16307
+ let deferred1_0;
16308
+ let deferred1_1;
16309
+ try {
16310
+ const ret = wasm.tdm_version(this.__wbg_ptr);
16311
+ deferred1_0 = ret[0];
16312
+ deferred1_1 = ret[1];
16313
+ return getStringFromWasm0(ret[0], ret[1]);
16314
+ } finally {
16315
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16316
+ }
16317
+ }
16318
+ }
16319
+ if (Symbol.dispose) Tdm.prototype[Symbol.dispose] = Tdm.prototype.free;
16320
+
16321
+ /**
16322
+ * One time-tagged TDM tracking data record.
16323
+ */
16324
+ export class TdmDataRecord {
16325
+ static __wrap(ptr) {
16326
+ const obj = Object.create(TdmDataRecord.prototype);
16327
+ obj.__wbg_ptr = ptr;
16328
+ TdmDataRecordFinalization.register(obj, obj.__wbg_ptr, obj);
16329
+ return obj;
16330
+ }
16331
+ __destroy_into_raw() {
16332
+ const ptr = this.__wbg_ptr;
16333
+ this.__wbg_ptr = 0;
16334
+ TdmDataRecordFinalization.unregister(this);
16335
+ return ptr;
16336
+ }
16337
+ free() {
16338
+ const ptr = this.__destroy_into_raw();
16339
+ wasm.__wbg_tdmdatarecord_free(ptr, 0);
16340
+ }
16341
+ /**
16342
+ * Raw epoch string.
16343
+ * @returns {string}
16344
+ */
16345
+ get epoch() {
16346
+ let deferred1_0;
16347
+ let deferred1_1;
16348
+ try {
16349
+ const ret = wasm.tdmdatarecord_epoch(this.__wbg_ptr);
16350
+ deferred1_0 = ret[0];
16351
+ deferred1_1 = ret[1];
16352
+ return getStringFromWasm0(ret[0], ret[1]);
16353
+ } finally {
16354
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16355
+ }
16356
+ }
16357
+ /**
16358
+ * Original data keyword.
16359
+ * @returns {string}
16360
+ */
16361
+ get keyword() {
16362
+ let deferred1_0;
16363
+ let deferred1_1;
16364
+ try {
16365
+ const ret = wasm.tdmdatarecord_keyword(this.__wbg_ptr);
16366
+ deferred1_0 = ret[0];
16367
+ deferred1_1 = ret[1];
16368
+ return getStringFromWasm0(ret[0], ret[1]);
16369
+ } finally {
16370
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16371
+ }
16372
+ }
16373
+ /**
16374
+ * Observable family label such as `"range"` or `"receiveFreq"`.
16375
+ * @returns {string}
16376
+ */
16377
+ get observableKind() {
16378
+ let deferred1_0;
16379
+ let deferred1_1;
16380
+ try {
16381
+ const ret = wasm.tdmdatarecord_observableKind(this.__wbg_ptr);
16382
+ deferred1_0 = ret[0];
16383
+ deferred1_1 = ret[1];
16384
+ return getStringFromWasm0(ret[0], ret[1]);
16385
+ } finally {
16386
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16387
+ }
16388
+ }
16389
+ /**
16390
+ * Participant suffix for frequency records, or `undefined`.
16391
+ * @returns {number | undefined}
16392
+ */
16393
+ get observableParticipant() {
16394
+ const ret = wasm.tdmdatarecord_observableParticipant(this.__wbg_ptr);
16395
+ return ret === 0xFFFFFF ? undefined : ret;
16396
+ }
16397
+ /**
16398
+ * Original name for a table-defined keyword modeled as `other`.
16399
+ * @returns {string | undefined}
16400
+ */
16401
+ get otherObservable() {
16402
+ const ret = wasm.tdmdatarecord_otherObservable(this.__wbg_ptr);
16403
+ let v1;
16404
+ if (ret[0] !== 0) {
16405
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16406
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16407
+ }
16408
+ return v1;
16409
+ }
16410
+ /**
16411
+ * Numeric value plus exact decimal token.
16412
+ * @returns {TdmScalar}
16413
+ */
16414
+ get scalar() {
16415
+ const ret = wasm.tdmdatarecord_scalar(this.__wbg_ptr);
16416
+ return TdmScalar.__wrap(ret);
16417
+ }
16418
+ /**
16419
+ * Canonical unit label assigned by CCSDS 503.0-B-2.
16420
+ * @returns {string}
16421
+ */
16422
+ get unit() {
16423
+ let deferred1_0;
16424
+ let deferred1_1;
16425
+ try {
16426
+ const ret = wasm.tdmdatarecord_unit(this.__wbg_ptr);
16427
+ deferred1_0 = ret[0];
16428
+ deferred1_1 = ret[1];
16429
+ return getStringFromWasm0(ret[0], ret[1]);
16430
+ } finally {
16431
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16432
+ }
16433
+ }
16434
+ /**
16435
+ * Parsed numeric observable value.
16436
+ * @returns {number}
16437
+ */
16438
+ get value() {
16439
+ const ret = wasm.tdmdatarecord_value(this.__wbg_ptr);
16440
+ return ret;
16441
+ }
16442
+ /**
16443
+ * Exact decimal token used for KVN encoding.
16444
+ * @returns {string}
16445
+ */
16446
+ get valueText() {
16447
+ let deferred1_0;
16448
+ let deferred1_1;
16449
+ try {
16450
+ const ret = wasm.tdmdatarecord_valueText(this.__wbg_ptr);
16451
+ deferred1_0 = ret[0];
16452
+ deferred1_1 = ret[1];
16453
+ return getStringFromWasm0(ret[0], ret[1]);
16454
+ } finally {
16455
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16456
+ }
16457
+ }
16458
+ }
16459
+ if (Symbol.dispose) TdmDataRecord.prototype[Symbol.dispose] = TdmDataRecord.prototype.free;
16460
+
16461
+ /**
16462
+ * A TDM data block.
16463
+ */
16464
+ export class TdmDataSection {
16465
+ static __wrap(ptr) {
16466
+ const obj = Object.create(TdmDataSection.prototype);
16467
+ obj.__wbg_ptr = ptr;
16468
+ TdmDataSectionFinalization.register(obj, obj.__wbg_ptr, obj);
16469
+ return obj;
16470
+ }
16471
+ __destroy_into_raw() {
16472
+ const ptr = this.__wbg_ptr;
16473
+ this.__wbg_ptr = 0;
16474
+ TdmDataSectionFinalization.unregister(this);
16475
+ return ptr;
16476
+ }
16477
+ free() {
16478
+ const ptr = this.__destroy_into_raw();
16479
+ wasm.__wbg_tdmdatasection_free(ptr, 0);
16480
+ }
16481
+ /**
16482
+ * Data-section comments in parse order.
16483
+ * @returns {string[]}
16484
+ */
16485
+ get comments() {
16486
+ const ret = wasm.tdmdatasection_comments(this.__wbg_ptr);
16487
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16488
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16489
+ return v1;
16490
+ }
16491
+ /**
16492
+ * Data records in parse order.
16493
+ * @returns {TdmDataRecord[]}
16494
+ */
16495
+ get records() {
16496
+ const ret = wasm.tdmdatasection_records(this.__wbg_ptr);
16497
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16498
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16499
+ return v1;
16500
+ }
16501
+ }
16502
+ if (Symbol.dispose) TdmDataSection.prototype[Symbol.dispose] = TdmDataSection.prototype.free;
16503
+
16504
+ /**
16505
+ * A KVN key/value field preserved in parse order.
16506
+ */
16507
+ export class TdmField {
16508
+ static __wrap(ptr) {
16509
+ const obj = Object.create(TdmField.prototype);
16510
+ obj.__wbg_ptr = ptr;
16511
+ TdmFieldFinalization.register(obj, obj.__wbg_ptr, obj);
16512
+ return obj;
16513
+ }
16514
+ __destroy_into_raw() {
16515
+ const ptr = this.__wbg_ptr;
16516
+ this.__wbg_ptr = 0;
16517
+ TdmFieldFinalization.unregister(this);
16518
+ return ptr;
16519
+ }
16520
+ free() {
16521
+ const ptr = this.__destroy_into_raw();
16522
+ wasm.__wbg_tdmfield_free(ptr, 0);
16523
+ }
16524
+ /**
16525
+ * The KVN keyword.
16526
+ * @returns {string}
16527
+ */
16528
+ get key() {
16529
+ let deferred1_0;
16530
+ let deferred1_1;
16531
+ try {
16532
+ const ret = wasm.tdmfield_key(this.__wbg_ptr);
16533
+ deferred1_0 = ret[0];
16534
+ deferred1_1 = ret[1];
16535
+ return getStringFromWasm0(ret[0], ret[1]);
16536
+ } finally {
16537
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16538
+ }
16539
+ }
16540
+ /**
16541
+ * The trimmed KVN value.
16542
+ * @returns {string}
16543
+ */
16544
+ get value() {
16545
+ let deferred1_0;
16546
+ let deferred1_1;
16547
+ try {
16548
+ const ret = wasm.tdmfield_value(this.__wbg_ptr);
16549
+ deferred1_0 = ret[0];
16550
+ deferred1_1 = ret[1];
16551
+ return getStringFromWasm0(ret[0], ret[1]);
16552
+ } finally {
16553
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16554
+ }
16555
+ }
16556
+ }
16557
+ if (Symbol.dispose) TdmField.prototype[Symbol.dispose] = TdmField.prototype.free;
16558
+
16559
+ /**
16560
+ * Metadata extracted from a TDM `META_START` / `META_STOP` block.
16561
+ */
16562
+ export class TdmMetadata {
16563
+ static __wrap(ptr) {
16564
+ const obj = Object.create(TdmMetadata.prototype);
16565
+ obj.__wbg_ptr = ptr;
16566
+ TdmMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
16567
+ return obj;
16568
+ }
16569
+ __destroy_into_raw() {
16570
+ const ptr = this.__wbg_ptr;
16571
+ this.__wbg_ptr = 0;
16572
+ TdmMetadataFinalization.unregister(this);
16573
+ return ptr;
16574
+ }
16575
+ free() {
16576
+ const ptr = this.__destroy_into_raw();
16577
+ wasm.__wbg_tdmmetadata_free(ptr, 0);
16578
+ }
16579
+ /**
16580
+ * Metadata comments in parse order.
16581
+ * @returns {string[]}
16582
+ */
16583
+ get comments() {
16584
+ const ret = wasm.tdmmetadata_comments(this.__wbg_ptr);
16585
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16586
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16587
+ return v1;
16588
+ }
16589
+ /**
16590
+ * Raw metadata fields in parse order.
16591
+ * @returns {TdmField[]}
16592
+ */
16593
+ get fields() {
16594
+ const ret = wasm.tdmmetadata_fields(this.__wbg_ptr);
16595
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16596
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16597
+ return v1;
16598
+ }
16599
+ /**
16600
+ * Return the last metadata value for `key`, or `undefined`.
16601
+ * @param {string} key
16602
+ * @returns {string | undefined}
16603
+ */
16604
+ getLast(key) {
16605
+ const ptr0 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
16606
+ const len0 = WASM_VECTOR_LEN;
16607
+ const ret = wasm.tdmmetadata_getLast(this.__wbg_ptr, ptr0, len0);
16608
+ let v2;
16609
+ if (ret[0] !== 0) {
16610
+ v2 = getStringFromWasm0(ret[0], ret[1]).slice();
16611
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16612
+ }
16613
+ return v2;
16614
+ }
16615
+ /**
16616
+ * Optional `MODE` value.
16617
+ * @returns {string | undefined}
16618
+ */
16619
+ get mode() {
16620
+ const ret = wasm.tdmmetadata_mode(this.__wbg_ptr);
16621
+ let v1;
16622
+ if (ret[0] !== 0) {
16623
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16624
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16625
+ }
16626
+ return v1;
16627
+ }
16628
+ /**
16629
+ * Parsed `PARTICIPANT_n` entries.
16630
+ * @returns {TdmParticipant[]}
16631
+ */
16632
+ get participants() {
16633
+ const ret = wasm.tdmmetadata_participants(this.__wbg_ptr);
16634
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16635
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16636
+ return v1;
16637
+ }
16638
+ /**
16639
+ * Parsed `PATH`, `PATH_1`, and `PATH_2` entries.
16640
+ * @returns {TdmPath[]}
16641
+ */
16642
+ get paths() {
16643
+ const ret = wasm.tdmmetadata_paths(this.__wbg_ptr);
16644
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16645
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16646
+ return v1;
16647
+ }
16648
+ /**
16649
+ * Range unit label used by `RANGE` records.
16650
+ * @returns {string}
16651
+ */
16652
+ get rangeUnits() {
16653
+ let deferred1_0;
16654
+ let deferred1_1;
16655
+ try {
16656
+ const ret = wasm.tdmmetadata_rangeUnits(this.__wbg_ptr);
16657
+ deferred1_0 = ret[0];
16658
+ deferred1_1 = ret[1];
16659
+ return getStringFromWasm0(ret[0], ret[1]);
16660
+ } finally {
16661
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16662
+ }
16663
+ }
16664
+ /**
16665
+ * Optional `TIME_SYSTEM` value.
16666
+ * @returns {string | undefined}
16667
+ */
16668
+ get timeSystem() {
16669
+ const ret = wasm.tdmmetadata_timeSystem(this.__wbg_ptr);
16670
+ let v1;
16671
+ if (ret[0] !== 0) {
16672
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16673
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16674
+ }
16675
+ return v1;
16676
+ }
16677
+ /**
16678
+ * Optional `TIMETAG_REF` value.
16679
+ * @returns {string | undefined}
16680
+ */
16681
+ get timetagRef() {
16682
+ const ret = wasm.tdmmetadata_timetagRef(this.__wbg_ptr);
16683
+ let v1;
16684
+ if (ret[0] !== 0) {
16685
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16686
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16687
+ }
16688
+ return v1;
16689
+ }
16690
+ }
16691
+ if (Symbol.dispose) TdmMetadata.prototype[Symbol.dispose] = TdmMetadata.prototype.free;
16692
+
16693
+ /**
16694
+ * One named TDM tracking participant.
16695
+ */
16696
+ export class TdmParticipant {
16697
+ static __wrap(ptr) {
16698
+ const obj = Object.create(TdmParticipant.prototype);
16699
+ obj.__wbg_ptr = ptr;
16700
+ TdmParticipantFinalization.register(obj, obj.__wbg_ptr, obj);
16701
+ return obj;
16702
+ }
16703
+ __destroy_into_raw() {
16704
+ const ptr = this.__wbg_ptr;
16705
+ this.__wbg_ptr = 0;
16706
+ TdmParticipantFinalization.unregister(this);
16707
+ return ptr;
16708
+ }
16709
+ free() {
16710
+ const ptr = this.__destroy_into_raw();
16711
+ wasm.__wbg_tdmparticipant_free(ptr, 0);
16712
+ }
16713
+ /**
16714
+ * Numeric suffix from `PARTICIPANT_n`.
16715
+ * @returns {number}
16716
+ */
16717
+ get index() {
16718
+ const ret = wasm.tdmparticipant_index(this.__wbg_ptr);
16719
+ return ret;
16720
+ }
16721
+ /**
16722
+ * Participant name.
16723
+ * @returns {string}
16724
+ */
16725
+ get name() {
16726
+ let deferred1_0;
16727
+ let deferred1_1;
16728
+ try {
16729
+ const ret = wasm.tdmparticipant_name(this.__wbg_ptr);
16730
+ deferred1_0 = ret[0];
16731
+ deferred1_1 = ret[1];
16732
+ return getStringFromWasm0(ret[0], ret[1]);
16733
+ } finally {
16734
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16735
+ }
16736
+ }
16737
+ }
16738
+ if (Symbol.dispose) TdmParticipant.prototype[Symbol.dispose] = TdmParticipant.prototype.free;
16739
+
16740
+ /**
16741
+ * A parsed TDM signal path from `PATH`, `PATH_1`, or `PATH_2`.
16742
+ */
16743
+ export class TdmPath {
16744
+ static __wrap(ptr) {
16745
+ const obj = Object.create(TdmPath.prototype);
16746
+ obj.__wbg_ptr = ptr;
16747
+ TdmPathFinalization.register(obj, obj.__wbg_ptr, obj);
16748
+ return obj;
16749
+ }
16750
+ __destroy_into_raw() {
16751
+ const ptr = this.__wbg_ptr;
16752
+ this.__wbg_ptr = 0;
16753
+ TdmPathFinalization.unregister(this);
16754
+ return ptr;
16755
+ }
16756
+ free() {
16757
+ const ptr = this.__destroy_into_raw();
16758
+ wasm.__wbg_tdmpath_free(ptr, 0);
16759
+ }
16760
+ /**
16761
+ * Path suffix for `PATH_n`, or `undefined` for unindexed `PATH`.
16762
+ * @returns {number | undefined}
16763
+ */
16764
+ get index() {
16765
+ const ret = wasm.tdmpath_index(this.__wbg_ptr);
16766
+ return ret === 0xFFFFFF ? undefined : ret;
16767
+ }
16768
+ /**
16769
+ * Original path keyword.
16770
+ * @returns {string}
16771
+ */
16772
+ get key() {
16773
+ let deferred1_0;
16774
+ let deferred1_1;
16775
+ try {
16776
+ const ret = wasm.tdmpath_key(this.__wbg_ptr);
16777
+ deferred1_0 = ret[0];
16778
+ deferred1_1 = ret[1];
16779
+ return getStringFromWasm0(ret[0], ret[1]);
16780
+ } finally {
16781
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16782
+ }
16783
+ }
16784
+ /**
16785
+ * Participant indices listed in path order.
16786
+ * @returns {Uint8Array}
16787
+ */
16788
+ get participants() {
16789
+ const ret = wasm.tdmpath_participants(this.__wbg_ptr);
16790
+ var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
16791
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16792
+ return v1;
16793
+ }
16794
+ }
16795
+ if (Symbol.dispose) TdmPath.prototype[Symbol.dispose] = TdmPath.prototype.free;
16796
+
16797
+ /**
16798
+ * A numeric TDM record value plus its exact decimal token.
16799
+ */
16800
+ export class TdmScalar {
16801
+ static __wrap(ptr) {
16802
+ const obj = Object.create(TdmScalar.prototype);
16803
+ obj.__wbg_ptr = ptr;
16804
+ TdmScalarFinalization.register(obj, obj.__wbg_ptr, obj);
16805
+ return obj;
16806
+ }
16807
+ __destroy_into_raw() {
16808
+ const ptr = this.__wbg_ptr;
16809
+ this.__wbg_ptr = 0;
16810
+ TdmScalarFinalization.unregister(this);
16811
+ return ptr;
16812
+ }
16813
+ free() {
16814
+ const ptr = this.__destroy_into_raw();
16815
+ wasm.__wbg_tdmscalar_free(ptr, 0);
16816
+ }
16817
+ /**
16818
+ * Exact decimal or scientific-notation token read from the message.
16819
+ * @returns {string}
16820
+ */
16821
+ get text() {
16822
+ let deferred1_0;
16823
+ let deferred1_1;
16824
+ try {
16825
+ const ret = wasm.tdmscalar_text(this.__wbg_ptr);
16826
+ deferred1_0 = ret[0];
16827
+ deferred1_1 = ret[1];
16828
+ return getStringFromWasm0(ret[0], ret[1]);
16829
+ } finally {
16830
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16831
+ }
16832
+ }
16833
+ /**
16834
+ * Parsed finite `f64` value.
16835
+ * @returns {number}
16836
+ */
16837
+ get value() {
16838
+ const ret = wasm.tdmscalar_value(this.__wbg_ptr);
16839
+ return ret;
16840
+ }
16841
+ }
16842
+ if (Symbol.dispose) TdmScalar.prototype[Symbol.dispose] = TdmScalar.prototype.free;
16843
+
16844
+ /**
16845
+ * One TDM segment, consisting of metadata and data blocks.
16846
+ */
16847
+ export class TdmSegment {
16848
+ static __wrap(ptr) {
16849
+ const obj = Object.create(TdmSegment.prototype);
16850
+ obj.__wbg_ptr = ptr;
16851
+ TdmSegmentFinalization.register(obj, obj.__wbg_ptr, obj);
16852
+ return obj;
16853
+ }
16854
+ __destroy_into_raw() {
16855
+ const ptr = this.__wbg_ptr;
16856
+ this.__wbg_ptr = 0;
16857
+ TdmSegmentFinalization.unregister(this);
16858
+ return ptr;
16859
+ }
16860
+ free() {
16861
+ const ptr = this.__destroy_into_raw();
16862
+ wasm.__wbg_tdmsegment_free(ptr, 0);
16863
+ }
16864
+ /**
16865
+ * Tracking data records for this segment.
16866
+ * @returns {TdmDataSection}
16867
+ */
16868
+ get data() {
16869
+ const ret = wasm.tdmsegment_data(this.__wbg_ptr);
16870
+ return TdmDataSection.__wrap(ret);
16871
+ }
16872
+ /**
16873
+ * Metadata describing this segment's records.
16874
+ * @returns {TdmMetadata}
16875
+ */
16876
+ get metadata() {
16877
+ const ret = wasm.tdmsegment_metadata(this.__wbg_ptr);
16878
+ return TdmMetadata.__wrap(ret);
16879
+ }
16880
+ }
16881
+ if (Symbol.dispose) TdmSegment.prototype[Symbol.dispose] = TdmSegment.prototype.free;
16882
+
16883
+ /**
16884
+ * Terrain datum conversion and optional geoid-grid loading error variants.
16885
+ * @enum {0 | 1 | 2 | 3}
16886
+ */
16887
+ export const TerrainDatumError = Object.freeze({
16888
+ /**
16889
+ * Terrain lookup failed before datum conversion.
16890
+ */
16891
+ Terrain: 0, "0": "Terrain",
16892
+ /**
16893
+ * A geoid grid could not be parsed.
16894
+ */
16895
+ Geoid: 1, "1": "Geoid",
16896
+ /**
16897
+ * Reading a geoid grid failed for a reason other than absence.
16898
+ */
15830
16899
  Io: 2, "2": "Io",
15831
16900
  /**
15832
16901
  * The EGM96 15-arcminute `WW15MGH.DAC` grid was requested but is absent.
@@ -16044,9 +17113,32 @@ export class TerrainStoreTileIndex {
16044
17113
  }
16045
17114
  if (Symbol.dispose) TerrainStoreTileIndex.prototype[Symbol.dispose] = TerrainStoreTileIndex.prototype.free;
16046
17115
 
17116
+ /**
17117
+ * A supported terrestrial reference-frame realization.
17118
+ * @enum {0 | 1 | 2 | 3}
17119
+ */
17120
+ export const TerrestrialFrame = Object.freeze({
17121
+ /**
17122
+ * International Terrestrial Reference Frame 2020.
17123
+ */
17124
+ Itrf2020: 0, "0": "Itrf2020",
17125
+ /**
17126
+ * International Terrestrial Reference Frame 2014.
17127
+ */
17128
+ Itrf2014: 1, "1": "Itrf2014",
17129
+ /**
17130
+ * International Terrestrial Reference Frame 2008.
17131
+ */
17132
+ Itrf2008: 2, "2": "Itrf2008",
17133
+ /**
17134
+ * European Terrestrial Reference Frame 2020.
17135
+ */
17136
+ Etrf2020: 3, "3": "Etrf2020",
17137
+ });
17138
+
16047
17139
  /**
16048
17140
  * A named time scale. The JS value matches the variant order below.
16049
- * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8}
17141
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10}
16050
17142
  */
16051
17143
  export const TimeScale = Object.freeze({
16052
17144
  /**
@@ -16085,6 +17177,14 @@ export const TimeScale = Object.freeze({
16085
17177
  * QZSS system time (steered to GPST).
16086
17178
  */
16087
17179
  Qzsst: 8, "8": "Qzsst",
17180
+ /**
17181
+ * Geocentric Coordinate Time.
17182
+ */
17183
+ Tcg: 9, "9": "Tcg",
17184
+ /**
17185
+ * Barycentric Coordinate Time.
17186
+ */
17187
+ Tcb: 10, "10": "Tcb",
16088
17188
  });
16089
17189
 
16090
17190
  /**
@@ -16348,6 +17448,27 @@ export class Tle {
16348
17448
  }
16349
17449
  return TlePropagation.__wrap(ret[0]);
16350
17450
  }
17451
+ /**
17452
+ * Propagate over unix-microsecond epochs with an opt-in decay latch.
17453
+ *
17454
+ * The returned TEME arrays match [`propagate`] until the first decay-like
17455
+ * SGP4 failure. At that point the core latch records the failing epoch and
17456
+ * this method throws. Later calls using the same latch at that epoch or a
17457
+ * later one also throw, while raw [`propagate`] remains stateless.
17458
+ * @param {BigInt64Array} epochs_unix_us
17459
+ * @param {DecayLatch} latch
17460
+ * @returns {TlePropagation}
17461
+ */
17462
+ propagateWithDecayLatch(epochs_unix_us, latch) {
17463
+ const ptr0 = passArray64ToWasm0(epochs_unix_us, wasm.__wbindgen_malloc);
17464
+ const len0 = WASM_VECTOR_LEN;
17465
+ _assertClass(latch, DecayLatch);
17466
+ const ret = wasm.tle_propagateWithDecayLatch(this.__wbg_ptr, ptr0, len0, latch.__wbg_ptr);
17467
+ if (ret[2]) {
17468
+ throw takeFromExternrefTable0(ret[1]);
17469
+ }
17470
+ return TlePropagation.__wrap(ret[0]);
17471
+ }
16351
17472
  /**
16352
17473
  * Right ascension of the ascending node, degrees.
16353
17474
  * @returns {number}
@@ -18703,6 +19824,24 @@ export function findTcaConjunctions(primary_line1, primary_line2, secondary_line
18703
19824
  return takeFromExternrefTable0(ret[0]);
18704
19825
  }
18705
19826
 
19827
+ /**
19828
+ * Fit every satellite declared in a parsed ECEF SP3 precise product.
19829
+ *
19830
+ * The residual ledger is computed against the original Earth-fixed SP3
19831
+ * observations by the core fit path.
19832
+ * @param {Sp3} sp3
19833
+ * @param {any} options
19834
+ * @returns {any}
19835
+ */
19836
+ export function fitAllSp3EcefPreciseOrbits(sp3, options) {
19837
+ _assertClass(sp3, Sp3);
19838
+ const ret = wasm.fitAllSp3EcefPreciseOrbits(sp3.__wbg_ptr, options);
19839
+ if (ret[2]) {
19840
+ throw takeFromExternrefTable0(ret[1]);
19841
+ }
19842
+ return takeFromExternrefTable0(ret[0]);
19843
+ }
19844
+
18706
19845
  /**
18707
19846
  * Fit a piecewise reduced-orbit model: tile `[t0, t1]` into segments of
18708
19847
  * `segmentSeconds` and fit each independently.
@@ -18872,6 +20011,47 @@ export function fitReducedOrbitTle(tle, options) {
18872
20011
  return ReducedOrbitSourceFit.__wrap(ret[0]);
18873
20012
  }
18874
20013
 
20014
+ /**
20015
+ * Fit one satellite orbit from a parsed ECEF SP3 precise product.
20016
+ *
20017
+ * `satellite` is an IGS token such as `"G01"`. SP3 position and optional
20018
+ * velocity records are transformed from Earth-fixed coordinates through the
20019
+ * core `TdbEarthOrientationProvider` before fitting.
20020
+ * @param {Sp3} sp3
20021
+ * @param {string} satellite
20022
+ * @param {any} options
20023
+ * @returns {any}
20024
+ */
20025
+ export function fitSp3EcefPreciseOrbit(sp3, satellite, options) {
20026
+ _assertClass(sp3, Sp3);
20027
+ const ptr0 = passStringToWasm0(satellite, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
20028
+ const len0 = WASM_VECTOR_LEN;
20029
+ const ret = wasm.fitSp3EcefPreciseOrbit(sp3.__wbg_ptr, ptr0, len0, options);
20030
+ if (ret[2]) {
20031
+ throw takeFromExternrefTable0(ret[1]);
20032
+ }
20033
+ return takeFromExternrefTable0(ret[0]);
20034
+ }
20035
+
20036
+ /**
20037
+ * Fit selected satellite orbits from a parsed ECEF SP3 precise product.
20038
+ *
20039
+ * `satellites` is a string array of IGS tokens such as `["G01", "G02"]`.
20040
+ * The Earth-fixed to inertial conversion is handled by the core provider.
20041
+ * @param {Sp3} sp3
20042
+ * @param {any} satellites
20043
+ * @param {any} options
20044
+ * @returns {any}
20045
+ */
20046
+ export function fitSp3EcefPreciseOrbits(sp3, satellites, options) {
20047
+ _assertClass(sp3, Sp3);
20048
+ const ret = wasm.fitSp3EcefPreciseOrbits(sp3.__wbg_ptr, satellites, options);
20049
+ if (ret[2]) {
20050
+ throw takeFromExternrefTable0(ret[1]);
20051
+ }
20052
+ return takeFromExternrefTable0(ret[0]);
20053
+ }
20054
+
18875
20055
  /**
18876
20056
  * Fit one satellite orbit from a parsed SP3 precise product.
18877
20057
  *
@@ -18996,6 +20176,105 @@ export function forceTwoBodyAcceleration(position_km, velocity_km_s) {
18996
20176
  return v3;
18997
20177
  }
18998
20178
 
20179
+ /**
20180
+ * Return the built-in terrestrial frame catalog entries.
20181
+ * @returns {HelmertTransform[]}
20182
+ */
20183
+ export function frameCatalog() {
20184
+ const ret = wasm.frameCatalog();
20185
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
20186
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
20187
+ return v1;
20188
+ }
20189
+
20190
+ /**
20191
+ * Return the published catalog entry for the requested forward direction.
20192
+ * @param {TerrestrialFrame} from
20193
+ * @param {TerrestrialFrame} to
20194
+ * @returns {HelmertTransform | undefined}
20195
+ */
20196
+ export function frameCatalogEntry(from, to) {
20197
+ const ret = wasm.frameCatalogEntry(from, to);
20198
+ return ret === 0 ? undefined : HelmertTransform.__wrap(ret);
20199
+ }
20200
+
20201
+ /**
20202
+ * Propagate a station position from one decimal year to another.
20203
+ *
20204
+ * `positionM` and `velocityMPerYear` are length-3 arrays in metres and metres
20205
+ * per year. Returns a length-3 array in metres. Delegates to
20206
+ * `sidereon_core::frame_catalog::propagate_position`.
20207
+ * @param {Float64Array} position_m
20208
+ * @param {Float64Array} velocity_m_per_year
20209
+ * @param {number} from_epoch_year
20210
+ * @param {number} to_epoch_year
20211
+ * @returns {Float64Array}
20212
+ */
20213
+ export function frameCatalogPropagatePosition(position_m, velocity_m_per_year, from_epoch_year, to_epoch_year) {
20214
+ const ptr0 = passArrayF64ToWasm0(position_m, wasm.__wbindgen_malloc);
20215
+ const len0 = WASM_VECTOR_LEN;
20216
+ const ptr1 = passArrayF64ToWasm0(velocity_m_per_year, wasm.__wbindgen_malloc);
20217
+ const len1 = WASM_VECTOR_LEN;
20218
+ const ret = wasm.frameCatalogPropagatePosition(ptr0, len0, ptr1, len1, from_epoch_year, to_epoch_year);
20219
+ if (ret[3]) {
20220
+ throw takeFromExternrefTable0(ret[2]);
20221
+ }
20222
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
20223
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
20224
+ return v3;
20225
+ }
20226
+
20227
+ /**
20228
+ * Transform a Cartesian station position and optional velocity between frames.
20229
+ *
20230
+ * `positionM` is a length-3 metre array. `velocityMPerYear` may be `undefined`
20231
+ * or a length-3 metres-per-year array. Returns a plain object with
20232
+ * `positionM` and `velocityMPerYear` (`null` when no velocity was supplied).
20233
+ * @param {Float64Array} position_m
20234
+ * @param {Float64Array | null | undefined} velocity_m_per_year
20235
+ * @param {TerrestrialFrame} from
20236
+ * @param {TerrestrialFrame} to
20237
+ * @param {number} epoch_year
20238
+ * @returns {any}
20239
+ */
20240
+ export function frameCatalogTransform(position_m, velocity_m_per_year, from, to, epoch_year) {
20241
+ const ptr0 = passArrayF64ToWasm0(position_m, wasm.__wbindgen_malloc);
20242
+ const len0 = WASM_VECTOR_LEN;
20243
+ var ptr1 = isLikeNone(velocity_m_per_year) ? 0 : passArrayF64ToWasm0(velocity_m_per_year, wasm.__wbindgen_malloc);
20244
+ var len1 = WASM_VECTOR_LEN;
20245
+ const ret = wasm.frameCatalogTransform(ptr0, len0, ptr1, len1, from, to, epoch_year);
20246
+ if (ret[2]) {
20247
+ throw takeFromExternrefTable0(ret[1]);
20248
+ }
20249
+ return takeFromExternrefTable0(ret[0]);
20250
+ }
20251
+
20252
+ /**
20253
+ * Propagate a station to a transform epoch, then transform it between frames.
20254
+ *
20255
+ * `positionEpochYear` is the epoch of the input coordinates. The transform is
20256
+ * evaluated at `transformEpochYear`. Returns a plain object with `positionM`
20257
+ * and `velocityMPerYear`.
20258
+ * @param {Float64Array} position_m
20259
+ * @param {Float64Array} velocity_m_per_year
20260
+ * @param {number} position_epoch_year
20261
+ * @param {TerrestrialFrame} from
20262
+ * @param {TerrestrialFrame} to
20263
+ * @param {number} transform_epoch_year
20264
+ * @returns {any}
20265
+ */
20266
+ export function frameCatalogTransformFromEpoch(position_m, velocity_m_per_year, position_epoch_year, from, to, transform_epoch_year) {
20267
+ const ptr0 = passArrayF64ToWasm0(position_m, wasm.__wbindgen_malloc);
20268
+ const len0 = WASM_VECTOR_LEN;
20269
+ const ptr1 = passArrayF64ToWasm0(velocity_m_per_year, wasm.__wbindgen_malloc);
20270
+ const len1 = WASM_VECTOR_LEN;
20271
+ const ret = wasm.frameCatalogTransformFromEpoch(ptr0, len0, ptr1, len1, position_epoch_year, from, to, transform_epoch_year);
20272
+ if (ret[2]) {
20273
+ throw takeFromExternrefTable0(ret[1]);
20274
+ }
20275
+ return takeFromExternrefTable0(ret[0]);
20276
+ }
20277
+
18999
20278
  /**
19000
20279
  * Build constellation identity records from a CelesTrak OMM JSON-array text.
19001
20280
  *
@@ -19136,6 +20415,67 @@ export function gcrsToItrs(position_km, epochs_unix_us, skyfield_compat) {
19136
20415
  return v3;
19137
20416
  }
19138
20417
 
20418
+ /**
20419
+ * Solve the WGS84 direct geodesic problem.
20420
+ *
20421
+ * Inputs are point 1 latitude, longitude, forward azimuth, and geodesic
20422
+ * distance. Angles are degrees and `distanceM` is metres. Returns
20423
+ * `{ lat2Deg, lon2Deg, finalAzimuthDeg }`. Delegates to
20424
+ * `sidereon_core::geodesic::geodesic_direct`.
20425
+ * @param {number} lat1_deg
20426
+ * @param {number} lon1_deg
20427
+ * @param {number} initial_azimuth_deg
20428
+ * @param {number} distance_m
20429
+ * @returns {any}
20430
+ */
20431
+ export function geodesicDirect(lat1_deg, lon1_deg, initial_azimuth_deg, distance_m) {
20432
+ const ret = wasm.geodesicDirect(lat1_deg, lon1_deg, initial_azimuth_deg, distance_m);
20433
+ if (ret[2]) {
20434
+ throw takeFromExternrefTable0(ret[1]);
20435
+ }
20436
+ return takeFromExternrefTable0(ret[0]);
20437
+ }
20438
+
20439
+ /**
20440
+ * Stable string label for a [`GeodesicError`] enum value.
20441
+ * @param {GeodesicError} error
20442
+ * @returns {string}
20443
+ */
20444
+ export function geodesicErrorLabel(error) {
20445
+ let deferred1_0;
20446
+ let deferred1_1;
20447
+ try {
20448
+ const ret = wasm.geodesicErrorLabel(error);
20449
+ deferred1_0 = ret[0];
20450
+ deferred1_1 = ret[1];
20451
+ return getStringFromWasm0(ret[0], ret[1]);
20452
+ } finally {
20453
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
20454
+ }
20455
+ }
20456
+
20457
+ /**
20458
+ * Solve the WGS84 inverse geodesic problem.
20459
+ *
20460
+ * Inputs are point 1 latitude and longitude followed by point 2 latitude and
20461
+ * longitude, all in degrees. Longitudes may be outside `[-180, 180]`. Returns
20462
+ * `{ distanceM, initialAzimuthDeg, finalAzimuthDeg }`, with distance in metres
20463
+ * and azimuths in degrees. Delegates to
20464
+ * `sidereon_core::geodesic::geodesic_inverse`.
20465
+ * @param {number} lat1_deg
20466
+ * @param {number} lon1_deg
20467
+ * @param {number} lat2_deg
20468
+ * @param {number} lon2_deg
20469
+ * @returns {any}
20470
+ */
20471
+ export function geodesicInverse(lat1_deg, lon1_deg, lat2_deg, lon2_deg) {
20472
+ const ret = wasm.geodesicInverse(lat1_deg, lon1_deg, lat2_deg, lon2_deg);
20473
+ if (ret[2]) {
20474
+ throw takeFromExternrefTable0(ret[1]);
20475
+ }
20476
+ return takeFromExternrefTable0(ret[0]);
20477
+ }
20478
+
19139
20479
  /**
19140
20480
  * Convert a batch of geodetic coordinates to ITRS (ECEF).
19141
20481
  *
@@ -21744,6 +23084,21 @@ export function parseSpaceWeatherTxt(text) {
21744
23084
  return SpaceWeatherTable.__wrap(ret[0]);
21745
23085
  }
21746
23086
 
23087
+ /**
23088
+ * Parse a CCSDS Tracking Data Message in KVN form.
23089
+ * @param {string} text
23090
+ * @returns {Tdm}
23091
+ */
23092
+ export function parseTdmKvn(text) {
23093
+ const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23094
+ const len0 = WASM_VECTOR_LEN;
23095
+ const ret = wasm.parseTdmKvn(ptr0, len0);
23096
+ if (ret[2]) {
23097
+ throw takeFromExternrefTable0(ret[1]);
23098
+ }
23099
+ return Tdm.__wrap(ret[0]);
23100
+ }
23101
+
21747
23102
  /**
21748
23103
  * Parse a multi-record TLE file (CelesTrak / Space-Track style) into named,
21749
23104
  * initialized [`Tle`] instances. Handles bare 2-line sets, 3-line name+line1+line2
@@ -22896,6 +24251,32 @@ export function shadowFraction(satellite_position_km, sun_position_km) {
22896
24251
  return v3;
22897
24252
  }
22898
24253
 
24254
+ /**
24255
+ * Shadow fraction in `[0, 1]` for position batches with an explicit Earth
24256
+ * shadow model.
24257
+ *
24258
+ * `satellitePositionKm` and `sunPositionKm` are flat row-major `(n, 3)`
24259
+ * `Float64Array`s. `EarthShadowModel.Spherical` is bit-identical to
24260
+ * [`shadowFraction`].
24261
+ * @param {Float64Array} satellite_position_km
24262
+ * @param {Float64Array} sun_position_km
24263
+ * @param {EarthShadowModel} model
24264
+ * @returns {Float64Array}
24265
+ */
24266
+ export function shadowFractionWithModel(satellite_position_km, sun_position_km, model) {
24267
+ const ptr0 = passArrayF64ToWasm0(satellite_position_km, wasm.__wbindgen_malloc);
24268
+ const len0 = WASM_VECTOR_LEN;
24269
+ const ptr1 = passArrayF64ToWasm0(sun_position_km, wasm.__wbindgen_malloc);
24270
+ const len1 = WASM_VECTOR_LEN;
24271
+ const ret = wasm.shadowFractionWithModel(ptr0, len0, ptr1, len1, model);
24272
+ if (ret[3]) {
24273
+ throw takeFromExternrefTable0(ret[2]);
24274
+ }
24275
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
24276
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
24277
+ return v3;
24278
+ }
24279
+
22899
24280
  /**
22900
24281
  * Shapiro-Wilk normality test on a residual set.
22901
24282
  *
@@ -23749,6 +25130,24 @@ export function terrainStoreChecksum64(bytes) {
23749
25130
  return BigInt.asUintN(64, ret);
23750
25131
  }
23751
25132
 
25133
+ /**
25134
+ * Stable string label for a [`TerrestrialFrame`] enum value.
25135
+ * @param {TerrestrialFrame} frame
25136
+ * @returns {string}
25137
+ */
25138
+ export function terrestrialFrameLabel(frame) {
25139
+ let deferred1_0;
25140
+ let deferred1_1;
25141
+ try {
25142
+ const ret = wasm.terrestrialFrameLabel(frame);
25143
+ deferred1_0 = ret[0];
25144
+ deferred1_1 = ret[1];
25145
+ return getStringFromWasm0(ret[0], ret[1]);
25146
+ } finally {
25147
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
25148
+ }
25149
+ }
25150
+
23752
25151
  /**
23753
25152
  * Time deviation for explicit averaging factors.
23754
25153
  *
@@ -24158,7 +25557,7 @@ export function writeDtedTreeToMmapStore(root, out_path) {
24158
25557
  *
24159
25558
  * `alpha` is the two-sided false-alarm probability. `power` is detection power,
24160
25559
  * so the core missed-detection probability is `1 - power`. The returned object
24161
- * contains `delta0` and `lambda0 = delta0 * delta0`.
25560
+ * contains the core-provided `delta0` and `lambda0` values.
24162
25561
  * @param {number} alpha
24163
25562
  * @param {number} power
24164
25563
  * @returns {any}
@@ -24340,6 +25739,10 @@ function __wbg_get_imports() {
24340
25739
  const ret = GroundTrack.__wrap(arg0);
24341
25740
  return ret;
24342
25741
  },
25742
+ __wbg_helmerttransform_new: function(arg0) {
25743
+ const ret = HelmertTransform.__wrap(arg0);
25744
+ return ret;
25745
+ },
24343
25746
  __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
24344
25747
  let result;
24345
25748
  try {
@@ -24550,6 +25953,26 @@ function __wbg_get_imports() {
24550
25953
  const ret = SpkSegment.__wrap(arg0);
24551
25954
  return ret;
24552
25955
  },
25956
+ __wbg_tdmdatarecord_new: function(arg0) {
25957
+ const ret = TdmDataRecord.__wrap(arg0);
25958
+ return ret;
25959
+ },
25960
+ __wbg_tdmfield_new: function(arg0) {
25961
+ const ret = TdmField.__wrap(arg0);
25962
+ return ret;
25963
+ },
25964
+ __wbg_tdmparticipant_new: function(arg0) {
25965
+ const ret = TdmParticipant.__wrap(arg0);
25966
+ return ret;
25967
+ },
25968
+ __wbg_tdmpath_new: function(arg0) {
25969
+ const ret = TdmPath.__wrap(arg0);
25970
+ return ret;
25971
+ },
25972
+ __wbg_tdmsegment_new: function(arg0) {
25973
+ const ret = TdmSegment.__wrap(arg0);
25974
+ return ret;
25975
+ },
24553
25976
  __wbg_terrainstoretileindex_new: function(arg0) {
24554
25977
  const ret = TerrainStoreTileIndex.__wrap(arg0);
24555
25978
  return ret;
@@ -24695,6 +26118,9 @@ const CovarianceTransportResultFinalization = (typeof FinalizationRegistry === '
24695
26118
  const CoverageGridFinalization = (typeof FinalizationRegistry === 'undefined')
24696
26119
  ? { register: () => {}, unregister: () => {} }
24697
26120
  : new FinalizationRegistry(ptr => wasm.__wbg_coveragegrid_free(ptr, 1));
26121
+ const DecayLatchFinalization = (typeof FinalizationRegistry === 'undefined')
26122
+ ? { register: () => {}, unregister: () => {} }
26123
+ : new FinalizationRegistry(ptr => wasm.__wbg_decaylatch_free(ptr, 1));
24698
26124
  const DegradationParamsFinalization = (typeof FinalizationRegistry === 'undefined')
24699
26125
  ? { register: () => {}, unregister: () => {} }
24700
26126
  : new FinalizationRegistry(ptr => wasm.__wbg_degradationparams_free(ptr, 1));
@@ -24782,6 +26208,15 @@ const GroundStationFinalization = (typeof FinalizationRegistry === 'undefined')
24782
26208
  const GroundTrackFinalization = (typeof FinalizationRegistry === 'undefined')
24783
26209
  ? { register: () => {}, unregister: () => {} }
24784
26210
  : new FinalizationRegistry(ptr => wasm.__wbg_groundtrack_free(ptr, 1));
26211
+ const HelmertParametersFinalization = (typeof FinalizationRegistry === 'undefined')
26212
+ ? { register: () => {}, unregister: () => {} }
26213
+ : new FinalizationRegistry(ptr => wasm.__wbg_helmertparameters_free(ptr, 1));
26214
+ const HelmertRatesFinalization = (typeof FinalizationRegistry === 'undefined')
26215
+ ? { register: () => {}, unregister: () => {} }
26216
+ : new FinalizationRegistry(ptr => wasm.__wbg_helmertrates_free(ptr, 1));
26217
+ const HelmertTransformFinalization = (typeof FinalizationRegistry === 'undefined')
26218
+ ? { register: () => {}, unregister: () => {} }
26219
+ : new FinalizationRegistry(ptr => wasm.__wbg_helmerttransform_free(ptr, 1));
24785
26220
  const InstantFinalization = (typeof FinalizationRegistry === 'undefined')
24786
26221
  ? { register: () => {}, unregister: () => {} }
24787
26222
  : new FinalizationRegistry(ptr => wasm.__wbg_instant_free(ptr, 1));
@@ -25094,6 +26529,33 @@ const SsrCorrectionStoreFinalization = (typeof FinalizationRegistry === 'undefin
25094
26529
  const SunMoonFinalization = (typeof FinalizationRegistry === 'undefined')
25095
26530
  ? { register: () => {}, unregister: () => {} }
25096
26531
  : new FinalizationRegistry(ptr => wasm.__wbg_sunmoon_free(ptr, 1));
26532
+ const TdmFinalization = (typeof FinalizationRegistry === 'undefined')
26533
+ ? { register: () => {}, unregister: () => {} }
26534
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdm_free(ptr, 1));
26535
+ const TdmDataRecordFinalization = (typeof FinalizationRegistry === 'undefined')
26536
+ ? { register: () => {}, unregister: () => {} }
26537
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmdatarecord_free(ptr, 1));
26538
+ const TdmDataSectionFinalization = (typeof FinalizationRegistry === 'undefined')
26539
+ ? { register: () => {}, unregister: () => {} }
26540
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmdatasection_free(ptr, 1));
26541
+ const TdmFieldFinalization = (typeof FinalizationRegistry === 'undefined')
26542
+ ? { register: () => {}, unregister: () => {} }
26543
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmfield_free(ptr, 1));
26544
+ const TdmMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
26545
+ ? { register: () => {}, unregister: () => {} }
26546
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmmetadata_free(ptr, 1));
26547
+ const TdmParticipantFinalization = (typeof FinalizationRegistry === 'undefined')
26548
+ ? { register: () => {}, unregister: () => {} }
26549
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmparticipant_free(ptr, 1));
26550
+ const TdmPathFinalization = (typeof FinalizationRegistry === 'undefined')
26551
+ ? { register: () => {}, unregister: () => {} }
26552
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmpath_free(ptr, 1));
26553
+ const TdmScalarFinalization = (typeof FinalizationRegistry === 'undefined')
26554
+ ? { register: () => {}, unregister: () => {} }
26555
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmscalar_free(ptr, 1));
26556
+ const TdmSegmentFinalization = (typeof FinalizationRegistry === 'undefined')
26557
+ ? { register: () => {}, unregister: () => {} }
26558
+ : new FinalizationRegistry(ptr => wasm.__wbg_tdmsegment_free(ptr, 1));
25097
26559
  const TerrainGeoidModelFinalization = (typeof FinalizationRegistry === 'undefined')
25098
26560
  ? { register: () => {}, unregister: () => {} }
25099
26561
  : new FinalizationRegistry(ptr => wasm.__wbg_terraingeoidmodel_free(ptr, 1));