@neilberkman/sidereon 0.9.2 → 0.10.1

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.
@@ -594,6 +594,146 @@ class AtmosphereDensity {
594
594
  if (Symbol.dispose) AtmosphereDensity.prototype[Symbol.dispose] = AtmosphereDensity.prototype.free;
595
595
  exports.AtmosphereDensity = AtmosphereDensity;
596
596
 
597
+ class BiasSet {
598
+ static __wrap(ptr) {
599
+ const obj = Object.create(BiasSet.prototype);
600
+ obj.__wbg_ptr = ptr;
601
+ BiasSetFinalization.register(obj, obj.__wbg_ptr, obj);
602
+ return obj;
603
+ }
604
+ __destroy_into_raw() {
605
+ const ptr = this.__wbg_ptr;
606
+ this.__wbg_ptr = 0;
607
+ BiasSetFinalization.unregister(this);
608
+ return ptr;
609
+ }
610
+ free() {
611
+ const ptr = this.__destroy_into_raw();
612
+ wasm.__wbg_biasset_free(ptr, 0);
613
+ }
614
+ /**
615
+ * @param {string} sat
616
+ * @param {string} used_obs1
617
+ * @param {string} used_obs2
618
+ * @param {number} freq1_hz
619
+ * @param {number} freq2_hz
620
+ * @param {number | null | undefined} glonass_channel
621
+ * @param {string} clock_ref_obs1
622
+ * @param {string} clock_ref_obs2
623
+ * @param {number} epoch_j2000_s
624
+ * @param {string | null} [time_scale]
625
+ * @returns {number | undefined}
626
+ */
627
+ codeBiasModelM(sat, used_obs1, used_obs2, freq1_hz, freq2_hz, glonass_channel, clock_ref_obs1, clock_ref_obs2, epoch_j2000_s, time_scale) {
628
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
629
+ const len0 = WASM_VECTOR_LEN;
630
+ const ptr1 = passStringToWasm0(used_obs1, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
631
+ const len1 = WASM_VECTOR_LEN;
632
+ const ptr2 = passStringToWasm0(used_obs2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
633
+ const len2 = WASM_VECTOR_LEN;
634
+ const ptr3 = passStringToWasm0(clock_ref_obs1, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
635
+ const len3 = WASM_VECTOR_LEN;
636
+ const ptr4 = passStringToWasm0(clock_ref_obs2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
637
+ const len4 = WASM_VECTOR_LEN;
638
+ var ptr5 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
639
+ var len5 = WASM_VECTOR_LEN;
640
+ const ret = wasm.biasset_codeBiasModelM(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, freq1_hz, freq2_hz, isLikeNone(glonass_channel) ? 0xFFFFFF : glonass_channel, ptr3, len3, ptr4, len4, epoch_j2000_s, ptr5, len5);
641
+ if (ret[3]) {
642
+ throw takeFromExternrefTable0(ret[2]);
643
+ }
644
+ return ret[0] === 0 ? undefined : ret[1];
645
+ }
646
+ /**
647
+ * @param {string} sat
648
+ * @param {string} obs1
649
+ * @param {string} obs2
650
+ * @param {number} epoch_j2000_s
651
+ * @param {string | null} [time_scale]
652
+ * @returns {number | undefined}
653
+ */
654
+ codeDsbSeconds(sat, obs1, obs2, epoch_j2000_s, time_scale) {
655
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
656
+ const len0 = WASM_VECTOR_LEN;
657
+ const ptr1 = passStringToWasm0(obs1, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
658
+ const len1 = WASM_VECTOR_LEN;
659
+ const ptr2 = passStringToWasm0(obs2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
660
+ const len2 = WASM_VECTOR_LEN;
661
+ var ptr3 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
662
+ var len3 = WASM_VECTOR_LEN;
663
+ const ret = wasm.biasset_codeDsbSeconds(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, epoch_j2000_s, ptr3, len3);
664
+ if (ret[3]) {
665
+ throw takeFromExternrefTable0(ret[2]);
666
+ }
667
+ return ret[0] === 0 ? undefined : ret[1];
668
+ }
669
+ /**
670
+ * @param {string} sat
671
+ * @param {string} obs
672
+ * @param {number} epoch_j2000_s
673
+ * @param {string | null} [time_scale]
674
+ * @returns {number | undefined}
675
+ */
676
+ codeOsbSeconds(sat, obs, epoch_j2000_s, time_scale) {
677
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
678
+ const len0 = WASM_VECTOR_LEN;
679
+ const ptr1 = passStringToWasm0(obs, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
680
+ const len1 = WASM_VECTOR_LEN;
681
+ var ptr2 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
682
+ var len2 = WASM_VECTOR_LEN;
683
+ const ret = wasm.biasset_codeOsbSeconds(this.__wbg_ptr, ptr0, len0, ptr1, len1, epoch_j2000_s, ptr2, len2);
684
+ if (ret[3]) {
685
+ throw takeFromExternrefTable0(ret[2]);
686
+ }
687
+ return ret[0] === 0 ? undefined : ret[1];
688
+ }
689
+ /**
690
+ * @param {string} sat
691
+ * @param {string} obs
692
+ * @param {number} epoch_j2000_s
693
+ * @param {string | null} [time_scale]
694
+ * @returns {number | undefined}
695
+ */
696
+ phaseOsbCycles(sat, obs, epoch_j2000_s, time_scale) {
697
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
698
+ const len0 = WASM_VECTOR_LEN;
699
+ const ptr1 = passStringToWasm0(obs, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
700
+ const len1 = WASM_VECTOR_LEN;
701
+ var ptr2 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
702
+ var len2 = WASM_VECTOR_LEN;
703
+ const ret = wasm.biasset_phaseOsbCycles(this.__wbg_ptr, ptr0, len0, ptr1, len1, epoch_j2000_s, ptr2, len2);
704
+ if (ret[3]) {
705
+ throw takeFromExternrefTable0(ret[2]);
706
+ }
707
+ return ret[0] === 0 ? undefined : ret[1];
708
+ }
709
+ /**
710
+ * @returns {number}
711
+ */
712
+ get recordCount() {
713
+ const ret = wasm.biasset_recordCount(this.__wbg_ptr);
714
+ return ret >>> 0;
715
+ }
716
+ /**
717
+ * @returns {any}
718
+ */
719
+ get records() {
720
+ const ret = wasm.biasset_records(this.__wbg_ptr);
721
+ if (ret[2]) {
722
+ throw takeFromExternrefTable0(ret[1]);
723
+ }
724
+ return takeFromExternrefTable0(ret[0]);
725
+ }
726
+ /**
727
+ * @returns {number}
728
+ */
729
+ get skippedRecords() {
730
+ const ret = wasm.biasset_skippedRecords(this.__wbg_ptr);
731
+ return ret >>> 0;
732
+ }
733
+ }
734
+ if (Symbol.dispose) BiasSet.prototype[Symbol.dispose] = BiasSet.prototype.free;
735
+ exports.BiasSet = BiasSet;
736
+
597
737
  /**
598
738
  * A parsed broadcast ephemeris store from a RINEX NAV file. `records` are the
599
739
  * usable GPS/Galileo/BeiDou records selected by the core default SPP policy.
@@ -3153,6 +3293,162 @@ class DopplerShift {
3153
3293
  if (Symbol.dispose) DopplerShift.prototype[Symbol.dispose] = DopplerShift.prototype.free;
3154
3294
  exports.DopplerShift = DopplerShift;
3155
3295
 
3296
+ class DragForce {
3297
+ static __wrap(ptr) {
3298
+ const obj = Object.create(DragForce.prototype);
3299
+ obj.__wbg_ptr = ptr;
3300
+ DragForceFinalization.register(obj, obj.__wbg_ptr, obj);
3301
+ return obj;
3302
+ }
3303
+ __destroy_into_raw() {
3304
+ const ptr = this.__wbg_ptr;
3305
+ this.__wbg_ptr = 0;
3306
+ DragForceFinalization.unregister(this);
3307
+ return ptr;
3308
+ }
3309
+ free() {
3310
+ const ptr = this.__destroy_into_raw();
3311
+ wasm.__wbg_dragforce_free(ptr, 0);
3312
+ }
3313
+ /**
3314
+ * @param {number} epoch_s
3315
+ * @param {Float64Array} position_km
3316
+ * @param {Float64Array} velocity_km_s
3317
+ * @returns {Float64Array}
3318
+ */
3319
+ acceleration(epoch_s, position_km, velocity_km_s) {
3320
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
3321
+ const len0 = WASM_VECTOR_LEN;
3322
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
3323
+ const len1 = WASM_VECTOR_LEN;
3324
+ const ret = wasm.dragforce_acceleration(this.__wbg_ptr, epoch_s, ptr0, len0, ptr1, len1);
3325
+ if (ret[3]) {
3326
+ throw takeFromExternrefTable0(ret[2]);
3327
+ }
3328
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
3329
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
3330
+ return v3;
3331
+ }
3332
+ /**
3333
+ * @returns {number}
3334
+ */
3335
+ get bcFactorM2Kg() {
3336
+ const ret = wasm.dragforce_bcFactorM2Kg(this.__wbg_ptr);
3337
+ return ret;
3338
+ }
3339
+ /**
3340
+ * @returns {number}
3341
+ */
3342
+ get cutoffAltitudeKm() {
3343
+ const ret = wasm.dragforce_cutoffAltitudeKm(this.__wbg_ptr);
3344
+ return ret;
3345
+ }
3346
+ /**
3347
+ * @param {number} cd
3348
+ * @param {number} area_m2
3349
+ * @param {number} mass_kg
3350
+ * @param {SpaceWeather} space_weather
3351
+ * @param {number | null} [cutoff_altitude_km]
3352
+ * @returns {DragForce}
3353
+ */
3354
+ static fromAreaMass(cd, area_m2, mass_kg, space_weather, cutoff_altitude_km) {
3355
+ _assertClass(space_weather, SpaceWeather);
3356
+ const ret = wasm.dragforce_fromAreaMass(cd, area_m2, mass_kg, space_weather.__wbg_ptr, !isLikeNone(cutoff_altitude_km), isLikeNone(cutoff_altitude_km) ? 0 : cutoff_altitude_km);
3357
+ if (ret[2]) {
3358
+ throw takeFromExternrefTable0(ret[1]);
3359
+ }
3360
+ return DragForce.__wrap(ret[0]);
3361
+ }
3362
+ /**
3363
+ * @param {number} bc_kg_m2
3364
+ * @param {SpaceWeather} space_weather
3365
+ * @param {number | null} [cutoff_altitude_km]
3366
+ * @returns {DragForce}
3367
+ */
3368
+ static fromBallisticCoefficient(bc_kg_m2, space_weather, cutoff_altitude_km) {
3369
+ _assertClass(space_weather, SpaceWeather);
3370
+ const ret = wasm.dragforce_fromBallisticCoefficient(bc_kg_m2, space_weather.__wbg_ptr, !isLikeNone(cutoff_altitude_km), isLikeNone(cutoff_altitude_km) ? 0 : cutoff_altitude_km);
3371
+ if (ret[2]) {
3372
+ throw takeFromExternrefTable0(ret[1]);
3373
+ }
3374
+ return DragForce.__wrap(ret[0]);
3375
+ }
3376
+ /**
3377
+ * @param {number} bc_factor_m2_kg
3378
+ * @param {SpaceWeather} space_weather
3379
+ * @param {number | null} [cutoff_altitude_km]
3380
+ * @returns {DragForce}
3381
+ */
3382
+ static fromBcFactor(bc_factor_m2_kg, space_weather, cutoff_altitude_km) {
3383
+ _assertClass(space_weather, SpaceWeather);
3384
+ const ret = wasm.dragforce_fromBcFactor(bc_factor_m2_kg, space_weather.__wbg_ptr, !isLikeNone(cutoff_altitude_km), isLikeNone(cutoff_altitude_km) ? 0 : cutoff_altitude_km);
3385
+ if (ret[2]) {
3386
+ throw takeFromExternrefTable0(ret[1]);
3387
+ }
3388
+ return DragForce.__wrap(ret[0]);
3389
+ }
3390
+ /**
3391
+ * @returns {SpaceWeather}
3392
+ */
3393
+ get spaceWeather() {
3394
+ const ret = wasm.dragforce_spaceWeather(this.__wbg_ptr);
3395
+ return SpaceWeather.__wrap(ret);
3396
+ }
3397
+ }
3398
+ if (Symbol.dispose) DragForce.prototype[Symbol.dispose] = DragForce.prototype.free;
3399
+ exports.DragForce = DragForce;
3400
+
3401
+ class DtedTerrain {
3402
+ __destroy_into_raw() {
3403
+ const ptr = this.__wbg_ptr;
3404
+ this.__wbg_ptr = 0;
3405
+ DtedTerrainFinalization.unregister(this);
3406
+ return ptr;
3407
+ }
3408
+ free() {
3409
+ const ptr = this.__destroy_into_raw();
3410
+ wasm.__wbg_dtedterrain_free(ptr, 0);
3411
+ }
3412
+ /**
3413
+ * @param {number} longitude_deg
3414
+ * @param {number} latitude_deg
3415
+ * @returns {number}
3416
+ */
3417
+ heightM(longitude_deg, latitude_deg) {
3418
+ const ret = wasm.dtedterrain_heightM(this.__wbg_ptr, longitude_deg, latitude_deg);
3419
+ if (ret[2]) {
3420
+ throw takeFromExternrefTable0(ret[1]);
3421
+ }
3422
+ return ret[0];
3423
+ }
3424
+ /**
3425
+ * @param {number} longitude_deg
3426
+ * @param {number} latitude_deg
3427
+ * @param {any} options
3428
+ * @returns {number}
3429
+ */
3430
+ heightMWithOptions(longitude_deg, latitude_deg, options) {
3431
+ const ret = wasm.dtedterrain_heightMWithOptions(this.__wbg_ptr, longitude_deg, latitude_deg, options);
3432
+ if (ret[2]) {
3433
+ throw takeFromExternrefTable0(ret[1]);
3434
+ }
3435
+ return ret[0];
3436
+ }
3437
+ /**
3438
+ * @param {string} root
3439
+ */
3440
+ constructor(root) {
3441
+ const ptr0 = passStringToWasm0(root, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3442
+ const len0 = WASM_VECTOR_LEN;
3443
+ const ret = wasm.dtedterrain_new(ptr0, len0);
3444
+ this.__wbg_ptr = ret;
3445
+ DtedTerrainFinalization.register(this, this.__wbg_ptr, this);
3446
+ return this;
3447
+ }
3448
+ }
3449
+ if (Symbol.dispose) DtedTerrain.prototype[Symbol.dispose] = DtedTerrain.prototype.free;
3450
+ exports.DtedTerrain = DtedTerrain;
3451
+
3156
3452
  /**
3157
3453
  * Orthonormal encounter frame built from two relative states.
3158
3454
  */
@@ -9960,6 +10256,15 @@ class ReducedOrbitState {
9960
10256
  if (Symbol.dispose) ReducedOrbitState.prototype[Symbol.dispose] = ReducedOrbitState.prototype.free;
9961
10257
  exports.ReducedOrbitState = ReducedOrbitState;
9962
10258
 
10259
+ /**
10260
+ * @enum {0 | 1}
10261
+ */
10262
+ const RetrogradeFactor = Object.freeze({
10263
+ Prograde: 0, "0": "Prograde",
10264
+ Retrograde: 1, "1": "Retrograde",
10265
+ });
10266
+ exports.RetrogradeFactor = RetrogradeFactor;
10267
+
9963
10268
  /**
9964
10269
  * A parsed RINEX clock product with satellite clock-bias interpolation.
9965
10270
  */
@@ -10503,6 +10808,78 @@ class SatelliteVector {
10503
10808
  if (Symbol.dispose) SatelliteVector.prototype[Symbol.dispose] = SatelliteVector.prototype.free;
10504
10809
  exports.SatelliteVector = SatelliteVector;
10505
10810
 
10811
+ class SbasCorrectionStore {
10812
+ __destroy_into_raw() {
10813
+ const ptr = this.__wbg_ptr;
10814
+ this.__wbg_ptr = 0;
10815
+ SbasCorrectionStoreFinalization.unregister(this);
10816
+ return ptr;
10817
+ }
10818
+ free() {
10819
+ const ptr = this.__destroy_into_raw();
10820
+ wasm.__wbg_sbascorrectionstore_free(ptr, 0);
10821
+ }
10822
+ /**
10823
+ * @param {Uint8Array} bytes
10824
+ * @param {string | null | undefined} form
10825
+ * @param {string} geo
10826
+ * @param {number} week
10827
+ * @param {number} tow_s
10828
+ * @param {string | null} [time_scale]
10829
+ */
10830
+ ingest(bytes, form, geo, week, tow_s, time_scale) {
10831
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
10832
+ const len0 = WASM_VECTOR_LEN;
10833
+ var ptr1 = isLikeNone(form) ? 0 : passStringToWasm0(form, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
10834
+ var len1 = WASM_VECTOR_LEN;
10835
+ const ptr2 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
10836
+ const len2 = WASM_VECTOR_LEN;
10837
+ var ptr3 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
10838
+ var len3 = WASM_VECTOR_LEN;
10839
+ const ret = wasm.sbascorrectionstore_ingest(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, week, tow_s, ptr3, len3);
10840
+ if (ret[1]) {
10841
+ throw takeFromExternrefTable0(ret[0]);
10842
+ }
10843
+ }
10844
+ /**
10845
+ * @param {string} geo
10846
+ * @param {number} receiver_lat_rad
10847
+ * @param {number} receiver_lon_rad
10848
+ * @param {number} receiver_height_m
10849
+ * @param {number} elevation_rad
10850
+ * @param {number} azimuth_rad
10851
+ * @param {number} frequency_hz
10852
+ * @returns {number | undefined}
10853
+ */
10854
+ ionoSlantDelayM(geo, receiver_lat_rad, receiver_lon_rad, receiver_height_m, elevation_rad, azimuth_rad, frequency_hz) {
10855
+ const ptr0 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
10856
+ const len0 = WASM_VECTOR_LEN;
10857
+ const ret = wasm.sbascorrectionstore_ionoSlantDelayM(this.__wbg_ptr, ptr0, len0, receiver_lat_rad, receiver_lon_rad, receiver_height_m, elevation_rad, azimuth_rad, frequency_hz);
10858
+ if (ret[3]) {
10859
+ throw takeFromExternrefTable0(ret[2]);
10860
+ }
10861
+ return ret[0] === 0 ? undefined : ret[1];
10862
+ }
10863
+ constructor() {
10864
+ const ret = wasm.sbascorrectionstore_new();
10865
+ this.__wbg_ptr = ret;
10866
+ SbasCorrectionStoreFinalization.register(this, this.__wbg_ptr, this);
10867
+ return this;
10868
+ }
10869
+ /**
10870
+ * @param {number} t_j2000_s
10871
+ * @returns {string[]}
10872
+ */
10873
+ readyGeos(t_j2000_s) {
10874
+ const ret = wasm.sbascorrectionstore_readyGeos(this.__wbg_ptr, t_j2000_s);
10875
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
10876
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
10877
+ return v1;
10878
+ }
10879
+ }
10880
+ if (Symbol.dispose) SbasCorrectionStore.prototype[Symbol.dispose] = SbasCorrectionStore.prototype.free;
10881
+ exports.SbasCorrectionStore = SbasCorrectionStore;
10882
+
10506
10883
  /**
10507
10884
  * Per-constellation single-frequency pseudorange code-selection policy. Build
10508
10885
  * with `new SignalPolicy()` then chain `.withSystem(system, codes)`, or use
@@ -10963,6 +11340,21 @@ class Sp3 {
10963
11340
  }
10964
11341
  return SppBatchSolution.__wrap(ret[0]);
10965
11342
  }
11343
+ /**
11344
+ * Run the core robust-reweighted SPP driver under the RAIM/FDE exclusion loop.
11345
+ *
11346
+ * `request` is the FDE request with a `robust` object. The implementation
11347
+ * delegates to `sidereon_core::quality::spp_robust_fde_driver`.
11348
+ * @param {any} request
11349
+ * @returns {FdeSolution}
11350
+ */
11351
+ sppRobustFdeDriver(request) {
11352
+ const ret = wasm.sp3_sppRobustFdeDriver(this.__wbg_ptr, request);
11353
+ if (ret[2]) {
11354
+ throw takeFromExternrefTable0(ret[1]);
11355
+ }
11356
+ return FdeSolution.__wrap(ret[0]);
11357
+ }
10966
11358
  /**
10967
11359
  * The exact parsed state of `satellite` at record `epochIndex` (no
10968
11360
  * interpolation). Throws a `RangeError` past the last epoch and a
@@ -11285,7 +11677,7 @@ class Sp3MergeReport {
11285
11677
  }
11286
11678
  /**
11287
11679
  * Per-(epoch, satellite) agreement statistics for every accepted cell, in
11288
- * output (epoch, then satellite) order one entry per cell written to the
11680
+ * output (epoch, then satellite) order, one entry per cell written to the
11289
11681
  * merged product.
11290
11682
  * @returns {Sp3AgreementMetric[]}
11291
11683
  */
@@ -11545,54 +11937,107 @@ class Sp3State {
11545
11937
  if (Symbol.dispose) Sp3State.prototype[Symbol.dispose] = Sp3State.prototype.free;
11546
11938
  exports.Sp3State = Sp3State;
11547
11939
 
11548
- /**
11549
- * Canonical quiet-Sun space-weather indices for NRLMSISE-00, mirrored from the
11550
- * core so a JS caller can pass moderate-activity defaults to [`atmosphereDensity`]
11551
- * without re-deriving the magic numbers.
11552
- */
11553
- class SpaceWeatherDefaults {
11940
+ class SpaceWeather {
11554
11941
  static __wrap(ptr) {
11555
- const obj = Object.create(SpaceWeatherDefaults.prototype);
11942
+ const obj = Object.create(SpaceWeather.prototype);
11556
11943
  obj.__wbg_ptr = ptr;
11557
- SpaceWeatherDefaultsFinalization.register(obj, obj.__wbg_ptr, obj);
11944
+ SpaceWeatherFinalization.register(obj, obj.__wbg_ptr, obj);
11558
11945
  return obj;
11559
11946
  }
11560
11947
  __destroy_into_raw() {
11561
11948
  const ptr = this.__wbg_ptr;
11562
11949
  this.__wbg_ptr = 0;
11563
- SpaceWeatherDefaultsFinalization.unregister(this);
11950
+ SpaceWeatherFinalization.unregister(this);
11564
11951
  return ptr;
11565
11952
  }
11566
11953
  free() {
11567
11954
  const ptr = this.__destroy_into_raw();
11568
- wasm.__wbg_spaceweatherdefaults_free(ptr, 0);
11955
+ wasm.__wbg_spaceweather_free(ptr, 0);
11569
11956
  }
11570
11957
  /**
11571
- * Daily magnetic Ap index.
11572
11958
  * @returns {number}
11573
11959
  */
11574
11960
  get ap() {
11575
- const ret = wasm.spaceweatherdefaults_ap(this.__wbg_ptr);
11961
+ const ret = wasm.spaceweather_ap(this.__wbg_ptr);
11576
11962
  return ret;
11577
11963
  }
11578
11964
  /**
11579
- * Daily F10.7 solar radio flux.
11580
11965
  * @returns {number}
11581
11966
  */
11582
11967
  get f107() {
11583
- const ret = wasm.spaceweatherdefaults_f107(this.__wbg_ptr);
11968
+ const ret = wasm.spaceweather_f107(this.__wbg_ptr);
11584
11969
  return ret;
11585
11970
  }
11586
11971
  /**
11587
- * 81-day centred F10.7 average.
11588
11972
  * @returns {number}
11589
11973
  */
11590
11974
  get f107a() {
11591
- const ret = wasm.spaceweatherdefaults_f107a(this.__wbg_ptr);
11975
+ const ret = wasm.spaceweather_f107a(this.__wbg_ptr);
11592
11976
  return ret;
11593
11977
  }
11594
- }
11595
- if (Symbol.dispose) SpaceWeatherDefaults.prototype[Symbol.dispose] = SpaceWeatherDefaults.prototype.free;
11978
+ /**
11979
+ * @param {number | null} [f107]
11980
+ * @param {number | null} [f107a]
11981
+ * @param {number | null} [ap]
11982
+ */
11983
+ constructor(f107, f107a, ap) {
11984
+ const ret = wasm.spaceweather_new(!isLikeNone(f107), isLikeNone(f107) ? 0 : f107, !isLikeNone(f107a), isLikeNone(f107a) ? 0 : f107a, !isLikeNone(ap), isLikeNone(ap) ? 0 : ap);
11985
+ this.__wbg_ptr = ret;
11986
+ SpaceWeatherFinalization.register(this, this.__wbg_ptr, this);
11987
+ return this;
11988
+ }
11989
+ }
11990
+ if (Symbol.dispose) SpaceWeather.prototype[Symbol.dispose] = SpaceWeather.prototype.free;
11991
+ exports.SpaceWeather = SpaceWeather;
11992
+
11993
+ /**
11994
+ * Canonical quiet-Sun space-weather indices for NRLMSISE-00, mirrored from the
11995
+ * core so a JS caller can pass moderate-activity defaults to [`atmosphereDensity`]
11996
+ * without re-deriving the magic numbers.
11997
+ */
11998
+ class SpaceWeatherDefaults {
11999
+ static __wrap(ptr) {
12000
+ const obj = Object.create(SpaceWeatherDefaults.prototype);
12001
+ obj.__wbg_ptr = ptr;
12002
+ SpaceWeatherDefaultsFinalization.register(obj, obj.__wbg_ptr, obj);
12003
+ return obj;
12004
+ }
12005
+ __destroy_into_raw() {
12006
+ const ptr = this.__wbg_ptr;
12007
+ this.__wbg_ptr = 0;
12008
+ SpaceWeatherDefaultsFinalization.unregister(this);
12009
+ return ptr;
12010
+ }
12011
+ free() {
12012
+ const ptr = this.__destroy_into_raw();
12013
+ wasm.__wbg_spaceweatherdefaults_free(ptr, 0);
12014
+ }
12015
+ /**
12016
+ * Daily magnetic Ap index.
12017
+ * @returns {number}
12018
+ */
12019
+ get ap() {
12020
+ const ret = wasm.spaceweatherdefaults_ap(this.__wbg_ptr);
12021
+ return ret;
12022
+ }
12023
+ /**
12024
+ * Daily F10.7 solar radio flux.
12025
+ * @returns {number}
12026
+ */
12027
+ get f107() {
12028
+ const ret = wasm.spaceweatherdefaults_f107(this.__wbg_ptr);
12029
+ return ret;
12030
+ }
12031
+ /**
12032
+ * 81-day centred F10.7 average.
12033
+ * @returns {number}
12034
+ */
12035
+ get f107a() {
12036
+ const ret = wasm.spaceweatherdefaults_f107a(this.__wbg_ptr);
12037
+ return ret;
12038
+ }
12039
+ }
12040
+ if (Symbol.dispose) SpaceWeatherDefaults.prototype[Symbol.dispose] = SpaceWeatherDefaults.prototype.free;
11596
12041
  exports.SpaceWeatherDefaults = SpaceWeatherDefaults;
11597
12042
 
11598
12043
  /**
@@ -12063,6 +12508,99 @@ class SppSolution {
12063
12508
  if (Symbol.dispose) SppSolution.prototype[Symbol.dispose] = SppSolution.prototype.free;
12064
12509
  exports.SppSolution = SppSolution;
12065
12510
 
12511
+ class SsrCorrectionStore {
12512
+ __destroy_into_raw() {
12513
+ const ptr = this.__wbg_ptr;
12514
+ this.__wbg_ptr = 0;
12515
+ SsrCorrectionStoreFinalization.unregister(this);
12516
+ return ptr;
12517
+ }
12518
+ free() {
12519
+ const ptr = this.__destroy_into_raw();
12520
+ wasm.__wbg_ssrcorrectionstore_free(ptr, 0);
12521
+ }
12522
+ /**
12523
+ * @param {string} sat
12524
+ * @returns {any}
12525
+ */
12526
+ clock(sat) {
12527
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
12528
+ const len0 = WASM_VECTOR_LEN;
12529
+ const ret = wasm.ssrcorrectionstore_clock(this.__wbg_ptr, ptr0, len0);
12530
+ if (ret[2]) {
12531
+ throw takeFromExternrefTable0(ret[1]);
12532
+ }
12533
+ return takeFromExternrefTable0(ret[0]);
12534
+ }
12535
+ /**
12536
+ * @param {Uint8Array} bytes
12537
+ * @param {boolean | null | undefined} framed
12538
+ * @param {number} week
12539
+ * @param {number} tow_s
12540
+ * @param {string | null} [time_scale]
12541
+ */
12542
+ ingest(bytes, framed, week, tow_s, time_scale) {
12543
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
12544
+ const len0 = WASM_VECTOR_LEN;
12545
+ var ptr1 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
12546
+ var len1 = WASM_VECTOR_LEN;
12547
+ const ret = wasm.ssrcorrectionstore_ingest(this.__wbg_ptr, ptr0, len0, isLikeNone(framed) ? 0xFFFFFF : framed ? 1 : 0, week, tow_s, ptr1, len1);
12548
+ if (ret[1]) {
12549
+ throw takeFromExternrefTable0(ret[0]);
12550
+ }
12551
+ }
12552
+ constructor() {
12553
+ const ret = wasm.ssrcorrectionstore_new();
12554
+ this.__wbg_ptr = ret;
12555
+ SsrCorrectionStoreFinalization.register(this, this.__wbg_ptr, this);
12556
+ return this;
12557
+ }
12558
+ /**
12559
+ * @param {string} sat
12560
+ * @returns {any}
12561
+ */
12562
+ orbit(sat) {
12563
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
12564
+ const len0 = WASM_VECTOR_LEN;
12565
+ const ret = wasm.ssrcorrectionstore_orbit(this.__wbg_ptr, ptr0, len0);
12566
+ if (ret[2]) {
12567
+ throw takeFromExternrefTable0(ret[1]);
12568
+ }
12569
+ return takeFromExternrefTable0(ret[0]);
12570
+ }
12571
+ /**
12572
+ * @param {string} sat
12573
+ * @returns {number | undefined}
12574
+ */
12575
+ uraIndex(sat) {
12576
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
12577
+ const len0 = WASM_VECTOR_LEN;
12578
+ const ret = wasm.ssrcorrectionstore_uraIndex(this.__wbg_ptr, ptr0, len0);
12579
+ if (ret[2]) {
12580
+ throw takeFromExternrefTable0(ret[1]);
12581
+ }
12582
+ return ret[0] === 0xFFFFFF ? undefined : ret[0];
12583
+ }
12584
+ }
12585
+ if (Symbol.dispose) SsrCorrectionStore.prototype[Symbol.dispose] = SsrCorrectionStore.prototype.free;
12586
+ exports.SsrCorrectionStore = SsrCorrectionStore;
12587
+
12588
+ /**
12589
+ * Source stream for engineering-unit SSR corrections.
12590
+ * @enum {0 | 1}
12591
+ */
12592
+ const SsrSource = Object.freeze({
12593
+ /**
12594
+ * RTCM SSR messages.
12595
+ */
12596
+ RtcmSsr: 0, "0": "RtcmSsr",
12597
+ /**
12598
+ * Galileo High Accuracy Service messages.
12599
+ */
12600
+ GalileoHas: 1, "1": "GalileoHas",
12601
+ });
12602
+ exports.SsrSource = SsrSource;
12603
+
12066
12604
  /**
12067
12605
  * A batch of Sun and Moon positions, one per epoch: flat row-major `sun` and
12068
12606
  * `moon` `Float64Array`s of length `3 * epochCount`, in **metres**.
@@ -12994,6 +13532,42 @@ function acquire(samples, prn, options) {
12994
13532
  }
12995
13533
  exports.acquire = acquire;
12996
13534
 
13535
+ /**
13536
+ * On-sky angle in degrees between two direction vectors.
13537
+ * @param {Float64Array} a
13538
+ * @param {Float64Array} b
13539
+ * @returns {number}
13540
+ */
13541
+ function angularSeparation(a, b) {
13542
+ const ptr0 = passArrayF64ToWasm0(a, wasm.__wbindgen_malloc);
13543
+ const len0 = WASM_VECTOR_LEN;
13544
+ const ptr1 = passArrayF64ToWasm0(b, wasm.__wbindgen_malloc);
13545
+ const len1 = WASM_VECTOR_LEN;
13546
+ const ret = wasm.angularSeparation(ptr0, len0, ptr1, len1);
13547
+ if (ret[2]) {
13548
+ throw takeFromExternrefTable0(ret[1]);
13549
+ }
13550
+ return ret[0];
13551
+ }
13552
+ exports.angularSeparation = angularSeparation;
13553
+
13554
+ /**
13555
+ * On-sky angle in degrees between two `(lonDeg, latDeg)` direction pairs.
13556
+ * @param {number} a_lon_deg
13557
+ * @param {number} a_lat_deg
13558
+ * @param {number} b_lon_deg
13559
+ * @param {number} b_lat_deg
13560
+ * @returns {number}
13561
+ */
13562
+ function angularSeparationCoords(a_lon_deg, a_lat_deg, b_lon_deg, b_lat_deg) {
13563
+ const ret = wasm.angularSeparationCoords(a_lon_deg, a_lat_deg, b_lon_deg, b_lat_deg);
13564
+ if (ret[2]) {
13565
+ throw takeFromExternrefTable0(ret[1]);
13566
+ }
13567
+ return ret[0];
13568
+ }
13569
+ exports.angularSeparationCoords = angularSeparationCoords;
13570
+
12997
13571
  /**
12998
13572
  * Evaluate NRLMSISE-00 neutral-atmosphere density and temperature.
12999
13573
  *
@@ -13035,6 +13609,47 @@ function atmosphereSpaceWeatherDefaults() {
13035
13609
  }
13036
13610
  exports.atmosphereSpaceWeatherDefaults = atmosphereSpaceWeatherDefaults;
13037
13611
 
13612
+ /**
13613
+ * Solar beta angle in degrees from orbit normal and Sun vectors.
13614
+ * @param {Float64Array} orbit_normal
13615
+ * @param {Float64Array} sun
13616
+ * @returns {number}
13617
+ */
13618
+ function betaAngle(orbit_normal, sun) {
13619
+ const ptr0 = passArrayF64ToWasm0(orbit_normal, wasm.__wbindgen_malloc);
13620
+ const len0 = WASM_VECTOR_LEN;
13621
+ const ptr1 = passArrayF64ToWasm0(sun, wasm.__wbindgen_malloc);
13622
+ const len1 = WASM_VECTOR_LEN;
13623
+ const ret = wasm.betaAngle(ptr0, len0, ptr1, len1);
13624
+ if (ret[2]) {
13625
+ throw takeFromExternrefTable0(ret[1]);
13626
+ }
13627
+ return ret[0];
13628
+ }
13629
+ exports.betaAngle = betaAngle;
13630
+
13631
+ /**
13632
+ * Solar beta angle in degrees from an inertial state and Sun vector.
13633
+ * @param {Float64Array} r
13634
+ * @param {Float64Array} v
13635
+ * @param {Float64Array} sun
13636
+ * @returns {number}
13637
+ */
13638
+ function betaAngleFromState(r, v, sun) {
13639
+ const ptr0 = passArrayF64ToWasm0(r, wasm.__wbindgen_malloc);
13640
+ const len0 = WASM_VECTOR_LEN;
13641
+ const ptr1 = passArrayF64ToWasm0(v, wasm.__wbindgen_malloc);
13642
+ const len1 = WASM_VECTOR_LEN;
13643
+ const ptr2 = passArrayF64ToWasm0(sun, wasm.__wbindgen_malloc);
13644
+ const len2 = WASM_VECTOR_LEN;
13645
+ const ret = wasm.betaAngleFromState(ptr0, len0, ptr1, len1, ptr2, len2);
13646
+ if (ret[2]) {
13647
+ throw takeFromExternrefTable0(ret[1]);
13648
+ }
13649
+ return ret[0];
13650
+ }
13651
+ exports.betaAngleFromState = betaAngleFromState;
13652
+
13038
13653
  /**
13039
13654
  * Resolve integer ambiguities with a bounded lattice search.
13040
13655
  *
@@ -13174,6 +13789,34 @@ function cn0(eirp_dbw, fspl_db, receiver_gt_dbk, other_losses_db) {
13174
13789
  }
13175
13790
  exports.cn0 = cn0;
13176
13791
 
13792
+ /**
13793
+ * @param {any} coe
13794
+ * @param {RetrogradeFactor | null} [factor]
13795
+ * @returns {any}
13796
+ */
13797
+ function coe2eq(coe, factor) {
13798
+ const ret = wasm.coe2eq(coe, isLikeNone(factor) ? 2 : factor);
13799
+ if (ret[2]) {
13800
+ throw takeFromExternrefTable0(ret[1]);
13801
+ }
13802
+ return takeFromExternrefTable0(ret[0]);
13803
+ }
13804
+ exports.coe2eq = coe2eq;
13805
+
13806
+ /**
13807
+ * @param {any} coe
13808
+ * @param {RetrogradeFactor | null} [factor]
13809
+ * @returns {any}
13810
+ */
13811
+ function coe2mee(coe, factor) {
13812
+ const ret = wasm.coe2mee(coe, isLikeNone(factor) ? 2 : factor);
13813
+ if (ret[2]) {
13814
+ throw takeFromExternrefTable0(ret[1]);
13815
+ }
13816
+ return takeFromExternrefTable0(ret[0]);
13817
+ }
13818
+ exports.coe2mee = coe2mee;
13819
+
13177
13820
  /**
13178
13821
  * Convert classical orbital elements to an inertial Cartesian state.
13179
13822
  *
@@ -13355,6 +13998,37 @@ function coverageLookAngles(satellites, stations, epoch_unix_us) {
13355
13998
  }
13356
13999
  exports.coverageLookAngles = coverageLookAngles;
13357
14000
 
14001
+ /**
14002
+ * @param {any} rel
14003
+ * @param {number} n_rad_s
14004
+ * @param {number} dt_s
14005
+ * @returns {any}
14006
+ */
14007
+ function cwPropagate(rel, n_rad_s, dt_s) {
14008
+ const ret = wasm.cwPropagate(rel, n_rad_s, dt_s);
14009
+ if (ret[2]) {
14010
+ throw takeFromExternrefTable0(ret[1]);
14011
+ }
14012
+ return takeFromExternrefTable0(ret[0]);
14013
+ }
14014
+ exports.cwPropagate = cwPropagate;
14015
+
14016
+ /**
14017
+ * @param {number} n_rad_s
14018
+ * @param {number} dt_s
14019
+ * @returns {Float64Array}
14020
+ */
14021
+ function cwStm(n_rad_s, dt_s) {
14022
+ const ret = wasm.cwStm(n_rad_s, dt_s);
14023
+ if (ret[3]) {
14024
+ throw takeFromExternrefTable0(ret[2]);
14025
+ }
14026
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
14027
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
14028
+ return v1;
14029
+ }
14030
+ exports.cwStm = cwStm;
14031
+
13358
14032
  /**
13359
14033
  * Decode Compact RINEX (Hatanaka) bytes into plain RINEX OBS text. Throws a
13360
14034
  * `TypeError` on non-UTF-8 input and an `Error` on a decode failure.
@@ -13466,6 +14140,40 @@ function decodeRtcmMessage(body) {
13466
14140
  }
13467
14141
  exports.decodeRtcmMessage = decodeRtcmMessage;
13468
14142
 
14143
+ /**
14144
+ * @param {Uint8Array} bytes
14145
+ * @param {string | null} [form]
14146
+ * @returns {any}
14147
+ */
14148
+ function decodeSbasMessage(bytes, form) {
14149
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
14150
+ const len0 = WASM_VECTOR_LEN;
14151
+ var ptr1 = isLikeNone(form) ? 0 : passStringToWasm0(form, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
14152
+ var len1 = WASM_VECTOR_LEN;
14153
+ const ret = wasm.decodeSbasMessage(ptr0, len0, ptr1, len1);
14154
+ if (ret[2]) {
14155
+ throw takeFromExternrefTable0(ret[1]);
14156
+ }
14157
+ return takeFromExternrefTable0(ret[0]);
14158
+ }
14159
+ exports.decodeSbasMessage = decodeSbasMessage;
14160
+
14161
+ /**
14162
+ * @param {Uint8Array} bytes
14163
+ * @param {boolean | null} [framed]
14164
+ * @returns {any}
14165
+ */
14166
+ function decodeSsr(bytes, framed) {
14167
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
14168
+ const len0 = WASM_VECTOR_LEN;
14169
+ const ret = wasm.decodeSsr(ptr0, len0, isLikeNone(framed) ? 0xFFFFFF : framed ? 1 : 0);
14170
+ if (ret[2]) {
14171
+ throw takeFromExternrefTable0(ret[1]);
14172
+ }
14173
+ return takeFromExternrefTable0(ret[0]);
14174
+ }
14175
+ exports.decodeSsr = decodeSsr;
14176
+
13469
14177
  /**
13470
14178
  * Standard dual-frequency ionosphere-free carrier pair for a constellation.
13471
14179
  * @param {GnssSystem} system
@@ -13696,6 +14404,34 @@ function earthAngularRadius(satellite_position_km) {
13696
14404
  }
13697
14405
  exports.earthAngularRadius = earthAngularRadius;
13698
14406
 
14407
+ /**
14408
+ * @param {number} eccentric_anomaly_rad
14409
+ * @param {number} eccentricity
14410
+ * @returns {number}
14411
+ */
14412
+ function eccentricToMean(eccentric_anomaly_rad, eccentricity) {
14413
+ const ret = wasm.eccentricToMean(eccentric_anomaly_rad, eccentricity);
14414
+ if (ret[2]) {
14415
+ throw takeFromExternrefTable0(ret[1]);
14416
+ }
14417
+ return ret[0];
14418
+ }
14419
+ exports.eccentricToMean = eccentricToMean;
14420
+
14421
+ /**
14422
+ * @param {number} eccentric_anomaly_rad
14423
+ * @param {number} eccentricity
14424
+ * @returns {number}
14425
+ */
14426
+ function eccentricToTrue(eccentric_anomaly_rad, eccentricity) {
14427
+ const ret = wasm.eccentricToTrue(eccentric_anomaly_rad, eccentricity);
14428
+ if (ret[2]) {
14429
+ throw takeFromExternrefTable0(ret[1]);
14430
+ }
14431
+ return ret[0];
14432
+ }
14433
+ exports.eccentricToTrue = eccentricToTrue;
14434
+
13699
14435
  /**
13700
14436
  * Convert a batch of ITRS (ECEF) positions to geodetic coordinates.
13701
14437
  *
@@ -13949,20 +14685,47 @@ function encounterPlaneCovariance(frame, covariance_km2) {
13949
14685
  exports.encounterPlaneCovariance = encounterPlaneCovariance;
13950
14686
 
13951
14687
  /**
13952
- * Confidence ellipse from an arbitrary 2x2 covariance block.
13953
- *
13954
- * `covariance` is a flat row-major length-4 `Float64Array` (`[c00, c01, c10,
13955
- * c11]`); `confidence` is in `(0, 1)`. The semi-axes are the eigenvalues of the
13956
- * symmetrized block scaled by the chi-square(2) quantile. Throws a `RangeError`
13957
- * for a non-positive-semidefinite block or an out-of-range confidence.
13958
- * Delegates to `sidereon_core::geometry::error_ellipse_2x2`.
13959
- * @param {Float64Array} covariance
13960
- * @param {number} confidence
13961
- * @returns {ErrorEllipse2}
14688
+ * @param {any} eq
14689
+ * @returns {any}
13962
14690
  */
13963
- function errorEllipse2(covariance, confidence) {
13964
- const ptr0 = passArrayF64ToWasm0(covariance, wasm.__wbindgen_malloc);
13965
- const len0 = WASM_VECTOR_LEN;
14691
+ function eq2coe(eq) {
14692
+ const ret = wasm.eq2coe(eq);
14693
+ if (ret[2]) {
14694
+ throw takeFromExternrefTable0(ret[1]);
14695
+ }
14696
+ return takeFromExternrefTable0(ret[0]);
14697
+ }
14698
+ exports.eq2coe = eq2coe;
14699
+
14700
+ /**
14701
+ * @param {any} eq
14702
+ * @param {number} mu_km3_s2
14703
+ * @returns {any}
14704
+ */
14705
+ function eq2rv(eq, mu_km3_s2) {
14706
+ const ret = wasm.eq2rv(eq, mu_km3_s2);
14707
+ if (ret[2]) {
14708
+ throw takeFromExternrefTable0(ret[1]);
14709
+ }
14710
+ return takeFromExternrefTable0(ret[0]);
14711
+ }
14712
+ exports.eq2rv = eq2rv;
14713
+
14714
+ /**
14715
+ * Confidence ellipse from an arbitrary 2x2 covariance block.
14716
+ *
14717
+ * `covariance` is a flat row-major length-4 `Float64Array` (`[c00, c01, c10,
14718
+ * c11]`); `confidence` is in `(0, 1)`. The semi-axes are the eigenvalues of the
14719
+ * symmetrized block scaled by the chi-square(2) quantile. Throws a `RangeError`
14720
+ * for a non-positive-semidefinite block or an out-of-range confidence.
14721
+ * Delegates to `sidereon_core::geometry::error_ellipse_2x2`.
14722
+ * @param {Float64Array} covariance
14723
+ * @param {number} confidence
14724
+ * @returns {ErrorEllipse2}
14725
+ */
14726
+ function errorEllipse2(covariance, confidence) {
14727
+ const ptr0 = passArrayF64ToWasm0(covariance, wasm.__wbindgen_malloc);
14728
+ const len0 = WASM_VECTOR_LEN;
13966
14729
  const ret = wasm.errorEllipse2(ptr0, len0, confidence);
13967
14730
  if (ret[2]) {
13968
14731
  throw takeFromExternrefTable0(ret[1]);
@@ -13971,6 +14734,21 @@ function errorEllipse2(covariance, confidence) {
13971
14734
  }
13972
14735
  exports.errorEllipse2 = errorEllipse2;
13973
14736
 
14737
+ /**
14738
+ * @param {DragForce} drag
14739
+ * @param {any} request
14740
+ * @returns {any}
14741
+ */
14742
+ function estimateDecay(drag, request) {
14743
+ _assertClass(drag, DragForce);
14744
+ const ret = wasm.estimateDecay(drag.__wbg_ptr, request);
14745
+ if (ret[2]) {
14746
+ throw takeFromExternrefTable0(ret[1]);
14747
+ }
14748
+ return takeFromExternrefTable0(ret[0]);
14749
+ }
14750
+ exports.estimateDecay = estimateDecay;
14751
+
13974
14752
  /**
13975
14753
  * Find Moon elevation threshold crossings (moonrise / moonset) over a UTC
13976
14754
  * window.
@@ -14334,7 +15112,7 @@ exports.fromCelestrakJson = fromCelestrakJson;
14334
15112
  * skipping (rather than throwing on) entries that do not resolve.
14335
15113
  *
14336
15114
  * The lenient sibling of [`fromCelestrakJson`]: feed it a raw combined CelesTrak
14337
- * `gnss` feed and it returns `{ records, skipped }` `records` is the `Record[]`
15115
+ * `gnss` feed and it returns `{ records, skipped }`. `records` is the `Record[]`
14338
15116
  * for `system` (the same shape `fromCelestrakJson` returns, sorted by
14339
15117
  * `(system, prn)`), and `skipped` is a `SkippedOmm[]` of the entries whose
14340
15118
  * `OBJECT_NAME` did not resolve to a PRN for `system` (another constellation's
@@ -14682,7 +15460,7 @@ function gnssSp3Id(system, prn) {
14682
15460
  exports.gnssSp3Id = gnssSp3Id;
14683
15461
 
14684
15462
  /**
14685
- * Stable lower-case display label for a constellation, e.g. `"gps"`.
15463
+ * Canonical core display label for a constellation, e.g. `"GPS"`.
14686
15464
  * @param {GnssSystem} system
14687
15465
  * @returns {string}
14688
15466
  */
@@ -15104,7 +15882,7 @@ exports.kurtosis = kurtosis;
15104
15882
  * `covariance` is its `n x n` covariance as a row-major `number[][]`, and
15105
15883
  * `ratioThreshold` is the ratio-test acceptance threshold (RTKLIB's default is
15106
15884
  * `3.0`). Finds the true integer-least-squares optimum and runner-up for any
15107
- * positive-definite covariance no search box, no combinatorial blow-up.
15885
+ * positive-definite covariance. No search box, no combinatorial blow-up.
15108
15886
  * Returns an `IlsResult`. Throws a `TypeError` on a malformed shape, a
15109
15887
  * `RangeError` on a non-finite or out-of-domain input, and an `Error` on a
15110
15888
  * singular covariance or a non-converging search.
@@ -15388,6 +16166,68 @@ function loadAntex(bytes) {
15388
16166
  }
15389
16167
  exports.loadAntex = loadAntex;
15390
16168
 
16169
+ /**
16170
+ * @param {Uint8Array} bytes
16171
+ * @returns {BiasSet}
16172
+ */
16173
+ function loadBiasSinex(bytes) {
16174
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
16175
+ const len0 = WASM_VECTOR_LEN;
16176
+ const ret = wasm.loadBiasSinex(ptr0, len0);
16177
+ if (ret[2]) {
16178
+ throw takeFromExternrefTable0(ret[1]);
16179
+ }
16180
+ return BiasSet.__wrap(ret[0]);
16181
+ }
16182
+ exports.loadBiasSinex = loadBiasSinex;
16183
+
16184
+ /**
16185
+ * @param {Uint8Array} bytes
16186
+ * @returns {BiasSet}
16187
+ */
16188
+ function loadBiasSinexLossy(bytes) {
16189
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
16190
+ const len0 = WASM_VECTOR_LEN;
16191
+ const ret = wasm.loadBiasSinexLossy(ptr0, len0);
16192
+ if (ret[2]) {
16193
+ throw takeFromExternrefTable0(ret[1]);
16194
+ }
16195
+ return BiasSet.__wrap(ret[0]);
16196
+ }
16197
+ exports.loadBiasSinexLossy = loadBiasSinexLossy;
16198
+
16199
+ /**
16200
+ * @param {Uint8Array} bytes
16201
+ * @param {any} options
16202
+ * @returns {BiasSet}
16203
+ */
16204
+ function loadCodeDcb(bytes, options) {
16205
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
16206
+ const len0 = WASM_VECTOR_LEN;
16207
+ const ret = wasm.loadCodeDcb(ptr0, len0, options);
16208
+ if (ret[2]) {
16209
+ throw takeFromExternrefTable0(ret[1]);
16210
+ }
16211
+ return BiasSet.__wrap(ret[0]);
16212
+ }
16213
+ exports.loadCodeDcb = loadCodeDcb;
16214
+
16215
+ /**
16216
+ * @param {Uint8Array} bytes
16217
+ * @param {any} options
16218
+ * @returns {BiasSet}
16219
+ */
16220
+ function loadCodeDcbLossy(bytes, options) {
16221
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
16222
+ const len0 = WASM_VECTOR_LEN;
16223
+ const ret = wasm.loadCodeDcbLossy(ptr0, len0, options);
16224
+ if (ret[2]) {
16225
+ throw takeFromExternrefTable0(ret[1]);
16226
+ }
16227
+ return BiasSet.__wrap(ret[0]);
16228
+ }
16229
+ exports.loadCodeDcbLossy = loadCodeDcbLossy;
16230
+
15391
16231
  /**
15392
16232
  * Alias of [`decodeCrinex`] for callers that read a file as bytes.
15393
16233
  * @param {Uint8Array} bytes
@@ -15513,6 +16353,146 @@ function loadSp3(bytes) {
15513
16353
  }
15514
16354
  exports.loadSp3 = loadSp3;
15515
16355
 
16356
+ /**
16357
+ * @param {bigint} start_unix_us
16358
+ * @param {bigint} end_unix_us
16359
+ * @param {number} step_s
16360
+ * @param {number} tolerance_s
16361
+ * @returns {any}
16362
+ */
16363
+ function lunarSolarEclipses(start_unix_us, end_unix_us, step_s, tolerance_s) {
16364
+ const ret = wasm.lunarSolarEclipses(start_unix_us, end_unix_us, step_s, tolerance_s);
16365
+ if (ret[2]) {
16366
+ throw takeFromExternrefTable0(ret[1]);
16367
+ }
16368
+ return takeFromExternrefTable0(ret[0]);
16369
+ }
16370
+ exports.lunarSolarEclipses = lunarSolarEclipses;
16371
+
16372
+ /**
16373
+ * @param {Spk} spk
16374
+ * @param {bigint} start_unix_us
16375
+ * @param {bigint} end_unix_us
16376
+ * @param {number} step_s
16377
+ * @param {number} tolerance_s
16378
+ * @returns {any}
16379
+ */
16380
+ function lunarSolarEclipsesSpk(spk, start_unix_us, end_unix_us, step_s, tolerance_s) {
16381
+ _assertClass(spk, Spk);
16382
+ const ret = wasm.lunarSolarEclipsesSpk(spk.__wbg_ptr, start_unix_us, end_unix_us, step_s, tolerance_s);
16383
+ if (ret[2]) {
16384
+ throw takeFromExternrefTable0(ret[1]);
16385
+ }
16386
+ return takeFromExternrefTable0(ret[0]);
16387
+ }
16388
+ exports.lunarSolarEclipsesSpk = lunarSolarEclipsesSpk;
16389
+
16390
+ /**
16391
+ * @param {Float64Array} position_km
16392
+ * @param {Float64Array} velocity_km_s
16393
+ * @returns {Float64Array}
16394
+ */
16395
+ function lvlhRotation(position_km, velocity_km_s) {
16396
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
16397
+ const len0 = WASM_VECTOR_LEN;
16398
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
16399
+ const len1 = WASM_VECTOR_LEN;
16400
+ const ret = wasm.lvlhRotation(ptr0, len0, ptr1, len1);
16401
+ if (ret[3]) {
16402
+ throw takeFromExternrefTable0(ret[2]);
16403
+ }
16404
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16405
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16406
+ return v3;
16407
+ }
16408
+ exports.lvlhRotation = lvlhRotation;
16409
+
16410
+ /**
16411
+ * @param {number} radius_km
16412
+ * @returns {number}
16413
+ */
16414
+ function meanMotionCircular(radius_km) {
16415
+ const ret = wasm.meanMotionCircular(radius_km);
16416
+ if (ret[2]) {
16417
+ throw takeFromExternrefTable0(ret[1]);
16418
+ }
16419
+ return ret[0];
16420
+ }
16421
+ exports.meanMotionCircular = meanMotionCircular;
16422
+
16423
+ /**
16424
+ * @param {Float64Array} position_km
16425
+ * @param {Float64Array} velocity_km_s
16426
+ * @returns {number}
16427
+ */
16428
+ function meanMotionFromState(position_km, velocity_km_s) {
16429
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
16430
+ const len0 = WASM_VECTOR_LEN;
16431
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
16432
+ const len1 = WASM_VECTOR_LEN;
16433
+ const ret = wasm.meanMotionFromState(ptr0, len0, ptr1, len1);
16434
+ if (ret[2]) {
16435
+ throw takeFromExternrefTable0(ret[1]);
16436
+ }
16437
+ return ret[0];
16438
+ }
16439
+ exports.meanMotionFromState = meanMotionFromState;
16440
+
16441
+ /**
16442
+ * @param {number} mean_anomaly_rad
16443
+ * @param {number} eccentricity
16444
+ * @returns {number}
16445
+ */
16446
+ function meanToEccentric(mean_anomaly_rad, eccentricity) {
16447
+ const ret = wasm.meanToEccentric(mean_anomaly_rad, eccentricity);
16448
+ if (ret[2]) {
16449
+ throw takeFromExternrefTable0(ret[1]);
16450
+ }
16451
+ return ret[0];
16452
+ }
16453
+ exports.meanToEccentric = meanToEccentric;
16454
+
16455
+ /**
16456
+ * @param {number} mean_anomaly_rad
16457
+ * @param {number} eccentricity
16458
+ * @returns {number}
16459
+ */
16460
+ function meanToTrue(mean_anomaly_rad, eccentricity) {
16461
+ const ret = wasm.meanToTrue(mean_anomaly_rad, eccentricity);
16462
+ if (ret[2]) {
16463
+ throw takeFromExternrefTable0(ret[1]);
16464
+ }
16465
+ return ret[0];
16466
+ }
16467
+ exports.meanToTrue = meanToTrue;
16468
+
16469
+ /**
16470
+ * @param {any} mee
16471
+ * @returns {any}
16472
+ */
16473
+ function mee2coe(mee) {
16474
+ const ret = wasm.mee2coe(mee);
16475
+ if (ret[2]) {
16476
+ throw takeFromExternrefTable0(ret[1]);
16477
+ }
16478
+ return takeFromExternrefTable0(ret[0]);
16479
+ }
16480
+ exports.mee2coe = mee2coe;
16481
+
16482
+ /**
16483
+ * @param {any} mee
16484
+ * @param {number} mu_km3_s2
16485
+ * @returns {any}
16486
+ */
16487
+ function mee2rv(mee, mu_km3_s2) {
16488
+ const ret = wasm.mee2rv(mee, mu_km3_s2);
16489
+ if (ret[2]) {
16490
+ throw takeFromExternrefTable0(ret[1]);
16491
+ }
16492
+ return takeFromExternrefTable0(ret[0]);
16493
+ }
16494
+ exports.mee2rv = mee2rv;
16495
+
15516
16496
  /**
15517
16497
  * Melbourne-Wubbena combination, metres.
15518
16498
  * @param {number} phi1_cycles
@@ -15575,6 +16555,48 @@ function mergeSp3(sources, options) {
15575
16555
  }
15576
16556
  exports.mergeSp3 = mergeSp3;
15577
16557
 
16558
+ /**
16559
+ * @param {string} body
16560
+ * @param {any} station
16561
+ * @param {bigint} start_unix_us
16562
+ * @param {bigint} end_unix_us
16563
+ * @param {number} step_s
16564
+ * @param {number} tolerance_s
16565
+ * @returns {any}
16566
+ */
16567
+ function meridianTransits(body, station, start_unix_us, end_unix_us, step_s, tolerance_s) {
16568
+ const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
16569
+ const len0 = WASM_VECTOR_LEN;
16570
+ const ret = wasm.meridianTransits(ptr0, len0, station, start_unix_us, end_unix_us, step_s, tolerance_s);
16571
+ if (ret[2]) {
16572
+ throw takeFromExternrefTable0(ret[1]);
16573
+ }
16574
+ return takeFromExternrefTable0(ret[0]);
16575
+ }
16576
+ exports.meridianTransits = meridianTransits;
16577
+
16578
+ /**
16579
+ * @param {Spk} spk
16580
+ * @param {string} body
16581
+ * @param {any} station
16582
+ * @param {bigint} start_unix_us
16583
+ * @param {bigint} end_unix_us
16584
+ * @param {number} step_s
16585
+ * @param {number} tolerance_s
16586
+ * @returns {any}
16587
+ */
16588
+ function meridianTransitsSpk(spk, body, station, start_unix_us, end_unix_us, step_s, tolerance_s) {
16589
+ _assertClass(spk, Spk);
16590
+ const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
16591
+ const len0 = WASM_VECTOR_LEN;
16592
+ const ret = wasm.meridianTransitsSpk(spk.__wbg_ptr, ptr0, len0, station, start_unix_us, end_unix_us, step_s, tolerance_s);
16593
+ if (ret[2]) {
16594
+ throw takeFromExternrefTable0(ret[1]);
16595
+ }
16596
+ return takeFromExternrefTable0(ret[0]);
16597
+ }
16598
+ exports.meridianTransitsSpk = meridianTransitsSpk;
16599
+
15578
16600
  /**
15579
16601
  * Mean, variance, skewness, and excess kurtosis of a residual set in one pass.
15580
16602
  *
@@ -15681,6 +16703,40 @@ function moonIllumination(latitude_deg, longitude_deg, altitude_km, epoch_unix_u
15681
16703
  }
15682
16704
  exports.moonIllumination = moonIllumination;
15683
16705
 
16706
+ /**
16707
+ * @param {bigint} start_unix_us
16708
+ * @param {bigint} end_unix_us
16709
+ * @param {number} step_s
16710
+ * @param {number} tolerance_s
16711
+ * @returns {any}
16712
+ */
16713
+ function moonPhases(start_unix_us, end_unix_us, step_s, tolerance_s) {
16714
+ const ret = wasm.moonPhases(start_unix_us, end_unix_us, step_s, tolerance_s);
16715
+ if (ret[2]) {
16716
+ throw takeFromExternrefTable0(ret[1]);
16717
+ }
16718
+ return takeFromExternrefTable0(ret[0]);
16719
+ }
16720
+ exports.moonPhases = moonPhases;
16721
+
16722
+ /**
16723
+ * @param {Spk} spk
16724
+ * @param {bigint} start_unix_us
16725
+ * @param {bigint} end_unix_us
16726
+ * @param {number} step_s
16727
+ * @param {number} tolerance_s
16728
+ * @returns {any}
16729
+ */
16730
+ function moonPhasesSpk(spk, start_unix_us, end_unix_us, step_s, tolerance_s) {
16731
+ _assertClass(spk, Spk);
16732
+ const ret = wasm.moonPhasesSpk(spk.__wbg_ptr, start_unix_us, end_unix_us, step_s, tolerance_s);
16733
+ if (ret[2]) {
16734
+ throw takeFromExternrefTable0(ret[1]);
16735
+ }
16736
+ return takeFromExternrefTable0(ret[0]);
16737
+ }
16738
+ exports.moonPhasesSpk = moonPhasesSpk;
16739
+
15684
16740
  /**
15685
16741
  * Narrow-lane code combination, metres.
15686
16742
  * @param {number} p1_m
@@ -15877,6 +16933,67 @@ function observationKindLabel(kind) {
15877
16933
  }
15878
16934
  exports.observationKindLabel = observationKindLabel;
15879
16935
 
16936
+ /**
16937
+ * Observe `"sun"` or `"moon"` from a geodetic station at a UTC unix microsecond epoch.
16938
+ * @param {any} station
16939
+ * @param {bigint} epoch_unix_us
16940
+ * @param {string} target
16941
+ * @param {any} options
16942
+ * @returns {any}
16943
+ */
16944
+ function observe(station, epoch_unix_us, target, options) {
16945
+ const ptr0 = passStringToWasm0(target, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
16946
+ const len0 = WASM_VECTOR_LEN;
16947
+ const ret = wasm.observe(station, epoch_unix_us, ptr0, len0, options);
16948
+ if (ret[2]) {
16949
+ throw takeFromExternrefTable0(ret[1]);
16950
+ }
16951
+ return takeFromExternrefTable0(ret[0]);
16952
+ }
16953
+ exports.observe = observe;
16954
+
16955
+ /**
16956
+ * Observe a caller-supplied SSB-centered target state using an SPK for Earth and Sun.
16957
+ * @param {any} station
16958
+ * @param {bigint} epoch_unix_us
16959
+ * @param {Spk} spk
16960
+ * @param {Float64Array} position_km
16961
+ * @param {Float64Array} velocity_km_s
16962
+ * @param {any} options
16963
+ * @returns {any}
16964
+ */
16965
+ function observeBarycentricState(station, epoch_unix_us, spk, position_km, velocity_km_s, options) {
16966
+ _assertClass(spk, Spk);
16967
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
16968
+ const len0 = WASM_VECTOR_LEN;
16969
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
16970
+ const len1 = WASM_VECTOR_LEN;
16971
+ const ret = wasm.observeBarycentricState(station, epoch_unix_us, spk.__wbg_ptr, ptr0, len0, ptr1, len1, options);
16972
+ if (ret[2]) {
16973
+ throw takeFromExternrefTable0(ret[1]);
16974
+ }
16975
+ return takeFromExternrefTable0(ret[0]);
16976
+ }
16977
+ exports.observeBarycentricState = observeBarycentricState;
16978
+
16979
+ /**
16980
+ * Observe an SPK target body by NAIF id using default full-chain options.
16981
+ * @param {any} station
16982
+ * @param {bigint} epoch_unix_us
16983
+ * @param {Spk} spk
16984
+ * @param {number} naif_id
16985
+ * @returns {any}
16986
+ */
16987
+ function observeSpkBody(station, epoch_unix_us, spk, naif_id) {
16988
+ _assertClass(spk, Spk);
16989
+ const ret = wasm.observeSpkBody(station, epoch_unix_us, spk.__wbg_ptr, naif_id);
16990
+ if (ret[2]) {
16991
+ throw takeFromExternrefTable0(ret[1]);
16992
+ }
16993
+ return takeFromExternrefTable0(ret[0]);
16994
+ }
16995
+ exports.observeSpkBody = observeSpkBody;
16996
+
15880
16997
  /**
15881
16998
  * Ocean tide loading displacement of an ITRF station, metres (ECEF).
15882
16999
  *
@@ -16305,14 +17422,55 @@ exports.phaseAngle = phaseAngle;
16305
17422
  * @param {number} f_hz
16306
17423
  * @returns {number}
16307
17424
  */
16308
- function phaseMeters(phi_cycles, f_hz) {
16309
- const ret = wasm.phaseMeters(phi_cycles, f_hz);
17425
+ function phaseMeters(phi_cycles, f_hz) {
17426
+ const ret = wasm.phaseMeters(phi_cycles, f_hz);
17427
+ if (ret[2]) {
17428
+ throw takeFromExternrefTable0(ret[1]);
17429
+ }
17430
+ return ret[0];
17431
+ }
17432
+ exports.phaseMeters = phaseMeters;
17433
+
17434
+ /**
17435
+ * @param {Spk} spk
17436
+ * @param {string} planet
17437
+ * @param {string} kind
17438
+ * @param {bigint} start_unix_us
17439
+ * @param {bigint} end_unix_us
17440
+ * @param {number} step_s
17441
+ * @param {number} tolerance_s
17442
+ * @returns {any}
17443
+ */
17444
+ function planetaryEvents(spk, planet, kind, start_unix_us, end_unix_us, step_s, tolerance_s) {
17445
+ _assertClass(spk, Spk);
17446
+ const ptr0 = passStringToWasm0(planet, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
17447
+ const len0 = WASM_VECTOR_LEN;
17448
+ const ptr1 = passStringToWasm0(kind, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
17449
+ const len1 = WASM_VECTOR_LEN;
17450
+ const ret = wasm.planetaryEvents(spk.__wbg_ptr, ptr0, len0, ptr1, len1, start_unix_us, end_unix_us, step_s, tolerance_s);
17451
+ if (ret[2]) {
17452
+ throw takeFromExternrefTable0(ret[1]);
17453
+ }
17454
+ return takeFromExternrefTable0(ret[0]);
17455
+ }
17456
+ exports.planetaryEvents = planetaryEvents;
17457
+
17458
+ /**
17459
+ * Position angle in degrees from North through East.
17460
+ * @param {number} from_lon_deg
17461
+ * @param {number} from_lat_deg
17462
+ * @param {number} to_lon_deg
17463
+ * @param {number} to_lat_deg
17464
+ * @returns {number}
17465
+ */
17466
+ function positionAngle(from_lon_deg, from_lat_deg, to_lon_deg, to_lat_deg) {
17467
+ const ret = wasm.positionAngle(from_lon_deg, from_lat_deg, to_lon_deg, to_lat_deg);
16310
17468
  if (ret[2]) {
16311
17469
  throw takeFromExternrefTable0(ret[1]);
16312
17470
  }
16313
17471
  return ret[0];
16314
17472
  }
16315
- exports.phaseMeters = phaseMeters;
17473
+ exports.positionAngle = positionAngle;
16316
17474
 
16317
17475
  /**
16318
17476
  * Precompute static PPP correction tables for a precise-orbit arc.
@@ -16344,6 +17502,28 @@ function pppCorrections(sp3, epochs, receiver_ecef_m, options) {
16344
17502
  }
16345
17503
  exports.pppCorrections = pppCorrections;
16346
17504
 
17505
+ /**
17506
+ * @param {Sp3} sp3
17507
+ * @param {any} epochs
17508
+ * @param {Float64Array} receiver_ecef_m
17509
+ * @param {any} options
17510
+ * @param {BiasSet} bias_set
17511
+ * @param {any} code_bias
17512
+ * @returns {any}
17513
+ */
17514
+ function pppCorrectionsWithCodeBias(sp3, epochs, receiver_ecef_m, options, bias_set, code_bias) {
17515
+ _assertClass(sp3, Sp3);
17516
+ const ptr0 = passArrayF64ToWasm0(receiver_ecef_m, wasm.__wbindgen_malloc);
17517
+ const len0 = WASM_VECTOR_LEN;
17518
+ _assertClass(bias_set, BiasSet);
17519
+ const ret = wasm.pppCorrectionsWithCodeBias(sp3.__wbg_ptr, epochs, ptr0, len0, options, bias_set.__wbg_ptr, code_bias);
17520
+ if (ret[2]) {
17521
+ throw takeFromExternrefTable0(ret[1]);
17522
+ }
17523
+ return takeFromExternrefTable0(ret[0]);
17524
+ }
17525
+ exports.pppCorrectionsWithCodeBias = pppCorrectionsWithCodeBias;
17526
+
16347
17527
  /**
16348
17528
  * Build a sample-backed precise-ephemeris source from an array of samples.
16349
17529
  *
@@ -16483,6 +17663,21 @@ function propagateBatch(satellites, epochs_unix_us) {
16483
17663
  }
16484
17664
  exports.propagateBatch = propagateBatch;
16485
17665
 
17666
+ /**
17667
+ * @param {any} coe
17668
+ * @param {number} mu_km3_s2
17669
+ * @param {number} dt_s
17670
+ * @returns {any}
17671
+ */
17672
+ function propagateKepler(coe, mu_km3_s2, dt_s) {
17673
+ const ret = wasm.propagateKepler(coe, mu_km3_s2, dt_s);
17674
+ if (ret[2]) {
17675
+ throw takeFromExternrefTable0(ret[1]);
17676
+ }
17677
+ return takeFromExternrefTable0(ret[0]);
17678
+ }
17679
+ exports.propagateKepler = propagateKepler;
17680
+
16486
17681
  /**
16487
17682
  * Numerically propagate an ECI Cartesian state and sample it at a grid of
16488
17683
  * epochs.
@@ -16576,6 +17771,20 @@ function rangeRateToDoppler(range_rate_m_s, carrier_hz) {
16576
17771
  }
16577
17772
  exports.rangeRateToDoppler = rangeRateToDoppler;
16578
17773
 
17774
+ /**
17775
+ * @param {any} chief
17776
+ * @param {any} deputy
17777
+ * @returns {any}
17778
+ */
17779
+ function relativeState(chief, deputy) {
17780
+ const ret = wasm.relativeState(chief, deputy);
17781
+ if (ret[2]) {
17782
+ throw takeFromExternrefTable0(ret[1]);
17783
+ }
17784
+ return takeFromExternrefTable0(ret[0]);
17785
+ }
17786
+ exports.relativeState = relativeState;
17787
+
16579
17788
  /**
16580
17789
  * Build a sampled GPS C/A code replica, an `Int8Array`.
16581
17790
  * @param {bigint} prn
@@ -16593,6 +17802,26 @@ function replica(prn, options) {
16593
17802
  }
16594
17803
  exports.replica = replica;
16595
17804
 
17805
+ /**
17806
+ * @param {Float64Array} position_km
17807
+ * @param {Float64Array} velocity_km_s
17808
+ * @returns {Float64Array}
17809
+ */
17810
+ function ricRotation(position_km, velocity_km_s) {
17811
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
17812
+ const len0 = WASM_VECTOR_LEN;
17813
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
17814
+ const len1 = WASM_VECTOR_LEN;
17815
+ const ret = wasm.ricRotation(ptr0, len0, ptr1, len1);
17816
+ if (ret[3]) {
17817
+ throw takeFromExternrefTable0(ret[2]);
17818
+ }
17819
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
17820
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
17821
+ return v3;
17822
+ }
17823
+ exports.ricRotation = ricRotation;
17824
+
16596
17825
  /**
16597
17826
  * RINEX observation band frequency in hertz for a system and band digit.
16598
17827
  * @param {GnssSystem} system
@@ -16629,6 +17858,26 @@ function rinexBandWavelengthM(system, band, glonass_channel) {
16629
17858
  }
16630
17859
  exports.rinexBandWavelengthM = rinexBandWavelengthM;
16631
17860
 
17861
+ /**
17862
+ * @param {Float64Array} position_km
17863
+ * @param {Float64Array} velocity_km_s
17864
+ * @returns {Float64Array}
17865
+ */
17866
+ function rswRotation(position_km, velocity_km_s) {
17867
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
17868
+ const len0 = WASM_VECTOR_LEN;
17869
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
17870
+ const len1 = WASM_VECTOR_LEN;
17871
+ const ret = wasm.rswRotation(ptr0, len0, ptr1, len1);
17872
+ if (ret[3]) {
17873
+ throw takeFromExternrefTable0(ret[2]);
17874
+ }
17875
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
17876
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
17877
+ return v3;
17878
+ }
17879
+ exports.rswRotation = rswRotation;
17880
+
16632
17881
  /**
16633
17882
  * Read the 12-bit RTCM message number from a message body.
16634
17883
  *
@@ -16648,6 +17897,26 @@ function rtcmMessageNumber(body) {
16648
17897
  }
16649
17898
  exports.rtcmMessageNumber = rtcmMessageNumber;
16650
17899
 
17900
+ /**
17901
+ * @param {Float64Array} position_km
17902
+ * @param {Float64Array} velocity_km_s
17903
+ * @returns {Float64Array}
17904
+ */
17905
+ function rtnRotation(position_km, velocity_km_s) {
17906
+ const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
17907
+ const len0 = WASM_VECTOR_LEN;
17908
+ const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
17909
+ const len1 = WASM_VECTOR_LEN;
17910
+ const ret = wasm.rtnRotation(ptr0, len0, ptr1, len1);
17911
+ if (ret[3]) {
17912
+ throw takeFromExternrefTable0(ret[2]);
17913
+ }
17914
+ var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
17915
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
17916
+ return v3;
17917
+ }
17918
+ exports.rtnRotation = rtnRotation;
17919
+
16651
17920
  /**
16652
17921
  * Transform a 3x3 RTN covariance (flat row-major length 9) to ECI for the given
16653
17922
  * orbit state. Returns a flat row-major length-9 `Float64Array`.
@@ -16700,6 +17969,86 @@ function rv2coe(r, v, mu) {
16700
17969
  }
16701
17970
  exports.rv2coe = rv2coe;
16702
17971
 
17972
+ /**
17973
+ * @param {Float64Array} r
17974
+ * @param {Float64Array} v
17975
+ * @param {number} mu_km3_s2
17976
+ * @param {RetrogradeFactor | null} [factor]
17977
+ * @returns {any}
17978
+ */
17979
+ function rv2eq(r, v, mu_km3_s2, factor) {
17980
+ const ptr0 = passArrayF64ToWasm0(r, wasm.__wbindgen_malloc);
17981
+ const len0 = WASM_VECTOR_LEN;
17982
+ const ptr1 = passArrayF64ToWasm0(v, wasm.__wbindgen_malloc);
17983
+ const len1 = WASM_VECTOR_LEN;
17984
+ const ret = wasm.rv2eq(ptr0, len0, ptr1, len1, mu_km3_s2, isLikeNone(factor) ? 2 : factor);
17985
+ if (ret[2]) {
17986
+ throw takeFromExternrefTable0(ret[1]);
17987
+ }
17988
+ return takeFromExternrefTable0(ret[0]);
17989
+ }
17990
+ exports.rv2eq = rv2eq;
17991
+
17992
+ /**
17993
+ * @param {Float64Array} r
17994
+ * @param {Float64Array} v
17995
+ * @param {number} mu_km3_s2
17996
+ * @param {RetrogradeFactor | null} [factor]
17997
+ * @returns {any}
17998
+ */
17999
+ function rv2mee(r, v, mu_km3_s2, factor) {
18000
+ const ptr0 = passArrayF64ToWasm0(r, wasm.__wbindgen_malloc);
18001
+ const len0 = WASM_VECTOR_LEN;
18002
+ const ptr1 = passArrayF64ToWasm0(v, wasm.__wbindgen_malloc);
18003
+ const len1 = WASM_VECTOR_LEN;
18004
+ const ret = wasm.rv2mee(ptr0, len0, ptr1, len1, mu_km3_s2, isLikeNone(factor) ? 2 : factor);
18005
+ if (ret[2]) {
18006
+ throw takeFromExternrefTable0(ret[1]);
18007
+ }
18008
+ return takeFromExternrefTable0(ret[0]);
18009
+ }
18010
+ exports.rv2mee = rv2mee;
18011
+
18012
+ /**
18013
+ * @param {BroadcastEphemeris} broadcast
18014
+ * @param {string[]} satellites
18015
+ * @param {number} start_j2000_s
18016
+ * @param {number} stop_j2000_s
18017
+ * @param {number} step_s
18018
+ * @returns {any}
18019
+ */
18020
+ function sampleBroadcastEphemeris(broadcast, satellites, start_j2000_s, stop_j2000_s, step_s) {
18021
+ _assertClass(broadcast, BroadcastEphemeris);
18022
+ const ptr0 = passArrayJsValueToWasm0(satellites, wasm.__wbindgen_malloc);
18023
+ const len0 = WASM_VECTOR_LEN;
18024
+ const ret = wasm.sampleBroadcastEphemeris(broadcast.__wbg_ptr, ptr0, len0, start_j2000_s, stop_j2000_s, step_s);
18025
+ if (ret[2]) {
18026
+ throw takeFromExternrefTable0(ret[1]);
18027
+ }
18028
+ return takeFromExternrefTable0(ret[0]);
18029
+ }
18030
+ exports.sampleBroadcastEphemeris = sampleBroadcastEphemeris;
18031
+
18032
+ /**
18033
+ * @param {Sp3} sp3
18034
+ * @param {string[]} satellites
18035
+ * @param {number} start_j2000_s
18036
+ * @param {number} stop_j2000_s
18037
+ * @param {number} step_s
18038
+ * @returns {any}
18039
+ */
18040
+ function sampleSp3Ephemeris(sp3, satellites, start_j2000_s, stop_j2000_s, step_s) {
18041
+ _assertClass(sp3, Sp3);
18042
+ const ptr0 = passArrayJsValueToWasm0(satellites, wasm.__wbindgen_malloc);
18043
+ const len0 = WASM_VECTOR_LEN;
18044
+ const ret = wasm.sampleSp3Ephemeris(sp3.__wbg_ptr, ptr0, len0, start_j2000_s, stop_j2000_s, step_s);
18045
+ if (ret[2]) {
18046
+ throw takeFromExternrefTable0(ret[1]);
18047
+ }
18048
+ return takeFromExternrefTable0(ret[0]);
18049
+ }
18050
+ exports.sampleSp3Ephemeris = sampleSp3Ephemeris;
18051
+
16703
18052
  /**
16704
18053
  * Apparent visual magnitude of a sunlit body from a diffuse-sphere phase law.
16705
18054
  *
@@ -16723,6 +18072,32 @@ function satelliteVisualMagnitude(range_km, phase_angle_deg, standard_magnitude,
16723
18072
  }
16724
18073
  exports.satelliteVisualMagnitude = satelliteVisualMagnitude;
16725
18074
 
18075
+ /**
18076
+ * @param {BroadcastEphemeris} broadcast
18077
+ * @param {SbasCorrectionStore} store
18078
+ * @param {string} geo
18079
+ * @param {string} sat
18080
+ * @param {number} t_j2000_s
18081
+ * @param {string | null} [mode]
18082
+ * @returns {any}
18083
+ */
18084
+ function sbasCorrectedState(broadcast, store, geo, sat, t_j2000_s, mode) {
18085
+ _assertClass(broadcast, BroadcastEphemeris);
18086
+ _assertClass(store, SbasCorrectionStore);
18087
+ const ptr0 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
18088
+ const len0 = WASM_VECTOR_LEN;
18089
+ const ptr1 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
18090
+ const len1 = WASM_VECTOR_LEN;
18091
+ var ptr2 = isLikeNone(mode) ? 0 : passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
18092
+ var len2 = WASM_VECTOR_LEN;
18093
+ const ret = wasm.sbasCorrectedState(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, ptr1, len1, t_j2000_s, ptr2, len2);
18094
+ if (ret[2]) {
18095
+ throw takeFromExternrefTable0(ret[1]);
18096
+ }
18097
+ return takeFromExternrefTable0(ret[0]);
18098
+ }
18099
+ exports.sbasCorrectedState = sbasCorrectedState;
18100
+
16726
18101
  /**
16727
18102
  * Screen a primary satellite against a secondary TLE catalog for threshold TCAs.
16728
18103
  *
@@ -16783,6 +18158,40 @@ function screenTcaConjunctions(primary_line1, primary_line2, secondaries, window
16783
18158
  }
16784
18159
  exports.screenTcaConjunctions = screenTcaConjunctions;
16785
18160
 
18161
+ /**
18162
+ * @param {bigint} start_unix_us
18163
+ * @param {bigint} end_unix_us
18164
+ * @param {number} step_s
18165
+ * @param {number} tolerance_s
18166
+ * @returns {any}
18167
+ */
18168
+ function seasons(start_unix_us, end_unix_us, step_s, tolerance_s) {
18169
+ const ret = wasm.seasons(start_unix_us, end_unix_us, step_s, tolerance_s);
18170
+ if (ret[2]) {
18171
+ throw takeFromExternrefTable0(ret[1]);
18172
+ }
18173
+ return takeFromExternrefTable0(ret[0]);
18174
+ }
18175
+ exports.seasons = seasons;
18176
+
18177
+ /**
18178
+ * @param {Spk} spk
18179
+ * @param {bigint} start_unix_us
18180
+ * @param {bigint} end_unix_us
18181
+ * @param {number} step_s
18182
+ * @param {number} tolerance_s
18183
+ * @returns {any}
18184
+ */
18185
+ function seasonsSpk(spk, start_unix_us, end_unix_us, step_s, tolerance_s) {
18186
+ _assertClass(spk, Spk);
18187
+ const ret = wasm.seasonsSpk(spk.__wbg_ptr, start_unix_us, end_unix_us, step_s, tolerance_s);
18188
+ if (ret[2]) {
18189
+ throw takeFromExternrefTable0(ret[1]);
18190
+ }
18191
+ return takeFromExternrefTable0(ret[0]);
18192
+ }
18193
+ exports.seasonsSpk = seasonsSpk;
18194
+
16786
18195
  /**
16787
18196
  * Select an IONEX product usable at `requestedEpochJ2000S`, degrading to a
16788
18197
  * diurnal-shifted prior product within `policy`.
@@ -17080,6 +18489,20 @@ function solidEarthTide(station_ecef_m, year, month, day, fractional_hour, sun_e
17080
18489
  }
17081
18490
  exports.solidEarthTide = solidEarthTide;
17082
18491
 
18492
+ /**
18493
+ * @param {number} mean_anomaly_rad
18494
+ * @param {number} eccentricity
18495
+ * @returns {any}
18496
+ */
18497
+ function solveKepler(mean_anomaly_rad, eccentricity) {
18498
+ const ret = wasm.solveKepler(mean_anomaly_rad, eccentricity);
18499
+ if (ret[2]) {
18500
+ throw takeFromExternrefTable0(ret[1]);
18501
+ }
18502
+ return takeFromExternrefTable0(ret[0]);
18503
+ }
18504
+ exports.solveKepler = solveKepler;
18505
+
17083
18506
  /**
17084
18507
  * Solve a sequence of moving-baseline RTK epochs.
17085
18508
  *
@@ -17258,6 +18681,29 @@ function solveRtkFloat(config) {
17258
18681
  }
17259
18682
  exports.solveRtkFloat = solveRtkFloat;
17260
18683
 
18684
+ /**
18685
+ * @param {BroadcastEphemeris} broadcast
18686
+ * @param {SbasCorrectionStore} store
18687
+ * @param {string} geo
18688
+ * @param {any} request
18689
+ * @param {string | null} [mode]
18690
+ * @returns {SppSolution}
18691
+ */
18692
+ function solveSppSbas(broadcast, store, geo, request, mode) {
18693
+ _assertClass(broadcast, BroadcastEphemeris);
18694
+ _assertClass(store, SbasCorrectionStore);
18695
+ const ptr0 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
18696
+ const len0 = WASM_VECTOR_LEN;
18697
+ var ptr1 = isLikeNone(mode) ? 0 : passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
18698
+ var len1 = WASM_VECTOR_LEN;
18699
+ const ret = wasm.solveSppSbas(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, request, ptr1, len1);
18700
+ if (ret[2]) {
18701
+ throw takeFromExternrefTable0(ret[1]);
18702
+ }
18703
+ return SppSolution.__wrap(ret[0]);
18704
+ }
18705
+ exports.solveSppSbas = solveSppSbas;
18706
+
17261
18707
  /**
17262
18708
  * Solve a static RTK arc with one batch float solution and one validated fixed
17263
18709
  * solution over the whole arc.
@@ -17388,6 +18834,47 @@ function splitJdToJ2000Seconds(jd_whole, jd_fraction) {
17388
18834
  }
17389
18835
  exports.splitJdToJ2000Seconds = splitJdToJ2000Seconds;
17390
18836
 
18837
+ /**
18838
+ * @param {BroadcastEphemeris} broadcast
18839
+ * @param {SsrCorrectionStore} store
18840
+ * @param {string} sat
18841
+ * @param {number} t_j2000_s
18842
+ * @param {boolean | null} [fallback_to_broadcast]
18843
+ * @param {number | null} [allow_regional_provider]
18844
+ * @returns {any}
18845
+ */
18846
+ function ssrCorrectedState(broadcast, store, sat, t_j2000_s, fallback_to_broadcast, allow_regional_provider) {
18847
+ _assertClass(broadcast, BroadcastEphemeris);
18848
+ _assertClass(store, SsrCorrectionStore);
18849
+ const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
18850
+ const len0 = WASM_VECTOR_LEN;
18851
+ const ret = wasm.ssrCorrectedState(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, t_j2000_s, isLikeNone(fallback_to_broadcast) ? 0xFFFFFF : fallback_to_broadcast ? 1 : 0, isLikeNone(allow_regional_provider) ? 0xFFFFFF : allow_regional_provider);
18852
+ if (ret[2]) {
18853
+ throw takeFromExternrefTable0(ret[1]);
18854
+ }
18855
+ return takeFromExternrefTable0(ret[0]);
18856
+ }
18857
+ exports.ssrCorrectedState = ssrCorrectedState;
18858
+
18859
+ /**
18860
+ * Stable lower-camel-case SSR source token.
18861
+ * @param {SsrSource} source
18862
+ * @returns {string}
18863
+ */
18864
+ function ssrSourceLabel(source) {
18865
+ let deferred1_0;
18866
+ let deferred1_1;
18867
+ try {
18868
+ const ret = wasm.ssrSourceLabel(source);
18869
+ deferred1_0 = ret[0];
18870
+ deferred1_1 = ret[1];
18871
+ return getStringFromWasm0(ret[0], ret[1]);
18872
+ } finally {
18873
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
18874
+ }
18875
+ }
18876
+ exports.ssrSourceLabel = ssrSourceLabel;
18877
+
17391
18878
  /**
17392
18879
  * Sub-observer point (planetary central meridian) on a rotating body.
17393
18880
  *
@@ -17762,6 +19249,34 @@ function tropoZenithDelay(lat_deg, height_m, met) {
17762
19249
  }
17763
19250
  exports.tropoZenithDelay = tropoZenithDelay;
17764
19251
 
19252
+ /**
19253
+ * @param {number} true_anomaly_rad
19254
+ * @param {number} eccentricity
19255
+ * @returns {number}
19256
+ */
19257
+ function trueToEccentric(true_anomaly_rad, eccentricity) {
19258
+ const ret = wasm.trueToEccentric(true_anomaly_rad, eccentricity);
19259
+ if (ret[2]) {
19260
+ throw takeFromExternrefTable0(ret[1]);
19261
+ }
19262
+ return ret[0];
19263
+ }
19264
+ exports.trueToEccentric = trueToEccentric;
19265
+
19266
+ /**
19267
+ * @param {number} true_anomaly_rad
19268
+ * @param {number} eccentricity
19269
+ * @returns {number}
19270
+ */
19271
+ function trueToMean(true_anomaly_rad, eccentricity) {
19272
+ const ret = wasm.trueToMean(true_anomaly_rad, eccentricity);
19273
+ if (ret[2]) {
19274
+ throw takeFromExternrefTable0(ret[1]);
19275
+ }
19276
+ return ret[0];
19277
+ }
19278
+ exports.trueToMean = trueToMean;
19279
+
17765
19280
  /**
17766
19281
  * Provenance and coverage of the embedded UT1-UTC / delta-T (EOP) table.
17767
19282
  * @returns {Ut1Coverage}
@@ -18365,6 +19880,9 @@ const AppliedCorrectionsFinalization = (typeof FinalizationRegistry === 'undefin
18365
19880
  const AtmosphereDensityFinalization = (typeof FinalizationRegistry === 'undefined')
18366
19881
  ? { register: () => {}, unregister: () => {} }
18367
19882
  : new FinalizationRegistry(ptr => wasm.__wbg_atmospheredensity_free(ptr, 1));
19883
+ const BiasSetFinalization = (typeof FinalizationRegistry === 'undefined')
19884
+ ? { register: () => {}, unregister: () => {} }
19885
+ : new FinalizationRegistry(ptr => wasm.__wbg_biasset_free(ptr, 1));
18368
19886
  const BroadcastEphemerisFinalization = (typeof FinalizationRegistry === 'undefined')
18369
19887
  ? { register: () => {}, unregister: () => {} }
18370
19888
  : new FinalizationRegistry(ptr => wasm.__wbg_broadcastephemeris_free(ptr, 1));
@@ -18434,6 +19952,12 @@ const DopSeriesSampleFinalization = (typeof FinalizationRegistry === 'undefined'
18434
19952
  const DopplerShiftFinalization = (typeof FinalizationRegistry === 'undefined')
18435
19953
  ? { register: () => {}, unregister: () => {} }
18436
19954
  : new FinalizationRegistry(ptr => wasm.__wbg_dopplershift_free(ptr, 1));
19955
+ const DragForceFinalization = (typeof FinalizationRegistry === 'undefined')
19956
+ ? { register: () => {}, unregister: () => {} }
19957
+ : new FinalizationRegistry(ptr => wasm.__wbg_dragforce_free(ptr, 1));
19958
+ const DtedTerrainFinalization = (typeof FinalizationRegistry === 'undefined')
19959
+ ? { register: () => {}, unregister: () => {} }
19960
+ : new FinalizationRegistry(ptr => wasm.__wbg_dtedterrain_free(ptr, 1));
18437
19961
  const EncounterFrameFinalization = (typeof FinalizationRegistry === 'undefined')
18438
19962
  ? { register: () => {}, unregister: () => {} }
18439
19963
  : new FinalizationRegistry(ptr => wasm.__wbg_encounterframe_free(ptr, 1));
@@ -18674,6 +20198,9 @@ const SatellitePassFinalization = (typeof FinalizationRegistry === 'undefined')
18674
20198
  const SatelliteVectorFinalization = (typeof FinalizationRegistry === 'undefined')
18675
20199
  ? { register: () => {}, unregister: () => {} }
18676
20200
  : new FinalizationRegistry(ptr => wasm.__wbg_satellitevector_free(ptr, 1));
20201
+ const SbasCorrectionStoreFinalization = (typeof FinalizationRegistry === 'undefined')
20202
+ ? { register: () => {}, unregister: () => {} }
20203
+ : new FinalizationRegistry(ptr => wasm.__wbg_sbascorrectionstore_free(ptr, 1));
18677
20204
  const SignalPolicyFinalization = (typeof FinalizationRegistry === 'undefined')
18678
20205
  ? { register: () => {}, unregister: () => {} }
18679
20206
  : new FinalizationRegistry(ptr => wasm.__wbg_signalpolicy_free(ptr, 1));
@@ -18713,6 +20240,9 @@ const Sp3SelectionFinalization = (typeof FinalizationRegistry === 'undefined')
18713
20240
  const Sp3StateFinalization = (typeof FinalizationRegistry === 'undefined')
18714
20241
  ? { register: () => {}, unregister: () => {} }
18715
20242
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3state_free(ptr, 1));
20243
+ const SpaceWeatherFinalization = (typeof FinalizationRegistry === 'undefined')
20244
+ ? { register: () => {}, unregister: () => {} }
20245
+ : new FinalizationRegistry(ptr => wasm.__wbg_spaceweather_free(ptr, 1));
18716
20246
  const SpaceWeatherDefaultsFinalization = (typeof FinalizationRegistry === 'undefined')
18717
20247
  ? { register: () => {}, unregister: () => {} }
18718
20248
  : new FinalizationRegistry(ptr => wasm.__wbg_spaceweatherdefaults_free(ptr, 1));
@@ -18731,6 +20261,9 @@ const SppBatchSolutionFinalization = (typeof FinalizationRegistry === 'undefined
18731
20261
  const SppSolutionFinalization = (typeof FinalizationRegistry === 'undefined')
18732
20262
  ? { register: () => {}, unregister: () => {} }
18733
20263
  : new FinalizationRegistry(ptr => wasm.__wbg_sppsolution_free(ptr, 1));
20264
+ const SsrCorrectionStoreFinalization = (typeof FinalizationRegistry === 'undefined')
20265
+ ? { register: () => {}, unregister: () => {} }
20266
+ : new FinalizationRegistry(ptr => wasm.__wbg_ssrcorrectionstore_free(ptr, 1));
18734
20267
  const SunMoonFinalization = (typeof FinalizationRegistry === 'undefined')
18735
20268
  ? { register: () => {}, unregister: () => {} }
18736
20269
  : new FinalizationRegistry(ptr => wasm.__wbg_sunmoon_free(ptr, 1));