@neilberkman/sidereon 0.14.0 → 0.15.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 +18 -4
- package/package.json +1 -1
- package/pkg/sidereon.d.ts +1641 -1004
- package/pkg/sidereon.js +1238 -9
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1091 -1000
- package/pkg-node/sidereon.d.ts +547 -1
- package/pkg-node/sidereon.js +1272 -10
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1091 -1000
- package/types/sidereon-extra.d.ts +541 -6
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -59,6 +59,34 @@ export class AcquisitionResult {
|
|
|
59
59
|
readonly peakPower: number;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Airborne receiver and multipath contribution model.
|
|
64
|
+
*/
|
|
65
|
+
export class AirborneModel {
|
|
66
|
+
free(): void;
|
|
67
|
+
[Symbol.dispose](): void;
|
|
68
|
+
/**
|
|
69
|
+
* AAD-A airborne model.
|
|
70
|
+
*/
|
|
71
|
+
static aadA(): AirborneModel;
|
|
72
|
+
/**
|
|
73
|
+
* Default airborne model.
|
|
74
|
+
*/
|
|
75
|
+
static defaultModel(): AirborneModel;
|
|
76
|
+
/**
|
|
77
|
+
* Construct an airborne model from a receiver noise term in metres.
|
|
78
|
+
*/
|
|
79
|
+
constructor(sigma_noise_divergence_m: number);
|
|
80
|
+
/**
|
|
81
|
+
* Airborne receiver, divergence, and multipath sigma, metres, or `null`.
|
|
82
|
+
*/
|
|
83
|
+
sigmaAirM(elevation_rad: number): any;
|
|
84
|
+
/**
|
|
85
|
+
* Receiver noise and code-carrier divergence sigma, metres.
|
|
86
|
+
*/
|
|
87
|
+
readonly sigmaNoiseDivergenceM: number;
|
|
88
|
+
}
|
|
89
|
+
|
|
62
90
|
/**
|
|
63
91
|
* A receiver or satellite ANTEX antenna calibration block.
|
|
64
92
|
*/
|
|
@@ -1221,6 +1249,61 @@ export class CoverageGrid {
|
|
|
1221
1249
|
readonly stationCount: number;
|
|
1222
1250
|
}
|
|
1223
1251
|
|
|
1252
|
+
/**
|
|
1253
|
+
* SBAS degradation terms used when deriving an error model from a store.
|
|
1254
|
+
*/
|
|
1255
|
+
export class DegradationParams {
|
|
1256
|
+
free(): void;
|
|
1257
|
+
[Symbol.dispose](): void;
|
|
1258
|
+
/**
|
|
1259
|
+
* Default degradation parameters.
|
|
1260
|
+
*/
|
|
1261
|
+
static defaultParams(): DegradationParams;
|
|
1262
|
+
/**
|
|
1263
|
+
* True when all degradation parameters are inside the valid domain.
|
|
1264
|
+
*/
|
|
1265
|
+
isValid(): boolean;
|
|
1266
|
+
/**
|
|
1267
|
+
* Construct SBAS degradation parameters.
|
|
1268
|
+
*
|
|
1269
|
+
* Omitted numeric fields use the no-degradation defaults. Invalid values
|
|
1270
|
+
* throw a `RangeError`.
|
|
1271
|
+
*/
|
|
1272
|
+
constructor(delta_udre?: number | null, eps_fc_m?: number | null, eps_rrc_m?: number | null, eps_ltc_m?: number | null, eps_er_m?: number | null, eps_iono_m?: number | null, rss_udre?: boolean | null);
|
|
1273
|
+
/**
|
|
1274
|
+
* No extra degradation and no UDRE inflation.
|
|
1275
|
+
*/
|
|
1276
|
+
static none(): DegradationParams;
|
|
1277
|
+
/**
|
|
1278
|
+
* Variance multiplier applied to the UDRE variance table.
|
|
1279
|
+
*/
|
|
1280
|
+
readonly deltaUdre: number;
|
|
1281
|
+
/**
|
|
1282
|
+
* En-route degradation term, metres.
|
|
1283
|
+
*/
|
|
1284
|
+
readonly epsErM: number;
|
|
1285
|
+
/**
|
|
1286
|
+
* Fast-correction degradation term, metres.
|
|
1287
|
+
*/
|
|
1288
|
+
readonly epsFcM: number;
|
|
1289
|
+
/**
|
|
1290
|
+
* Ionospheric degradation term added to UIRE, metres.
|
|
1291
|
+
*/
|
|
1292
|
+
readonly epsIonoM: number;
|
|
1293
|
+
/**
|
|
1294
|
+
* Long-term-correction degradation term, metres.
|
|
1295
|
+
*/
|
|
1296
|
+
readonly epsLtcM: number;
|
|
1297
|
+
/**
|
|
1298
|
+
* Range-rate-correction degradation term, metres.
|
|
1299
|
+
*/
|
|
1300
|
+
readonly epsRrcM: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* Whether UDRE degradation terms are combined by root-sum-square.
|
|
1303
|
+
*/
|
|
1304
|
+
readonly rssUdre: boolean;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1224
1307
|
/**
|
|
1225
1308
|
* A DGNSS rover solve: the corrected SPP solution plus the base-relative
|
|
1226
1309
|
* baseline.
|
|
@@ -1619,6 +1702,27 @@ export class Ephemeris {
|
|
|
1619
1702
|
readonly velocityKmS: Float64Array;
|
|
1620
1703
|
}
|
|
1621
1704
|
|
|
1705
|
+
/**
|
|
1706
|
+
* A horizontal one-sigma error ellipse.
|
|
1707
|
+
*/
|
|
1708
|
+
export class ErrorEllipse {
|
|
1709
|
+
private constructor();
|
|
1710
|
+
free(): void;
|
|
1711
|
+
[Symbol.dispose](): void;
|
|
1712
|
+
/**
|
|
1713
|
+
* Semi-major-axis orientation in radians, from east toward north.
|
|
1714
|
+
*/
|
|
1715
|
+
readonly orientationRad: number;
|
|
1716
|
+
/**
|
|
1717
|
+
* Semi-major axis length, metres.
|
|
1718
|
+
*/
|
|
1719
|
+
readonly semiMajorM: number;
|
|
1720
|
+
/**
|
|
1721
|
+
* Semi-minor axis length, metres.
|
|
1722
|
+
*/
|
|
1723
|
+
readonly semiMinorM: number;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1622
1726
|
/**
|
|
1623
1727
|
* A confidence ellipse from a 2x2 covariance block: semi-axes scaled by the
|
|
1624
1728
|
* two-degree-of-freedom chi-square quantile `-2 ln(1 - confidence)`.
|
|
@@ -4110,6 +4214,31 @@ export class ParsedTleFile {
|
|
|
4110
4214
|
readonly skipped: number;
|
|
4111
4215
|
}
|
|
4112
4216
|
|
|
4217
|
+
/**
|
|
4218
|
+
* A percentile circle or sphere radius.
|
|
4219
|
+
*/
|
|
4220
|
+
export class PercentileRadius {
|
|
4221
|
+
private constructor();
|
|
4222
|
+
free(): void;
|
|
4223
|
+
[Symbol.dispose](): void;
|
|
4224
|
+
/**
|
|
4225
|
+
* Approximate named radius, metres, when applicable.
|
|
4226
|
+
*/
|
|
4227
|
+
readonly approxM: number;
|
|
4228
|
+
/**
|
|
4229
|
+
* Whether `approxM` is valid for the covariance ratio.
|
|
4230
|
+
*/
|
|
4231
|
+
readonly approxValid: boolean;
|
|
4232
|
+
/**
|
|
4233
|
+
* Probability mass inside this radius.
|
|
4234
|
+
*/
|
|
4235
|
+
readonly probability: number;
|
|
4236
|
+
/**
|
|
4237
|
+
* Exact circle or sphere radius, metres.
|
|
4238
|
+
*/
|
|
4239
|
+
readonly radiusM: number;
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4113
4242
|
/**
|
|
4114
4243
|
* A long span represented by contiguous independently-fitted reduced-orbit
|
|
4115
4244
|
* segments. Carries the fitted segments and the time scale they were fitted in;
|
|
@@ -4189,6 +4318,89 @@ export class PiecewiseOrbitSourceFit {
|
|
|
4189
4318
|
readonly usedSamples: number;
|
|
4190
4319
|
}
|
|
4191
4320
|
|
|
4321
|
+
/**
|
|
4322
|
+
* Standard position-error metrics derived from a position covariance.
|
|
4323
|
+
*/
|
|
4324
|
+
export class PositionErrorMetrics {
|
|
4325
|
+
private constructor();
|
|
4326
|
+
free(): void;
|
|
4327
|
+
[Symbol.dispose](): void;
|
|
4328
|
+
/**
|
|
4329
|
+
* Horizontal 50 percent circle radius.
|
|
4330
|
+
*/
|
|
4331
|
+
readonly cepM: PercentileRadius;
|
|
4332
|
+
/**
|
|
4333
|
+
* Distance root mean square, metres.
|
|
4334
|
+
*/
|
|
4335
|
+
readonly drmsM: number;
|
|
4336
|
+
/**
|
|
4337
|
+
* Horizontal one-sigma covariance ellipse.
|
|
4338
|
+
*/
|
|
4339
|
+
readonly ellipse: ErrorEllipse;
|
|
4340
|
+
/**
|
|
4341
|
+
* Mean radial spherical error, metres.
|
|
4342
|
+
*/
|
|
4343
|
+
readonly mrseM: number;
|
|
4344
|
+
/**
|
|
4345
|
+
* Horizontal 95 percent circle radius.
|
|
4346
|
+
*/
|
|
4347
|
+
readonly r95M: PercentileRadius;
|
|
4348
|
+
/**
|
|
4349
|
+
* Horizontal 99 percent circle radius.
|
|
4350
|
+
*/
|
|
4351
|
+
readonly r99M: PercentileRadius;
|
|
4352
|
+
/**
|
|
4353
|
+
* Three-dimensional 50 percent sphere radius.
|
|
4354
|
+
*/
|
|
4355
|
+
readonly sepM: PercentileRadius;
|
|
4356
|
+
/**
|
|
4357
|
+
* East standard deviation, metres.
|
|
4358
|
+
*/
|
|
4359
|
+
readonly sigmaEM: number;
|
|
4360
|
+
/**
|
|
4361
|
+
* North standard deviation, metres.
|
|
4362
|
+
*/
|
|
4363
|
+
readonly sigmaNM: number;
|
|
4364
|
+
/**
|
|
4365
|
+
* Up standard deviation, metres.
|
|
4366
|
+
*/
|
|
4367
|
+
readonly sigmaUM: number;
|
|
4368
|
+
/**
|
|
4369
|
+
* Two times distance root mean square, metres.
|
|
4370
|
+
*/
|
|
4371
|
+
readonly twoDrmsM: number;
|
|
4372
|
+
/**
|
|
4373
|
+
* Vertical 50 percent one-dimensional radius, metres.
|
|
4374
|
+
*/
|
|
4375
|
+
readonly vepM: number;
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
/**
|
|
4379
|
+
* IEEE 1139 fractional-frequency PSD power-law noise type.
|
|
4380
|
+
*/
|
|
4381
|
+
export enum PowerLawNoiseType {
|
|
4382
|
+
/**
|
|
4383
|
+
* Random-walk frequency modulation, `S_y(f) = h_-2 f^-2`.
|
|
4384
|
+
*/
|
|
4385
|
+
RandomWalkFM = 0,
|
|
4386
|
+
/**
|
|
4387
|
+
* Flicker frequency modulation, `S_y(f) = h_-1 f^-1`.
|
|
4388
|
+
*/
|
|
4389
|
+
FlickerFM = 1,
|
|
4390
|
+
/**
|
|
4391
|
+
* White frequency modulation, `S_y(f) = h_0`.
|
|
4392
|
+
*/
|
|
4393
|
+
WhiteFM = 2,
|
|
4394
|
+
/**
|
|
4395
|
+
* Flicker phase modulation, `S_y(f) = h_1 f`.
|
|
4396
|
+
*/
|
|
4397
|
+
FlickerPM = 3,
|
|
4398
|
+
/**
|
|
4399
|
+
* White phase modulation, `S_y(f) = h_2 f^2`.
|
|
4400
|
+
*/
|
|
4401
|
+
WhitePM = 4,
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4192
4404
|
/**
|
|
4193
4405
|
* Static integer-fixed PPP solution.
|
|
4194
4406
|
*/
|
|
@@ -5023,6 +5235,170 @@ export class SbasCorrectionStore {
|
|
|
5023
5235
|
setStalenessSeconds(seconds: number): void;
|
|
5024
5236
|
}
|
|
5025
5237
|
|
|
5238
|
+
/**
|
|
5239
|
+
* Index-aligned SBAS error model for protection-level geometry rows.
|
|
5240
|
+
*/
|
|
5241
|
+
export class SbasErrorModel {
|
|
5242
|
+
free(): void;
|
|
5243
|
+
[Symbol.dispose](): void;
|
|
5244
|
+
/**
|
|
5245
|
+
* Build an SBAS error model from a decoded correction store.
|
|
5246
|
+
*
|
|
5247
|
+
* `geo` is an SBAS satellite token, `geometry` is protection geometry, and
|
|
5248
|
+
* `epochJ2000S` is the receive epoch used for freshness checks. Omit
|
|
5249
|
+
* `airborne` or `degradation` to use their defaults.
|
|
5250
|
+
*/
|
|
5251
|
+
static fromStore(store: SbasCorrectionStore, geo: string, geometry: any, airborne: AirborneModel | null | undefined, epoch_j2000_s: number, degradation?: DegradationParams | null): SbasErrorModel;
|
|
5252
|
+
/**
|
|
5253
|
+
* Construct an SBAS error model from rows.
|
|
5254
|
+
*
|
|
5255
|
+
* `rows` is an array of `{ id, sigmaFltM, sigmaUireM?, sigmaAirM?,
|
|
5256
|
+
* sigmaTropoM? }` objects. As a shorthand, a row may provide only
|
|
5257
|
+
* `{ id, sigmaM }`, which is stored as the total one-sigma range term.
|
|
5258
|
+
*/
|
|
5259
|
+
constructor(rows: any);
|
|
5260
|
+
/**
|
|
5261
|
+
* Return the row for a satellite token, or `undefined` if it is absent.
|
|
5262
|
+
*/
|
|
5263
|
+
rowFor(id: string): SbasSisError | undefined;
|
|
5264
|
+
/**
|
|
5265
|
+
* Number of range-error rows in the model.
|
|
5266
|
+
*/
|
|
5267
|
+
readonly rowCount: number;
|
|
5268
|
+
/**
|
|
5269
|
+
* Error-model rows as plain objects.
|
|
5270
|
+
*/
|
|
5271
|
+
readonly rows: any;
|
|
5272
|
+
}
|
|
5273
|
+
|
|
5274
|
+
/**
|
|
5275
|
+
* Fixed SBAS protection-level multipliers.
|
|
5276
|
+
*/
|
|
5277
|
+
export class SbasKMultipliers {
|
|
5278
|
+
free(): void;
|
|
5279
|
+
[Symbol.dispose](): void;
|
|
5280
|
+
/**
|
|
5281
|
+
* En-route through non-precision-approach SBAS K multipliers.
|
|
5282
|
+
*/
|
|
5283
|
+
static enRouteNpa(): SbasKMultipliers;
|
|
5284
|
+
/**
|
|
5285
|
+
* Construct SBAS horizontal and vertical K multipliers.
|
|
5286
|
+
*
|
|
5287
|
+
* Both values must be positive finite numbers.
|
|
5288
|
+
*/
|
|
5289
|
+
constructor(k_h: number, k_v: number);
|
|
5290
|
+
/**
|
|
5291
|
+
* Precision-approach SBAS K multipliers.
|
|
5292
|
+
*/
|
|
5293
|
+
static precisionApproach(): SbasKMultipliers;
|
|
5294
|
+
/**
|
|
5295
|
+
* Horizontal K multiplier.
|
|
5296
|
+
*/
|
|
5297
|
+
readonly kH: number;
|
|
5298
|
+
/**
|
|
5299
|
+
* Vertical K multiplier.
|
|
5300
|
+
*/
|
|
5301
|
+
readonly kV: number;
|
|
5302
|
+
}
|
|
5303
|
+
|
|
5304
|
+
/**
|
|
5305
|
+
* SBAS protection-level input or numerical failure.
|
|
5306
|
+
*/
|
|
5307
|
+
export enum SbasPlError {
|
|
5308
|
+
/**
|
|
5309
|
+
* The geometry lacks enough independent rows for the active clocks.
|
|
5310
|
+
*/
|
|
5311
|
+
InsufficientGeometry = 0,
|
|
5312
|
+
/**
|
|
5313
|
+
* Matrix projection or covariance processing failed.
|
|
5314
|
+
*/
|
|
5315
|
+
NumericalFailure = 1,
|
|
5316
|
+
/**
|
|
5317
|
+
* The supplied error model or K multipliers are outside their domain.
|
|
5318
|
+
*/
|
|
5319
|
+
InvalidErrorModel = 2,
|
|
5320
|
+
}
|
|
5321
|
+
|
|
5322
|
+
/**
|
|
5323
|
+
* SBAS protection-level output for one geometry snapshot.
|
|
5324
|
+
*/
|
|
5325
|
+
export class SbasProtection {
|
|
5326
|
+
private constructor();
|
|
5327
|
+
free(): void;
|
|
5328
|
+
[Symbol.dispose](): void;
|
|
5329
|
+
/**
|
|
5330
|
+
* East one-sigma standard deviation, metres.
|
|
5331
|
+
*/
|
|
5332
|
+
readonly dEastM: number;
|
|
5333
|
+
/**
|
|
5334
|
+
* East-north covariance term, square metres.
|
|
5335
|
+
*/
|
|
5336
|
+
readonly dEnM2: number;
|
|
5337
|
+
/**
|
|
5338
|
+
* Horizontal one-sigma semi-major axis, metres.
|
|
5339
|
+
*/
|
|
5340
|
+
readonly dMajorM: number;
|
|
5341
|
+
/**
|
|
5342
|
+
* North one-sigma standard deviation, metres.
|
|
5343
|
+
*/
|
|
5344
|
+
readonly dNorthM: number;
|
|
5345
|
+
/**
|
|
5346
|
+
* Horizontal protection level, metres.
|
|
5347
|
+
*/
|
|
5348
|
+
readonly hplM: number;
|
|
5349
|
+
/**
|
|
5350
|
+
* Vertical one-sigma standard deviation, metres.
|
|
5351
|
+
*/
|
|
5352
|
+
readonly sigmaUM: number;
|
|
5353
|
+
/**
|
|
5354
|
+
* Vertical protection level, metres.
|
|
5355
|
+
*/
|
|
5356
|
+
readonly vplM: number;
|
|
5357
|
+
}
|
|
5358
|
+
|
|
5359
|
+
/**
|
|
5360
|
+
* One satellite's SBAS one-sigma range-error budget.
|
|
5361
|
+
*/
|
|
5362
|
+
export class SbasSisError {
|
|
5363
|
+
free(): void;
|
|
5364
|
+
[Symbol.dispose](): void;
|
|
5365
|
+
/**
|
|
5366
|
+
* Construct one SBAS range-error row.
|
|
5367
|
+
*
|
|
5368
|
+
* Component sigmas are metres. They are combined by root-sum-square when
|
|
5369
|
+
* the model is evaluated.
|
|
5370
|
+
*/
|
|
5371
|
+
constructor(id: string, sigma_flt_m: number, sigma_uire_m: number, sigma_air_m: number, sigma_tropo_m: number);
|
|
5372
|
+
/**
|
|
5373
|
+
* Total one-sigma range error, metres, or `null` if invalid.
|
|
5374
|
+
*/
|
|
5375
|
+
sigmaM(): any;
|
|
5376
|
+
/**
|
|
5377
|
+
* Sum-of-squares range variance, square metres, or `null` if invalid.
|
|
5378
|
+
*/
|
|
5379
|
+
varianceM2(): any;
|
|
5380
|
+
/**
|
|
5381
|
+
* Satellite token for this range-error row.
|
|
5382
|
+
*/
|
|
5383
|
+
readonly id: string;
|
|
5384
|
+
/**
|
|
5385
|
+
* Airborne receiver noise, divergence, and multipath sigma, metres.
|
|
5386
|
+
*/
|
|
5387
|
+
readonly sigmaAirM: number;
|
|
5388
|
+
/**
|
|
5389
|
+
* Fast and long-term correction residual sigma, metres.
|
|
5390
|
+
*/
|
|
5391
|
+
readonly sigmaFltM: number;
|
|
5392
|
+
/**
|
|
5393
|
+
* Tropospheric residual sigma, metres.
|
|
5394
|
+
*/
|
|
5395
|
+
readonly sigmaTropoM: number;
|
|
5396
|
+
/**
|
|
5397
|
+
* User ionospheric range-error sigma, metres.
|
|
5398
|
+
*/
|
|
5399
|
+
readonly sigmaUireM: number;
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5026
5402
|
/**
|
|
5027
5403
|
* Per-constellation single-frequency pseudorange code-selection policy. Build
|
|
5028
5404
|
* with `new SignalPolicy()` then chain `.withSystem(system, codes)`, or use
|
|
@@ -6363,6 +6739,16 @@ export function acquire(samples: Float64Array, prn: bigint, options: any): Acqui
|
|
|
6363
6739
|
*/
|
|
6364
6740
|
export function allanDeviation(series: any, tau0_s: number, averaging_factors: any): any;
|
|
6365
6741
|
|
|
6742
|
+
/**
|
|
6743
|
+
* Exact ADEV log-log slope for a power-law noise type.
|
|
6744
|
+
*/
|
|
6745
|
+
export function allanDeviationPowerLawSlope(noise_type: PowerLawNoiseType): number;
|
|
6746
|
+
|
|
6747
|
+
/**
|
|
6748
|
+
* Exact Allan-variance tau exponent for a power-law noise type.
|
|
6749
|
+
*/
|
|
6750
|
+
export function allanVariancePowerLawTauExponent(noise_type: PowerLawNoiseType): number;
|
|
6751
|
+
|
|
6366
6752
|
/**
|
|
6367
6753
|
* Alpha-beta measurement update applied to a predicted scalar state.
|
|
6368
6754
|
*
|
|
@@ -6727,6 +7113,14 @@ export function defaultSppFrequencyHz(system: GnssSystem): number | undefined;
|
|
|
6727
7113
|
*/
|
|
6728
7114
|
export function detectCycleSlips(arc: any, options: any): SlipResult[];
|
|
6729
7115
|
|
|
7116
|
+
/**
|
|
7117
|
+
* Detect candidate displacement steps in a station position series.
|
|
7118
|
+
*
|
|
7119
|
+
* `options` may set `windowYears`, `scoreThreshold`, `minOffsetM`,
|
|
7120
|
+
* `minSamplesEachSide`, `minSeparationYears`, and nested `midas` controls.
|
|
7121
|
+
*/
|
|
7122
|
+
export function detectSteps(series: any, options: any): any;
|
|
7123
|
+
|
|
6730
7124
|
/**
|
|
6731
7125
|
* Apply base pseudorange corrections to rover observations by satellite token.
|
|
6732
7126
|
*
|
|
@@ -7028,6 +7422,25 @@ export function fitPiecewiseReducedOrbitSp3(sp3: Sp3, satellite: string, options
|
|
|
7028
7422
|
*/
|
|
7029
7423
|
export function fitPiecewiseReducedOrbitTle(tle: Tle, options: any): PiecewiseOrbitSourceFit;
|
|
7030
7424
|
|
|
7425
|
+
/**
|
|
7426
|
+
* Identify power-law clock-noise regions from ADEV and MDEV curves.
|
|
7427
|
+
*
|
|
7428
|
+
* `adev` and `mdev` are `{ tauS, deviation, n }` objects, matching the output
|
|
7429
|
+
* from the Allan-family functions. `options` may set `basicTauS`,
|
|
7430
|
+
* `measurementBandwidthHz`, `minPointsPerOctave`, `slopeTolerance`, and
|
|
7431
|
+
* `scatterTolerance`.
|
|
7432
|
+
*/
|
|
7433
|
+
export function fitPowerLawNoise(adev: any, mdev: any, options: any): any;
|
|
7434
|
+
|
|
7435
|
+
/**
|
|
7436
|
+
* Fit one satellite orbit from caller-supplied precise ephemeris samples.
|
|
7437
|
+
*
|
|
7438
|
+
* `samples` is the same array accepted by `preciseEphemerisSamplesFromSamples`:
|
|
7439
|
+
* `{ sat, epoch, positionEcefM, clockS?, clockEvent? }` with epochs in seconds
|
|
7440
|
+
* since J2000.
|
|
7441
|
+
*/
|
|
7442
|
+
export function fitPreciseEphemerisSampleOrbit(samples: any, satellite: string, options: any): any;
|
|
7443
|
+
|
|
7031
7444
|
/**
|
|
7032
7445
|
* Fit a reduced-orbit model to ECEF position samples.
|
|
7033
7446
|
*
|
|
@@ -7054,11 +7467,29 @@ export function fitReducedOrbitSp3(sp3: Sp3, satellite: string, options: any): R
|
|
|
7054
7467
|
*/
|
|
7055
7468
|
export function fitReducedOrbitTle(tle: Tle, options: any): ReducedOrbitSourceFit;
|
|
7056
7469
|
|
|
7470
|
+
/**
|
|
7471
|
+
* Fit one satellite orbit from a parsed SP3 precise product.
|
|
7472
|
+
*
|
|
7473
|
+
* `satellite` is an IGS token such as `"G01"`. `options` may set
|
|
7474
|
+
* `forceModel`, `integrator`, `integratorOptions`, `solverOptions`,
|
|
7475
|
+
* `linearSolve`, `minLedgerSamples`, and `drag`.
|
|
7476
|
+
*/
|
|
7477
|
+
export function fitSp3PreciseOrbit(sp3: Sp3, satellite: string, options: any): any;
|
|
7478
|
+
|
|
7057
7479
|
/**
|
|
7058
7480
|
* Fit SGP4 mean elements and optional B* to TEME state samples.
|
|
7059
7481
|
*/
|
|
7060
7482
|
export function fitTle(samples: any, config: any): TleFit;
|
|
7061
7483
|
|
|
7484
|
+
/**
|
|
7485
|
+
* Fit a geodetic trajectory model with velocity, seasonal, and step terms.
|
|
7486
|
+
*
|
|
7487
|
+
* `model` may set `referenceEpochYear`, `includeAnnual`,
|
|
7488
|
+
* `includeSemiannual`, and `offsetEpochsYear`. `options` may set `loss`,
|
|
7489
|
+
* `fScaleM`, and `maxNfev`.
|
|
7490
|
+
*/
|
|
7491
|
+
export function fitTrajectory(series: any, model: any, options: any): any;
|
|
7492
|
+
|
|
7062
7493
|
/**
|
|
7063
7494
|
* Fix Melbourne-Wubbena wide-lane ambiguities over a dual-frequency RTK arc.
|
|
7064
7495
|
*
|
|
@@ -7690,6 +8121,26 @@ export function meridianTransits(body: string, station: any, start_unix_us: bigi
|
|
|
7690
8121
|
|
|
7691
8122
|
export function meridianTransitsSpk(spk: Spk, body: string, station: any, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
7692
8123
|
|
|
8124
|
+
/**
|
|
8125
|
+
* Rotate an ECEF covariance to ENU and compute position-error metrics.
|
|
8126
|
+
*
|
|
8127
|
+
* `receiver` is `{ latRad, lonRad, heightM? }` with radians and metres.
|
|
8128
|
+
*/
|
|
8129
|
+
export function metricsFromEcefCovarianceM2(covariance_ecef_m2: any, receiver: any): PositionErrorMetrics;
|
|
8130
|
+
|
|
8131
|
+
/**
|
|
8132
|
+
* Compute position-error metrics from an ENU covariance in square metres.
|
|
8133
|
+
*/
|
|
8134
|
+
export function metricsFromEnuCovarianceM2(covariance_enu_m2: any): PositionErrorMetrics;
|
|
8135
|
+
|
|
8136
|
+
/**
|
|
8137
|
+
* Compute position-error metrics from a kinematic solution object.
|
|
8138
|
+
*
|
|
8139
|
+
* The object must include `positionM` and `positionCovarianceM2`; optional
|
|
8140
|
+
* extra kinematic fields are accepted and ignored by this metric calculation.
|
|
8141
|
+
*/
|
|
8142
|
+
export function metricsFromKinematicSolution(solution: any): PositionErrorMetrics;
|
|
8143
|
+
|
|
7693
8144
|
/**
|
|
7694
8145
|
* Modified Allan deviation for explicit averaging factors.
|
|
7695
8146
|
*
|
|
@@ -7699,6 +8150,11 @@ export function meridianTransitsSpk(spk: Spk, body: string, station: any, start_
|
|
|
7699
8150
|
*/
|
|
7700
8151
|
export function modifiedAdev(series: any, tau0_s: number, averaging_factors: any): any;
|
|
7701
8152
|
|
|
8153
|
+
/**
|
|
8154
|
+
* Exact MDEV log-log slope for a power-law noise type.
|
|
8155
|
+
*/
|
|
8156
|
+
export function modifiedAllanDeviationPowerLawSlope(noise_type: PowerLawNoiseType): number;
|
|
8157
|
+
|
|
7702
8158
|
/**
|
|
7703
8159
|
* Mean, variance, skewness, and excess kurtosis of a residual set in one pass.
|
|
7704
8160
|
*
|
|
@@ -7781,6 +8237,15 @@ export function nequickGDelayM(_eval: any, frequency_hz: number): number;
|
|
|
7781
8237
|
*/
|
|
7782
8238
|
export function nequickGStecTecu(_eval: any): number;
|
|
7783
8239
|
|
|
8240
|
+
/**
|
|
8241
|
+
* Estimate a station network velocity field in one local ENU frame.
|
|
8242
|
+
*
|
|
8243
|
+
* The input is `{ frame: { origin, removeCommonMode? }, stations }`. Each
|
|
8244
|
+
* station has `{ id, reference, series }`, and each series follows
|
|
8245
|
+
* `velocityMidas`.
|
|
8246
|
+
*/
|
|
8247
|
+
export function networkField(input: any): any;
|
|
8248
|
+
|
|
7784
8249
|
/**
|
|
7785
8250
|
* Scalar normalized innovation squared statistic.
|
|
7786
8251
|
*/
|
|
@@ -7908,6 +8373,14 @@ export function observeSpkBody(station: any, epoch_unix_us: bigint, spk: Spk, na
|
|
|
7908
8373
|
*/
|
|
7909
8374
|
export function oceanTideLoading(station_ecef_m: Float64Array, year: number, month: number, day: number, fractional_hour: number, amplitude_m: Float64Array, phase_deg: Float64Array): Float64Array;
|
|
7910
8375
|
|
|
8376
|
+
/**
|
|
8377
|
+
* Broadcast-derived per-satellite orbit-repeat lag, in seconds.
|
|
8378
|
+
*
|
|
8379
|
+
* `satellite` is an IGS token such as `"G01"`, and `nearEpochJ2000S` is the
|
|
8380
|
+
* broadcast-selection epoch in seconds since J2000.
|
|
8381
|
+
*/
|
|
8382
|
+
export function orbitRepeatLag(ephemeris: BroadcastEphemeris, satellite: string, near_epoch_j2000_s: number): number;
|
|
8383
|
+
|
|
7911
8384
|
/**
|
|
7912
8385
|
* Orthometric height `H = h - N` (metres above mean sea level) from an
|
|
7913
8386
|
* ellipsoidal height and a geodetic position in radians, using the built-in
|
|
@@ -8070,6 +8543,14 @@ export function parseSpaceWeatherTxt(text: string): SpaceWeatherTable;
|
|
|
8070
8543
|
*/
|
|
8071
8544
|
export function parseTleFile(text: string, ops_mode_label?: string | null): ParsedTleFile;
|
|
8072
8545
|
|
|
8546
|
+
/**
|
|
8547
|
+
* Score repeating components at candidate periods.
|
|
8548
|
+
*
|
|
8549
|
+
* `series` and `candidatePeriodsS` are JS number arrays. `sampleIntervalS`
|
|
8550
|
+
* defaults to one second. The result is an array of `{ periodS, strength }`.
|
|
8551
|
+
*/
|
|
8552
|
+
export function periodicityStrength(series: any, candidate_periods_s: any, sample_interval_s?: number | null): any;
|
|
8553
|
+
|
|
8073
8554
|
/**
|
|
8074
8555
|
* Sun-satellite-observer phase angle in degrees.
|
|
8075
8556
|
*/
|
|
@@ -8181,7 +8662,7 @@ export function propagateKepler(coe: any, mu_km3_s2: number, dt_s: number): any;
|
|
|
8181
8662
|
* epochs.
|
|
8182
8663
|
*
|
|
8183
8664
|
* `request` is a plain object; see the `PropagateStateRequest` TypeScript type.
|
|
8184
|
-
* Throws a `TypeError` for malformed input (wrong
|
|
8665
|
+
* Throws a `TypeError` for malformed input (wrong layout, unknown selector), a
|
|
8185
8666
|
* `RangeError` for a non-positive initial step, and an `Error` if the engine's
|
|
8186
8667
|
* propagation fails.
|
|
8187
8668
|
*/
|
|
@@ -8218,6 +8699,25 @@ export function rangeRateToDoppler(range_rate_m_s: number, carrier_hz: number):
|
|
|
8218
8699
|
|
|
8219
8700
|
export function relativeState(chief: any, deputy: any): any;
|
|
8220
8701
|
|
|
8702
|
+
/**
|
|
8703
|
+
* Compute pre-data ARAIM reliability using an ARAIM ISM range-error model.
|
|
8704
|
+
*
|
|
8705
|
+
* `geometry` and `ism` use the same plain objects accepted by `araim`.
|
|
8706
|
+
* `options` follows `reliabilityDesign`. External effects are returned in local
|
|
8707
|
+
* east, north, up metres. Uncheckable rows return `null` for optional fields.
|
|
8708
|
+
*/
|
|
8709
|
+
export function reliabilityAraim(geometry: any, ism: any, options: any): any;
|
|
8710
|
+
|
|
8711
|
+
/**
|
|
8712
|
+
* Compute pre-data reliability from supplied range design rows.
|
|
8713
|
+
*
|
|
8714
|
+
* `rows` is an array of `{ id, designRow, sigmaM }` objects. `options` may set
|
|
8715
|
+
* `{ alpha?, power?, beta?, lambda0Override?, lambda0?, minRedundancy? }`.
|
|
8716
|
+
* `power` is converted to the core missed-detection probability. Rows below
|
|
8717
|
+
* `minRedundancy` return `null` for `mdbM`, `externalEnuM`, and `biasToNoise`.
|
|
8718
|
+
*/
|
|
8719
|
+
export function reliabilityDesign(rows: any, options: any): any;
|
|
8720
|
+
|
|
8221
8721
|
/**
|
|
8222
8722
|
* Repair RINEX navigation text.
|
|
8223
8723
|
*/
|
|
@@ -8228,6 +8728,11 @@ export function repairRinexNav(bytes: Uint8Array, options: any): RinexNavRepair;
|
|
|
8228
8728
|
*/
|
|
8229
8729
|
export function repairRinexObs(bytes: Uint8Array, options: any): RinexObsRepair;
|
|
8230
8730
|
|
|
8731
|
+
/**
|
|
8732
|
+
* Default ground-track repeat period for a GNSS constellation, in seconds.
|
|
8733
|
+
*/
|
|
8734
|
+
export function repeatPeriod(system: GnssSystem): number;
|
|
8735
|
+
|
|
8231
8736
|
/**
|
|
8232
8737
|
* Build a sampled GPS C/A code replica, an `Int8Array`.
|
|
8233
8738
|
*/
|
|
@@ -8341,12 +8846,26 @@ export function satelliteVisualMagnitude(range_km: number, phase_angle_deg: numb
|
|
|
8341
8846
|
*/
|
|
8342
8847
|
export function sbasCorrectedState(broadcast: BroadcastEphemeris, store: SbasCorrectionStore, geo: string, sat: string, t_j2000_s: number, mode?: string | null): any;
|
|
8343
8848
|
|
|
8849
|
+
/**
|
|
8850
|
+
* Stable string label for an [`SbasPlError`] enum value.
|
|
8851
|
+
*/
|
|
8852
|
+
export function sbasPlErrorLabel(error: SbasPlError): string;
|
|
8853
|
+
|
|
8344
8854
|
/**
|
|
8345
8855
|
* Convert an SBAS broadcast PRN number such as `129` to an SBAS satellite
|
|
8346
8856
|
* token such as `"S29"`. Returns `null` when the PRN is outside the SBAS range.
|
|
8347
8857
|
*/
|
|
8348
8858
|
export function sbasPrnToSat(broadcast_prn: number): any;
|
|
8349
8859
|
|
|
8860
|
+
/**
|
|
8861
|
+
* Compute SBAS horizontal and vertical protection levels.
|
|
8862
|
+
*
|
|
8863
|
+
* `geometry` is the ARAIM protection geometry object with rows, receiver, and
|
|
8864
|
+
* clock systems. `model` supplies one range-error row per satellite. `k`
|
|
8865
|
+
* supplies the fixed SBAS multipliers.
|
|
8866
|
+
*/
|
|
8867
|
+
export function sbasProtectionLevels(geometry: any, model: SbasErrorModel, k: SbasKMultipliers): SbasProtection;
|
|
8868
|
+
|
|
8350
8869
|
/**
|
|
8351
8870
|
* Screen a primary satellite against a secondary TLE catalog for threshold TCAs.
|
|
8352
8871
|
*
|
|
@@ -8418,6 +8937,15 @@ export function shadowFraction(satellite_position_km: Float64Array, sun_position
|
|
|
8418
8937
|
*/
|
|
8419
8938
|
export function shapiroWilk(x: Float64Array): any;
|
|
8420
8939
|
|
|
8940
|
+
/**
|
|
8941
|
+
* Apply a sidereal residual filter to a scalar series.
|
|
8942
|
+
*
|
|
8943
|
+
* `series` is a JS number array, `periodS` is seconds, and `options` may set
|
|
8944
|
+
* `sampleIntervalS`, `priorPeriods`, `minCoverage`, and `templateMethod`.
|
|
8945
|
+
* Returns `{ filtered, template, coverage, underCovered }`.
|
|
8946
|
+
*/
|
|
8947
|
+
export function siderealFilter(series: any, period_s: number, options: any): any;
|
|
8948
|
+
|
|
8421
8949
|
/**
|
|
8422
8950
|
* Build satellite-keyed pseudorange sigmas in metres from `{ satelliteId,
|
|
8423
8951
|
* elevationDeg, cn0Dbhz? }` entries. Invalid entries are dropped by the core.
|
|
@@ -8853,6 +9381,15 @@ export function validate(records: any): any;
|
|
|
8853
9381
|
*/
|
|
8854
9382
|
export function validateAgainstSp3Ids(records: any, ids: any): any;
|
|
8855
9383
|
|
|
9384
|
+
/**
|
|
9385
|
+
* Estimate robust station velocity with the MIDAS method.
|
|
9386
|
+
*
|
|
9387
|
+
* `series` is `{ samples, frame? }`, where samples are
|
|
9388
|
+
* `{ epochYear, positionM, covarianceM2? }`. The frame is `"enu"` by default
|
|
9389
|
+
* or `{ kind: "ecef", reference }`.
|
|
9390
|
+
*/
|
|
9391
|
+
export function velocityMidas(series: any, options: any): any;
|
|
9392
|
+
|
|
8856
9393
|
/**
|
|
8857
9394
|
* Satellites visible above `minElevationDeg` from `station` at a single instant,
|
|
8858
9395
|
* from already-initialized [`Tle`]s: the opsmode-preserving constellation
|
|
@@ -8901,3 +9438,12 @@ export function wideLaneWavelength(f1_hz: number, f2_hz: number): number;
|
|
|
8901
9438
|
* Convert a DTED tile tree and write canonical terrain store bytes to a path.
|
|
8902
9439
|
*/
|
|
8903
9440
|
export function writeDtedTreeToMmapStore(root: string, out_path: string): void;
|
|
9441
|
+
|
|
9442
|
+
/**
|
|
9443
|
+
* Compute Baarda's w-test noncentrality from false-alarm probability and power.
|
|
9444
|
+
*
|
|
9445
|
+
* `alpha` is the two-sided false-alarm probability. `power` is detection power,
|
|
9446
|
+
* so the core missed-detection probability is `1 - power`. The returned object
|
|
9447
|
+
* contains `delta0` and `lambda0 = delta0 * delta0`.
|
|
9448
|
+
*/
|
|
9449
|
+
export function wtestNoncentrality(alpha: number, power: number): any;
|