@neilberkman/sidereon 0.9.2 → 0.10.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/package.json +1 -1
- package/pkg/sidereon.d.ts +975 -675
- package/pkg/sidereon.js +1476 -40
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +766 -674
- package/pkg-node/sidereon.d.ts +212 -4
- package/pkg-node/sidereon.js +1539 -41
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +766 -674
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -233,6 +233,19 @@ export class AtmosphereDensity {
|
|
|
233
233
|
readonly temperatureK: number;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
+
export class BiasSet {
|
|
237
|
+
private constructor();
|
|
238
|
+
free(): void;
|
|
239
|
+
[Symbol.dispose](): void;
|
|
240
|
+
codeBiasModelM(sat: string, used_obs1: string, used_obs2: string, freq1_hz: number, freq2_hz: number, glonass_channel: number | null | undefined, clock_ref_obs1: string, clock_ref_obs2: string, epoch_j2000_s: number, time_scale?: string | null): number | undefined;
|
|
241
|
+
codeDsbSeconds(sat: string, obs1: string, obs2: string, epoch_j2000_s: number, time_scale?: string | null): number | undefined;
|
|
242
|
+
codeOsbSeconds(sat: string, obs: string, epoch_j2000_s: number, time_scale?: string | null): number | undefined;
|
|
243
|
+
phaseOsbCycles(sat: string, obs: string, epoch_j2000_s: number, time_scale?: string | null): number | undefined;
|
|
244
|
+
readonly recordCount: number;
|
|
245
|
+
readonly records: any;
|
|
246
|
+
readonly skippedRecords: number;
|
|
247
|
+
}
|
|
248
|
+
|
|
236
249
|
/**
|
|
237
250
|
* A parsed broadcast ephemeris store from a RINEX NAV file. `records` are the
|
|
238
251
|
* usable GPS/Galileo/BeiDou records selected by the core default SPP policy.
|
|
@@ -1299,6 +1312,27 @@ export class DopplerShift {
|
|
|
1299
1312
|
readonly rangeRateKmS: number;
|
|
1300
1313
|
}
|
|
1301
1314
|
|
|
1315
|
+
export class DragForce {
|
|
1316
|
+
private constructor();
|
|
1317
|
+
free(): void;
|
|
1318
|
+
[Symbol.dispose](): void;
|
|
1319
|
+
acceleration(epoch_s: number, position_km: Float64Array, velocity_km_s: Float64Array): Float64Array;
|
|
1320
|
+
static fromAreaMass(cd: number, area_m2: number, mass_kg: number, space_weather: SpaceWeather, cutoff_altitude_km?: number | null): DragForce;
|
|
1321
|
+
static fromBallisticCoefficient(bc_kg_m2: number, space_weather: SpaceWeather, cutoff_altitude_km?: number | null): DragForce;
|
|
1322
|
+
static fromBcFactor(bc_factor_m2_kg: number, space_weather: SpaceWeather, cutoff_altitude_km?: number | null): DragForce;
|
|
1323
|
+
readonly bcFactorM2Kg: number;
|
|
1324
|
+
readonly cutoffAltitudeKm: number;
|
|
1325
|
+
readonly spaceWeather: SpaceWeather;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
export class DtedTerrain {
|
|
1329
|
+
free(): void;
|
|
1330
|
+
[Symbol.dispose](): void;
|
|
1331
|
+
heightM(longitude_deg: number, latitude_deg: number): number;
|
|
1332
|
+
heightMWithOptions(longitude_deg: number, latitude_deg: number, options: any): number;
|
|
1333
|
+
constructor(root: string);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1302
1336
|
/**
|
|
1303
1337
|
* Orthonormal encounter frame built from two relative states.
|
|
1304
1338
|
*/
|
|
@@ -3978,6 +4012,11 @@ export class ReducedOrbitState {
|
|
|
3978
4012
|
readonly velocityMS: Float64Array;
|
|
3979
4013
|
}
|
|
3980
4014
|
|
|
4015
|
+
export enum RetrogradeFactor {
|
|
4016
|
+
Prograde = 0,
|
|
4017
|
+
Retrograde = 1,
|
|
4018
|
+
}
|
|
4019
|
+
|
|
3981
4020
|
/**
|
|
3982
4021
|
* A parsed RINEX clock product with satellite clock-bias interpolation.
|
|
3983
4022
|
*/
|
|
@@ -4168,6 +4207,15 @@ export class SatelliteVector {
|
|
|
4168
4207
|
readonly values: Float64Array;
|
|
4169
4208
|
}
|
|
4170
4209
|
|
|
4210
|
+
export class SbasCorrectionStore {
|
|
4211
|
+
free(): void;
|
|
4212
|
+
[Symbol.dispose](): void;
|
|
4213
|
+
ingest(bytes: Uint8Array, form: string | null | undefined, geo: string, week: number, tow_s: number, time_scale?: string | null): void;
|
|
4214
|
+
ionoSlantDelayM(geo: string, receiver_lat_rad: number, receiver_lon_rad: number, receiver_height_m: number, elevation_rad: number, azimuth_rad: number, frequency_hz: number): number | undefined;
|
|
4215
|
+
constructor();
|
|
4216
|
+
readyGeos(t_j2000_s: number): string[];
|
|
4217
|
+
}
|
|
4218
|
+
|
|
4171
4219
|
/**
|
|
4172
4220
|
* Per-constellation single-frequency pseudorange code-selection policy. Build
|
|
4173
4221
|
* with `new SignalPolicy()` then chain `.withSystem(system, codes)`, or use
|
|
@@ -4374,6 +4422,13 @@ export class Sp3 {
|
|
|
4374
4422
|
* or failed. Delegates to the serial reference batch kernel.
|
|
4375
4423
|
*/
|
|
4376
4424
|
solveSppBatch(epochs: any, options: any): SppBatchSolution;
|
|
4425
|
+
/**
|
|
4426
|
+
* Run the core robust-reweighted SPP driver under the RAIM/FDE exclusion loop.
|
|
4427
|
+
*
|
|
4428
|
+
* `request` is the FDE request with a `robust` object. The implementation
|
|
4429
|
+
* delegates to `sidereon_core::quality::spp_robust_fde_driver`.
|
|
4430
|
+
*/
|
|
4431
|
+
sppRobustFdeDriver(request: any): FdeSolution;
|
|
4377
4432
|
/**
|
|
4378
4433
|
* The exact parsed state of `satellite` at record `epochIndex` (no
|
|
4379
4434
|
* interpolation). Throws a `RangeError` past the last epoch and a
|
|
@@ -4516,7 +4571,7 @@ export class Sp3MergeReport {
|
|
|
4516
4571
|
[Symbol.dispose](): void;
|
|
4517
4572
|
/**
|
|
4518
4573
|
* Per-(epoch, satellite) agreement statistics for every accepted cell, in
|
|
4519
|
-
* output (epoch, then satellite) order
|
|
4574
|
+
* output (epoch, then satellite) order, one entry per cell written to the
|
|
4520
4575
|
* merged product.
|
|
4521
4576
|
*/
|
|
4522
4577
|
readonly agreement: Sp3AgreementMetric[];
|
|
@@ -4619,6 +4674,15 @@ export class Sp3State {
|
|
|
4619
4674
|
readonly velocityMS: Float64Array | undefined;
|
|
4620
4675
|
}
|
|
4621
4676
|
|
|
4677
|
+
export class SpaceWeather {
|
|
4678
|
+
free(): void;
|
|
4679
|
+
[Symbol.dispose](): void;
|
|
4680
|
+
constructor(f107?: number | null, f107a?: number | null, ap?: number | null);
|
|
4681
|
+
readonly ap: number;
|
|
4682
|
+
readonly f107: number;
|
|
4683
|
+
readonly f107a: number;
|
|
4684
|
+
}
|
|
4685
|
+
|
|
4622
4686
|
/**
|
|
4623
4687
|
* Canonical quiet-Sun space-weather indices for NRLMSISE-00, mirrored from the
|
|
4624
4688
|
* core so a JS caller can pass moderate-activity defaults to [`atmosphereDensity`]
|
|
@@ -4847,6 +4911,16 @@ export class SppSolution {
|
|
|
4847
4911
|
readonly zM: number;
|
|
4848
4912
|
}
|
|
4849
4913
|
|
|
4914
|
+
export class SsrCorrectionStore {
|
|
4915
|
+
free(): void;
|
|
4916
|
+
[Symbol.dispose](): void;
|
|
4917
|
+
clock(sat: string): any;
|
|
4918
|
+
ingest(bytes: Uint8Array, framed: boolean | null | undefined, week: number, tow_s: number, time_scale?: string | null): void;
|
|
4919
|
+
constructor();
|
|
4920
|
+
orbit(sat: string): any;
|
|
4921
|
+
uraIndex(sat: string): number | undefined;
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4850
4924
|
/**
|
|
4851
4925
|
* A batch of Sun and Moon positions, one per epoch: flat row-major `sun` and
|
|
4852
4926
|
* `moon` `Float64Array`s of length `3 * epochCount`, in **metres**.
|
|
@@ -5243,6 +5317,16 @@ export class ZenithDelay {
|
|
|
5243
5317
|
*/
|
|
5244
5318
|
export function acquire(samples: Float64Array, prn: bigint, options: any): AcquisitionResult;
|
|
5245
5319
|
|
|
5320
|
+
/**
|
|
5321
|
+
* On-sky angle in degrees between two direction vectors.
|
|
5322
|
+
*/
|
|
5323
|
+
export function angularSeparation(a: Float64Array, b: Float64Array): number;
|
|
5324
|
+
|
|
5325
|
+
/**
|
|
5326
|
+
* On-sky angle in degrees between two `(lonDeg, latDeg)` direction pairs.
|
|
5327
|
+
*/
|
|
5328
|
+
export function angularSeparationCoords(a_lon_deg: number, a_lat_deg: number, b_lon_deg: number, b_lat_deg: number): number;
|
|
5329
|
+
|
|
5246
5330
|
/**
|
|
5247
5331
|
* Evaluate NRLMSISE-00 neutral-atmosphere density and temperature.
|
|
5248
5332
|
*
|
|
@@ -5262,6 +5346,16 @@ export function atmosphereDensity(lat_deg: number, lon_deg: number, alt_km: numb
|
|
|
5262
5346
|
*/
|
|
5263
5347
|
export function atmosphereSpaceWeatherDefaults(): SpaceWeatherDefaults;
|
|
5264
5348
|
|
|
5349
|
+
/**
|
|
5350
|
+
* Solar beta angle in degrees from orbit normal and Sun vectors.
|
|
5351
|
+
*/
|
|
5352
|
+
export function betaAngle(orbit_normal: Float64Array, sun: Float64Array): number;
|
|
5353
|
+
|
|
5354
|
+
/**
|
|
5355
|
+
* Solar beta angle in degrees from an inertial state and Sun vector.
|
|
5356
|
+
*/
|
|
5357
|
+
export function betaAngleFromState(r: Float64Array, v: Float64Array, sun: Float64Array): number;
|
|
5358
|
+
|
|
5265
5359
|
/**
|
|
5266
5360
|
* Resolve integer ambiguities with a bounded lattice search.
|
|
5267
5361
|
*
|
|
@@ -5312,6 +5406,10 @@ export function civilToJ2000Seconds(year: number, month: number, day: number, ho
|
|
|
5312
5406
|
*/
|
|
5313
5407
|
export function cn0(eirp_dbw: number, fspl_db: number, receiver_gt_dbk: number, other_losses_db?: number | null): number;
|
|
5314
5408
|
|
|
5409
|
+
export function coe2eq(coe: any, factor?: RetrogradeFactor | null): any;
|
|
5410
|
+
|
|
5411
|
+
export function coe2mee(coe: any, factor?: RetrogradeFactor | null): any;
|
|
5412
|
+
|
|
5315
5413
|
/**
|
|
5316
5414
|
* Convert classical orbital elements to an inertial Cartesian state.
|
|
5317
5415
|
*
|
|
@@ -5381,6 +5479,10 @@ export function covarianceIsSymmetric(covariance_km2: Float64Array): boolean;
|
|
|
5381
5479
|
*/
|
|
5382
5480
|
export function coverageLookAngles(satellites: Tle[], stations: GroundStation[], epoch_unix_us: bigint): CoverageGrid;
|
|
5383
5481
|
|
|
5482
|
+
export function cwPropagate(rel: any, n_rad_s: number, dt_s: number): any;
|
|
5483
|
+
|
|
5484
|
+
export function cwStm(n_rad_s: number, dt_s: number): Float64Array;
|
|
5485
|
+
|
|
5384
5486
|
/**
|
|
5385
5487
|
* Decode Compact RINEX (Hatanaka) bytes into plain RINEX OBS text. Throws a
|
|
5386
5488
|
* `TypeError` on non-UTF-8 input and an `Error` on a decode failure.
|
|
@@ -5424,6 +5526,10 @@ export function decodeRtcmFrame(bytes: Uint8Array): any;
|
|
|
5424
5526
|
*/
|
|
5425
5527
|
export function decodeRtcmMessage(body: Uint8Array): any;
|
|
5426
5528
|
|
|
5529
|
+
export function decodeSbasMessage(bytes: Uint8Array, form?: string | null): any;
|
|
5530
|
+
|
|
5531
|
+
export function decodeSsr(bytes: Uint8Array, framed?: boolean | null): any;
|
|
5532
|
+
|
|
5427
5533
|
/**
|
|
5428
5534
|
* Standard dual-frequency ionosphere-free carrier pair for a constellation.
|
|
5429
5535
|
*/
|
|
@@ -5508,6 +5614,10 @@ export function dopplerToRangeRate(doppler_hz: number, carrier_hz: number): numb
|
|
|
5508
5614
|
*/
|
|
5509
5615
|
export function earthAngularRadius(satellite_position_km: Float64Array): Float64Array;
|
|
5510
5616
|
|
|
5617
|
+
export function eccentricToMean(eccentric_anomaly_rad: number, eccentricity: number): number;
|
|
5618
|
+
|
|
5619
|
+
export function eccentricToTrue(eccentric_anomaly_rad: number, eccentricity: number): number;
|
|
5620
|
+
|
|
5511
5621
|
/**
|
|
5512
5622
|
* Convert a batch of ITRS (ECEF) positions to geodetic coordinates.
|
|
5513
5623
|
*
|
|
@@ -5611,6 +5721,10 @@ export function encounterFrame(position1_km: Float64Array, velocity1_km_s: Float
|
|
|
5611
5721
|
*/
|
|
5612
5722
|
export function encounterPlaneCovariance(frame: EncounterFrame, covariance_km2: Float64Array): Float64Array;
|
|
5613
5723
|
|
|
5724
|
+
export function eq2coe(eq: any): any;
|
|
5725
|
+
|
|
5726
|
+
export function eq2rv(eq: any, mu_km3_s2: number): any;
|
|
5727
|
+
|
|
5614
5728
|
/**
|
|
5615
5729
|
* Confidence ellipse from an arbitrary 2x2 covariance block.
|
|
5616
5730
|
*
|
|
@@ -5622,6 +5736,8 @@ export function encounterPlaneCovariance(frame: EncounterFrame, covariance_km2:
|
|
|
5622
5736
|
*/
|
|
5623
5737
|
export function errorEllipse2(covariance: Float64Array, confidence: number): ErrorEllipse2;
|
|
5624
5738
|
|
|
5739
|
+
export function estimateDecay(drag: DragForce, request: any): any;
|
|
5740
|
+
|
|
5625
5741
|
/**
|
|
5626
5742
|
* Find Moon elevation threshold crossings (moonrise / moonset) over a UTC
|
|
5627
5743
|
* window.
|
|
@@ -5770,7 +5886,7 @@ export function fromCelestrakJson(json: string, system?: string | null): any;
|
|
|
5770
5886
|
* skipping (rather than throwing on) entries that do not resolve.
|
|
5771
5887
|
*
|
|
5772
5888
|
* The lenient sibling of [`fromCelestrakJson`]: feed it a raw combined CelesTrak
|
|
5773
|
-
* `gnss` feed and it returns `{ records, skipped }
|
|
5889
|
+
* `gnss` feed and it returns `{ records, skipped }`. `records` is the `Record[]`
|
|
5774
5890
|
* for `system` (the same shape `fromCelestrakJson` returns, sorted by
|
|
5775
5891
|
* `(system, prn)`), and `skipped` is a `SkippedOmm[]` of the entries whose
|
|
5776
5892
|
* `OBJECT_NAME` did not resolve to a PRN for `system` (another constellation's
|
|
@@ -5894,7 +6010,7 @@ export function gnssPasses(sp3: Sp3, station_ecef_m: Float64Array, start_j2000_s
|
|
|
5894
6010
|
export function gnssSp3Id(system: string, prn: number): string;
|
|
5895
6011
|
|
|
5896
6012
|
/**
|
|
5897
|
-
*
|
|
6013
|
+
* Canonical core display label for a constellation, e.g. `"GPS"`.
|
|
5898
6014
|
*/
|
|
5899
6015
|
export function gnssSystemLabel(system: GnssSystem): string;
|
|
5900
6016
|
|
|
@@ -6049,7 +6165,7 @@ export function kurtosis(x: Float64Array, fisher?: boolean | null, bias?: boolea
|
|
|
6049
6165
|
* `covariance` is its `n x n` covariance as a row-major `number[][]`, and
|
|
6050
6166
|
* `ratioThreshold` is the ratio-test acceptance threshold (RTKLIB's default is
|
|
6051
6167
|
* `3.0`). Finds the true integer-least-squares optimum and runner-up for any
|
|
6052
|
-
* positive-definite covariance
|
|
6168
|
+
* positive-definite covariance. No search box, no combinatorial blow-up.
|
|
6053
6169
|
* Returns an `IlsResult`. Throws a `TypeError` on a malformed shape, a
|
|
6054
6170
|
* `RangeError` on a non-finite or out-of-domain input, and an `Error` on a
|
|
6055
6171
|
* singular covariance or a non-converging search.
|
|
@@ -6172,6 +6288,14 @@ export function lnavTow(bits: Uint8Array): bigint | undefined;
|
|
|
6172
6288
|
*/
|
|
6173
6289
|
export function loadAntex(bytes: Uint8Array): Antex;
|
|
6174
6290
|
|
|
6291
|
+
export function loadBiasSinex(bytes: Uint8Array): BiasSet;
|
|
6292
|
+
|
|
6293
|
+
export function loadBiasSinexLossy(bytes: Uint8Array): BiasSet;
|
|
6294
|
+
|
|
6295
|
+
export function loadCodeDcb(bytes: Uint8Array, options: any): BiasSet;
|
|
6296
|
+
|
|
6297
|
+
export function loadCodeDcbLossy(bytes: Uint8Array, options: any): BiasSet;
|
|
6298
|
+
|
|
6175
6299
|
/**
|
|
6176
6300
|
* Alias of [`decodeCrinex`] for callers that read a file as bytes.
|
|
6177
6301
|
*/
|
|
@@ -6209,6 +6333,24 @@ export function loadRinexObs(bytes: Uint8Array): RinexObs;
|
|
|
6209
6333
|
*/
|
|
6210
6334
|
export function loadSp3(bytes: Uint8Array): Sp3;
|
|
6211
6335
|
|
|
6336
|
+
export function lunarSolarEclipses(start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6337
|
+
|
|
6338
|
+
export function lunarSolarEclipsesSpk(spk: Spk, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6339
|
+
|
|
6340
|
+
export function lvlhRotation(position_km: Float64Array, velocity_km_s: Float64Array): Float64Array;
|
|
6341
|
+
|
|
6342
|
+
export function meanMotionCircular(radius_km: number): number;
|
|
6343
|
+
|
|
6344
|
+
export function meanMotionFromState(position_km: Float64Array, velocity_km_s: Float64Array): number;
|
|
6345
|
+
|
|
6346
|
+
export function meanToEccentric(mean_anomaly_rad: number, eccentricity: number): number;
|
|
6347
|
+
|
|
6348
|
+
export function meanToTrue(mean_anomaly_rad: number, eccentricity: number): number;
|
|
6349
|
+
|
|
6350
|
+
export function mee2coe(mee: any): any;
|
|
6351
|
+
|
|
6352
|
+
export function mee2rv(mee: any, mu_km3_s2: number): any;
|
|
6353
|
+
|
|
6212
6354
|
/**
|
|
6213
6355
|
* Melbourne-Wubbena combination, metres.
|
|
6214
6356
|
*/
|
|
@@ -6235,6 +6377,10 @@ export function mergeNavcen(records: any, statuses: any): any;
|
|
|
6235
6377
|
*/
|
|
6236
6378
|
export function mergeSp3(sources: Sp3[], options: any): Sp3MergeResult;
|
|
6237
6379
|
|
|
6380
|
+
export function meridianTransits(body: string, station: any, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6381
|
+
|
|
6382
|
+
export function meridianTransitsSpk(spk: Spk, body: string, station: any, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6383
|
+
|
|
6238
6384
|
/**
|
|
6239
6385
|
* Mean, variance, skewness, and excess kurtosis of a residual set in one pass.
|
|
6240
6386
|
*
|
|
@@ -6276,6 +6422,10 @@ export function moonElevationDeg(latitude_deg: number, longitude_deg: number, al
|
|
|
6276
6422
|
*/
|
|
6277
6423
|
export function moonIllumination(latitude_deg: number, longitude_deg: number, altitude_km: number, epoch_unix_us: bigint): any;
|
|
6278
6424
|
|
|
6425
|
+
export function moonPhases(start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6426
|
+
|
|
6427
|
+
export function moonPhasesSpk(spk: Spk, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6428
|
+
|
|
6279
6429
|
/**
|
|
6280
6430
|
* Narrow-lane code combination, metres.
|
|
6281
6431
|
*/
|
|
@@ -6351,6 +6501,21 @@ export function observablesSp3(sp3: Sp3, satellite: string, receiver_ecef_m: Flo
|
|
|
6351
6501
|
*/
|
|
6352
6502
|
export function observationKindLabel(kind: ObservationKind): string;
|
|
6353
6503
|
|
|
6504
|
+
/**
|
|
6505
|
+
* Observe `"sun"` or `"moon"` from a geodetic station at a UTC unix microsecond epoch.
|
|
6506
|
+
*/
|
|
6507
|
+
export function observe(station: any, epoch_unix_us: bigint, target: string, options: any): any;
|
|
6508
|
+
|
|
6509
|
+
/**
|
|
6510
|
+
* Observe a caller-supplied SSB-centered target state using an SPK for Earth and Sun.
|
|
6511
|
+
*/
|
|
6512
|
+
export function observeBarycentricState(station: any, epoch_unix_us: bigint, spk: Spk, position_km: Float64Array, velocity_km_s: Float64Array, options: any): any;
|
|
6513
|
+
|
|
6514
|
+
/**
|
|
6515
|
+
* Observe an SPK target body by NAIF id using default full-chain options.
|
|
6516
|
+
*/
|
|
6517
|
+
export function observeSpkBody(station: any, epoch_unix_us: bigint, spk: Spk, naif_id: number): any;
|
|
6518
|
+
|
|
6354
6519
|
/**
|
|
6355
6520
|
* Ocean tide loading displacement of an ITRF station, metres (ECEF).
|
|
6356
6521
|
*
|
|
@@ -6501,6 +6666,13 @@ export function phaseAngle(satellite_position_km: Float64Array, sun_position_km:
|
|
|
6501
6666
|
*/
|
|
6502
6667
|
export function phaseMeters(phi_cycles: number, f_hz: number): number;
|
|
6503
6668
|
|
|
6669
|
+
export function planetaryEvents(spk: Spk, planet: string, kind: string, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6670
|
+
|
|
6671
|
+
/**
|
|
6672
|
+
* Position angle in degrees from North through East.
|
|
6673
|
+
*/
|
|
6674
|
+
export function positionAngle(from_lon_deg: number, from_lat_deg: number, to_lon_deg: number, to_lat_deg: number): number;
|
|
6675
|
+
|
|
6504
6676
|
/**
|
|
6505
6677
|
* Precompute static PPP correction tables for a precise-orbit arc.
|
|
6506
6678
|
*
|
|
@@ -6516,6 +6688,8 @@ export function phaseMeters(phi_cycles: number, f_hz: number): number;
|
|
|
6516
6688
|
*/
|
|
6517
6689
|
export function pppCorrections(sp3: Sp3, epochs: any, receiver_ecef_m: Float64Array, options: any): any;
|
|
6518
6690
|
|
|
6691
|
+
export function pppCorrectionsWithCodeBias(sp3: Sp3, epochs: any, receiver_ecef_m: Float64Array, options: any, bias_set: BiasSet, code_bias: any): any;
|
|
6692
|
+
|
|
6519
6693
|
/**
|
|
6520
6694
|
* Build a sample-backed precise-ephemeris source from an array of samples.
|
|
6521
6695
|
*
|
|
@@ -6581,6 +6755,8 @@ export function prepareIonosphereFreeRtkArc(epochs: any, wide_lane_cycles: any,
|
|
|
6581
6755
|
*/
|
|
6582
6756
|
export function propagateBatch(satellites: Tle[], epochs_unix_us: BigInt64Array): FleetPropagation;
|
|
6583
6757
|
|
|
6758
|
+
export function propagateKepler(coe: any, mu_km3_s2: number, dt_s: number): any;
|
|
6759
|
+
|
|
6584
6760
|
/**
|
|
6585
6761
|
* Numerically propagate an ECI Cartesian state and sample it at a grid of
|
|
6586
6762
|
* epochs.
|
|
@@ -6621,11 +6797,15 @@ export function raimFdeDesign(rows: any, options: any): any;
|
|
|
6621
6797
|
*/
|
|
6622
6798
|
export function rangeRateToDoppler(range_rate_m_s: number, carrier_hz: number): number;
|
|
6623
6799
|
|
|
6800
|
+
export function relativeState(chief: any, deputy: any): any;
|
|
6801
|
+
|
|
6624
6802
|
/**
|
|
6625
6803
|
* Build a sampled GPS C/A code replica, an `Int8Array`.
|
|
6626
6804
|
*/
|
|
6627
6805
|
export function replica(prn: bigint, options: any): Int8Array;
|
|
6628
6806
|
|
|
6807
|
+
export function ricRotation(position_km: Float64Array, velocity_km_s: Float64Array): Float64Array;
|
|
6808
|
+
|
|
6629
6809
|
/**
|
|
6630
6810
|
* RINEX observation band frequency in hertz for a system and band digit.
|
|
6631
6811
|
*/
|
|
@@ -6636,6 +6816,8 @@ export function rinexBandFrequencyHz(system: GnssSystem, band: string, glonass_c
|
|
|
6636
6816
|
*/
|
|
6637
6817
|
export function rinexBandWavelengthM(system: GnssSystem, band: string, glonass_channel?: number | null): number | undefined;
|
|
6638
6818
|
|
|
6819
|
+
export function rswRotation(position_km: Float64Array, velocity_km_s: Float64Array): Float64Array;
|
|
6820
|
+
|
|
6639
6821
|
/**
|
|
6640
6822
|
* Read the 12-bit RTCM message number from a message body.
|
|
6641
6823
|
*
|
|
@@ -6644,6 +6826,8 @@ export function rinexBandWavelengthM(system: GnssSystem, band: string, glonass_c
|
|
|
6644
6826
|
*/
|
|
6645
6827
|
export function rtcmMessageNumber(body: Uint8Array): number;
|
|
6646
6828
|
|
|
6829
|
+
export function rtnRotation(position_km: Float64Array, velocity_km_s: Float64Array): Float64Array;
|
|
6830
|
+
|
|
6647
6831
|
/**
|
|
6648
6832
|
* Transform a 3x3 RTN covariance (flat row-major length 9) to ECI for the given
|
|
6649
6833
|
* orbit state. Returns a flat row-major length-9 `Float64Array`.
|
|
@@ -6662,6 +6846,14 @@ export function rtnToEciCovariance(covariance_rtn: Float64Array, position_km: Fl
|
|
|
6662
6846
|
*/
|
|
6663
6847
|
export function rv2coe(r: Float64Array, v: Float64Array, mu: number): any;
|
|
6664
6848
|
|
|
6849
|
+
export function rv2eq(r: Float64Array, v: Float64Array, mu_km3_s2: number, factor?: RetrogradeFactor | null): any;
|
|
6850
|
+
|
|
6851
|
+
export function rv2mee(r: Float64Array, v: Float64Array, mu_km3_s2: number, factor?: RetrogradeFactor | null): any;
|
|
6852
|
+
|
|
6853
|
+
export function sampleBroadcastEphemeris(broadcast: BroadcastEphemeris, satellites: string[], start_j2000_s: number, stop_j2000_s: number, step_s: number): any;
|
|
6854
|
+
|
|
6855
|
+
export function sampleSp3Ephemeris(sp3: Sp3, satellites: string[], start_j2000_s: number, stop_j2000_s: number, step_s: number): any;
|
|
6856
|
+
|
|
6665
6857
|
/**
|
|
6666
6858
|
* Apparent visual magnitude of a sunlit body from a diffuse-sphere phase law.
|
|
6667
6859
|
*
|
|
@@ -6673,6 +6865,8 @@ export function rv2coe(r: Float64Array, v: Float64Array, mu: number): any;
|
|
|
6673
6865
|
*/
|
|
6674
6866
|
export function satelliteVisualMagnitude(range_km: number, phase_angle_deg: number, standard_magnitude: number, reference_range_km: number): number;
|
|
6675
6867
|
|
|
6868
|
+
export function sbasCorrectedState(broadcast: BroadcastEphemeris, store: SbasCorrectionStore, geo: string, sat: string, t_j2000_s: number, mode?: string | null): any;
|
|
6869
|
+
|
|
6676
6870
|
/**
|
|
6677
6871
|
* Screen a primary satellite against a secondary TLE catalog for threshold TCAs.
|
|
6678
6872
|
*
|
|
@@ -6694,6 +6888,10 @@ export function screenTcaCandidates(primary_line1: string, primary_line2: string
|
|
|
6694
6888
|
*/
|
|
6695
6889
|
export function screenTcaConjunctions(primary_line1: string, primary_line2: string, secondaries: any, window_start_unix_micros: bigint, window_end_unix_micros: bigint, miss_distance_threshold_km: number, pc_options: any, options: any): any;
|
|
6696
6890
|
|
|
6891
|
+
export function seasons(start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6892
|
+
|
|
6893
|
+
export function seasonsSpk(spk: Spk, start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
6894
|
+
|
|
6697
6895
|
/**
|
|
6698
6896
|
* Select an IONEX product usable at `requestedEpochJ2000S`, degrading to a
|
|
6699
6897
|
* diurnal-shifted prior product within `policy`.
|
|
@@ -6796,6 +6994,8 @@ export function solidEarthPoleTide(station_ecef_m: Float64Array, year: number, m
|
|
|
6796
6994
|
*/
|
|
6797
6995
|
export function solidEarthTide(station_ecef_m: Float64Array, year: number, month: number, day: number, fractional_hour: number, sun_ecef_m: Float64Array, moon_ecef_m: Float64Array): Float64Array;
|
|
6798
6996
|
|
|
6997
|
+
export function solveKepler(mean_anomaly_rad: number, eccentricity: number): any;
|
|
6998
|
+
|
|
6799
6999
|
/**
|
|
6800
7000
|
* Solve a sequence of moving-baseline RTK epochs.
|
|
6801
7001
|
*
|
|
@@ -6881,6 +7081,8 @@ export function solveRtkFixed(config: any): RtkFixedSolution;
|
|
|
6881
7081
|
*/
|
|
6882
7082
|
export function solveRtkFloat(config: any): RtkFloatSolution;
|
|
6883
7083
|
|
|
7084
|
+
export function solveSppSbas(broadcast: BroadcastEphemeris, store: SbasCorrectionStore, geo: string, request: any, mode?: string | null): SppSolution;
|
|
7085
|
+
|
|
6884
7086
|
/**
|
|
6885
7087
|
* Solve a static RTK arc with one batch float solution and one validated fixed
|
|
6886
7088
|
* solution over the whole arc.
|
|
@@ -6937,6 +7139,8 @@ export function sp3PreciseEphemerisSamples(sp3: Sp3): any;
|
|
|
6937
7139
|
*/
|
|
6938
7140
|
export function splitJdToJ2000Seconds(jd_whole: number, jd_fraction: number): number;
|
|
6939
7141
|
|
|
7142
|
+
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
|
+
|
|
6940
7144
|
/**
|
|
6941
7145
|
* Sub-observer point (planetary central meridian) on a rotating body.
|
|
6942
7146
|
*
|
|
@@ -7086,6 +7290,10 @@ export function tropoSlantDelay(elevation_deg: number, lat_deg: number, lon_deg:
|
|
|
7086
7290
|
*/
|
|
7087
7291
|
export function tropoZenithDelay(lat_deg: number, height_m: number, met: any): ZenithDelay;
|
|
7088
7292
|
|
|
7293
|
+
export function trueToEccentric(true_anomaly_rad: number, eccentricity: number): number;
|
|
7294
|
+
|
|
7295
|
+
export function trueToMean(true_anomaly_rad: number, eccentricity: number): number;
|
|
7296
|
+
|
|
7089
7297
|
/**
|
|
7090
7298
|
* Provenance and coverage of the embedded UT1-UTC / delta-T (EOP) table.
|
|
7091
7299
|
*/
|