@neilberkman/sidereon 0.17.0 → 0.19.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/README.md +9 -0
- package/package.json +1 -1
- package/pkg/sidereon.d.ts +1803 -1425
- package/pkg/sidereon.js +1210 -137
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1566 -1485
- package/pkg-node/sidereon.d.ts +297 -0
- package/pkg-node/sidereon.js +1230 -137
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1566 -1485
- package/types/sidereon-extra.d.ts +1 -3647
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -1371,6 +1371,20 @@ export class DgnssSolution {
|
|
|
1371
1371
|
readonly usedSats: string[];
|
|
1372
1372
|
}
|
|
1373
1373
|
|
|
1374
|
+
/**
|
|
1375
|
+
* Early-late DLL processing mode for thermal-noise jitter.
|
|
1376
|
+
*/
|
|
1377
|
+
export enum DllProcessing {
|
|
1378
|
+
/**
|
|
1379
|
+
* Coherent early-minus-late processing.
|
|
1380
|
+
*/
|
|
1381
|
+
Coherent = 0,
|
|
1382
|
+
/**
|
|
1383
|
+
* Non-coherent early-minus-late power processing with squaring loss.
|
|
1384
|
+
*/
|
|
1385
|
+
NonCoherent = 1,
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1374
1388
|
/**
|
|
1375
1389
|
* GNSS dilution-of-precision scalars.
|
|
1376
1390
|
*/
|
|
@@ -2307,6 +2321,78 @@ export class GlonassRecordJs {
|
|
|
2307
2321
|
readonly velocityMS: Float64Array;
|
|
2308
2322
|
}
|
|
2309
2323
|
|
|
2324
|
+
/**
|
|
2325
|
+
* Stateful GNSS/INS filter resource.
|
|
2326
|
+
*/
|
|
2327
|
+
export class GnssInsFilter {
|
|
2328
|
+
free(): void;
|
|
2329
|
+
[Symbol.dispose](): void;
|
|
2330
|
+
/**
|
|
2331
|
+
* Replace retained-history capacities for later time-sync replay.
|
|
2332
|
+
*/
|
|
2333
|
+
configureTimeSync(config: any): void;
|
|
2334
|
+
/**
|
|
2335
|
+
* Encode the current fusion state with the core versioned binary codec.
|
|
2336
|
+
*/
|
|
2337
|
+
encodeState(): Uint8Array;
|
|
2338
|
+
/**
|
|
2339
|
+
* Build a filter, then restore its state from versioned fusion-state bytes.
|
|
2340
|
+
*/
|
|
2341
|
+
static fromStateBytes(config: any, bytes: Uint8Array): GnssInsFilter;
|
|
2342
|
+
/**
|
|
2343
|
+
* Build a filter from a JS configuration object.
|
|
2344
|
+
*/
|
|
2345
|
+
constructor(config: any);
|
|
2346
|
+
/**
|
|
2347
|
+
* Propagate the filter with one IMU rate or increment sample.
|
|
2348
|
+
*/
|
|
2349
|
+
propagate(sample: any): any;
|
|
2350
|
+
/**
|
|
2351
|
+
* Propagate the filter with a JS array of IMU samples.
|
|
2352
|
+
*/
|
|
2353
|
+
propagateBatch(samples: any): any;
|
|
2354
|
+
/**
|
|
2355
|
+
* Restore this filter from versioned fusion-state bytes.
|
|
2356
|
+
*/
|
|
2357
|
+
restoreState(bytes: Uint8Array): void;
|
|
2358
|
+
/**
|
|
2359
|
+
* Current INS state, covariance, and last body-rate diagnostic.
|
|
2360
|
+
*/
|
|
2361
|
+
state(): any;
|
|
2362
|
+
/**
|
|
2363
|
+
* Current tight-coupling receiver-clock state.
|
|
2364
|
+
*/
|
|
2365
|
+
tightClockState(): any;
|
|
2366
|
+
/**
|
|
2367
|
+
* Current retained-history capacity and occupancy.
|
|
2368
|
+
*/
|
|
2369
|
+
timeSyncStatus(): any;
|
|
2370
|
+
/**
|
|
2371
|
+
* Apply a loose position or position-velocity GNSS fix at the current epoch.
|
|
2372
|
+
*/
|
|
2373
|
+
updateLoose(measurement: any): any;
|
|
2374
|
+
/**
|
|
2375
|
+
* Apply a loose GNSS fix, replaying retained IMU checkpoints when it is late.
|
|
2376
|
+
*/
|
|
2377
|
+
updateLooseTimeSync(measurement: any): any;
|
|
2378
|
+
/**
|
|
2379
|
+
* Apply a tight raw-observation epoch against a broadcast ephemeris source.
|
|
2380
|
+
*/
|
|
2381
|
+
updateTightBroadcast(broadcast: BroadcastEphemeris, epoch: any): any;
|
|
2382
|
+
/**
|
|
2383
|
+
* Apply a tight broadcast update, replaying retained IMU checkpoints when it is late.
|
|
2384
|
+
*/
|
|
2385
|
+
updateTightBroadcastTimeSync(broadcast: BroadcastEphemeris, epoch: any): any;
|
|
2386
|
+
/**
|
|
2387
|
+
* Apply a tight raw-observation epoch against an SP3 source.
|
|
2388
|
+
*/
|
|
2389
|
+
updateTightSp3(sp3: Sp3, epoch: any): any;
|
|
2390
|
+
/**
|
|
2391
|
+
* Apply a tight SP3 update, replaying retained IMU checkpoints when it is late.
|
|
2392
|
+
*/
|
|
2393
|
+
updateTightSp3TimeSync(sp3: Sp3, epoch: any): any;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2310
2396
|
/**
|
|
2311
2397
|
* One sampled rise/set/peak visibility pass, from `gnssPasses`.
|
|
2312
2398
|
*/
|
|
@@ -5809,6 +5895,87 @@ export class SbasSisError {
|
|
|
5809
5895
|
readonly sigmaUireM: number;
|
|
5810
5896
|
}
|
|
5811
5897
|
|
|
5898
|
+
/**
|
|
5899
|
+
* Stable GNSS signal modulation used by the analysis functions.
|
|
5900
|
+
*/
|
|
5901
|
+
export class SignalAnalysisModulation {
|
|
5902
|
+
private constructor();
|
|
5903
|
+
free(): void;
|
|
5904
|
+
[Symbol.dispose](): void;
|
|
5905
|
+
/**
|
|
5906
|
+
* Normalized in-band autocorrelation at a delay.
|
|
5907
|
+
*/
|
|
5908
|
+
autocorrelation(delay_s: number, receiver_bandwidth_hz: number): number;
|
|
5909
|
+
/**
|
|
5910
|
+
* Build a BPSK(n) modulation, where the code rate is `n * 1.023 MHz`.
|
|
5911
|
+
*/
|
|
5912
|
+
static bpsk(order: number): SignalAnalysisModulation;
|
|
5913
|
+
/**
|
|
5914
|
+
* Build Galileo E1 CBOC(6,1,1/11) with the minus chip-pulse convention.
|
|
5915
|
+
*/
|
|
5916
|
+
static cboc611Over11Minus(): SignalAnalysisModulation;
|
|
5917
|
+
/**
|
|
5918
|
+
* Build Galileo E1 CBOC(6,1,1/11) with the plus chip-pulse convention.
|
|
5919
|
+
*/
|
|
5920
|
+
static cboc611Over11Plus(): SignalAnalysisModulation;
|
|
5921
|
+
/**
|
|
5922
|
+
* Build a cosine-phased BOC(m,n) modulation.
|
|
5923
|
+
*/
|
|
5924
|
+
static cosineBoc(m: number, n: number): SignalAnalysisModulation;
|
|
5925
|
+
/**
|
|
5926
|
+
* Published lower bound for DLL code-delay jitter.
|
|
5927
|
+
*/
|
|
5928
|
+
dllLowerBound(options: any): any;
|
|
5929
|
+
/**
|
|
5930
|
+
* Early-late DLL thermal-noise jitter for this modulation.
|
|
5931
|
+
*/
|
|
5932
|
+
dllThermalNoiseJitter(options: any, processing: DllProcessing): any;
|
|
5933
|
+
/**
|
|
5934
|
+
* Fraction of total signal power inside a two-sided receiver bandwidth.
|
|
5935
|
+
*/
|
|
5936
|
+
fractionPowerInBand(receiver_bandwidth_hz: number): number;
|
|
5937
|
+
/**
|
|
5938
|
+
* Build the normalized MBOC(6,1,1/11) spectrum.
|
|
5939
|
+
*/
|
|
5940
|
+
static mboc611Over11(): SignalAnalysisModulation;
|
|
5941
|
+
/**
|
|
5942
|
+
* One-path early-late multipath error envelope on a delay grid.
|
|
5943
|
+
*/
|
|
5944
|
+
multipathErrorEnvelope(options: any, delay_chips: Float64Array): any;
|
|
5945
|
+
/**
|
|
5946
|
+
* Signal power inside a two-sided receiver bandwidth.
|
|
5947
|
+
*/
|
|
5948
|
+
powerInBand(receiver_bandwidth_hz: number): number;
|
|
5949
|
+
/**
|
|
5950
|
+
* Normalized power spectral density at an offset frequency, in `1/Hz`.
|
|
5951
|
+
*/
|
|
5952
|
+
psdHz(offset_hz: number): number;
|
|
5953
|
+
/**
|
|
5954
|
+
* RMS, or Gabor, bandwidth over a two-sided receiver bandwidth.
|
|
5955
|
+
*/
|
|
5956
|
+
rmsBandwidthHz(receiver_bandwidth_hz: number): number;
|
|
5957
|
+
/**
|
|
5958
|
+
* Build a sine-phased BOC(m,n) modulation.
|
|
5959
|
+
*/
|
|
5960
|
+
static sineBoc(m: number, n: number): SignalAnalysisModulation;
|
|
5961
|
+
/**
|
|
5962
|
+
* Build the GPS L1C pilot TMBOC(6,1,4/33) spectrum.
|
|
5963
|
+
*/
|
|
5964
|
+
static tmboc614Over33(): SignalAnalysisModulation;
|
|
5965
|
+
/**
|
|
5966
|
+
* SSC against white interference normalized over the receiver bandwidth.
|
|
5967
|
+
*/
|
|
5968
|
+
whiteNoiseSpectralSeparationHz(receiver_bandwidth_hz: number): number;
|
|
5969
|
+
/**
|
|
5970
|
+
* Code rate in hertz when the modulation has one unambiguous rate.
|
|
5971
|
+
*/
|
|
5972
|
+
readonly codeRateHz: number;
|
|
5973
|
+
/**
|
|
5974
|
+
* Stable core label for this modulation.
|
|
5975
|
+
*/
|
|
5976
|
+
readonly label: string;
|
|
5977
|
+
}
|
|
5978
|
+
|
|
5812
5979
|
/**
|
|
5813
5980
|
* Per-constellation single-frequency pseudorange code-selection policy. Build
|
|
5814
5981
|
* with `new SignalPolicy()` then chain `.withSystem(system, codes)`, or use
|
|
@@ -5903,6 +6070,14 @@ export class SmoothCodeResult {
|
|
|
5903
6070
|
readonly window: number;
|
|
5904
6071
|
}
|
|
5905
6072
|
|
|
6073
|
+
export class SmoothedTrack {
|
|
6074
|
+
private constructor();
|
|
6075
|
+
free(): void;
|
|
6076
|
+
[Symbol.dispose](): void;
|
|
6077
|
+
readonly epochCount: number;
|
|
6078
|
+
readonly epochs: any;
|
|
6079
|
+
}
|
|
6080
|
+
|
|
5906
6081
|
/**
|
|
5907
6082
|
* A receiver solution paired with the provenance of the ephemeris that produced
|
|
5908
6083
|
* it. Returned by [`solveWithFallback`].
|
|
@@ -7406,6 +7581,71 @@ export class TlePropagation {
|
|
|
7406
7581
|
readonly velocityKmS: Float64Array;
|
|
7407
7582
|
}
|
|
7408
7583
|
|
|
7584
|
+
export class TrackFilter {
|
|
7585
|
+
free(): void;
|
|
7586
|
+
[Symbol.dispose](): void;
|
|
7587
|
+
/**
|
|
7588
|
+
* Build a filter from a position fix and uncertain zero initial velocity.
|
|
7589
|
+
*/
|
|
7590
|
+
static fromPosition(config: any): TrackFilter;
|
|
7591
|
+
/**
|
|
7592
|
+
* Build a stateful no-IMU track filter from a `TrackFilterConfig`.
|
|
7593
|
+
*/
|
|
7594
|
+
constructor(config: TrackFilterConfig);
|
|
7595
|
+
positionInnovation(request: any): any;
|
|
7596
|
+
predict(dt_s: number): any;
|
|
7597
|
+
predictRecorded(dt_s: number, history: TrackRtsHistoryBuilder): any;
|
|
7598
|
+
recordPredictionOnly(history: TrackRtsHistoryBuilder): void;
|
|
7599
|
+
stateInnovation(request: any): any;
|
|
7600
|
+
updatePosition(request: any): any;
|
|
7601
|
+
updatePositionGated(request: any): any;
|
|
7602
|
+
updatePositionGatedRecorded(request: any, history: TrackRtsHistoryBuilder): any;
|
|
7603
|
+
updatePositionRecorded(request: any, history: TrackRtsHistoryBuilder): any;
|
|
7604
|
+
updateState(request: any): any;
|
|
7605
|
+
readonly accelerationVarianceSpectralDensityM2S3: number;
|
|
7606
|
+
readonly dimension: number;
|
|
7607
|
+
readonly state: any;
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7610
|
+
export class TrackFilterConfig {
|
|
7611
|
+
free(): void;
|
|
7612
|
+
[Symbol.dispose](): void;
|
|
7613
|
+
/**
|
|
7614
|
+
* Build a config from a position fix and uncertain zero initial velocity.
|
|
7615
|
+
*/
|
|
7616
|
+
static fromPosition(config: any): TrackFilterConfig;
|
|
7617
|
+
/**
|
|
7618
|
+
* Build a no-IMU track filter config from a JS object.
|
|
7619
|
+
*/
|
|
7620
|
+
constructor(config: any);
|
|
7621
|
+
toObject(): any;
|
|
7622
|
+
readonly dimension: number;
|
|
7623
|
+
readonly frame: string;
|
|
7624
|
+
readonly initialTS: number;
|
|
7625
|
+
}
|
|
7626
|
+
|
|
7627
|
+
export class TrackRtsHistory {
|
|
7628
|
+
private constructor();
|
|
7629
|
+
free(): void;
|
|
7630
|
+
[Symbol.dispose](): void;
|
|
7631
|
+
readonly epochCount: number;
|
|
7632
|
+
readonly epochs: any;
|
|
7633
|
+
}
|
|
7634
|
+
|
|
7635
|
+
export class TrackRtsHistoryBuilder {
|
|
7636
|
+
free(): void;
|
|
7637
|
+
[Symbol.dispose](): void;
|
|
7638
|
+
finish(): TrackRtsHistory;
|
|
7639
|
+
/**
|
|
7640
|
+
* Start a history from the filter's current state.
|
|
7641
|
+
*/
|
|
7642
|
+
static fromFilter(filter: TrackFilter): TrackRtsHistoryBuilder;
|
|
7643
|
+
/**
|
|
7644
|
+
* Start an empty history for manual recording.
|
|
7645
|
+
*/
|
|
7646
|
+
constructor();
|
|
7647
|
+
}
|
|
7648
|
+
|
|
7409
7649
|
/**
|
|
7410
7650
|
* Provenance and coverage of the embedded UT1-UTC / delta-T (EOP) table.
|
|
7411
7651
|
*/
|
|
@@ -7978,6 +8218,11 @@ export function decodeSsr(bytes: Uint8Array, framed?: boolean | null): any;
|
|
|
7978
8218
|
*/
|
|
7979
8219
|
export function defaultPair(system: GnssSystem): CarrierPair | undefined;
|
|
7980
8220
|
|
|
8221
|
+
/**
|
|
8222
|
+
* Default scenario seed as a hexadecimal string.
|
|
8223
|
+
*/
|
|
8224
|
+
export function defaultScenarioSeedHex(): string;
|
|
8225
|
+
|
|
7981
8226
|
/**
|
|
7982
8227
|
* Single-frequency carrier used by the SPP ionosphere-scaling policy.
|
|
7983
8228
|
*/
|
|
@@ -8092,6 +8337,11 @@ export function ecefToGeodetic(position_km: Float64Array): Float64Array;
|
|
|
8092
8337
|
*/
|
|
8093
8338
|
export function eclipseStatus(satellite_position_km: Float64Array, sun_position_km: Float64Array): string[];
|
|
8094
8339
|
|
|
8340
|
+
/**
|
|
8341
|
+
* Effective C/N0 degradation for one finite-band interference term.
|
|
8342
|
+
*/
|
|
8343
|
+
export function effectiveCn0Degradation(desired: SignalAnalysisModulation, interference: SignalAnalysisModulation, cn0_db_hz: number, receiver_bandwidth_hz: number, power_ratio_to_carrier: number): any;
|
|
8344
|
+
|
|
8095
8345
|
/**
|
|
8096
8346
|
* Ellipsoidal height `h = H + N` (metres above the WGS84 ellipsoid) from an
|
|
8097
8347
|
* orthometric height and a geodetic position in radians, using the embedded
|
|
@@ -8498,6 +8748,11 @@ export function fromCelestrakJsonLenient(json: string, system?: string | null):
|
|
|
8498
8748
|
*/
|
|
8499
8749
|
export function fspl(distance_km: number, frequency_mhz: number): number;
|
|
8500
8750
|
|
|
8751
|
+
/**
|
|
8752
|
+
* Decode and re-encode fusion-state bytes through the core codec.
|
|
8753
|
+
*/
|
|
8754
|
+
export function fusionStateBytesRoundTrip(bytes: Uint8Array): Uint8Array;
|
|
8755
|
+
|
|
8501
8756
|
/**
|
|
8502
8757
|
* Galileo NeQuick-G single-frequency ionospheric group delay (positive metres).
|
|
8503
8758
|
*
|
|
@@ -9902,6 +10157,16 @@ export function sbasPrnToSat(broadcast_prn: number): any;
|
|
|
9902
10157
|
*/
|
|
9903
10158
|
export function sbasProtectionLevels(geometry: any, model: SbasErrorModel, k: SbasKMultipliers): SbasProtection;
|
|
9904
10159
|
|
|
10160
|
+
/**
|
|
10161
|
+
* Core scenario engine version string used in deterministic outputs.
|
|
10162
|
+
*/
|
|
10163
|
+
export function scenarioEngineVersion(): string;
|
|
10164
|
+
|
|
10165
|
+
/**
|
|
10166
|
+
* Core scenario schema version accepted by the binding.
|
|
10167
|
+
*/
|
|
10168
|
+
export function scenarioSchemaVersion(): number;
|
|
10169
|
+
|
|
9905
10170
|
/**
|
|
9906
10171
|
* Screen a primary satellite against a secondary TLE catalog for threshold TCAs.
|
|
9907
10172
|
*
|
|
@@ -9998,6 +10263,26 @@ export function siderealFilter(series: any, period_s: number, options: any): any
|
|
|
9998
10263
|
*/
|
|
9999
10264
|
export function sigmas(entries: any, options: any): SatelliteVector;
|
|
10000
10265
|
|
|
10266
|
+
/**
|
|
10267
|
+
* Simulate a scenario from a JS object or JSON string and return JS arrays.
|
|
10268
|
+
*/
|
|
10269
|
+
export function simulateScenario(value: any): any;
|
|
10270
|
+
|
|
10271
|
+
/**
|
|
10272
|
+
* Simulate a scenario from a JS object or JSON string and return deterministic JSON bytes.
|
|
10273
|
+
*/
|
|
10274
|
+
export function simulateScenarioBytes(value: any): Uint8Array;
|
|
10275
|
+
|
|
10276
|
+
/**
|
|
10277
|
+
* Simulate a scenario from JSON text and return JS arrays.
|
|
10278
|
+
*/
|
|
10279
|
+
export function simulateScenarioJson(text: string): any;
|
|
10280
|
+
|
|
10281
|
+
/**
|
|
10282
|
+
* Simulate a scenario from JSON text and return deterministic JSON bytes.
|
|
10283
|
+
*/
|
|
10284
|
+
export function simulateScenarioJsonBytes(text: string): Uint8Array;
|
|
10285
|
+
|
|
10001
10286
|
/**
|
|
10002
10287
|
* Sample skewness of a residual set.
|
|
10003
10288
|
*
|
|
@@ -10023,6 +10308,8 @@ export function smoothCode(arc: any, options: any, hatch_window_cap?: number | n
|
|
|
10023
10308
|
*/
|
|
10024
10309
|
export function smoothIonoFreeCode(arc: any, options: any, hatch_window_cap?: number | null): IonoFreeSmoothResult[];
|
|
10025
10310
|
|
|
10311
|
+
export function smoothTrackRts(history: TrackRtsHistory): SmoothedTrack;
|
|
10312
|
+
|
|
10026
10313
|
/**
|
|
10027
10314
|
* Post-correlation predetection SNR in decibels.
|
|
10028
10315
|
*/
|
|
@@ -10227,6 +10514,16 @@ export function sourceSolveModeToa(): string;
|
|
|
10227
10514
|
*/
|
|
10228
10515
|
export function sp3PreciseEphemerisSamples(sp3: Sp3): any;
|
|
10229
10516
|
|
|
10517
|
+
/**
|
|
10518
|
+
* Spectral separation coefficient between two modulations, in dB-Hz.
|
|
10519
|
+
*/
|
|
10520
|
+
export function spectralSeparationCoefficientDbHz(desired: SignalAnalysisModulation, interference: SignalAnalysisModulation, receiver_bandwidth_hz: number): number;
|
|
10521
|
+
|
|
10522
|
+
/**
|
|
10523
|
+
* Spectral separation coefficient between two modulations, in hertz.
|
|
10524
|
+
*/
|
|
10525
|
+
export function spectralSeparationCoefficientHz(desired: SignalAnalysisModulation, interference: SignalAnalysisModulation, receiver_bandwidth_hz: number): number;
|
|
10526
|
+
|
|
10230
10527
|
/**
|
|
10231
10528
|
* Continuous seconds since J2000 for a split Julian date.
|
|
10232
10529
|
*/
|