@neilberkman/sidereon 0.9.1 → 0.10.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/package.json +1 -1
- package/pkg/sidereon.d.ts +1330 -964
- package/pkg/sidereon.js +1591 -37
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1171 -1073
- package/pkg-node/sidereon.d.ts +272 -4
- package/pkg-node/sidereon.js +1657 -38
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1171 -1073
package/pkg/sidereon.js
CHANGED
|
@@ -587,6 +587,145 @@ export class AtmosphereDensity {
|
|
|
587
587
|
}
|
|
588
588
|
if (Symbol.dispose) AtmosphereDensity.prototype[Symbol.dispose] = AtmosphereDensity.prototype.free;
|
|
589
589
|
|
|
590
|
+
export class BiasSet {
|
|
591
|
+
static __wrap(ptr) {
|
|
592
|
+
const obj = Object.create(BiasSet.prototype);
|
|
593
|
+
obj.__wbg_ptr = ptr;
|
|
594
|
+
BiasSetFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
595
|
+
return obj;
|
|
596
|
+
}
|
|
597
|
+
__destroy_into_raw() {
|
|
598
|
+
const ptr = this.__wbg_ptr;
|
|
599
|
+
this.__wbg_ptr = 0;
|
|
600
|
+
BiasSetFinalization.unregister(this);
|
|
601
|
+
return ptr;
|
|
602
|
+
}
|
|
603
|
+
free() {
|
|
604
|
+
const ptr = this.__destroy_into_raw();
|
|
605
|
+
wasm.__wbg_biasset_free(ptr, 0);
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* @param {string} sat
|
|
609
|
+
* @param {string} used_obs1
|
|
610
|
+
* @param {string} used_obs2
|
|
611
|
+
* @param {number} freq1_hz
|
|
612
|
+
* @param {number} freq2_hz
|
|
613
|
+
* @param {number | null | undefined} glonass_channel
|
|
614
|
+
* @param {string} clock_ref_obs1
|
|
615
|
+
* @param {string} clock_ref_obs2
|
|
616
|
+
* @param {number} epoch_j2000_s
|
|
617
|
+
* @param {string | null} [time_scale]
|
|
618
|
+
* @returns {number | undefined}
|
|
619
|
+
*/
|
|
620
|
+
codeBiasModelM(sat, used_obs1, used_obs2, freq1_hz, freq2_hz, glonass_channel, clock_ref_obs1, clock_ref_obs2, epoch_j2000_s, time_scale) {
|
|
621
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
622
|
+
const len0 = WASM_VECTOR_LEN;
|
|
623
|
+
const ptr1 = passStringToWasm0(used_obs1, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
624
|
+
const len1 = WASM_VECTOR_LEN;
|
|
625
|
+
const ptr2 = passStringToWasm0(used_obs2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
626
|
+
const len2 = WASM_VECTOR_LEN;
|
|
627
|
+
const ptr3 = passStringToWasm0(clock_ref_obs1, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
628
|
+
const len3 = WASM_VECTOR_LEN;
|
|
629
|
+
const ptr4 = passStringToWasm0(clock_ref_obs2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
630
|
+
const len4 = WASM_VECTOR_LEN;
|
|
631
|
+
var ptr5 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
632
|
+
var len5 = WASM_VECTOR_LEN;
|
|
633
|
+
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);
|
|
634
|
+
if (ret[3]) {
|
|
635
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
636
|
+
}
|
|
637
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* @param {string} sat
|
|
641
|
+
* @param {string} obs1
|
|
642
|
+
* @param {string} obs2
|
|
643
|
+
* @param {number} epoch_j2000_s
|
|
644
|
+
* @param {string | null} [time_scale]
|
|
645
|
+
* @returns {number | undefined}
|
|
646
|
+
*/
|
|
647
|
+
codeDsbSeconds(sat, obs1, obs2, epoch_j2000_s, time_scale) {
|
|
648
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
649
|
+
const len0 = WASM_VECTOR_LEN;
|
|
650
|
+
const ptr1 = passStringToWasm0(obs1, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
651
|
+
const len1 = WASM_VECTOR_LEN;
|
|
652
|
+
const ptr2 = passStringToWasm0(obs2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
653
|
+
const len2 = WASM_VECTOR_LEN;
|
|
654
|
+
var ptr3 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
655
|
+
var len3 = WASM_VECTOR_LEN;
|
|
656
|
+
const ret = wasm.biasset_codeDsbSeconds(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, epoch_j2000_s, ptr3, len3);
|
|
657
|
+
if (ret[3]) {
|
|
658
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
659
|
+
}
|
|
660
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* @param {string} sat
|
|
664
|
+
* @param {string} obs
|
|
665
|
+
* @param {number} epoch_j2000_s
|
|
666
|
+
* @param {string | null} [time_scale]
|
|
667
|
+
* @returns {number | undefined}
|
|
668
|
+
*/
|
|
669
|
+
codeOsbSeconds(sat, obs, epoch_j2000_s, time_scale) {
|
|
670
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
671
|
+
const len0 = WASM_VECTOR_LEN;
|
|
672
|
+
const ptr1 = passStringToWasm0(obs, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
673
|
+
const len1 = WASM_VECTOR_LEN;
|
|
674
|
+
var ptr2 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
675
|
+
var len2 = WASM_VECTOR_LEN;
|
|
676
|
+
const ret = wasm.biasset_codeOsbSeconds(this.__wbg_ptr, ptr0, len0, ptr1, len1, epoch_j2000_s, ptr2, len2);
|
|
677
|
+
if (ret[3]) {
|
|
678
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
679
|
+
}
|
|
680
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* @param {string} sat
|
|
684
|
+
* @param {string} obs
|
|
685
|
+
* @param {number} epoch_j2000_s
|
|
686
|
+
* @param {string | null} [time_scale]
|
|
687
|
+
* @returns {number | undefined}
|
|
688
|
+
*/
|
|
689
|
+
phaseOsbCycles(sat, obs, epoch_j2000_s, time_scale) {
|
|
690
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
691
|
+
const len0 = WASM_VECTOR_LEN;
|
|
692
|
+
const ptr1 = passStringToWasm0(obs, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
693
|
+
const len1 = WASM_VECTOR_LEN;
|
|
694
|
+
var ptr2 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
695
|
+
var len2 = WASM_VECTOR_LEN;
|
|
696
|
+
const ret = wasm.biasset_phaseOsbCycles(this.__wbg_ptr, ptr0, len0, ptr1, len1, epoch_j2000_s, ptr2, len2);
|
|
697
|
+
if (ret[3]) {
|
|
698
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
699
|
+
}
|
|
700
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* @returns {number}
|
|
704
|
+
*/
|
|
705
|
+
get recordCount() {
|
|
706
|
+
const ret = wasm.biasset_recordCount(this.__wbg_ptr);
|
|
707
|
+
return ret >>> 0;
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* @returns {any}
|
|
711
|
+
*/
|
|
712
|
+
get records() {
|
|
713
|
+
const ret = wasm.biasset_records(this.__wbg_ptr);
|
|
714
|
+
if (ret[2]) {
|
|
715
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
716
|
+
}
|
|
717
|
+
return takeFromExternrefTable0(ret[0]);
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* @returns {number}
|
|
721
|
+
*/
|
|
722
|
+
get skippedRecords() {
|
|
723
|
+
const ret = wasm.biasset_skippedRecords(this.__wbg_ptr);
|
|
724
|
+
return ret >>> 0;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
if (Symbol.dispose) BiasSet.prototype[Symbol.dispose] = BiasSet.prototype.free;
|
|
728
|
+
|
|
590
729
|
/**
|
|
591
730
|
* A parsed broadcast ephemeris store from a RINEX NAV file. `records` are the
|
|
592
731
|
* usable GPS/Galileo/BeiDou records selected by the core default SPP policy.
|
|
@@ -3122,6 +3261,160 @@ export class DopplerShift {
|
|
|
3122
3261
|
}
|
|
3123
3262
|
if (Symbol.dispose) DopplerShift.prototype[Symbol.dispose] = DopplerShift.prototype.free;
|
|
3124
3263
|
|
|
3264
|
+
export class DragForce {
|
|
3265
|
+
static __wrap(ptr) {
|
|
3266
|
+
const obj = Object.create(DragForce.prototype);
|
|
3267
|
+
obj.__wbg_ptr = ptr;
|
|
3268
|
+
DragForceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
3269
|
+
return obj;
|
|
3270
|
+
}
|
|
3271
|
+
__destroy_into_raw() {
|
|
3272
|
+
const ptr = this.__wbg_ptr;
|
|
3273
|
+
this.__wbg_ptr = 0;
|
|
3274
|
+
DragForceFinalization.unregister(this);
|
|
3275
|
+
return ptr;
|
|
3276
|
+
}
|
|
3277
|
+
free() {
|
|
3278
|
+
const ptr = this.__destroy_into_raw();
|
|
3279
|
+
wasm.__wbg_dragforce_free(ptr, 0);
|
|
3280
|
+
}
|
|
3281
|
+
/**
|
|
3282
|
+
* @param {number} epoch_s
|
|
3283
|
+
* @param {Float64Array} position_km
|
|
3284
|
+
* @param {Float64Array} velocity_km_s
|
|
3285
|
+
* @returns {Float64Array}
|
|
3286
|
+
*/
|
|
3287
|
+
acceleration(epoch_s, position_km, velocity_km_s) {
|
|
3288
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
3289
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3290
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
3291
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3292
|
+
const ret = wasm.dragforce_acceleration(this.__wbg_ptr, epoch_s, ptr0, len0, ptr1, len1);
|
|
3293
|
+
if (ret[3]) {
|
|
3294
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
3295
|
+
}
|
|
3296
|
+
var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
3297
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
3298
|
+
return v3;
|
|
3299
|
+
}
|
|
3300
|
+
/**
|
|
3301
|
+
* @returns {number}
|
|
3302
|
+
*/
|
|
3303
|
+
get bcFactorM2Kg() {
|
|
3304
|
+
const ret = wasm.dragforce_bcFactorM2Kg(this.__wbg_ptr);
|
|
3305
|
+
return ret;
|
|
3306
|
+
}
|
|
3307
|
+
/**
|
|
3308
|
+
* @returns {number}
|
|
3309
|
+
*/
|
|
3310
|
+
get cutoffAltitudeKm() {
|
|
3311
|
+
const ret = wasm.dragforce_cutoffAltitudeKm(this.__wbg_ptr);
|
|
3312
|
+
return ret;
|
|
3313
|
+
}
|
|
3314
|
+
/**
|
|
3315
|
+
* @param {number} cd
|
|
3316
|
+
* @param {number} area_m2
|
|
3317
|
+
* @param {number} mass_kg
|
|
3318
|
+
* @param {SpaceWeather} space_weather
|
|
3319
|
+
* @param {number | null} [cutoff_altitude_km]
|
|
3320
|
+
* @returns {DragForce}
|
|
3321
|
+
*/
|
|
3322
|
+
static fromAreaMass(cd, area_m2, mass_kg, space_weather, cutoff_altitude_km) {
|
|
3323
|
+
_assertClass(space_weather, SpaceWeather);
|
|
3324
|
+
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);
|
|
3325
|
+
if (ret[2]) {
|
|
3326
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3327
|
+
}
|
|
3328
|
+
return DragForce.__wrap(ret[0]);
|
|
3329
|
+
}
|
|
3330
|
+
/**
|
|
3331
|
+
* @param {number} bc_kg_m2
|
|
3332
|
+
* @param {SpaceWeather} space_weather
|
|
3333
|
+
* @param {number | null} [cutoff_altitude_km]
|
|
3334
|
+
* @returns {DragForce}
|
|
3335
|
+
*/
|
|
3336
|
+
static fromBallisticCoefficient(bc_kg_m2, space_weather, cutoff_altitude_km) {
|
|
3337
|
+
_assertClass(space_weather, SpaceWeather);
|
|
3338
|
+
const ret = wasm.dragforce_fromBallisticCoefficient(bc_kg_m2, space_weather.__wbg_ptr, !isLikeNone(cutoff_altitude_km), isLikeNone(cutoff_altitude_km) ? 0 : cutoff_altitude_km);
|
|
3339
|
+
if (ret[2]) {
|
|
3340
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3341
|
+
}
|
|
3342
|
+
return DragForce.__wrap(ret[0]);
|
|
3343
|
+
}
|
|
3344
|
+
/**
|
|
3345
|
+
* @param {number} bc_factor_m2_kg
|
|
3346
|
+
* @param {SpaceWeather} space_weather
|
|
3347
|
+
* @param {number | null} [cutoff_altitude_km]
|
|
3348
|
+
* @returns {DragForce}
|
|
3349
|
+
*/
|
|
3350
|
+
static fromBcFactor(bc_factor_m2_kg, space_weather, cutoff_altitude_km) {
|
|
3351
|
+
_assertClass(space_weather, SpaceWeather);
|
|
3352
|
+
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);
|
|
3353
|
+
if (ret[2]) {
|
|
3354
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3355
|
+
}
|
|
3356
|
+
return DragForce.__wrap(ret[0]);
|
|
3357
|
+
}
|
|
3358
|
+
/**
|
|
3359
|
+
* @returns {SpaceWeather}
|
|
3360
|
+
*/
|
|
3361
|
+
get spaceWeather() {
|
|
3362
|
+
const ret = wasm.dragforce_spaceWeather(this.__wbg_ptr);
|
|
3363
|
+
return SpaceWeather.__wrap(ret);
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
if (Symbol.dispose) DragForce.prototype[Symbol.dispose] = DragForce.prototype.free;
|
|
3367
|
+
|
|
3368
|
+
export class DtedTerrain {
|
|
3369
|
+
__destroy_into_raw() {
|
|
3370
|
+
const ptr = this.__wbg_ptr;
|
|
3371
|
+
this.__wbg_ptr = 0;
|
|
3372
|
+
DtedTerrainFinalization.unregister(this);
|
|
3373
|
+
return ptr;
|
|
3374
|
+
}
|
|
3375
|
+
free() {
|
|
3376
|
+
const ptr = this.__destroy_into_raw();
|
|
3377
|
+
wasm.__wbg_dtedterrain_free(ptr, 0);
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* @param {number} longitude_deg
|
|
3381
|
+
* @param {number} latitude_deg
|
|
3382
|
+
* @returns {number}
|
|
3383
|
+
*/
|
|
3384
|
+
heightM(longitude_deg, latitude_deg) {
|
|
3385
|
+
const ret = wasm.dtedterrain_heightM(this.__wbg_ptr, longitude_deg, latitude_deg);
|
|
3386
|
+
if (ret[2]) {
|
|
3387
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3388
|
+
}
|
|
3389
|
+
return ret[0];
|
|
3390
|
+
}
|
|
3391
|
+
/**
|
|
3392
|
+
* @param {number} longitude_deg
|
|
3393
|
+
* @param {number} latitude_deg
|
|
3394
|
+
* @param {any} options
|
|
3395
|
+
* @returns {number}
|
|
3396
|
+
*/
|
|
3397
|
+
heightMWithOptions(longitude_deg, latitude_deg, options) {
|
|
3398
|
+
const ret = wasm.dtedterrain_heightMWithOptions(this.__wbg_ptr, longitude_deg, latitude_deg, options);
|
|
3399
|
+
if (ret[2]) {
|
|
3400
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3401
|
+
}
|
|
3402
|
+
return ret[0];
|
|
3403
|
+
}
|
|
3404
|
+
/**
|
|
3405
|
+
* @param {string} root
|
|
3406
|
+
*/
|
|
3407
|
+
constructor(root) {
|
|
3408
|
+
const ptr0 = passStringToWasm0(root, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3409
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3410
|
+
const ret = wasm.dtedterrain_new(ptr0, len0);
|
|
3411
|
+
this.__wbg_ptr = ret;
|
|
3412
|
+
DtedTerrainFinalization.register(this, this.__wbg_ptr, this);
|
|
3413
|
+
return this;
|
|
3414
|
+
}
|
|
3415
|
+
}
|
|
3416
|
+
if (Symbol.dispose) DtedTerrain.prototype[Symbol.dispose] = DtedTerrain.prototype.free;
|
|
3417
|
+
|
|
3125
3418
|
/**
|
|
3126
3419
|
* Orthonormal encounter frame built from two relative states.
|
|
3127
3420
|
*/
|
|
@@ -9126,6 +9419,58 @@ export class PppFloatSolution {
|
|
|
9126
9419
|
}
|
|
9127
9420
|
if (Symbol.dispose) PppFloatSolution.prototype[Symbol.dispose] = PppFloatSolution.prototype.free;
|
|
9128
9421
|
|
|
9422
|
+
/**
|
|
9423
|
+
* A precise-ephemeris source built from samples rather than parsed SP3 text.
|
|
9424
|
+
*
|
|
9425
|
+
* Implements the same `ObservableEphemerisSource` contract as a parsed [`Sp3`]
|
|
9426
|
+
* product and shares its interpolation substrate, so [`predictRanges`] accepts
|
|
9427
|
+
* either handle. Build one with [`preciseEphemerisSamplesFromSamples`].
|
|
9428
|
+
*/
|
|
9429
|
+
export class PreciseEphemerisSampleSource {
|
|
9430
|
+
static __wrap(ptr) {
|
|
9431
|
+
const obj = Object.create(PreciseEphemerisSampleSource.prototype);
|
|
9432
|
+
obj.__wbg_ptr = ptr;
|
|
9433
|
+
PreciseEphemerisSampleSourceFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
9434
|
+
return obj;
|
|
9435
|
+
}
|
|
9436
|
+
__destroy_into_raw() {
|
|
9437
|
+
const ptr = this.__wbg_ptr;
|
|
9438
|
+
this.__wbg_ptr = 0;
|
|
9439
|
+
PreciseEphemerisSampleSourceFinalization.unregister(this);
|
|
9440
|
+
return ptr;
|
|
9441
|
+
}
|
|
9442
|
+
free() {
|
|
9443
|
+
const ptr = this.__destroy_into_raw();
|
|
9444
|
+
wasm.__wbg_preciseephemerissamplesource_free(ptr, 0);
|
|
9445
|
+
}
|
|
9446
|
+
/**
|
|
9447
|
+
* Predict geometric ranges for many requests in one call. See the shared
|
|
9448
|
+
* [`predictRanges`](crate::precise_samples::predict_ranges_over) contract;
|
|
9449
|
+
* this is the sample-source entry point.
|
|
9450
|
+
* @param {any} requests
|
|
9451
|
+
* @param {any} options
|
|
9452
|
+
* @returns {any}
|
|
9453
|
+
*/
|
|
9454
|
+
predictRanges(requests, options) {
|
|
9455
|
+
const ret = wasm.preciseephemerissamplesource_predictRanges(this.__wbg_ptr, requests, options);
|
|
9456
|
+
if (ret[2]) {
|
|
9457
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
9458
|
+
}
|
|
9459
|
+
return takeFromExternrefTable0(ret[0]);
|
|
9460
|
+
}
|
|
9461
|
+
/**
|
|
9462
|
+
* The satellites this source can interpolate (e.g. `"G01"`), ascending.
|
|
9463
|
+
* @returns {string[]}
|
|
9464
|
+
*/
|
|
9465
|
+
get satellites() {
|
|
9466
|
+
const ret = wasm.preciseephemerissamplesource_satellites(this.__wbg_ptr);
|
|
9467
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
9468
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
9469
|
+
return v1;
|
|
9470
|
+
}
|
|
9471
|
+
}
|
|
9472
|
+
if (Symbol.dispose) PreciseEphemerisSampleSource.prototype[Symbol.dispose] = PreciseEphemerisSampleSource.prototype.free;
|
|
9473
|
+
|
|
9129
9474
|
/**
|
|
9130
9475
|
* The per-request results of a batch observable prediction, index-aligned to
|
|
9131
9476
|
* the input requests. Each request independently either produced observables or
|
|
@@ -9799,6 +10144,14 @@ export class ReducedOrbitState {
|
|
|
9799
10144
|
}
|
|
9800
10145
|
if (Symbol.dispose) ReducedOrbitState.prototype[Symbol.dispose] = ReducedOrbitState.prototype.free;
|
|
9801
10146
|
|
|
10147
|
+
/**
|
|
10148
|
+
* @enum {0 | 1}
|
|
10149
|
+
*/
|
|
10150
|
+
export const RetrogradeFactor = Object.freeze({
|
|
10151
|
+
Prograde: 0, "0": "Prograde",
|
|
10152
|
+
Retrograde: 1, "1": "Retrograde",
|
|
10153
|
+
});
|
|
10154
|
+
|
|
9802
10155
|
/**
|
|
9803
10156
|
* A parsed RINEX clock product with satellite clock-bias interpolation.
|
|
9804
10157
|
*/
|
|
@@ -10336,47 +10689,118 @@ export class SatelliteVector {
|
|
|
10336
10689
|
}
|
|
10337
10690
|
if (Symbol.dispose) SatelliteVector.prototype[Symbol.dispose] = SatelliteVector.prototype.free;
|
|
10338
10691
|
|
|
10339
|
-
|
|
10340
|
-
* Per-constellation single-frequency pseudorange code-selection policy. Build
|
|
10341
|
-
* with `new SignalPolicy()` then chain `.withSystem(system, codes)`, or use
|
|
10342
|
-
* the static `defaultFor(version)`.
|
|
10343
|
-
*/
|
|
10344
|
-
export class SignalPolicy {
|
|
10345
|
-
static __wrap(ptr) {
|
|
10346
|
-
const obj = Object.create(SignalPolicy.prototype);
|
|
10347
|
-
obj.__wbg_ptr = ptr;
|
|
10348
|
-
SignalPolicyFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
10349
|
-
return obj;
|
|
10350
|
-
}
|
|
10692
|
+
export class SbasCorrectionStore {
|
|
10351
10693
|
__destroy_into_raw() {
|
|
10352
10694
|
const ptr = this.__wbg_ptr;
|
|
10353
10695
|
this.__wbg_ptr = 0;
|
|
10354
|
-
|
|
10696
|
+
SbasCorrectionStoreFinalization.unregister(this);
|
|
10355
10697
|
return ptr;
|
|
10356
10698
|
}
|
|
10357
10699
|
free() {
|
|
10358
10700
|
const ptr = this.__destroy_into_raw();
|
|
10359
|
-
wasm.
|
|
10701
|
+
wasm.__wbg_sbascorrectionstore_free(ptr, 0);
|
|
10360
10702
|
}
|
|
10361
10703
|
/**
|
|
10362
|
-
*
|
|
10363
|
-
* @param {
|
|
10364
|
-
* @
|
|
10704
|
+
* @param {Uint8Array} bytes
|
|
10705
|
+
* @param {string | null | undefined} form
|
|
10706
|
+
* @param {string} geo
|
|
10707
|
+
* @param {number} week
|
|
10708
|
+
* @param {number} tow_s
|
|
10709
|
+
* @param {string | null} [time_scale]
|
|
10365
10710
|
*/
|
|
10366
|
-
|
|
10367
|
-
const
|
|
10368
|
-
|
|
10369
|
-
|
|
10711
|
+
ingest(bytes, form, geo, week, tow_s, time_scale) {
|
|
10712
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
10713
|
+
const len0 = WASM_VECTOR_LEN;
|
|
10714
|
+
var ptr1 = isLikeNone(form) ? 0 : passStringToWasm0(form, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
10715
|
+
var len1 = WASM_VECTOR_LEN;
|
|
10716
|
+
const ptr2 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
10717
|
+
const len2 = WASM_VECTOR_LEN;
|
|
10718
|
+
var ptr3 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
10719
|
+
var len3 = WASM_VECTOR_LEN;
|
|
10720
|
+
const ret = wasm.sbascorrectionstore_ingest(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, week, tow_s, ptr3, len3);
|
|
10721
|
+
if (ret[1]) {
|
|
10722
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
10370
10723
|
}
|
|
10371
|
-
return SignalPolicy.__wrap(ret[0]);
|
|
10372
10724
|
}
|
|
10373
10725
|
/**
|
|
10374
|
-
*
|
|
10726
|
+
* @param {string} geo
|
|
10727
|
+
* @param {number} receiver_lat_rad
|
|
10728
|
+
* @param {number} receiver_lon_rad
|
|
10729
|
+
* @param {number} receiver_height_m
|
|
10730
|
+
* @param {number} elevation_rad
|
|
10731
|
+
* @param {number} azimuth_rad
|
|
10732
|
+
* @param {number} frequency_hz
|
|
10733
|
+
* @returns {number | undefined}
|
|
10375
10734
|
*/
|
|
10376
|
-
|
|
10377
|
-
const
|
|
10378
|
-
|
|
10379
|
-
|
|
10735
|
+
ionoSlantDelayM(geo, receiver_lat_rad, receiver_lon_rad, receiver_height_m, elevation_rad, azimuth_rad, frequency_hz) {
|
|
10736
|
+
const ptr0 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
10737
|
+
const len0 = WASM_VECTOR_LEN;
|
|
10738
|
+
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);
|
|
10739
|
+
if (ret[3]) {
|
|
10740
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
10741
|
+
}
|
|
10742
|
+
return ret[0] === 0 ? undefined : ret[1];
|
|
10743
|
+
}
|
|
10744
|
+
constructor() {
|
|
10745
|
+
const ret = wasm.sbascorrectionstore_new();
|
|
10746
|
+
this.__wbg_ptr = ret;
|
|
10747
|
+
SbasCorrectionStoreFinalization.register(this, this.__wbg_ptr, this);
|
|
10748
|
+
return this;
|
|
10749
|
+
}
|
|
10750
|
+
/**
|
|
10751
|
+
* @param {number} t_j2000_s
|
|
10752
|
+
* @returns {string[]}
|
|
10753
|
+
*/
|
|
10754
|
+
readyGeos(t_j2000_s) {
|
|
10755
|
+
const ret = wasm.sbascorrectionstore_readyGeos(this.__wbg_ptr, t_j2000_s);
|
|
10756
|
+
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
10757
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
10758
|
+
return v1;
|
|
10759
|
+
}
|
|
10760
|
+
}
|
|
10761
|
+
if (Symbol.dispose) SbasCorrectionStore.prototype[Symbol.dispose] = SbasCorrectionStore.prototype.free;
|
|
10762
|
+
|
|
10763
|
+
/**
|
|
10764
|
+
* Per-constellation single-frequency pseudorange code-selection policy. Build
|
|
10765
|
+
* with `new SignalPolicy()` then chain `.withSystem(system, codes)`, or use
|
|
10766
|
+
* the static `defaultFor(version)`.
|
|
10767
|
+
*/
|
|
10768
|
+
export class SignalPolicy {
|
|
10769
|
+
static __wrap(ptr) {
|
|
10770
|
+
const obj = Object.create(SignalPolicy.prototype);
|
|
10771
|
+
obj.__wbg_ptr = ptr;
|
|
10772
|
+
SignalPolicyFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
10773
|
+
return obj;
|
|
10774
|
+
}
|
|
10775
|
+
__destroy_into_raw() {
|
|
10776
|
+
const ptr = this.__wbg_ptr;
|
|
10777
|
+
this.__wbg_ptr = 0;
|
|
10778
|
+
SignalPolicyFinalization.unregister(this);
|
|
10779
|
+
return ptr;
|
|
10780
|
+
}
|
|
10781
|
+
free() {
|
|
10782
|
+
const ptr = this.__destroy_into_raw();
|
|
10783
|
+
wasm.__wbg_signalpolicy_free(ptr, 0);
|
|
10784
|
+
}
|
|
10785
|
+
/**
|
|
10786
|
+
* The core default pseudorange policy for a RINEX version.
|
|
10787
|
+
* @param {number} version
|
|
10788
|
+
* @returns {SignalPolicy}
|
|
10789
|
+
*/
|
|
10790
|
+
static defaultFor(version) {
|
|
10791
|
+
const ret = wasm.signalpolicy_defaultFor(version);
|
|
10792
|
+
if (ret[2]) {
|
|
10793
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
10794
|
+
}
|
|
10795
|
+
return SignalPolicy.__wrap(ret[0]);
|
|
10796
|
+
}
|
|
10797
|
+
/**
|
|
10798
|
+
* An empty policy with no constellation preferences.
|
|
10799
|
+
*/
|
|
10800
|
+
constructor() {
|
|
10801
|
+
const ret = wasm.signalpolicy_new();
|
|
10802
|
+
this.__wbg_ptr = ret;
|
|
10803
|
+
SignalPolicyFinalization.register(this, this.__wbg_ptr, this);
|
|
10380
10804
|
return this;
|
|
10381
10805
|
}
|
|
10382
10806
|
/**
|
|
@@ -10728,6 +11152,25 @@ export class Sp3 {
|
|
|
10728
11152
|
}
|
|
10729
11153
|
return Sp3Interpolation.__wrap(ret[0]);
|
|
10730
11154
|
}
|
|
11155
|
+
/**
|
|
11156
|
+
* Predict geometric ranges for many `(satellite, receiver, epoch)` requests
|
|
11157
|
+
* against this ephemeris in one call. `requests` is an array of
|
|
11158
|
+
* `{ sat, receiverEcefM, tRxJ2000S }`; returns an array of
|
|
11159
|
+
* `{ geometricRangeM, satClockS, transmitTimeJ2000S, satPosEcefM }`
|
|
11160
|
+
* index-aligned to `requests`. The same call shape works on a
|
|
11161
|
+
* `PreciseEphemerisSampleSource`. Delegates to the serial reference kernel
|
|
11162
|
+
* `sidereon_core::observables::predict_ranges`.
|
|
11163
|
+
* @param {any} requests
|
|
11164
|
+
* @param {any} options
|
|
11165
|
+
* @returns {any}
|
|
11166
|
+
*/
|
|
11167
|
+
predictRanges(requests, options) {
|
|
11168
|
+
const ret = wasm.sp3_predictRanges(this.__wbg_ptr, requests, options);
|
|
11169
|
+
if (ret[2]) {
|
|
11170
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11171
|
+
}
|
|
11172
|
+
return takeFromExternrefTable0(ret[0]);
|
|
11173
|
+
}
|
|
10731
11174
|
/**
|
|
10732
11175
|
* Satellite tokens present in the product (e.g. `"G01"`), ascending.
|
|
10733
11176
|
* @returns {string[]}
|
|
@@ -10772,6 +11215,21 @@ export class Sp3 {
|
|
|
10772
11215
|
}
|
|
10773
11216
|
return SppBatchSolution.__wrap(ret[0]);
|
|
10774
11217
|
}
|
|
11218
|
+
/**
|
|
11219
|
+
* Run the core robust-reweighted SPP driver under the RAIM/FDE exclusion loop.
|
|
11220
|
+
*
|
|
11221
|
+
* `request` is the FDE request with a `robust` object. The implementation
|
|
11222
|
+
* delegates to `sidereon_core::quality::spp_robust_fde_driver`.
|
|
11223
|
+
* @param {any} request
|
|
11224
|
+
* @returns {FdeSolution}
|
|
11225
|
+
*/
|
|
11226
|
+
sppRobustFdeDriver(request) {
|
|
11227
|
+
const ret = wasm.sp3_sppRobustFdeDriver(this.__wbg_ptr, request);
|
|
11228
|
+
if (ret[2]) {
|
|
11229
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
11230
|
+
}
|
|
11231
|
+
return FdeSolution.__wrap(ret[0]);
|
|
11232
|
+
}
|
|
10775
11233
|
/**
|
|
10776
11234
|
* The exact parsed state of `satellite` at record `epochIndex` (no
|
|
10777
11235
|
* interpolation). Throws a `RangeError` past the last epoch and a
|
|
@@ -11089,7 +11547,7 @@ export class Sp3MergeReport {
|
|
|
11089
11547
|
}
|
|
11090
11548
|
/**
|
|
11091
11549
|
* Per-(epoch, satellite) agreement statistics for every accepted cell, in
|
|
11092
|
-
* output (epoch, then satellite) order
|
|
11550
|
+
* output (epoch, then satellite) order, one entry per cell written to the
|
|
11093
11551
|
* merged product.
|
|
11094
11552
|
* @returns {Sp3AgreementMetric[]}
|
|
11095
11553
|
*/
|
|
@@ -11345,6 +11803,58 @@ export class Sp3State {
|
|
|
11345
11803
|
}
|
|
11346
11804
|
if (Symbol.dispose) Sp3State.prototype[Symbol.dispose] = Sp3State.prototype.free;
|
|
11347
11805
|
|
|
11806
|
+
export class SpaceWeather {
|
|
11807
|
+
static __wrap(ptr) {
|
|
11808
|
+
const obj = Object.create(SpaceWeather.prototype);
|
|
11809
|
+
obj.__wbg_ptr = ptr;
|
|
11810
|
+
SpaceWeatherFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
11811
|
+
return obj;
|
|
11812
|
+
}
|
|
11813
|
+
__destroy_into_raw() {
|
|
11814
|
+
const ptr = this.__wbg_ptr;
|
|
11815
|
+
this.__wbg_ptr = 0;
|
|
11816
|
+
SpaceWeatherFinalization.unregister(this);
|
|
11817
|
+
return ptr;
|
|
11818
|
+
}
|
|
11819
|
+
free() {
|
|
11820
|
+
const ptr = this.__destroy_into_raw();
|
|
11821
|
+
wasm.__wbg_spaceweather_free(ptr, 0);
|
|
11822
|
+
}
|
|
11823
|
+
/**
|
|
11824
|
+
* @returns {number}
|
|
11825
|
+
*/
|
|
11826
|
+
get ap() {
|
|
11827
|
+
const ret = wasm.spaceweather_ap(this.__wbg_ptr);
|
|
11828
|
+
return ret;
|
|
11829
|
+
}
|
|
11830
|
+
/**
|
|
11831
|
+
* @returns {number}
|
|
11832
|
+
*/
|
|
11833
|
+
get f107() {
|
|
11834
|
+
const ret = wasm.spaceweather_f107(this.__wbg_ptr);
|
|
11835
|
+
return ret;
|
|
11836
|
+
}
|
|
11837
|
+
/**
|
|
11838
|
+
* @returns {number}
|
|
11839
|
+
*/
|
|
11840
|
+
get f107a() {
|
|
11841
|
+
const ret = wasm.spaceweather_f107a(this.__wbg_ptr);
|
|
11842
|
+
return ret;
|
|
11843
|
+
}
|
|
11844
|
+
/**
|
|
11845
|
+
* @param {number | null} [f107]
|
|
11846
|
+
* @param {number | null} [f107a]
|
|
11847
|
+
* @param {number | null} [ap]
|
|
11848
|
+
*/
|
|
11849
|
+
constructor(f107, f107a, ap) {
|
|
11850
|
+
const ret = wasm.spaceweather_new(!isLikeNone(f107), isLikeNone(f107) ? 0 : f107, !isLikeNone(f107a), isLikeNone(f107a) ? 0 : f107a, !isLikeNone(ap), isLikeNone(ap) ? 0 : ap);
|
|
11851
|
+
this.__wbg_ptr = ret;
|
|
11852
|
+
SpaceWeatherFinalization.register(this, this.__wbg_ptr, this);
|
|
11853
|
+
return this;
|
|
11854
|
+
}
|
|
11855
|
+
}
|
|
11856
|
+
if (Symbol.dispose) SpaceWeather.prototype[Symbol.dispose] = SpaceWeather.prototype.free;
|
|
11857
|
+
|
|
11348
11858
|
/**
|
|
11349
11859
|
* Canonical quiet-Sun space-weather indices for NRLMSISE-00, mirrored from the
|
|
11350
11860
|
* core so a JS caller can pass moderate-activity defaults to [`atmosphereDensity`]
|
|
@@ -11857,6 +12367,82 @@ export class SppSolution {
|
|
|
11857
12367
|
}
|
|
11858
12368
|
if (Symbol.dispose) SppSolution.prototype[Symbol.dispose] = SppSolution.prototype.free;
|
|
11859
12369
|
|
|
12370
|
+
export class SsrCorrectionStore {
|
|
12371
|
+
__destroy_into_raw() {
|
|
12372
|
+
const ptr = this.__wbg_ptr;
|
|
12373
|
+
this.__wbg_ptr = 0;
|
|
12374
|
+
SsrCorrectionStoreFinalization.unregister(this);
|
|
12375
|
+
return ptr;
|
|
12376
|
+
}
|
|
12377
|
+
free() {
|
|
12378
|
+
const ptr = this.__destroy_into_raw();
|
|
12379
|
+
wasm.__wbg_ssrcorrectionstore_free(ptr, 0);
|
|
12380
|
+
}
|
|
12381
|
+
/**
|
|
12382
|
+
* @param {string} sat
|
|
12383
|
+
* @returns {any}
|
|
12384
|
+
*/
|
|
12385
|
+
clock(sat) {
|
|
12386
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
12387
|
+
const len0 = WASM_VECTOR_LEN;
|
|
12388
|
+
const ret = wasm.ssrcorrectionstore_clock(this.__wbg_ptr, ptr0, len0);
|
|
12389
|
+
if (ret[2]) {
|
|
12390
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
12391
|
+
}
|
|
12392
|
+
return takeFromExternrefTable0(ret[0]);
|
|
12393
|
+
}
|
|
12394
|
+
/**
|
|
12395
|
+
* @param {Uint8Array} bytes
|
|
12396
|
+
* @param {boolean | null | undefined} framed
|
|
12397
|
+
* @param {number} week
|
|
12398
|
+
* @param {number} tow_s
|
|
12399
|
+
* @param {string | null} [time_scale]
|
|
12400
|
+
*/
|
|
12401
|
+
ingest(bytes, framed, week, tow_s, time_scale) {
|
|
12402
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
12403
|
+
const len0 = WASM_VECTOR_LEN;
|
|
12404
|
+
var ptr1 = isLikeNone(time_scale) ? 0 : passStringToWasm0(time_scale, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
12405
|
+
var len1 = WASM_VECTOR_LEN;
|
|
12406
|
+
const ret = wasm.ssrcorrectionstore_ingest(this.__wbg_ptr, ptr0, len0, isLikeNone(framed) ? 0xFFFFFF : framed ? 1 : 0, week, tow_s, ptr1, len1);
|
|
12407
|
+
if (ret[1]) {
|
|
12408
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
12409
|
+
}
|
|
12410
|
+
}
|
|
12411
|
+
constructor() {
|
|
12412
|
+
const ret = wasm.ssrcorrectionstore_new();
|
|
12413
|
+
this.__wbg_ptr = ret;
|
|
12414
|
+
SsrCorrectionStoreFinalization.register(this, this.__wbg_ptr, this);
|
|
12415
|
+
return this;
|
|
12416
|
+
}
|
|
12417
|
+
/**
|
|
12418
|
+
* @param {string} sat
|
|
12419
|
+
* @returns {any}
|
|
12420
|
+
*/
|
|
12421
|
+
orbit(sat) {
|
|
12422
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
12423
|
+
const len0 = WASM_VECTOR_LEN;
|
|
12424
|
+
const ret = wasm.ssrcorrectionstore_orbit(this.__wbg_ptr, ptr0, len0);
|
|
12425
|
+
if (ret[2]) {
|
|
12426
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
12427
|
+
}
|
|
12428
|
+
return takeFromExternrefTable0(ret[0]);
|
|
12429
|
+
}
|
|
12430
|
+
/**
|
|
12431
|
+
* @param {string} sat
|
|
12432
|
+
* @returns {number | undefined}
|
|
12433
|
+
*/
|
|
12434
|
+
uraIndex(sat) {
|
|
12435
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
12436
|
+
const len0 = WASM_VECTOR_LEN;
|
|
12437
|
+
const ret = wasm.ssrcorrectionstore_uraIndex(this.__wbg_ptr, ptr0, len0);
|
|
12438
|
+
if (ret[2]) {
|
|
12439
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
12440
|
+
}
|
|
12441
|
+
return ret[0] === 0xFFFFFF ? undefined : ret[0];
|
|
12442
|
+
}
|
|
12443
|
+
}
|
|
12444
|
+
if (Symbol.dispose) SsrCorrectionStore.prototype[Symbol.dispose] = SsrCorrectionStore.prototype.free;
|
|
12445
|
+
|
|
11860
12446
|
/**
|
|
11861
12447
|
* A batch of Sun and Moon positions, one per epoch: flat row-major `sun` and
|
|
11862
12448
|
* `moon` `Float64Array`s of length `3 * epochCount`, in **metres**.
|
|
@@ -12777,6 +13363,40 @@ export function acquire(samples, prn, options) {
|
|
|
12777
13363
|
return AcquisitionResult.__wrap(ret[0]);
|
|
12778
13364
|
}
|
|
12779
13365
|
|
|
13366
|
+
/**
|
|
13367
|
+
* On-sky angle in degrees between two direction vectors.
|
|
13368
|
+
* @param {Float64Array} a
|
|
13369
|
+
* @param {Float64Array} b
|
|
13370
|
+
* @returns {number}
|
|
13371
|
+
*/
|
|
13372
|
+
export function angularSeparation(a, b) {
|
|
13373
|
+
const ptr0 = passArrayF64ToWasm0(a, wasm.__wbindgen_malloc);
|
|
13374
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13375
|
+
const ptr1 = passArrayF64ToWasm0(b, wasm.__wbindgen_malloc);
|
|
13376
|
+
const len1 = WASM_VECTOR_LEN;
|
|
13377
|
+
const ret = wasm.angularSeparation(ptr0, len0, ptr1, len1);
|
|
13378
|
+
if (ret[2]) {
|
|
13379
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13380
|
+
}
|
|
13381
|
+
return ret[0];
|
|
13382
|
+
}
|
|
13383
|
+
|
|
13384
|
+
/**
|
|
13385
|
+
* On-sky angle in degrees between two `(lonDeg, latDeg)` direction pairs.
|
|
13386
|
+
* @param {number} a_lon_deg
|
|
13387
|
+
* @param {number} a_lat_deg
|
|
13388
|
+
* @param {number} b_lon_deg
|
|
13389
|
+
* @param {number} b_lat_deg
|
|
13390
|
+
* @returns {number}
|
|
13391
|
+
*/
|
|
13392
|
+
export function angularSeparationCoords(a_lon_deg, a_lat_deg, b_lon_deg, b_lat_deg) {
|
|
13393
|
+
const ret = wasm.angularSeparationCoords(a_lon_deg, a_lat_deg, b_lon_deg, b_lat_deg);
|
|
13394
|
+
if (ret[2]) {
|
|
13395
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13396
|
+
}
|
|
13397
|
+
return ret[0];
|
|
13398
|
+
}
|
|
13399
|
+
|
|
12780
13400
|
/**
|
|
12781
13401
|
* Evaluate NRLMSISE-00 neutral-atmosphere density and temperature.
|
|
12782
13402
|
*
|
|
@@ -12816,6 +13436,45 @@ export function atmosphereSpaceWeatherDefaults() {
|
|
|
12816
13436
|
return SpaceWeatherDefaults.__wrap(ret);
|
|
12817
13437
|
}
|
|
12818
13438
|
|
|
13439
|
+
/**
|
|
13440
|
+
* Solar beta angle in degrees from orbit normal and Sun vectors.
|
|
13441
|
+
* @param {Float64Array} orbit_normal
|
|
13442
|
+
* @param {Float64Array} sun
|
|
13443
|
+
* @returns {number}
|
|
13444
|
+
*/
|
|
13445
|
+
export function betaAngle(orbit_normal, sun) {
|
|
13446
|
+
const ptr0 = passArrayF64ToWasm0(orbit_normal, wasm.__wbindgen_malloc);
|
|
13447
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13448
|
+
const ptr1 = passArrayF64ToWasm0(sun, wasm.__wbindgen_malloc);
|
|
13449
|
+
const len1 = WASM_VECTOR_LEN;
|
|
13450
|
+
const ret = wasm.betaAngle(ptr0, len0, ptr1, len1);
|
|
13451
|
+
if (ret[2]) {
|
|
13452
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13453
|
+
}
|
|
13454
|
+
return ret[0];
|
|
13455
|
+
}
|
|
13456
|
+
|
|
13457
|
+
/**
|
|
13458
|
+
* Solar beta angle in degrees from an inertial state and Sun vector.
|
|
13459
|
+
* @param {Float64Array} r
|
|
13460
|
+
* @param {Float64Array} v
|
|
13461
|
+
* @param {Float64Array} sun
|
|
13462
|
+
* @returns {number}
|
|
13463
|
+
*/
|
|
13464
|
+
export function betaAngleFromState(r, v, sun) {
|
|
13465
|
+
const ptr0 = passArrayF64ToWasm0(r, wasm.__wbindgen_malloc);
|
|
13466
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13467
|
+
const ptr1 = passArrayF64ToWasm0(v, wasm.__wbindgen_malloc);
|
|
13468
|
+
const len1 = WASM_VECTOR_LEN;
|
|
13469
|
+
const ptr2 = passArrayF64ToWasm0(sun, wasm.__wbindgen_malloc);
|
|
13470
|
+
const len2 = WASM_VECTOR_LEN;
|
|
13471
|
+
const ret = wasm.betaAngleFromState(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
13472
|
+
if (ret[2]) {
|
|
13473
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13474
|
+
}
|
|
13475
|
+
return ret[0];
|
|
13476
|
+
}
|
|
13477
|
+
|
|
12819
13478
|
/**
|
|
12820
13479
|
* Resolve integer ambiguities with a bounded lattice search.
|
|
12821
13480
|
*
|
|
@@ -12947,6 +13606,32 @@ export function cn0(eirp_dbw, fspl_db, receiver_gt_dbk, other_losses_db) {
|
|
|
12947
13606
|
return ret[0];
|
|
12948
13607
|
}
|
|
12949
13608
|
|
|
13609
|
+
/**
|
|
13610
|
+
* @param {any} coe
|
|
13611
|
+
* @param {RetrogradeFactor | null} [factor]
|
|
13612
|
+
* @returns {any}
|
|
13613
|
+
*/
|
|
13614
|
+
export function coe2eq(coe, factor) {
|
|
13615
|
+
const ret = wasm.coe2eq(coe, isLikeNone(factor) ? 2 : factor);
|
|
13616
|
+
if (ret[2]) {
|
|
13617
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13618
|
+
}
|
|
13619
|
+
return takeFromExternrefTable0(ret[0]);
|
|
13620
|
+
}
|
|
13621
|
+
|
|
13622
|
+
/**
|
|
13623
|
+
* @param {any} coe
|
|
13624
|
+
* @param {RetrogradeFactor | null} [factor]
|
|
13625
|
+
* @returns {any}
|
|
13626
|
+
*/
|
|
13627
|
+
export function coe2mee(coe, factor) {
|
|
13628
|
+
const ret = wasm.coe2mee(coe, isLikeNone(factor) ? 2 : factor);
|
|
13629
|
+
if (ret[2]) {
|
|
13630
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13631
|
+
}
|
|
13632
|
+
return takeFromExternrefTable0(ret[0]);
|
|
13633
|
+
}
|
|
13634
|
+
|
|
12950
13635
|
/**
|
|
12951
13636
|
* Convert classical orbital elements to an inertial Cartesian state.
|
|
12952
13637
|
*
|
|
@@ -13119,6 +13804,35 @@ export function coverageLookAngles(satellites, stations, epoch_unix_us) {
|
|
|
13119
13804
|
return CoverageGrid.__wrap(ret[0]);
|
|
13120
13805
|
}
|
|
13121
13806
|
|
|
13807
|
+
/**
|
|
13808
|
+
* @param {any} rel
|
|
13809
|
+
* @param {number} n_rad_s
|
|
13810
|
+
* @param {number} dt_s
|
|
13811
|
+
* @returns {any}
|
|
13812
|
+
*/
|
|
13813
|
+
export function cwPropagate(rel, n_rad_s, dt_s) {
|
|
13814
|
+
const ret = wasm.cwPropagate(rel, n_rad_s, dt_s);
|
|
13815
|
+
if (ret[2]) {
|
|
13816
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13817
|
+
}
|
|
13818
|
+
return takeFromExternrefTable0(ret[0]);
|
|
13819
|
+
}
|
|
13820
|
+
|
|
13821
|
+
/**
|
|
13822
|
+
* @param {number} n_rad_s
|
|
13823
|
+
* @param {number} dt_s
|
|
13824
|
+
* @returns {Float64Array}
|
|
13825
|
+
*/
|
|
13826
|
+
export function cwStm(n_rad_s, dt_s) {
|
|
13827
|
+
const ret = wasm.cwStm(n_rad_s, dt_s);
|
|
13828
|
+
if (ret[3]) {
|
|
13829
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
13830
|
+
}
|
|
13831
|
+
var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
13832
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
13833
|
+
return v1;
|
|
13834
|
+
}
|
|
13835
|
+
|
|
13122
13836
|
/**
|
|
13123
13837
|
* Decode Compact RINEX (Hatanaka) bytes into plain RINEX OBS text. Throws a
|
|
13124
13838
|
* `TypeError` on non-UTF-8 input and an `Error` on a decode failure.
|
|
@@ -13226,10 +13940,42 @@ export function decodeRtcmMessage(body) {
|
|
|
13226
13940
|
}
|
|
13227
13941
|
|
|
13228
13942
|
/**
|
|
13229
|
-
*
|
|
13230
|
-
* @param {
|
|
13231
|
-
* @returns {
|
|
13232
|
-
*/
|
|
13943
|
+
* @param {Uint8Array} bytes
|
|
13944
|
+
* @param {string | null} [form]
|
|
13945
|
+
* @returns {any}
|
|
13946
|
+
*/
|
|
13947
|
+
export function decodeSbasMessage(bytes, form) {
|
|
13948
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
13949
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13950
|
+
var ptr1 = isLikeNone(form) ? 0 : passStringToWasm0(form, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
13951
|
+
var len1 = WASM_VECTOR_LEN;
|
|
13952
|
+
const ret = wasm.decodeSbasMessage(ptr0, len0, ptr1, len1);
|
|
13953
|
+
if (ret[2]) {
|
|
13954
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13955
|
+
}
|
|
13956
|
+
return takeFromExternrefTable0(ret[0]);
|
|
13957
|
+
}
|
|
13958
|
+
|
|
13959
|
+
/**
|
|
13960
|
+
* @param {Uint8Array} bytes
|
|
13961
|
+
* @param {boolean | null} [framed]
|
|
13962
|
+
* @returns {any}
|
|
13963
|
+
*/
|
|
13964
|
+
export function decodeSsr(bytes, framed) {
|
|
13965
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
13966
|
+
const len0 = WASM_VECTOR_LEN;
|
|
13967
|
+
const ret = wasm.decodeSsr(ptr0, len0, isLikeNone(framed) ? 0xFFFFFF : framed ? 1 : 0);
|
|
13968
|
+
if (ret[2]) {
|
|
13969
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
13970
|
+
}
|
|
13971
|
+
return takeFromExternrefTable0(ret[0]);
|
|
13972
|
+
}
|
|
13973
|
+
|
|
13974
|
+
/**
|
|
13975
|
+
* Standard dual-frequency ionosphere-free carrier pair for a constellation.
|
|
13976
|
+
* @param {GnssSystem} system
|
|
13977
|
+
* @returns {CarrierPair | undefined}
|
|
13978
|
+
*/
|
|
13233
13979
|
export function defaultPair(system) {
|
|
13234
13980
|
const ret = wasm.defaultPair(system);
|
|
13235
13981
|
return ret === 0 ? undefined : CarrierPair.__wrap(ret);
|
|
@@ -13444,6 +14190,32 @@ export function earthAngularRadius(satellite_position_km) {
|
|
|
13444
14190
|
return v2;
|
|
13445
14191
|
}
|
|
13446
14192
|
|
|
14193
|
+
/**
|
|
14194
|
+
* @param {number} eccentric_anomaly_rad
|
|
14195
|
+
* @param {number} eccentricity
|
|
14196
|
+
* @returns {number}
|
|
14197
|
+
*/
|
|
14198
|
+
export function eccentricToMean(eccentric_anomaly_rad, eccentricity) {
|
|
14199
|
+
const ret = wasm.eccentricToMean(eccentric_anomaly_rad, eccentricity);
|
|
14200
|
+
if (ret[2]) {
|
|
14201
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14202
|
+
}
|
|
14203
|
+
return ret[0];
|
|
14204
|
+
}
|
|
14205
|
+
|
|
14206
|
+
/**
|
|
14207
|
+
* @param {number} eccentric_anomaly_rad
|
|
14208
|
+
* @param {number} eccentricity
|
|
14209
|
+
* @returns {number}
|
|
14210
|
+
*/
|
|
14211
|
+
export function eccentricToTrue(eccentric_anomaly_rad, eccentricity) {
|
|
14212
|
+
const ret = wasm.eccentricToTrue(eccentric_anomaly_rad, eccentricity);
|
|
14213
|
+
if (ret[2]) {
|
|
14214
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14215
|
+
}
|
|
14216
|
+
return ret[0];
|
|
14217
|
+
}
|
|
14218
|
+
|
|
13447
14219
|
/**
|
|
13448
14220
|
* Convert a batch of ITRS (ECEF) positions to geodetic coordinates.
|
|
13449
14221
|
*
|
|
@@ -13684,6 +14456,31 @@ export function encounterPlaneCovariance(frame, covariance_km2) {
|
|
|
13684
14456
|
return v2;
|
|
13685
14457
|
}
|
|
13686
14458
|
|
|
14459
|
+
/**
|
|
14460
|
+
* @param {any} eq
|
|
14461
|
+
* @returns {any}
|
|
14462
|
+
*/
|
|
14463
|
+
export function eq2coe(eq) {
|
|
14464
|
+
const ret = wasm.eq2coe(eq);
|
|
14465
|
+
if (ret[2]) {
|
|
14466
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14467
|
+
}
|
|
14468
|
+
return takeFromExternrefTable0(ret[0]);
|
|
14469
|
+
}
|
|
14470
|
+
|
|
14471
|
+
/**
|
|
14472
|
+
* @param {any} eq
|
|
14473
|
+
* @param {number} mu_km3_s2
|
|
14474
|
+
* @returns {any}
|
|
14475
|
+
*/
|
|
14476
|
+
export function eq2rv(eq, mu_km3_s2) {
|
|
14477
|
+
const ret = wasm.eq2rv(eq, mu_km3_s2);
|
|
14478
|
+
if (ret[2]) {
|
|
14479
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14480
|
+
}
|
|
14481
|
+
return takeFromExternrefTable0(ret[0]);
|
|
14482
|
+
}
|
|
14483
|
+
|
|
13687
14484
|
/**
|
|
13688
14485
|
* Confidence ellipse from an arbitrary 2x2 covariance block.
|
|
13689
14486
|
*
|
|
@@ -13706,6 +14503,20 @@ export function errorEllipse2(covariance, confidence) {
|
|
|
13706
14503
|
return ErrorEllipse2.__wrap(ret[0]);
|
|
13707
14504
|
}
|
|
13708
14505
|
|
|
14506
|
+
/**
|
|
14507
|
+
* @param {DragForce} drag
|
|
14508
|
+
* @param {any} request
|
|
14509
|
+
* @returns {any}
|
|
14510
|
+
*/
|
|
14511
|
+
export function estimateDecay(drag, request) {
|
|
14512
|
+
_assertClass(drag, DragForce);
|
|
14513
|
+
const ret = wasm.estimateDecay(drag.__wbg_ptr, request);
|
|
14514
|
+
if (ret[2]) {
|
|
14515
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
14516
|
+
}
|
|
14517
|
+
return takeFromExternrefTable0(ret[0]);
|
|
14518
|
+
}
|
|
14519
|
+
|
|
13709
14520
|
/**
|
|
13710
14521
|
* Find Moon elevation threshold crossings (moonrise / moonset) over a UTC
|
|
13711
14522
|
* window.
|
|
@@ -14055,7 +14866,7 @@ export function fromCelestrakJson(json, system) {
|
|
|
14055
14866
|
* skipping (rather than throwing on) entries that do not resolve.
|
|
14056
14867
|
*
|
|
14057
14868
|
* The lenient sibling of [`fromCelestrakJson`]: feed it a raw combined CelesTrak
|
|
14058
|
-
* `gnss` feed and it returns `{ records, skipped }
|
|
14869
|
+
* `gnss` feed and it returns `{ records, skipped }`. `records` is the `Record[]`
|
|
14059
14870
|
* for `system` (the same shape `fromCelestrakJson` returns, sorted by
|
|
14060
14871
|
* `(system, prn)`), and `skipped` is a `SkippedOmm[]` of the entries whose
|
|
14061
14872
|
* `OBJECT_NAME` did not resolve to a PRN for `system` (another constellation's
|
|
@@ -14387,7 +15198,7 @@ export function gnssSp3Id(system, prn) {
|
|
|
14387
15198
|
}
|
|
14388
15199
|
|
|
14389
15200
|
/**
|
|
14390
|
-
*
|
|
15201
|
+
* Canonical core display label for a constellation, e.g. `"GPS"`.
|
|
14391
15202
|
* @param {GnssSystem} system
|
|
14392
15203
|
* @returns {string}
|
|
14393
15204
|
*/
|
|
@@ -14790,7 +15601,7 @@ export function kurtosis(x, fisher, bias) {
|
|
|
14790
15601
|
* `covariance` is its `n x n` covariance as a row-major `number[][]`, and
|
|
14791
15602
|
* `ratioThreshold` is the ratio-test acceptance threshold (RTKLIB's default is
|
|
14792
15603
|
* `3.0`). Finds the true integer-least-squares optimum and runner-up for any
|
|
14793
|
-
* positive-definite covariance
|
|
15604
|
+
* positive-definite covariance. No search box, no combinatorial blow-up.
|
|
14794
15605
|
* Returns an `IlsResult`. Throws a `TypeError` on a malformed shape, a
|
|
14795
15606
|
* `RangeError` on a non-finite or out-of-domain input, and an `Error` on a
|
|
14796
15607
|
* singular covariance or a non-converging search.
|
|
@@ -15060,6 +15871,64 @@ export function loadAntex(bytes) {
|
|
|
15060
15871
|
return Antex.__wrap(ret[0]);
|
|
15061
15872
|
}
|
|
15062
15873
|
|
|
15874
|
+
/**
|
|
15875
|
+
* @param {Uint8Array} bytes
|
|
15876
|
+
* @returns {BiasSet}
|
|
15877
|
+
*/
|
|
15878
|
+
export function loadBiasSinex(bytes) {
|
|
15879
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
15880
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15881
|
+
const ret = wasm.loadBiasSinex(ptr0, len0);
|
|
15882
|
+
if (ret[2]) {
|
|
15883
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
15884
|
+
}
|
|
15885
|
+
return BiasSet.__wrap(ret[0]);
|
|
15886
|
+
}
|
|
15887
|
+
|
|
15888
|
+
/**
|
|
15889
|
+
* @param {Uint8Array} bytes
|
|
15890
|
+
* @returns {BiasSet}
|
|
15891
|
+
*/
|
|
15892
|
+
export function loadBiasSinexLossy(bytes) {
|
|
15893
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
15894
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15895
|
+
const ret = wasm.loadBiasSinexLossy(ptr0, len0);
|
|
15896
|
+
if (ret[2]) {
|
|
15897
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
15898
|
+
}
|
|
15899
|
+
return BiasSet.__wrap(ret[0]);
|
|
15900
|
+
}
|
|
15901
|
+
|
|
15902
|
+
/**
|
|
15903
|
+
* @param {Uint8Array} bytes
|
|
15904
|
+
* @param {any} options
|
|
15905
|
+
* @returns {BiasSet}
|
|
15906
|
+
*/
|
|
15907
|
+
export function loadCodeDcb(bytes, options) {
|
|
15908
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
15909
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15910
|
+
const ret = wasm.loadCodeDcb(ptr0, len0, options);
|
|
15911
|
+
if (ret[2]) {
|
|
15912
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
15913
|
+
}
|
|
15914
|
+
return BiasSet.__wrap(ret[0]);
|
|
15915
|
+
}
|
|
15916
|
+
|
|
15917
|
+
/**
|
|
15918
|
+
* @param {Uint8Array} bytes
|
|
15919
|
+
* @param {any} options
|
|
15920
|
+
* @returns {BiasSet}
|
|
15921
|
+
*/
|
|
15922
|
+
export function loadCodeDcbLossy(bytes, options) {
|
|
15923
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
15924
|
+
const len0 = WASM_VECTOR_LEN;
|
|
15925
|
+
const ret = wasm.loadCodeDcbLossy(ptr0, len0, options);
|
|
15926
|
+
if (ret[2]) {
|
|
15927
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
15928
|
+
}
|
|
15929
|
+
return BiasSet.__wrap(ret[0]);
|
|
15930
|
+
}
|
|
15931
|
+
|
|
15063
15932
|
/**
|
|
15064
15933
|
* Alias of [`decodeCrinex`] for callers that read a file as bytes.
|
|
15065
15934
|
* @param {Uint8Array} bytes
|
|
@@ -15178,6 +16047,137 @@ export function loadSp3(bytes) {
|
|
|
15178
16047
|
return Sp3.__wrap(ret[0]);
|
|
15179
16048
|
}
|
|
15180
16049
|
|
|
16050
|
+
/**
|
|
16051
|
+
* @param {bigint} start_unix_us
|
|
16052
|
+
* @param {bigint} end_unix_us
|
|
16053
|
+
* @param {number} step_s
|
|
16054
|
+
* @param {number} tolerance_s
|
|
16055
|
+
* @returns {any}
|
|
16056
|
+
*/
|
|
16057
|
+
export function lunarSolarEclipses(start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
16058
|
+
const ret = wasm.lunarSolarEclipses(start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
16059
|
+
if (ret[2]) {
|
|
16060
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16061
|
+
}
|
|
16062
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16063
|
+
}
|
|
16064
|
+
|
|
16065
|
+
/**
|
|
16066
|
+
* @param {Spk} spk
|
|
16067
|
+
* @param {bigint} start_unix_us
|
|
16068
|
+
* @param {bigint} end_unix_us
|
|
16069
|
+
* @param {number} step_s
|
|
16070
|
+
* @param {number} tolerance_s
|
|
16071
|
+
* @returns {any}
|
|
16072
|
+
*/
|
|
16073
|
+
export function lunarSolarEclipsesSpk(spk, start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
16074
|
+
_assertClass(spk, Spk);
|
|
16075
|
+
const ret = wasm.lunarSolarEclipsesSpk(spk.__wbg_ptr, start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
16076
|
+
if (ret[2]) {
|
|
16077
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16078
|
+
}
|
|
16079
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16080
|
+
}
|
|
16081
|
+
|
|
16082
|
+
/**
|
|
16083
|
+
* @param {Float64Array} position_km
|
|
16084
|
+
* @param {Float64Array} velocity_km_s
|
|
16085
|
+
* @returns {Float64Array}
|
|
16086
|
+
*/
|
|
16087
|
+
export function lvlhRotation(position_km, velocity_km_s) {
|
|
16088
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
16089
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16090
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
16091
|
+
const len1 = WASM_VECTOR_LEN;
|
|
16092
|
+
const ret = wasm.lvlhRotation(ptr0, len0, ptr1, len1);
|
|
16093
|
+
if (ret[3]) {
|
|
16094
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
16095
|
+
}
|
|
16096
|
+
var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
16097
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
16098
|
+
return v3;
|
|
16099
|
+
}
|
|
16100
|
+
|
|
16101
|
+
/**
|
|
16102
|
+
* @param {number} radius_km
|
|
16103
|
+
* @returns {number}
|
|
16104
|
+
*/
|
|
16105
|
+
export function meanMotionCircular(radius_km) {
|
|
16106
|
+
const ret = wasm.meanMotionCircular(radius_km);
|
|
16107
|
+
if (ret[2]) {
|
|
16108
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16109
|
+
}
|
|
16110
|
+
return ret[0];
|
|
16111
|
+
}
|
|
16112
|
+
|
|
16113
|
+
/**
|
|
16114
|
+
* @param {Float64Array} position_km
|
|
16115
|
+
* @param {Float64Array} velocity_km_s
|
|
16116
|
+
* @returns {number}
|
|
16117
|
+
*/
|
|
16118
|
+
export function meanMotionFromState(position_km, velocity_km_s) {
|
|
16119
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
16120
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16121
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
16122
|
+
const len1 = WASM_VECTOR_LEN;
|
|
16123
|
+
const ret = wasm.meanMotionFromState(ptr0, len0, ptr1, len1);
|
|
16124
|
+
if (ret[2]) {
|
|
16125
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16126
|
+
}
|
|
16127
|
+
return ret[0];
|
|
16128
|
+
}
|
|
16129
|
+
|
|
16130
|
+
/**
|
|
16131
|
+
* @param {number} mean_anomaly_rad
|
|
16132
|
+
* @param {number} eccentricity
|
|
16133
|
+
* @returns {number}
|
|
16134
|
+
*/
|
|
16135
|
+
export function meanToEccentric(mean_anomaly_rad, eccentricity) {
|
|
16136
|
+
const ret = wasm.meanToEccentric(mean_anomaly_rad, eccentricity);
|
|
16137
|
+
if (ret[2]) {
|
|
16138
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16139
|
+
}
|
|
16140
|
+
return ret[0];
|
|
16141
|
+
}
|
|
16142
|
+
|
|
16143
|
+
/**
|
|
16144
|
+
* @param {number} mean_anomaly_rad
|
|
16145
|
+
* @param {number} eccentricity
|
|
16146
|
+
* @returns {number}
|
|
16147
|
+
*/
|
|
16148
|
+
export function meanToTrue(mean_anomaly_rad, eccentricity) {
|
|
16149
|
+
const ret = wasm.meanToTrue(mean_anomaly_rad, eccentricity);
|
|
16150
|
+
if (ret[2]) {
|
|
16151
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16152
|
+
}
|
|
16153
|
+
return ret[0];
|
|
16154
|
+
}
|
|
16155
|
+
|
|
16156
|
+
/**
|
|
16157
|
+
* @param {any} mee
|
|
16158
|
+
* @returns {any}
|
|
16159
|
+
*/
|
|
16160
|
+
export function mee2coe(mee) {
|
|
16161
|
+
const ret = wasm.mee2coe(mee);
|
|
16162
|
+
if (ret[2]) {
|
|
16163
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16164
|
+
}
|
|
16165
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16166
|
+
}
|
|
16167
|
+
|
|
16168
|
+
/**
|
|
16169
|
+
* @param {any} mee
|
|
16170
|
+
* @param {number} mu_km3_s2
|
|
16171
|
+
* @returns {any}
|
|
16172
|
+
*/
|
|
16173
|
+
export function mee2rv(mee, mu_km3_s2) {
|
|
16174
|
+
const ret = wasm.mee2rv(mee, mu_km3_s2);
|
|
16175
|
+
if (ret[2]) {
|
|
16176
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16177
|
+
}
|
|
16178
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16179
|
+
}
|
|
16180
|
+
|
|
15181
16181
|
/**
|
|
15182
16182
|
* Melbourne-Wubbena combination, metres.
|
|
15183
16183
|
* @param {number} phi1_cycles
|
|
@@ -15237,6 +16237,46 @@ export function mergeSp3(sources, options) {
|
|
|
15237
16237
|
return Sp3MergeResult.__wrap(ret[0]);
|
|
15238
16238
|
}
|
|
15239
16239
|
|
|
16240
|
+
/**
|
|
16241
|
+
* @param {string} body
|
|
16242
|
+
* @param {any} station
|
|
16243
|
+
* @param {bigint} start_unix_us
|
|
16244
|
+
* @param {bigint} end_unix_us
|
|
16245
|
+
* @param {number} step_s
|
|
16246
|
+
* @param {number} tolerance_s
|
|
16247
|
+
* @returns {any}
|
|
16248
|
+
*/
|
|
16249
|
+
export function meridianTransits(body, station, start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
16250
|
+
const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
16251
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16252
|
+
const ret = wasm.meridianTransits(ptr0, len0, station, start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
16253
|
+
if (ret[2]) {
|
|
16254
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16255
|
+
}
|
|
16256
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16257
|
+
}
|
|
16258
|
+
|
|
16259
|
+
/**
|
|
16260
|
+
* @param {Spk} spk
|
|
16261
|
+
* @param {string} body
|
|
16262
|
+
* @param {any} station
|
|
16263
|
+
* @param {bigint} start_unix_us
|
|
16264
|
+
* @param {bigint} end_unix_us
|
|
16265
|
+
* @param {number} step_s
|
|
16266
|
+
* @param {number} tolerance_s
|
|
16267
|
+
* @returns {any}
|
|
16268
|
+
*/
|
|
16269
|
+
export function meridianTransitsSpk(spk, body, station, start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
16270
|
+
_assertClass(spk, Spk);
|
|
16271
|
+
const ptr0 = passStringToWasm0(body, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
16272
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16273
|
+
const ret = wasm.meridianTransitsSpk(spk.__wbg_ptr, ptr0, len0, station, start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
16274
|
+
if (ret[2]) {
|
|
16275
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16276
|
+
}
|
|
16277
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16278
|
+
}
|
|
16279
|
+
|
|
15240
16280
|
/**
|
|
15241
16281
|
* Mean, variance, skewness, and excess kurtosis of a residual set in one pass.
|
|
15242
16282
|
*
|
|
@@ -15338,6 +16378,38 @@ export function moonIllumination(latitude_deg, longitude_deg, altitude_km, epoch
|
|
|
15338
16378
|
return takeFromExternrefTable0(ret[0]);
|
|
15339
16379
|
}
|
|
15340
16380
|
|
|
16381
|
+
/**
|
|
16382
|
+
* @param {bigint} start_unix_us
|
|
16383
|
+
* @param {bigint} end_unix_us
|
|
16384
|
+
* @param {number} step_s
|
|
16385
|
+
* @param {number} tolerance_s
|
|
16386
|
+
* @returns {any}
|
|
16387
|
+
*/
|
|
16388
|
+
export function moonPhases(start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
16389
|
+
const ret = wasm.moonPhases(start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
16390
|
+
if (ret[2]) {
|
|
16391
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16392
|
+
}
|
|
16393
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16394
|
+
}
|
|
16395
|
+
|
|
16396
|
+
/**
|
|
16397
|
+
* @param {Spk} spk
|
|
16398
|
+
* @param {bigint} start_unix_us
|
|
16399
|
+
* @param {bigint} end_unix_us
|
|
16400
|
+
* @param {number} step_s
|
|
16401
|
+
* @param {number} tolerance_s
|
|
16402
|
+
* @returns {any}
|
|
16403
|
+
*/
|
|
16404
|
+
export function moonPhasesSpk(spk, start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
16405
|
+
_assertClass(spk, Spk);
|
|
16406
|
+
const ret = wasm.moonPhasesSpk(spk.__wbg_ptr, start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
16407
|
+
if (ret[2]) {
|
|
16408
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16409
|
+
}
|
|
16410
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16411
|
+
}
|
|
16412
|
+
|
|
15341
16413
|
/**
|
|
15342
16414
|
* Narrow-lane code combination, metres.
|
|
15343
16415
|
* @param {number} p1_m
|
|
@@ -15525,6 +16597,64 @@ export function observationKindLabel(kind) {
|
|
|
15525
16597
|
}
|
|
15526
16598
|
}
|
|
15527
16599
|
|
|
16600
|
+
/**
|
|
16601
|
+
* Observe `"sun"` or `"moon"` from a geodetic station at a UTC unix microsecond epoch.
|
|
16602
|
+
* @param {any} station
|
|
16603
|
+
* @param {bigint} epoch_unix_us
|
|
16604
|
+
* @param {string} target
|
|
16605
|
+
* @param {any} options
|
|
16606
|
+
* @returns {any}
|
|
16607
|
+
*/
|
|
16608
|
+
export function observe(station, epoch_unix_us, target, options) {
|
|
16609
|
+
const ptr0 = passStringToWasm0(target, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
16610
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16611
|
+
const ret = wasm.observe(station, epoch_unix_us, ptr0, len0, options);
|
|
16612
|
+
if (ret[2]) {
|
|
16613
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16614
|
+
}
|
|
16615
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16616
|
+
}
|
|
16617
|
+
|
|
16618
|
+
/**
|
|
16619
|
+
* Observe a caller-supplied SSB-centered target state using an SPK for Earth and Sun.
|
|
16620
|
+
* @param {any} station
|
|
16621
|
+
* @param {bigint} epoch_unix_us
|
|
16622
|
+
* @param {Spk} spk
|
|
16623
|
+
* @param {Float64Array} position_km
|
|
16624
|
+
* @param {Float64Array} velocity_km_s
|
|
16625
|
+
* @param {any} options
|
|
16626
|
+
* @returns {any}
|
|
16627
|
+
*/
|
|
16628
|
+
export function observeBarycentricState(station, epoch_unix_us, spk, position_km, velocity_km_s, options) {
|
|
16629
|
+
_assertClass(spk, Spk);
|
|
16630
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
16631
|
+
const len0 = WASM_VECTOR_LEN;
|
|
16632
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
16633
|
+
const len1 = WASM_VECTOR_LEN;
|
|
16634
|
+
const ret = wasm.observeBarycentricState(station, epoch_unix_us, spk.__wbg_ptr, ptr0, len0, ptr1, len1, options);
|
|
16635
|
+
if (ret[2]) {
|
|
16636
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16637
|
+
}
|
|
16638
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16639
|
+
}
|
|
16640
|
+
|
|
16641
|
+
/**
|
|
16642
|
+
* Observe an SPK target body by NAIF id using default full-chain options.
|
|
16643
|
+
* @param {any} station
|
|
16644
|
+
* @param {bigint} epoch_unix_us
|
|
16645
|
+
* @param {Spk} spk
|
|
16646
|
+
* @param {number} naif_id
|
|
16647
|
+
* @returns {any}
|
|
16648
|
+
*/
|
|
16649
|
+
export function observeSpkBody(station, epoch_unix_us, spk, naif_id) {
|
|
16650
|
+
_assertClass(spk, Spk);
|
|
16651
|
+
const ret = wasm.observeSpkBody(station, epoch_unix_us, spk.__wbg_ptr, naif_id);
|
|
16652
|
+
if (ret[2]) {
|
|
16653
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
16654
|
+
}
|
|
16655
|
+
return takeFromExternrefTable0(ret[0]);
|
|
16656
|
+
}
|
|
16657
|
+
|
|
15528
16658
|
/**
|
|
15529
16659
|
* Ocean tide loading displacement of an ITRF station, metres (ECEF).
|
|
15530
16660
|
*
|
|
@@ -15938,6 +17068,45 @@ export function phaseMeters(phi_cycles, f_hz) {
|
|
|
15938
17068
|
return ret[0];
|
|
15939
17069
|
}
|
|
15940
17070
|
|
|
17071
|
+
/**
|
|
17072
|
+
* @param {Spk} spk
|
|
17073
|
+
* @param {string} planet
|
|
17074
|
+
* @param {string} kind
|
|
17075
|
+
* @param {bigint} start_unix_us
|
|
17076
|
+
* @param {bigint} end_unix_us
|
|
17077
|
+
* @param {number} step_s
|
|
17078
|
+
* @param {number} tolerance_s
|
|
17079
|
+
* @returns {any}
|
|
17080
|
+
*/
|
|
17081
|
+
export function planetaryEvents(spk, planet, kind, start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
17082
|
+
_assertClass(spk, Spk);
|
|
17083
|
+
const ptr0 = passStringToWasm0(planet, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17084
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17085
|
+
const ptr1 = passStringToWasm0(kind, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17086
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17087
|
+
const ret = wasm.planetaryEvents(spk.__wbg_ptr, ptr0, len0, ptr1, len1, start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
17088
|
+
if (ret[2]) {
|
|
17089
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17090
|
+
}
|
|
17091
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17092
|
+
}
|
|
17093
|
+
|
|
17094
|
+
/**
|
|
17095
|
+
* Position angle in degrees from North through East.
|
|
17096
|
+
* @param {number} from_lon_deg
|
|
17097
|
+
* @param {number} from_lat_deg
|
|
17098
|
+
* @param {number} to_lon_deg
|
|
17099
|
+
* @param {number} to_lat_deg
|
|
17100
|
+
* @returns {number}
|
|
17101
|
+
*/
|
|
17102
|
+
export function positionAngle(from_lon_deg, from_lat_deg, to_lon_deg, to_lat_deg) {
|
|
17103
|
+
const ret = wasm.positionAngle(from_lon_deg, from_lat_deg, to_lon_deg, to_lat_deg);
|
|
17104
|
+
if (ret[2]) {
|
|
17105
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17106
|
+
}
|
|
17107
|
+
return ret[0];
|
|
17108
|
+
}
|
|
17109
|
+
|
|
15941
17110
|
/**
|
|
15942
17111
|
* Precompute static PPP correction tables for a precise-orbit arc.
|
|
15943
17112
|
*
|
|
@@ -15956,17 +17125,59 @@ export function phaseMeters(phi_cycles, f_hz) {
|
|
|
15956
17125
|
* @param {any} options
|
|
15957
17126
|
* @returns {any}
|
|
15958
17127
|
*/
|
|
15959
|
-
export function pppCorrections(sp3, epochs, receiver_ecef_m, options) {
|
|
17128
|
+
export function pppCorrections(sp3, epochs, receiver_ecef_m, options) {
|
|
17129
|
+
_assertClass(sp3, Sp3);
|
|
17130
|
+
const ptr0 = passArrayF64ToWasm0(receiver_ecef_m, wasm.__wbindgen_malloc);
|
|
17131
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17132
|
+
const ret = wasm.pppCorrections(sp3.__wbg_ptr, epochs, ptr0, len0, options);
|
|
17133
|
+
if (ret[2]) {
|
|
17134
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17135
|
+
}
|
|
17136
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17137
|
+
}
|
|
17138
|
+
|
|
17139
|
+
/**
|
|
17140
|
+
* @param {Sp3} sp3
|
|
17141
|
+
* @param {any} epochs
|
|
17142
|
+
* @param {Float64Array} receiver_ecef_m
|
|
17143
|
+
* @param {any} options
|
|
17144
|
+
* @param {BiasSet} bias_set
|
|
17145
|
+
* @param {any} code_bias
|
|
17146
|
+
* @returns {any}
|
|
17147
|
+
*/
|
|
17148
|
+
export function pppCorrectionsWithCodeBias(sp3, epochs, receiver_ecef_m, options, bias_set, code_bias) {
|
|
15960
17149
|
_assertClass(sp3, Sp3);
|
|
15961
17150
|
const ptr0 = passArrayF64ToWasm0(receiver_ecef_m, wasm.__wbindgen_malloc);
|
|
15962
17151
|
const len0 = WASM_VECTOR_LEN;
|
|
15963
|
-
|
|
17152
|
+
_assertClass(bias_set, BiasSet);
|
|
17153
|
+
const ret = wasm.pppCorrectionsWithCodeBias(sp3.__wbg_ptr, epochs, ptr0, len0, options, bias_set.__wbg_ptr, code_bias);
|
|
15964
17154
|
if (ret[2]) {
|
|
15965
17155
|
throw takeFromExternrefTable0(ret[1]);
|
|
15966
17156
|
}
|
|
15967
17157
|
return takeFromExternrefTable0(ret[0]);
|
|
15968
17158
|
}
|
|
15969
17159
|
|
|
17160
|
+
/**
|
|
17161
|
+
* Build a sample-backed precise-ephemeris source from an array of samples.
|
|
17162
|
+
*
|
|
17163
|
+
* `samples` is an array of `{ sat, epoch, positionEcefM, clockS?, clockEvent? }`
|
|
17164
|
+
* objects (see the sample field docs). Samples are grouped by satellite in their
|
|
17165
|
+
* supplied order; each satellite needs at least two strictly time-increasing
|
|
17166
|
+
* samples. Throws a `TypeError` for a malformed object or bad satellite token
|
|
17167
|
+
* and a `RangeError` for a non-finite epoch or a source validation failure
|
|
17168
|
+
* (empty input, a single-sample satellite, non-monotonic epochs, a non-finite
|
|
17169
|
+
* sample). Delegates to `sidereon_core::sp3::PreciseEphemerisSamples::from_samples`.
|
|
17170
|
+
* @param {any} samples
|
|
17171
|
+
* @returns {PreciseEphemerisSampleSource}
|
|
17172
|
+
*/
|
|
17173
|
+
export function preciseEphemerisSamplesFromSamples(samples) {
|
|
17174
|
+
const ret = wasm.preciseEphemerisSamplesFromSamples(samples);
|
|
17175
|
+
if (ret[2]) {
|
|
17176
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17177
|
+
}
|
|
17178
|
+
return PreciseEphemerisSampleSource.__wrap(ret[0]);
|
|
17179
|
+
}
|
|
17180
|
+
|
|
15970
17181
|
/**
|
|
15971
17182
|
* Predict observables for many `(satellite, receiver, epoch)` requests from a
|
|
15972
17183
|
* broadcast ephemeris store, serially. See [`predictBatchSp3`] for the argument
|
|
@@ -16080,6 +17291,20 @@ export function propagateBatch(satellites, epochs_unix_us) {
|
|
|
16080
17291
|
return FleetPropagation.__wrap(ret[0]);
|
|
16081
17292
|
}
|
|
16082
17293
|
|
|
17294
|
+
/**
|
|
17295
|
+
* @param {any} coe
|
|
17296
|
+
* @param {number} mu_km3_s2
|
|
17297
|
+
* @param {number} dt_s
|
|
17298
|
+
* @returns {any}
|
|
17299
|
+
*/
|
|
17300
|
+
export function propagateKepler(coe, mu_km3_s2, dt_s) {
|
|
17301
|
+
const ret = wasm.propagateKepler(coe, mu_km3_s2, dt_s);
|
|
17302
|
+
if (ret[2]) {
|
|
17303
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17304
|
+
}
|
|
17305
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17306
|
+
}
|
|
17307
|
+
|
|
16083
17308
|
/**
|
|
16084
17309
|
* Numerically propagate an ECI Cartesian state and sample it at a grid of
|
|
16085
17310
|
* epochs.
|
|
@@ -16168,6 +17393,19 @@ export function rangeRateToDoppler(range_rate_m_s, carrier_hz) {
|
|
|
16168
17393
|
return ret[0];
|
|
16169
17394
|
}
|
|
16170
17395
|
|
|
17396
|
+
/**
|
|
17397
|
+
* @param {any} chief
|
|
17398
|
+
* @param {any} deputy
|
|
17399
|
+
* @returns {any}
|
|
17400
|
+
*/
|
|
17401
|
+
export function relativeState(chief, deputy) {
|
|
17402
|
+
const ret = wasm.relativeState(chief, deputy);
|
|
17403
|
+
if (ret[2]) {
|
|
17404
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17405
|
+
}
|
|
17406
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17407
|
+
}
|
|
17408
|
+
|
|
16171
17409
|
/**
|
|
16172
17410
|
* Build a sampled GPS C/A code replica, an `Int8Array`.
|
|
16173
17411
|
* @param {bigint} prn
|
|
@@ -16184,6 +17422,25 @@ export function replica(prn, options) {
|
|
|
16184
17422
|
return v1;
|
|
16185
17423
|
}
|
|
16186
17424
|
|
|
17425
|
+
/**
|
|
17426
|
+
* @param {Float64Array} position_km
|
|
17427
|
+
* @param {Float64Array} velocity_km_s
|
|
17428
|
+
* @returns {Float64Array}
|
|
17429
|
+
*/
|
|
17430
|
+
export function ricRotation(position_km, velocity_km_s) {
|
|
17431
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
17432
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17433
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
17434
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17435
|
+
const ret = wasm.ricRotation(ptr0, len0, ptr1, len1);
|
|
17436
|
+
if (ret[3]) {
|
|
17437
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
17438
|
+
}
|
|
17439
|
+
var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
17440
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
17441
|
+
return v3;
|
|
17442
|
+
}
|
|
17443
|
+
|
|
16187
17444
|
/**
|
|
16188
17445
|
* RINEX observation band frequency in hertz for a system and band digit.
|
|
16189
17446
|
* @param {GnssSystem} system
|
|
@@ -16218,6 +17475,25 @@ export function rinexBandWavelengthM(system, band, glonass_channel) {
|
|
|
16218
17475
|
return ret[0] === 0 ? undefined : ret[1];
|
|
16219
17476
|
}
|
|
16220
17477
|
|
|
17478
|
+
/**
|
|
17479
|
+
* @param {Float64Array} position_km
|
|
17480
|
+
* @param {Float64Array} velocity_km_s
|
|
17481
|
+
* @returns {Float64Array}
|
|
17482
|
+
*/
|
|
17483
|
+
export function rswRotation(position_km, velocity_km_s) {
|
|
17484
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
17485
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17486
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
17487
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17488
|
+
const ret = wasm.rswRotation(ptr0, len0, ptr1, len1);
|
|
17489
|
+
if (ret[3]) {
|
|
17490
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
17491
|
+
}
|
|
17492
|
+
var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
17493
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
17494
|
+
return v3;
|
|
17495
|
+
}
|
|
17496
|
+
|
|
16221
17497
|
/**
|
|
16222
17498
|
* Read the 12-bit RTCM message number from a message body.
|
|
16223
17499
|
*
|
|
@@ -16236,6 +17512,25 @@ export function rtcmMessageNumber(body) {
|
|
|
16236
17512
|
return ret[0];
|
|
16237
17513
|
}
|
|
16238
17514
|
|
|
17515
|
+
/**
|
|
17516
|
+
* @param {Float64Array} position_km
|
|
17517
|
+
* @param {Float64Array} velocity_km_s
|
|
17518
|
+
* @returns {Float64Array}
|
|
17519
|
+
*/
|
|
17520
|
+
export function rtnRotation(position_km, velocity_km_s) {
|
|
17521
|
+
const ptr0 = passArrayF64ToWasm0(position_km, wasm.__wbindgen_malloc);
|
|
17522
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17523
|
+
const ptr1 = passArrayF64ToWasm0(velocity_km_s, wasm.__wbindgen_malloc);
|
|
17524
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17525
|
+
const ret = wasm.rtnRotation(ptr0, len0, ptr1, len1);
|
|
17526
|
+
if (ret[3]) {
|
|
17527
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
17528
|
+
}
|
|
17529
|
+
var v3 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
|
|
17530
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
|
|
17531
|
+
return v3;
|
|
17532
|
+
}
|
|
17533
|
+
|
|
16239
17534
|
/**
|
|
16240
17535
|
* Transform a 3x3 RTN covariance (flat row-major length 9) to ECI for the given
|
|
16241
17536
|
* orbit state. Returns a flat row-major length-9 `Float64Array`.
|
|
@@ -16286,6 +17581,82 @@ export function rv2coe(r, v, mu) {
|
|
|
16286
17581
|
return takeFromExternrefTable0(ret[0]);
|
|
16287
17582
|
}
|
|
16288
17583
|
|
|
17584
|
+
/**
|
|
17585
|
+
* @param {Float64Array} r
|
|
17586
|
+
* @param {Float64Array} v
|
|
17587
|
+
* @param {number} mu_km3_s2
|
|
17588
|
+
* @param {RetrogradeFactor | null} [factor]
|
|
17589
|
+
* @returns {any}
|
|
17590
|
+
*/
|
|
17591
|
+
export function rv2eq(r, v, mu_km3_s2, factor) {
|
|
17592
|
+
const ptr0 = passArrayF64ToWasm0(r, wasm.__wbindgen_malloc);
|
|
17593
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17594
|
+
const ptr1 = passArrayF64ToWasm0(v, wasm.__wbindgen_malloc);
|
|
17595
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17596
|
+
const ret = wasm.rv2eq(ptr0, len0, ptr1, len1, mu_km3_s2, isLikeNone(factor) ? 2 : factor);
|
|
17597
|
+
if (ret[2]) {
|
|
17598
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17599
|
+
}
|
|
17600
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17601
|
+
}
|
|
17602
|
+
|
|
17603
|
+
/**
|
|
17604
|
+
* @param {Float64Array} r
|
|
17605
|
+
* @param {Float64Array} v
|
|
17606
|
+
* @param {number} mu_km3_s2
|
|
17607
|
+
* @param {RetrogradeFactor | null} [factor]
|
|
17608
|
+
* @returns {any}
|
|
17609
|
+
*/
|
|
17610
|
+
export function rv2mee(r, v, mu_km3_s2, factor) {
|
|
17611
|
+
const ptr0 = passArrayF64ToWasm0(r, wasm.__wbindgen_malloc);
|
|
17612
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17613
|
+
const ptr1 = passArrayF64ToWasm0(v, wasm.__wbindgen_malloc);
|
|
17614
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17615
|
+
const ret = wasm.rv2mee(ptr0, len0, ptr1, len1, mu_km3_s2, isLikeNone(factor) ? 2 : factor);
|
|
17616
|
+
if (ret[2]) {
|
|
17617
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17618
|
+
}
|
|
17619
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17620
|
+
}
|
|
17621
|
+
|
|
17622
|
+
/**
|
|
17623
|
+
* @param {BroadcastEphemeris} broadcast
|
|
17624
|
+
* @param {string[]} satellites
|
|
17625
|
+
* @param {number} start_j2000_s
|
|
17626
|
+
* @param {number} stop_j2000_s
|
|
17627
|
+
* @param {number} step_s
|
|
17628
|
+
* @returns {any}
|
|
17629
|
+
*/
|
|
17630
|
+
export function sampleBroadcastEphemeris(broadcast, satellites, start_j2000_s, stop_j2000_s, step_s) {
|
|
17631
|
+
_assertClass(broadcast, BroadcastEphemeris);
|
|
17632
|
+
const ptr0 = passArrayJsValueToWasm0(satellites, wasm.__wbindgen_malloc);
|
|
17633
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17634
|
+
const ret = wasm.sampleBroadcastEphemeris(broadcast.__wbg_ptr, ptr0, len0, start_j2000_s, stop_j2000_s, step_s);
|
|
17635
|
+
if (ret[2]) {
|
|
17636
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17637
|
+
}
|
|
17638
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17639
|
+
}
|
|
17640
|
+
|
|
17641
|
+
/**
|
|
17642
|
+
* @param {Sp3} sp3
|
|
17643
|
+
* @param {string[]} satellites
|
|
17644
|
+
* @param {number} start_j2000_s
|
|
17645
|
+
* @param {number} stop_j2000_s
|
|
17646
|
+
* @param {number} step_s
|
|
17647
|
+
* @returns {any}
|
|
17648
|
+
*/
|
|
17649
|
+
export function sampleSp3Ephemeris(sp3, satellites, start_j2000_s, stop_j2000_s, step_s) {
|
|
17650
|
+
_assertClass(sp3, Sp3);
|
|
17651
|
+
const ptr0 = passArrayJsValueToWasm0(satellites, wasm.__wbindgen_malloc);
|
|
17652
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17653
|
+
const ret = wasm.sampleSp3Ephemeris(sp3.__wbg_ptr, ptr0, len0, start_j2000_s, stop_j2000_s, step_s);
|
|
17654
|
+
if (ret[2]) {
|
|
17655
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17656
|
+
}
|
|
17657
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17658
|
+
}
|
|
17659
|
+
|
|
16289
17660
|
/**
|
|
16290
17661
|
* Apparent visual magnitude of a sunlit body from a diffuse-sphere phase law.
|
|
16291
17662
|
*
|
|
@@ -16308,6 +17679,31 @@ export function satelliteVisualMagnitude(range_km, phase_angle_deg, standard_mag
|
|
|
16308
17679
|
return ret[0];
|
|
16309
17680
|
}
|
|
16310
17681
|
|
|
17682
|
+
/**
|
|
17683
|
+
* @param {BroadcastEphemeris} broadcast
|
|
17684
|
+
* @param {SbasCorrectionStore} store
|
|
17685
|
+
* @param {string} geo
|
|
17686
|
+
* @param {string} sat
|
|
17687
|
+
* @param {number} t_j2000_s
|
|
17688
|
+
* @param {string | null} [mode]
|
|
17689
|
+
* @returns {any}
|
|
17690
|
+
*/
|
|
17691
|
+
export function sbasCorrectedState(broadcast, store, geo, sat, t_j2000_s, mode) {
|
|
17692
|
+
_assertClass(broadcast, BroadcastEphemeris);
|
|
17693
|
+
_assertClass(store, SbasCorrectionStore);
|
|
17694
|
+
const ptr0 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17695
|
+
const len0 = WASM_VECTOR_LEN;
|
|
17696
|
+
const ptr1 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17697
|
+
const len1 = WASM_VECTOR_LEN;
|
|
17698
|
+
var ptr2 = isLikeNone(mode) ? 0 : passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
17699
|
+
var len2 = WASM_VECTOR_LEN;
|
|
17700
|
+
const ret = wasm.sbasCorrectedState(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, ptr1, len1, t_j2000_s, ptr2, len2);
|
|
17701
|
+
if (ret[2]) {
|
|
17702
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17703
|
+
}
|
|
17704
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17705
|
+
}
|
|
17706
|
+
|
|
16311
17707
|
/**
|
|
16312
17708
|
* Screen a primary satellite against a secondary TLE catalog for threshold TCAs.
|
|
16313
17709
|
*
|
|
@@ -16366,6 +17762,38 @@ export function screenTcaConjunctions(primary_line1, primary_line2, secondaries,
|
|
|
16366
17762
|
return takeFromExternrefTable0(ret[0]);
|
|
16367
17763
|
}
|
|
16368
17764
|
|
|
17765
|
+
/**
|
|
17766
|
+
* @param {bigint} start_unix_us
|
|
17767
|
+
* @param {bigint} end_unix_us
|
|
17768
|
+
* @param {number} step_s
|
|
17769
|
+
* @param {number} tolerance_s
|
|
17770
|
+
* @returns {any}
|
|
17771
|
+
*/
|
|
17772
|
+
export function seasons(start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
17773
|
+
const ret = wasm.seasons(start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
17774
|
+
if (ret[2]) {
|
|
17775
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17776
|
+
}
|
|
17777
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17778
|
+
}
|
|
17779
|
+
|
|
17780
|
+
/**
|
|
17781
|
+
* @param {Spk} spk
|
|
17782
|
+
* @param {bigint} start_unix_us
|
|
17783
|
+
* @param {bigint} end_unix_us
|
|
17784
|
+
* @param {number} step_s
|
|
17785
|
+
* @param {number} tolerance_s
|
|
17786
|
+
* @returns {any}
|
|
17787
|
+
*/
|
|
17788
|
+
export function seasonsSpk(spk, start_unix_us, end_unix_us, step_s, tolerance_s) {
|
|
17789
|
+
_assertClass(spk, Spk);
|
|
17790
|
+
const ret = wasm.seasonsSpk(spk.__wbg_ptr, start_unix_us, end_unix_us, step_s, tolerance_s);
|
|
17791
|
+
if (ret[2]) {
|
|
17792
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
17793
|
+
}
|
|
17794
|
+
return takeFromExternrefTable0(ret[0]);
|
|
17795
|
+
}
|
|
17796
|
+
|
|
16369
17797
|
/**
|
|
16370
17798
|
* Select an IONEX product usable at `requestedEpochJ2000S`, degrading to a
|
|
16371
17799
|
* diurnal-shifted prior product within `policy`.
|
|
@@ -16649,6 +18077,19 @@ export function solidEarthTide(station_ecef_m, year, month, day, fractional_hour
|
|
|
16649
18077
|
return v4;
|
|
16650
18078
|
}
|
|
16651
18079
|
|
|
18080
|
+
/**
|
|
18081
|
+
* @param {number} mean_anomaly_rad
|
|
18082
|
+
* @param {number} eccentricity
|
|
18083
|
+
* @returns {any}
|
|
18084
|
+
*/
|
|
18085
|
+
export function solveKepler(mean_anomaly_rad, eccentricity) {
|
|
18086
|
+
const ret = wasm.solveKepler(mean_anomaly_rad, eccentricity);
|
|
18087
|
+
if (ret[2]) {
|
|
18088
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
18089
|
+
}
|
|
18090
|
+
return takeFromExternrefTable0(ret[0]);
|
|
18091
|
+
}
|
|
18092
|
+
|
|
16652
18093
|
/**
|
|
16653
18094
|
* Solve a sequence of moving-baseline RTK epochs.
|
|
16654
18095
|
*
|
|
@@ -16819,6 +18260,28 @@ export function solveRtkFloat(config) {
|
|
|
16819
18260
|
return RtkFloatSolution.__wrap(ret[0]);
|
|
16820
18261
|
}
|
|
16821
18262
|
|
|
18263
|
+
/**
|
|
18264
|
+
* @param {BroadcastEphemeris} broadcast
|
|
18265
|
+
* @param {SbasCorrectionStore} store
|
|
18266
|
+
* @param {string} geo
|
|
18267
|
+
* @param {any} request
|
|
18268
|
+
* @param {string | null} [mode]
|
|
18269
|
+
* @returns {SppSolution}
|
|
18270
|
+
*/
|
|
18271
|
+
export function solveSppSbas(broadcast, store, geo, request, mode) {
|
|
18272
|
+
_assertClass(broadcast, BroadcastEphemeris);
|
|
18273
|
+
_assertClass(store, SbasCorrectionStore);
|
|
18274
|
+
const ptr0 = passStringToWasm0(geo, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
18275
|
+
const len0 = WASM_VECTOR_LEN;
|
|
18276
|
+
var ptr1 = isLikeNone(mode) ? 0 : passStringToWasm0(mode, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
18277
|
+
var len1 = WASM_VECTOR_LEN;
|
|
18278
|
+
const ret = wasm.solveSppSbas(broadcast.__wbg_ptr, store.__wbg_ptr, ptr0, len0, request, ptr1, len1);
|
|
18279
|
+
if (ret[2]) {
|
|
18280
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
18281
|
+
}
|
|
18282
|
+
return SppSolution.__wrap(ret[0]);
|
|
18283
|
+
}
|
|
18284
|
+
|
|
16822
18285
|
/**
|
|
16823
18286
|
* Solve a static RTK arc with one batch float solution and one validated fixed
|
|
16824
18287
|
* solution over the whole arc.
|
|
@@ -16909,6 +18372,29 @@ export function solveWithFallback(precise, broadcast, request, policy) {
|
|
|
16909
18372
|
return SourcedSolution.__wrap(ret[0]);
|
|
16910
18373
|
}
|
|
16911
18374
|
|
|
18375
|
+
/**
|
|
18376
|
+
* Extract a parsed SP3 product as the canonical precise-ephemeris samples, one
|
|
18377
|
+
* per real position record in ascending epoch order.
|
|
18378
|
+
*
|
|
18379
|
+
* Returns an array of `{ sat, epoch, positionEcefM, clockS, clockEvent }`
|
|
18380
|
+
* objects. Round-tripping the result back through
|
|
18381
|
+
* [`preciseEphemerisSamplesFromSamples`] rebuilds an interpolatable source that
|
|
18382
|
+
* reproduces the SP3-parsed source's interpolated states and predicted ranges
|
|
18383
|
+
* to the documented round-trip precision (byte-identical for samples whose
|
|
18384
|
+
* meters are the faithful image of the fit nodes; see the core module docs).
|
|
18385
|
+
* Delegates to `sidereon_core::sp3::Sp3::precise_ephemeris_samples`.
|
|
18386
|
+
* @param {Sp3} sp3
|
|
18387
|
+
* @returns {any}
|
|
18388
|
+
*/
|
|
18389
|
+
export function sp3PreciseEphemerisSamples(sp3) {
|
|
18390
|
+
_assertClass(sp3, Sp3);
|
|
18391
|
+
const ret = wasm.sp3PreciseEphemerisSamples(sp3.__wbg_ptr);
|
|
18392
|
+
if (ret[2]) {
|
|
18393
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
18394
|
+
}
|
|
18395
|
+
return takeFromExternrefTable0(ret[0]);
|
|
18396
|
+
}
|
|
18397
|
+
|
|
16912
18398
|
/**
|
|
16913
18399
|
* Continuous seconds since J2000 for a split Julian date.
|
|
16914
18400
|
* @param {number} jd_whole
|
|
@@ -16920,6 +18406,27 @@ export function splitJdToJ2000Seconds(jd_whole, jd_fraction) {
|
|
|
16920
18406
|
return ret;
|
|
16921
18407
|
}
|
|
16922
18408
|
|
|
18409
|
+
/**
|
|
18410
|
+
* @param {BroadcastEphemeris} broadcast
|
|
18411
|
+
* @param {SsrCorrectionStore} store
|
|
18412
|
+
* @param {string} sat
|
|
18413
|
+
* @param {number} t_j2000_s
|
|
18414
|
+
* @param {boolean | null} [fallback_to_broadcast]
|
|
18415
|
+
* @param {number | null} [allow_regional_provider]
|
|
18416
|
+
* @returns {any}
|
|
18417
|
+
*/
|
|
18418
|
+
export function ssrCorrectedState(broadcast, store, sat, t_j2000_s, fallback_to_broadcast, allow_regional_provider) {
|
|
18419
|
+
_assertClass(broadcast, BroadcastEphemeris);
|
|
18420
|
+
_assertClass(store, SsrCorrectionStore);
|
|
18421
|
+
const ptr0 = passStringToWasm0(sat, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
18422
|
+
const len0 = WASM_VECTOR_LEN;
|
|
18423
|
+
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);
|
|
18424
|
+
if (ret[2]) {
|
|
18425
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
18426
|
+
}
|
|
18427
|
+
return takeFromExternrefTable0(ret[0]);
|
|
18428
|
+
}
|
|
18429
|
+
|
|
16923
18430
|
/**
|
|
16924
18431
|
* Sub-observer point (planetary central meridian) on a rotating body.
|
|
16925
18432
|
*
|
|
@@ -17277,6 +18784,32 @@ export function tropoZenithDelay(lat_deg, height_m, met) {
|
|
|
17277
18784
|
return ZenithDelay.__wrap(ret[0]);
|
|
17278
18785
|
}
|
|
17279
18786
|
|
|
18787
|
+
/**
|
|
18788
|
+
* @param {number} true_anomaly_rad
|
|
18789
|
+
* @param {number} eccentricity
|
|
18790
|
+
* @returns {number}
|
|
18791
|
+
*/
|
|
18792
|
+
export function trueToEccentric(true_anomaly_rad, eccentricity) {
|
|
18793
|
+
const ret = wasm.trueToEccentric(true_anomaly_rad, eccentricity);
|
|
18794
|
+
if (ret[2]) {
|
|
18795
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
18796
|
+
}
|
|
18797
|
+
return ret[0];
|
|
18798
|
+
}
|
|
18799
|
+
|
|
18800
|
+
/**
|
|
18801
|
+
* @param {number} true_anomaly_rad
|
|
18802
|
+
* @param {number} eccentricity
|
|
18803
|
+
* @returns {number}
|
|
18804
|
+
*/
|
|
18805
|
+
export function trueToMean(true_anomaly_rad, eccentricity) {
|
|
18806
|
+
const ret = wasm.trueToMean(true_anomaly_rad, eccentricity);
|
|
18807
|
+
if (ret[2]) {
|
|
18808
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
18809
|
+
}
|
|
18810
|
+
return ret[0];
|
|
18811
|
+
}
|
|
18812
|
+
|
|
17280
18813
|
/**
|
|
17281
18814
|
* Provenance and coverage of the embedded UT1-UTC / delta-T (EOP) table.
|
|
17282
18815
|
* @returns {Ut1Coverage}
|
|
@@ -17871,6 +19404,9 @@ const AppliedCorrectionsFinalization = (typeof FinalizationRegistry === 'undefin
|
|
|
17871
19404
|
const AtmosphereDensityFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17872
19405
|
? { register: () => {}, unregister: () => {} }
|
|
17873
19406
|
: new FinalizationRegistry(ptr => wasm.__wbg_atmospheredensity_free(ptr, 1));
|
|
19407
|
+
const BiasSetFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19408
|
+
? { register: () => {}, unregister: () => {} }
|
|
19409
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_biasset_free(ptr, 1));
|
|
17874
19410
|
const BroadcastEphemerisFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17875
19411
|
? { register: () => {}, unregister: () => {} }
|
|
17876
19412
|
: new FinalizationRegistry(ptr => wasm.__wbg_broadcastephemeris_free(ptr, 1));
|
|
@@ -17940,6 +19476,12 @@ const DopSeriesSampleFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
17940
19476
|
const DopplerShiftFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17941
19477
|
? { register: () => {}, unregister: () => {} }
|
|
17942
19478
|
: new FinalizationRegistry(ptr => wasm.__wbg_dopplershift_free(ptr, 1));
|
|
19479
|
+
const DragForceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19480
|
+
? { register: () => {}, unregister: () => {} }
|
|
19481
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dragforce_free(ptr, 1));
|
|
19482
|
+
const DtedTerrainFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19483
|
+
? { register: () => {}, unregister: () => {} }
|
|
19484
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dtedterrain_free(ptr, 1));
|
|
17943
19485
|
const EncounterFrameFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
17944
19486
|
? { register: () => {}, unregister: () => {} }
|
|
17945
19487
|
: new FinalizationRegistry(ptr => wasm.__wbg_encounterframe_free(ptr, 1));
|
|
@@ -18135,6 +19677,9 @@ const PppFixedSolutionFinalization = (typeof FinalizationRegistry === 'undefined
|
|
|
18135
19677
|
const PppFloatSolutionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18136
19678
|
? { register: () => {}, unregister: () => {} }
|
|
18137
19679
|
: new FinalizationRegistry(ptr => wasm.__wbg_pppfloatsolution_free(ptr, 1));
|
|
19680
|
+
const PreciseEphemerisSampleSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19681
|
+
? { register: () => {}, unregister: () => {} }
|
|
19682
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_preciseephemerissamplesource_free(ptr, 1));
|
|
18138
19683
|
const PredictBatchFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18139
19684
|
? { register: () => {}, unregister: () => {} }
|
|
18140
19685
|
: new FinalizationRegistry(ptr => wasm.__wbg_predictbatch_free(ptr, 1));
|
|
@@ -18177,6 +19722,9 @@ const SatellitePassFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
18177
19722
|
const SatelliteVectorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18178
19723
|
? { register: () => {}, unregister: () => {} }
|
|
18179
19724
|
: new FinalizationRegistry(ptr => wasm.__wbg_satellitevector_free(ptr, 1));
|
|
19725
|
+
const SbasCorrectionStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19726
|
+
? { register: () => {}, unregister: () => {} }
|
|
19727
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sbascorrectionstore_free(ptr, 1));
|
|
18180
19728
|
const SignalPolicyFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18181
19729
|
? { register: () => {}, unregister: () => {} }
|
|
18182
19730
|
: new FinalizationRegistry(ptr => wasm.__wbg_signalpolicy_free(ptr, 1));
|
|
@@ -18216,6 +19764,9 @@ const Sp3SelectionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
18216
19764
|
const Sp3StateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18217
19765
|
? { register: () => {}, unregister: () => {} }
|
|
18218
19766
|
: new FinalizationRegistry(ptr => wasm.__wbg_sp3state_free(ptr, 1));
|
|
19767
|
+
const SpaceWeatherFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19768
|
+
? { register: () => {}, unregister: () => {} }
|
|
19769
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_spaceweather_free(ptr, 1));
|
|
18219
19770
|
const SpaceWeatherDefaultsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18220
19771
|
? { register: () => {}, unregister: () => {} }
|
|
18221
19772
|
: new FinalizationRegistry(ptr => wasm.__wbg_spaceweatherdefaults_free(ptr, 1));
|
|
@@ -18234,6 +19785,9 @@ const SppBatchSolutionFinalization = (typeof FinalizationRegistry === 'undefined
|
|
|
18234
19785
|
const SppSolutionFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18235
19786
|
? { register: () => {}, unregister: () => {} }
|
|
18236
19787
|
: new FinalizationRegistry(ptr => wasm.__wbg_sppsolution_free(ptr, 1));
|
|
19788
|
+
const SsrCorrectionStoreFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
19789
|
+
? { register: () => {}, unregister: () => {} }
|
|
19790
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_ssrcorrectionstore_free(ptr, 1));
|
|
18237
19791
|
const SunMoonFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
18238
19792
|
? { register: () => {}, unregister: () => {} }
|
|
18239
19793
|
: new FinalizationRegistry(ptr => wasm.__wbg_sunmoon_free(ptr, 1));
|