gnss-js 1.54.0 → 1.55.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/dist/analysis.cjs CHANGED
@@ -557,21 +557,23 @@ var CycleSlipAccumulator = class {
557
557
  dualChecked.add(b2);
558
558
  }
559
559
  }
560
- for (const [band, lm] of phaseM) {
561
- if (dualChecked.has(band)) continue;
562
- const prevLm = prev.phase.get(band);
563
- if (prevLm === void 0) continue;
564
- const cm = codeM.get(band);
565
- const prevCm = prev.code.get(band);
566
- if (cm === void 0 || prevCm === void 0) continue;
567
- const dPhase = lm - prevLm;
568
- const dCode = cm - prevCm;
569
- const jumpM = Math.abs(dPhase - dCode);
570
- const lbl = BAND_LABELS[sys]?.[band] ?? band;
571
- const sigKey = `${sys}:${lbl}`;
572
- this.countEpoch(sigKey);
573
- if (jumpM > SF_THRESHOLD_M) {
574
- this.recordSlip(sigKey, time, prn, lbl, jumpM, /* @__PURE__ */ new Set([band]));
560
+ if (sys !== "S") {
561
+ for (const [band, lm] of phaseM) {
562
+ if (dualChecked.has(band)) continue;
563
+ const prevLm = prev.phase.get(band);
564
+ if (prevLm === void 0) continue;
565
+ const cm = codeM.get(band);
566
+ const prevCm = prev.code.get(band);
567
+ if (cm === void 0 || prevCm === void 0) continue;
568
+ const dPhase = lm - prevLm;
569
+ const dCode = cm - prevCm;
570
+ const jumpM = Math.abs(dPhase - dCode);
571
+ const lbl = BAND_LABELS[sys]?.[band] ?? band;
572
+ const sigKey = `${sys}:${lbl}`;
573
+ this.countEpoch(sigKey);
574
+ if (jumpM > SF_THRESHOLD_M) {
575
+ this.recordSlip(sigKey, time, prn, lbl, jumpM, /* @__PURE__ */ new Set([band]));
576
+ }
575
577
  }
576
578
  }
577
579
  }
package/dist/analysis.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  computeIonoRate,
9
9
  detrendIonoArcs,
10
10
  parseSinexBiasDcb
11
- } from "./chunk-Z5UZUNCB.js";
11
+ } from "./chunk-KUSUN7DP.js";
12
12
  import "./chunk-3U5AX7PY.js";
13
13
  import "./chunk-FIEWO4J4.js";
14
14
  export {
@@ -352,21 +352,23 @@ var CycleSlipAccumulator = class {
352
352
  dualChecked.add(b2);
353
353
  }
354
354
  }
355
- for (const [band, lm] of phaseM) {
356
- if (dualChecked.has(band)) continue;
357
- const prevLm = prev.phase.get(band);
358
- if (prevLm === void 0) continue;
359
- const cm = codeM.get(band);
360
- const prevCm = prev.code.get(band);
361
- if (cm === void 0 || prevCm === void 0) continue;
362
- const dPhase = lm - prevLm;
363
- const dCode = cm - prevCm;
364
- const jumpM = Math.abs(dPhase - dCode);
365
- const lbl = BAND_LABELS[sys]?.[band] ?? band;
366
- const sigKey = `${sys}:${lbl}`;
367
- this.countEpoch(sigKey);
368
- if (jumpM > SF_THRESHOLD_M) {
369
- this.recordSlip(sigKey, time, prn, lbl, jumpM, /* @__PURE__ */ new Set([band]));
355
+ if (sys !== "S") {
356
+ for (const [band, lm] of phaseM) {
357
+ if (dualChecked.has(band)) continue;
358
+ const prevLm = prev.phase.get(band);
359
+ if (prevLm === void 0) continue;
360
+ const cm = codeM.get(band);
361
+ const prevCm = prev.code.get(band);
362
+ if (cm === void 0 || prevCm === void 0) continue;
363
+ const dPhase = lm - prevLm;
364
+ const dCode = cm - prevCm;
365
+ const jumpM = Math.abs(dPhase - dCode);
366
+ const lbl = BAND_LABELS[sys]?.[band] ?? band;
367
+ const sigKey = `${sys}:${lbl}`;
368
+ this.countEpoch(sigKey);
369
+ if (jumpM > SF_THRESHOLD_M) {
370
+ this.recordSlip(sigKey, time, prn, lbl, jumpM, /* @__PURE__ */ new Set([band]));
371
+ }
370
372
  }
371
373
  }
372
374
  }
package/dist/index.cjs CHANGED
@@ -15913,21 +15913,23 @@ var CycleSlipAccumulator = class {
15913
15913
  dualChecked.add(b2);
15914
15914
  }
15915
15915
  }
15916
- for (const [band, lm] of phaseM) {
15917
- if (dualChecked.has(band)) continue;
15918
- const prevLm = prev.phase.get(band);
15919
- if (prevLm === void 0) continue;
15920
- const cm = codeM.get(band);
15921
- const prevCm = prev.code.get(band);
15922
- if (cm === void 0 || prevCm === void 0) continue;
15923
- const dPhase = lm - prevLm;
15924
- const dCode = cm - prevCm;
15925
- const jumpM = Math.abs(dPhase - dCode);
15926
- const lbl = BAND_LABELS[sys]?.[band] ?? band;
15927
- const sigKey = `${sys}:${lbl}`;
15928
- this.countEpoch(sigKey);
15929
- if (jumpM > SF_THRESHOLD_M) {
15930
- this.recordSlip(sigKey, time, prn, lbl, jumpM, /* @__PURE__ */ new Set([band]));
15916
+ if (sys !== "S") {
15917
+ for (const [band, lm] of phaseM) {
15918
+ if (dualChecked.has(band)) continue;
15919
+ const prevLm = prev.phase.get(band);
15920
+ if (prevLm === void 0) continue;
15921
+ const cm = codeM.get(band);
15922
+ const prevCm = prev.code.get(band);
15923
+ if (cm === void 0 || prevCm === void 0) continue;
15924
+ const dPhase = lm - prevLm;
15925
+ const dCode = cm - prevCm;
15926
+ const jumpM = Math.abs(dPhase - dCode);
15927
+ const lbl = BAND_LABELS[sys]?.[band] ?? band;
15928
+ const sigKey = `${sys}:${lbl}`;
15929
+ this.countEpoch(sigKey);
15930
+ if (jumpM > SF_THRESHOLD_M) {
15931
+ this.recordSlip(sigKey, time, prn, lbl, jumpM, /* @__PURE__ */ new Set([band]));
15932
+ }
15931
15933
  }
15932
15934
  }
15933
15935
  }
package/dist/index.js CHANGED
@@ -109,7 +109,7 @@ import {
109
109
  computeIonoRate,
110
110
  detrendIonoArcs,
111
111
  parseSinexBiasDcb
112
- } from "./chunk-Z5UZUNCB.js";
112
+ } from "./chunk-KUSUN7DP.js";
113
113
  import {
114
114
  Scale,
115
115
  getDateFromDayOfWeek,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gnss-js",
3
- "version": "1.54.0",
3
+ "version": "1.55.0",
4
4
  "description": "Comprehensive GNSS library for JavaScript — time scales, coordinates, RINEX parsing, RTCM3 decoding, orbit computation, and signal analysis",
5
5
  "type": "module",
6
6
  "sideEffects": false,