@neilberkman/sidereon 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/pkg/sidereon.js CHANGED
@@ -16196,6 +16196,258 @@ export class Sp3ClockReferenceOffset {
16196
16196
  }
16197
16197
  if (Symbol.dispose) Sp3ClockReferenceOffset.prototype[Symbol.dispose] = Sp3ClockReferenceOffset.prototype.free;
16198
16198
 
16199
+ /**
16200
+ * One coordinate-label reconciliation applied before SP3 merge consensus.
16201
+ */
16202
+ export class Sp3FrameReconciliationReport {
16203
+ static __wrap(ptr) {
16204
+ const obj = Object.create(Sp3FrameReconciliationReport.prototype);
16205
+ obj.__wbg_ptr = ptr;
16206
+ Sp3FrameReconciliationReportFinalization.register(obj, obj.__wbg_ptr, obj);
16207
+ return obj;
16208
+ }
16209
+ __destroy_into_raw() {
16210
+ const ptr = this.__wbg_ptr;
16211
+ this.__wbg_ptr = 0;
16212
+ Sp3FrameReconciliationReportFinalization.unregister(this);
16213
+ return ptr;
16214
+ }
16215
+ free() {
16216
+ const ptr = this.__destroy_into_raw();
16217
+ wasm.__wbg_sp3framereconciliationreport_free(ptr, 0);
16218
+ }
16219
+ /**
16220
+ * Caller assertion set, empty unless assertion reconciliation was used.
16221
+ * @returns {string[]}
16222
+ */
16223
+ get assertedLabelSet() {
16224
+ const ret = wasm.sp3framereconciliationreport_assertedLabelSet(this.__wbg_ptr);
16225
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16226
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16227
+ return v1;
16228
+ }
16229
+ /**
16230
+ * True when the published catalog row was applied in reverse.
16231
+ * @returns {boolean}
16232
+ */
16233
+ get catalogInverse() {
16234
+ const ret = wasm.sp3framereconciliationreport_catalogInverse(this.__wbg_ptr);
16235
+ return ret !== 0;
16236
+ }
16237
+ /**
16238
+ * Source frame of the published catalog row used for Helmert reconciliation.
16239
+ * @returns {string | undefined}
16240
+ */
16241
+ get catalogSourceFrame() {
16242
+ const ret = wasm.sp3framereconciliationreport_catalogSourceFrame(this.__wbg_ptr);
16243
+ let v1;
16244
+ if (ret[0] !== 0) {
16245
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16246
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16247
+ }
16248
+ return v1;
16249
+ }
16250
+ /**
16251
+ * Target frame of the published catalog row used for Helmert reconciliation.
16252
+ * @returns {string | undefined}
16253
+ */
16254
+ get catalogTargetFrame() {
16255
+ const ret = wasm.sp3framereconciliationreport_catalogTargetFrame(this.__wbg_ptr);
16256
+ let v1;
16257
+ if (ret[0] !== 0) {
16258
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16259
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16260
+ }
16261
+ return v1;
16262
+ }
16263
+ /**
16264
+ * Inclusive decimal-year span of affected records.
16265
+ * @returns {Float64Array}
16266
+ */
16267
+ get epochYearSpan() {
16268
+ const ret = wasm.sp3framereconciliationreport_epochYearSpan(this.__wbg_ptr);
16269
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16270
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16271
+ return v1;
16272
+ }
16273
+ /**
16274
+ * True when both labels resolved to the same terrestrial realization.
16275
+ * @returns {boolean}
16276
+ */
16277
+ get identity() {
16278
+ const ret = wasm.sp3framereconciliationreport_identity(this.__wbg_ptr);
16279
+ return ret !== 0;
16280
+ }
16281
+ /**
16282
+ * Reconciliation mechanism: "asserted_equivalence" or "helmert".
16283
+ * @returns {string}
16284
+ */
16285
+ get method() {
16286
+ let deferred1_0;
16287
+ let deferred1_1;
16288
+ try {
16289
+ const ret = wasm.sp3framereconciliationreport_method(this.__wbg_ptr);
16290
+ deferred1_0 = ret[0];
16291
+ deferred1_1 = ret[1];
16292
+ return getStringFromWasm0(ret[0], ret[1]);
16293
+ } finally {
16294
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16295
+ }
16296
+ }
16297
+ /**
16298
+ * Published-table provenance for the catalog entry.
16299
+ * @returns {string | undefined}
16300
+ */
16301
+ get provenance() {
16302
+ const ret = wasm.sp3framereconciliationreport_provenance(this.__wbg_ptr);
16303
+ let v1;
16304
+ if (ret[0] !== 0) {
16305
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16306
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16307
+ }
16308
+ return v1;
16309
+ }
16310
+ /**
16311
+ * Number of satellite position records covered by the reconciliation.
16312
+ * @returns {number}
16313
+ */
16314
+ get recordsAffected() {
16315
+ const ret = wasm.sp3framereconciliationreport_recordsAffected(this.__wbg_ptr);
16316
+ return ret >>> 0;
16317
+ }
16318
+ /**
16319
+ * Published transform reference epoch, if a catalog entry was used.
16320
+ * @returns {number | undefined}
16321
+ */
16322
+ get referenceEpochYear() {
16323
+ const ret = wasm.sp3framereconciliationreport_referenceEpochYear(this.__wbg_ptr);
16324
+ return ret[0] === 0 ? undefined : ret[1];
16325
+ }
16326
+ /**
16327
+ * Rotation parameters in milliarcseconds, empty for non-catalog identity.
16328
+ * @returns {Float64Array}
16329
+ */
16330
+ get rotationMas() {
16331
+ const ret = wasm.sp3framereconciliationreport_rotationMas(this.__wbg_ptr);
16332
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16333
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16334
+ return v1;
16335
+ }
16336
+ /**
16337
+ * Rotation rates in milliarcseconds per year.
16338
+ * @returns {Float64Array}
16339
+ */
16340
+ get rotationMasPerYear() {
16341
+ const ret = wasm.sp3framereconciliationreport_rotationMasPerYear(this.__wbg_ptr);
16342
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16343
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16344
+ return v1;
16345
+ }
16346
+ /**
16347
+ * Scale parameter in parts per billion, undefined for non-catalog identity.
16348
+ * @returns {number | undefined}
16349
+ */
16350
+ get scalePpb() {
16351
+ const ret = wasm.sp3framereconciliationreport_scalePpb(this.__wbg_ptr);
16352
+ return ret[0] === 0 ? undefined : ret[1];
16353
+ }
16354
+ /**
16355
+ * Scale rate in parts per billion per year.
16356
+ * @returns {number | undefined}
16357
+ */
16358
+ get scalePpbPerYear() {
16359
+ const ret = wasm.sp3framereconciliationreport_scalePpbPerYear(this.__wbg_ptr);
16360
+ return ret[0] === 0 ? undefined : ret[1];
16361
+ }
16362
+ /**
16363
+ * Resolved source terrestrial frame for Helmert reconciliation.
16364
+ * @returns {string | undefined}
16365
+ */
16366
+ get sourceFrame() {
16367
+ const ret = wasm.sp3framereconciliationreport_sourceFrame(this.__wbg_ptr);
16368
+ let v1;
16369
+ if (ret[0] !== 0) {
16370
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16371
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16372
+ }
16373
+ return v1;
16374
+ }
16375
+ /**
16376
+ * Source index in the mergeSp3 input array.
16377
+ * @returns {number}
16378
+ */
16379
+ get sourceIndex() {
16380
+ const ret = wasm.sp3framereconciliationreport_sourceIndex(this.__wbg_ptr);
16381
+ return ret >>> 0;
16382
+ }
16383
+ /**
16384
+ * Original coordinate-system label on that source.
16385
+ * @returns {string}
16386
+ */
16387
+ get sourceLabel() {
16388
+ let deferred1_0;
16389
+ let deferred1_1;
16390
+ try {
16391
+ const ret = wasm.sp3framereconciliationreport_sourceLabel(this.__wbg_ptr);
16392
+ deferred1_0 = ret[0];
16393
+ deferred1_1 = ret[1];
16394
+ return getStringFromWasm0(ret[0], ret[1]);
16395
+ } finally {
16396
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16397
+ }
16398
+ }
16399
+ /**
16400
+ * Resolved target terrestrial frame for Helmert reconciliation.
16401
+ * @returns {string | undefined}
16402
+ */
16403
+ get targetFrame() {
16404
+ const ret = wasm.sp3framereconciliationreport_targetFrame(this.__wbg_ptr);
16405
+ let v1;
16406
+ if (ret[0] !== 0) {
16407
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
16408
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
16409
+ }
16410
+ return v1;
16411
+ }
16412
+ /**
16413
+ * Target coordinate-system label, taken from source 0.
16414
+ * @returns {string}
16415
+ */
16416
+ get targetLabel() {
16417
+ let deferred1_0;
16418
+ let deferred1_1;
16419
+ try {
16420
+ const ret = wasm.sp3framereconciliationreport_targetLabel(this.__wbg_ptr);
16421
+ deferred1_0 = ret[0];
16422
+ deferred1_1 = ret[1];
16423
+ return getStringFromWasm0(ret[0], ret[1]);
16424
+ } finally {
16425
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
16426
+ }
16427
+ }
16428
+ /**
16429
+ * Translation parameters in millimetres, empty for non-catalog identity.
16430
+ * @returns {Float64Array}
16431
+ */
16432
+ get translationMm() {
16433
+ const ret = wasm.sp3framereconciliationreport_translationMm(this.__wbg_ptr);
16434
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16435
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16436
+ return v1;
16437
+ }
16438
+ /**
16439
+ * Translation rates in millimetres per year.
16440
+ * @returns {Float64Array}
16441
+ */
16442
+ get translationMmPerYear() {
16443
+ const ret = wasm.sp3framereconciliationreport_translationMmPerYear(this.__wbg_ptr);
16444
+ var v1 = getArrayF64FromWasm0(ret[0], ret[1]).slice();
16445
+ wasm.__wbindgen_free(ret[0], ret[1] * 8, 8);
16446
+ return v1;
16447
+ }
16448
+ }
16449
+ if (Symbol.dispose) Sp3FrameReconciliationReport.prototype[Symbol.dispose] = Sp3FrameReconciliationReport.prototype.free;
16450
+
16199
16451
  /**
16200
16452
  * A batch of interpolated SP3 states.
16201
16453
  */
