@neilberkman/sidereon 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -13
- package/package.json +1 -1
- package/pkg/sidereon.d.ts +882 -862
- package/pkg/sidereon.js +33 -0
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +863 -862
- package/pkg-node/sidereon.d.ts +19 -0
- package/pkg-node/sidereon.js +35 -0
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +863 -862
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -4921,6 +4921,20 @@ export class SsrCorrectionStore {
|
|
|
4921
4921
|
uraIndex(sat: string): number | undefined;
|
|
4922
4922
|
}
|
|
4923
4923
|
|
|
4924
|
+
/**
|
|
4925
|
+
* Source stream for engineering-unit SSR corrections.
|
|
4926
|
+
*/
|
|
4927
|
+
export enum SsrSource {
|
|
4928
|
+
/**
|
|
4929
|
+
* RTCM SSR messages.
|
|
4930
|
+
*/
|
|
4931
|
+
RtcmSsr = 0,
|
|
4932
|
+
/**
|
|
4933
|
+
* Galileo High Accuracy Service messages.
|
|
4934
|
+
*/
|
|
4935
|
+
GalileoHas = 1,
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4924
4938
|
/**
|
|
4925
4939
|
* A batch of Sun and Moon positions, one per epoch: flat row-major `sun` and
|
|
4926
4940
|
* `moon` `Float64Array`s of length `3 * epochCount`, in **metres**.
|
|
@@ -7141,6 +7155,11 @@ export function splitJdToJ2000Seconds(jd_whole: number, jd_fraction: number): nu
|
|
|
7141
7155
|
|
|
7142
7156
|
export function ssrCorrectedState(broadcast: BroadcastEphemeris, store: SsrCorrectionStore, sat: string, t_j2000_s: number, fallback_to_broadcast?: boolean | null, allow_regional_provider?: number | null): any;
|
|
7143
7157
|
|
|
7158
|
+
/**
|
|
7159
|
+
* Stable lower-camel-case SSR source token.
|
|
7160
|
+
*/
|
|
7161
|
+
export function ssrSourceLabel(source: SsrSource): string;
|
|
7162
|
+
|
|
7144
7163
|
/**
|
|
7145
7164
|
* Sub-observer point (planetary central meridian) on a rotating body.
|
|
7146
7165
|
*
|
package/pkg-node/sidereon.js
CHANGED
|
@@ -12585,6 +12585,22 @@ class SsrCorrectionStore {
|
|
|
12585
12585
|
if (Symbol.dispose) SsrCorrectionStore.prototype[Symbol.dispose] = SsrCorrectionStore.prototype.free;
|
|
12586
12586
|
exports.SsrCorrectionStore = SsrCorrectionStore;
|
|
12587
12587
|
|
|
12588
|
+
/**
|
|
12589
|
+
* Source stream for engineering-unit SSR corrections.
|
|
12590
|
+
* @enum {0 | 1}
|
|
12591
|
+
*/
|
|
12592
|
+
const SsrSource = Object.freeze({
|
|
12593
|
+
/**
|
|
12594
|
+
* RTCM SSR messages.
|
|
12595
|
+
*/
|
|
12596
|
+
RtcmSsr: 0, "0": "RtcmSsr",
|
|
12597
|
+
/**
|
|
12598
|
+
* Galileo High Accuracy Service messages.
|
|
12599
|
+
*/
|
|
12600
|
+
GalileoHas: 1, "1": "GalileoHas",
|
|
12601
|
+
});
|
|
12602
|
+
exports.SsrSource = SsrSource;
|
|
12603
|
+
|
|
12588
12604
|
/**
|
|
12589
12605
|
* A batch of Sun and Moon positions, one per epoch: flat row-major `sun` and
|
|
12590
12606
|
* `moon` `Float64Array`s of length `3 * epochCount`, in **metres**.
|
|
@@ -18840,6 +18856,25 @@ function ssrCorrectedState(broadcast, store, sat, t_j2000_s, fallback_to_broadca
|
|
|
18840
18856
|
}
|
|
18841
18857
|
exports.ssrCorrectedState = ssrCorrectedState;
|
|
18842
18858
|
|
|
18859
|
+
/**
|
|
18860
|
+
* Stable lower-camel-case SSR source token.
|
|
18861
|
+
* @param {SsrSource} source
|
|
18862
|
+
* @returns {string}
|
|
18863
|
+
*/
|
|
18864
|
+
function ssrSourceLabel(source) {
|
|
18865
|
+
let deferred1_0;
|
|
18866
|
+
let deferred1_1;
|
|
18867
|
+
try {
|
|
18868
|
+
const ret = wasm.ssrSourceLabel(source);
|
|
18869
|
+
deferred1_0 = ret[0];
|
|
18870
|
+
deferred1_1 = ret[1];
|
|
18871
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
18872
|
+
} finally {
|
|
18873
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
18874
|
+
}
|
|
18875
|
+
}
|
|
18876
|
+
exports.ssrSourceLabel = ssrSourceLabel;
|
|
18877
|
+
|
|
18843
18878
|
/**
|
|
18844
18879
|
* Sub-observer point (planetary central meridian) on a rotating body.
|
|
18845
18880
|
*
|
|
Binary file
|