@@ -16345,6 +16597,23 @@ export class Sp3MergeReport {
16345
16597
  const ret = wasm.sp3mergereport_agreementCount(this.__wbg_ptr);
16346
16598
  return ret >>> 0;
16347
16599
  }
16600
+ /**
16601
+ * @returns {number}
16602
+ */
16603
+ get frameReconciliationCount() {
16604
+ const ret = wasm.sp3mergereport_frameReconciliationCount(this.__wbg_ptr);
16605
+ return ret >>> 0;
16606
+ }
16607
+ /**
16608
+ * Coordinate-label reconciliations applied before consensus.
16609
+ * @returns {Sp3FrameReconciliationReport[]}
16610
+ */
16611
+ get frameReconciliations() {
16612
+ const ret = wasm.sp3mergereport_frameReconciliations(this.__wbg_ptr);
16613
+ var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
16614
+ wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
16615
+ return v1;
16616
+ }
16348
16617
  /**
16349
16618
  * @returns {number}
16350
16619
  */
@@ -28592,6 +28861,10 @@ function __wbg_get_imports() {
28592
28861
  const ret = Sp3ClockReferenceOffset.__wrap(arg0);
28593
28862
  return ret;
28594
28863
  },
28864
+ __wbg_sp3framereconciliationreport_new: function(arg0) {
28865
+ const ret = Sp3FrameReconciliationReport.__wrap(arg0);
28866
+ return ret;
28867
+ },
28595
28868
  __wbg_sp3mergeflag_new: function(arg0) {
28596
28869
  const ret = Sp3MergeFlag.__wrap(arg0);
28597
28870
  return ret;
@@ -29155,6 +29428,9 @@ const Sp3AgreementMetricFinalization = (typeof FinalizationRegistry === 'undefin
29155
29428
  const Sp3ClockReferenceOffsetFinalization = (typeof FinalizationRegistry === 'undefined')
29156
29429
  ? { register: () => {}, unregister: () => {} }
29157
29430
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3clockreferenceoffset_free(ptr, 1));
29431
+ const Sp3FrameReconciliationReportFinalization = (typeof FinalizationRegistry === 'undefined')
29432
+ ? { register: () => {}, unregister: () => {} }
29433
+ : new FinalizationRegistry(ptr => wasm.__wbg_sp3framereconciliationreport_free(ptr, 1));
29158
29434
  const Sp3InterpolationFinalization = (typeof FinalizationRegistry === 'undefined')
29159
29435
  ? { register: () => {}, unregister: () => {} }
29160
29436
  : new FinalizationRegistry(ptr => wasm.__wbg_sp3interpolation_free(ptr, 1));
Binary file