@neilberkman/sidereon 3.0.4 → 3.0.5
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/CHANGELOG.md +34 -0
- package/THIRD-PARTY-NOTICES.md +4 -4
- package/package.json +4 -4
- package/pkg/sidereon.d.ts +2215 -1909
- package/pkg/sidereon.js +80 -61
- package/pkg/sidereon_bg.wasm +0 -0
- package/pkg/sidereon_bg.wasm.d.ts +1857 -1856
- package/pkg-node/sidereon.d.ts +358 -53
- package/pkg-node/sidereon.js +80 -61
- package/pkg-node/sidereon_bg.wasm +0 -0
- package/pkg-node/sidereon_bg.wasm.d.ts +1857 -1856
- package/types/sidereon-extra.d.ts +2 -0
- /package/third_party_source/{sidereon-core-3.0.4 → sidereon-core-3.0.5}/tides/mod.rs +0 -0
- /package/third_party_source/{sidereon-core-3.0.4 → sidereon-core-3.0.5}/tides/ocean.rs +0 -0
- /package/third_party_source/{sidereon-core-3.0.4 → sidereon-core-3.0.5}/tides/pole.rs +0 -0
package/pkg-node/sidereon.d.ts
CHANGED
|
@@ -683,9 +683,32 @@ export interface RtkArcConfig {
|
|
|
683
683
|
preprocessing?: Record<string, number | boolean | string[]>;
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
+
export interface RtkFloatSolveOptions {
|
|
687
|
+
positionTolM?: number;
|
|
688
|
+
ambiguityTolM?: number;
|
|
689
|
+
maxIterations?: number;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export interface RtkFixedSolveOptions extends RtkFloatSolveOptions {
|
|
693
|
+
ratioThreshold?: number;
|
|
694
|
+
partialAmbiguityResolution?: boolean;
|
|
695
|
+
partialMinAmbiguities?: number;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export interface RtkResidualValidationOptions {
|
|
699
|
+
thresholdSigma?: number;
|
|
700
|
+
maxExclusions?: number;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
export interface RtkValidatedFixedOptions {
|
|
704
|
+
float?: RtkFloatSolveOptions;
|
|
705
|
+
fixed?: RtkFixedSolveOptions;
|
|
706
|
+
residual?: RtkResidualValidationOptions;
|
|
707
|
+
}
|
|
708
|
+
|
|
686
709
|
export interface RtkStaticArcConfig {
|
|
687
710
|
arc: RtkArcConfig;
|
|
688
|
-
opts?:
|
|
711
|
+
opts?: RtkValidatedFixedOptions;
|
|
689
712
|
}
|
|
690
713
|
|
|
691
714
|
export interface RtkArcSolution {
|
|
@@ -695,8 +718,38 @@ export interface RtkArcSolution {
|
|
|
695
718
|
}
|
|
696
719
|
|
|
697
720
|
export interface RtkStaticArcSolution {
|
|
698
|
-
|
|
699
|
-
|
|
721
|
+
geometryQuality: RtkGeometryQuality;
|
|
722
|
+
references: Record<string, string>;
|
|
723
|
+
ambiguityIds: string[];
|
|
724
|
+
ambiguitySatellites: Record<string, string>;
|
|
725
|
+
floatSolution: RtkFloatArcSolution;
|
|
726
|
+
fixedSolution: RtkValidatedFixedArcSolution;
|
|
727
|
+
droppedSats: string[];
|
|
728
|
+
splitCycleSlipArcs: RtkCycleSlipSplitArc[];
|
|
729
|
+
elevationMaskedSats: string[];
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
export interface RtkGeometryQuality {
|
|
733
|
+
tier: "RankDeficient" | "ZeroRedundancy" | "Weak" | "Nominal";
|
|
734
|
+
redundancy: number;
|
|
735
|
+
rank: number;
|
|
736
|
+
conditionNumber: number;
|
|
737
|
+
gdop: number;
|
|
738
|
+
raimCheckable: boolean;
|
|
739
|
+
covarianceValidated: boolean;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type RtkFloatArcSolution = Record<string, unknown>;
|
|
743
|
+
|
|
744
|
+
export type RtkValidatedFixedArcSolution = Record<string, unknown>;
|
|
745
|
+
|
|
746
|
+
export interface RtkCycleSlipSplitArc {
|
|
747
|
+
receiver: "base" | "rover";
|
|
748
|
+
satelliteId: string;
|
|
749
|
+
ambiguityId: string;
|
|
750
|
+
startEpochIndex: number;
|
|
751
|
+
endEpochIndex: number;
|
|
752
|
+
nEpochs: number;
|
|
700
753
|
}
|
|
701
754
|
|
|
702
755
|
export interface RtkDualFrequencyObservation {
|
|
@@ -896,6 +949,7 @@ export type PppScalarMap = Record<string, number>;
|
|
|
896
949
|
*/
|
|
897
950
|
export interface FusionConfig {
|
|
898
951
|
[key: string]: any;
|
|
952
|
+
ukf?: UkfUpdateOptions;
|
|
899
953
|
}
|
|
900
954
|
|
|
901
955
|
export interface FusionTimeSyncConfig {
|
|
@@ -1604,26 +1658,37 @@ export type Sgp4OperationError = Error & { detail: Sgp4OperationErrorDetail };
|
|
|
1604
1658
|
|
|
1605
1659
|
export interface DllJitterOptions {
|
|
1606
1660
|
cn0DbHz: number;
|
|
1661
|
+
loopBandwidthHz: number;
|
|
1662
|
+
integrationTimeS: number;
|
|
1663
|
+
correlatorSpacingChips: number;
|
|
1607
1664
|
receiverBandwidthHz: number;
|
|
1608
|
-
earlyLateSpacingChips: number;
|
|
1609
|
-
integrationTimeS?: number;
|
|
1610
1665
|
}
|
|
1611
1666
|
|
|
1612
1667
|
export interface DllJitterResult {
|
|
1613
|
-
|
|
1614
|
-
|
|
1668
|
+
seconds: number;
|
|
1669
|
+
chips: number;
|
|
1670
|
+
meters: number;
|
|
1671
|
+
squaringLoss: number;
|
|
1615
1672
|
}
|
|
1616
1673
|
|
|
1617
1674
|
export interface MultipathEnvelopeOptions {
|
|
1618
|
-
|
|
1675
|
+
multipathToDirectRatio: number;
|
|
1676
|
+
correlatorSpacingChips: number;
|
|
1619
1677
|
receiverBandwidthHz: number;
|
|
1620
|
-
relativeAmplitude?: number;
|
|
1621
|
-
carrierPhaseRad?: number;
|
|
1622
1678
|
}
|
|
1623
1679
|
|
|
1624
|
-
export interface
|
|
1625
|
-
delayChips:
|
|
1626
|
-
|
|
1680
|
+
export interface MultipathEnvelopePoint {
|
|
1681
|
+
delayChips: number;
|
|
1682
|
+
delayS: number;
|
|
1683
|
+
inPhaseChips: number;
|
|
1684
|
+
inPhaseS: number;
|
|
1685
|
+
inPhaseM: number;
|
|
1686
|
+
antiPhaseChips: number;
|
|
1687
|
+
antiPhaseS: number;
|
|
1688
|
+
antiPhaseM: number;
|
|
1689
|
+
runningAverageChips: number;
|
|
1690
|
+
runningAverageS: number;
|
|
1691
|
+
runningAverageM: number;
|
|
1627
1692
|
}
|
|
1628
1693
|
|
|
1629
1694
|
export interface TerrainLookupOptions {
|
|
@@ -3065,6 +3130,43 @@ export interface NmeaAccumulatorOutput {
|
|
|
3065
3130
|
|
|
3066
3131
|
|
|
3067
3132
|
|
|
3133
|
+
export interface OrbitFitOptions {
|
|
3134
|
+
forceModel?: unknown;
|
|
3135
|
+
muKm3S2?: number;
|
|
3136
|
+
integrator?: string;
|
|
3137
|
+
integratorOptions?: Record<string, number>;
|
|
3138
|
+
solverOptions?: { gtol?: number; ftol?: number; xtol?: number; maxNfev?: number };
|
|
3139
|
+
linearSolve?: "nalgebraLu" | "nalgebra_lu" | "ownedGaussianFirstTie" | "owned_gaussian_first_tie";
|
|
3140
|
+
minLedgerSamples?: number;
|
|
3141
|
+
drag?: unknown;
|
|
3142
|
+
}
|
|
3143
|
+
export type OrbitFitCovariance =
|
|
3144
|
+
| { kind: "estimated"; matrix: number[][] }
|
|
3145
|
+
| { kind: "unbounded" };
|
|
3146
|
+
export interface OrbitResidualStats {
|
|
3147
|
+
radialRmsM: number; alongRmsM: number; crossRmsM: number; rms3dM: number;
|
|
3148
|
+
n: number; lowSampleCount: boolean;
|
|
3149
|
+
}
|
|
3150
|
+
export interface OrbitArcSpan {
|
|
3151
|
+
timeScale: string; startJ2000S: number; endJ2000S: number; durationS: number;
|
|
3152
|
+
}
|
|
3153
|
+
export interface OrbitFitSolution {
|
|
3154
|
+
satellite: string; initialEpochS: number; initialPositionKm: number[];
|
|
3155
|
+
initialVelocityKmS: number[]; covariance: OrbitFitCovariance;
|
|
3156
|
+
geometryQuality: Record<string, unknown>; seedRms3dM: number; fitRms3dM: number;
|
|
3157
|
+
iterations: number;
|
|
3158
|
+
}
|
|
3159
|
+
export interface OrbitFitReport {
|
|
3160
|
+
fits: OrbitFitSolution[];
|
|
3161
|
+
ledger: {
|
|
3162
|
+
perSatellite: Array<{ satellite: string; stats: OrbitResidualStats }>;
|
|
3163
|
+
perConstellation: Array<{ system: string; stats: OrbitResidualStats }>;
|
|
3164
|
+
arcSpan: OrbitArcSpan;
|
|
3165
|
+
};
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
|
|
3068
3170
|
export interface PreciseObservableStateElementResult {
|
|
3069
3171
|
ok: boolean;
|
|
3070
3172
|
error: string | null;
|
|
@@ -4514,6 +4616,57 @@ export interface SsrRtcmIngestReport {
|
|
|
4514
4616
|
|
|
4515
4617
|
|
|
4516
4618
|
|
|
4619
|
+
export interface TcaFinderOptions {
|
|
4620
|
+
coarseStepSeconds?: number;
|
|
4621
|
+
timeToleranceSeconds?: number;
|
|
4622
|
+
}
|
|
4623
|
+
export type TcaPcMethod = "foster_equal_area" | "foster_numerical" | "alfano_2005";
|
|
4624
|
+
export interface TcaPcOptions {
|
|
4625
|
+
hardBodyRadiusKm: number;
|
|
4626
|
+
method?: TcaPcMethod;
|
|
4627
|
+
primaryCovarianceKm2?: number[];
|
|
4628
|
+
secondaryCovarianceKm2?: number[];
|
|
4629
|
+
}
|
|
4630
|
+
export interface TcaTle { line1: string; line2: string; }
|
|
4631
|
+
export interface TcaCandidate {
|
|
4632
|
+
tcaJdWhole: number;
|
|
4633
|
+
tcaJdFraction: number;
|
|
4634
|
+
tcaJd: number;
|
|
4635
|
+
tcaSecondsSinceWindowStart: number;
|
|
4636
|
+
missDistanceKm: number;
|
|
4637
|
+
relativePositionKm: number[];
|
|
4638
|
+
relativeVelocityKmS: number[];
|
|
4639
|
+
}
|
|
4640
|
+
export interface TcaConjunction {
|
|
4641
|
+
candidate: TcaCandidate;
|
|
4642
|
+
pc: number;
|
|
4643
|
+
missKm: number;
|
|
4644
|
+
relativeSpeedKmS: number;
|
|
4645
|
+
sigmaXKm: number;
|
|
4646
|
+
sigmaZKm: number;
|
|
4647
|
+
}
|
|
4648
|
+
export interface TcaScreeningHit { secondaryIndex: number; candidate: TcaCandidate; }
|
|
4649
|
+
export interface TcaScreeningConjunctionHit {
|
|
4650
|
+
secondaryIndex: number;
|
|
4651
|
+
conjunction: TcaConjunction;
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
|
|
4655
|
+
|
|
4656
|
+
export interface UnscentedTransformOptions {
|
|
4657
|
+
alpha?: number;
|
|
4658
|
+
beta?: number;
|
|
4659
|
+
kappa?: number;
|
|
4660
|
+
}
|
|
4661
|
+
|
|
4662
|
+
export interface UkfUpdateOptions {
|
|
4663
|
+
transform?: UnscentedTransformOptions;
|
|
4664
|
+
innovationGate?: { thresholdSigma: number; minRows: number };
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
|
|
4668
|
+
|
|
4669
|
+
|
|
4517
4670
|
export type AntexWriteErrorDetail =
|
|
4518
4671
|
| { kind: "UNWRITABLE"; field: string; reason: string; message: string }
|
|
4519
4672
|
| { kind: "OTHER"; message: string };
|
|
@@ -4673,6 +4826,13 @@ export type AstroErrorDetail =
|
|
|
4673
4826
|
|
|
4674
4827
|
|
|
4675
4828
|
|
|
4829
|
+
export type ExactCacheSingleFlightDecision =
|
|
4830
|
+
| { action: "wait"; delayMs: number }
|
|
4831
|
+
| { action: "takeover" }
|
|
4832
|
+
| { action: "timeout" };
|
|
4833
|
+
|
|
4834
|
+
|
|
4835
|
+
|
|
4676
4836
|
export type ExactFloatDetail = { decimal: string; bitsHex: string };
|
|
4677
4837
|
export type AnomalyErrorDetail = { family: "anomaly"; cause:
|
|
4678
4838
|
| { kind: "nonFinite"; field: string } | { kind: "negativeEccentricity" }
|
|
@@ -5266,6 +5426,30 @@ export interface Sp3PreciseEphemerisSample {
|
|
|
5266
5426
|
clockEvent: boolean;
|
|
5267
5427
|
}
|
|
5268
5428
|
|
|
5429
|
+
export interface Sp3RoundingReport {
|
|
5430
|
+
/** Maps to core `position_x_m`; maximum absolute change in meters. */
|
|
5431
|
+
positionXMaxChangeM: number;
|
|
5432
|
+
/** Maps to core `position_y_m`; maximum absolute change in meters. */
|
|
5433
|
+
positionYMaxChangeM: number;
|
|
5434
|
+
/** Maps to core `position_z_m`; maximum absolute change in meters. */
|
|
5435
|
+
positionZMaxChangeM: number;
|
|
5436
|
+
/** Maps to core `velocity_x_m_s`; maximum absolute change in m/s. */
|
|
5437
|
+
velocityXMaxChangeMPerS: number;
|
|
5438
|
+
/** Maps to core `velocity_y_m_s`; maximum absolute change in m/s. */
|
|
5439
|
+
velocityYMaxChangeMPerS: number;
|
|
5440
|
+
/** Maps to core `velocity_z_m_s`; maximum absolute change in m/s. */
|
|
5441
|
+
velocityZMaxChangeMPerS: number;
|
|
5442
|
+
/** Maps to core `clock_s`; maximum absolute change in seconds. */
|
|
5443
|
+
clockMaxChangeS: number;
|
|
5444
|
+
/** Maps to core `clock_rate_s_s`; maximum absolute change in s/s. */
|
|
5445
|
+
clockRateMaxChangeSPerS: number;
|
|
5446
|
+
}
|
|
5447
|
+
|
|
5448
|
+
export interface Sp3StringWithRounding {
|
|
5449
|
+
text: string;
|
|
5450
|
+
report: Sp3RoundingReport;
|
|
5451
|
+
}
|
|
5452
|
+
|
|
5269
5453
|
export type Sp3SampleInstant = {
|
|
5270
5454
|
scale: "UTC" | "TAI" | "TT" | "TCG" | "TDB" | "TCB" | "GPST" | "GST" | "BDT" | "GLONASST" | "QZSST";
|
|
5271
5455
|
representation:
|
|
@@ -5566,6 +5750,115 @@ export type TimeOffsetErrorDetail =
|
|
|
5566
5750
|
|
|
5567
5751
|
|
|
5568
5752
|
|
|
5753
|
+
export type TrackCoordinateFrame = "ecef" | "enu" | "callerDefinedCartesian";
|
|
5754
|
+
export type TrackCoordinateFrameInput =
|
|
5755
|
+
| TrackCoordinateFrame
|
|
5756
|
+
| "ECEF"
|
|
5757
|
+
| "ENU"
|
|
5758
|
+
| "caller_defined_cartesian";
|
|
5759
|
+
|
|
5760
|
+
export interface TrackFilterConfigInput {
|
|
5761
|
+
frame: TrackCoordinateFrameInput;
|
|
5762
|
+
initialTS: number;
|
|
5763
|
+
initialPositionM: number[];
|
|
5764
|
+
initialVelocityMS: number[];
|
|
5765
|
+
initialCovariance: number[][];
|
|
5766
|
+
accelerationVarianceSpectralDensityM2S3: number;
|
|
5767
|
+
}
|
|
5768
|
+
|
|
5769
|
+
export interface TrackFilterFromPositionInput {
|
|
5770
|
+
frame: TrackCoordinateFrameInput;
|
|
5771
|
+
initialTS: number;
|
|
5772
|
+
initialPositionM: number[];
|
|
5773
|
+
positionCovarianceM2: number[][];
|
|
5774
|
+
initialVelocityVarianceM2S2: number;
|
|
5775
|
+
accelerationVarianceSpectralDensityM2S3: number;
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5778
|
+
export interface TrackPositionObservationInput {
|
|
5779
|
+
positionM: number[];
|
|
5780
|
+
covarianceM2: number[][];
|
|
5781
|
+
}
|
|
5782
|
+
|
|
5783
|
+
export interface TrackStateObservationInput {
|
|
5784
|
+
state: number[];
|
|
5785
|
+
covariance: number[][];
|
|
5786
|
+
}
|
|
5787
|
+
|
|
5788
|
+
export interface TrackGatedPositionObservationInput extends TrackPositionObservationInput {
|
|
5789
|
+
confidence: number;
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
export interface TrackFilterConfigObject {
|
|
5793
|
+
frame: TrackCoordinateFrame;
|
|
5794
|
+
initialTS: number;
|
|
5795
|
+
initialPositionM: number[];
|
|
5796
|
+
initialVelocityMS: number[];
|
|
5797
|
+
initialCovariance: number[][];
|
|
5798
|
+
accelerationVarianceSpectralDensityM2S3: number;
|
|
5799
|
+
dimension: number;
|
|
5800
|
+
}
|
|
5801
|
+
|
|
5802
|
+
export interface TrackState {
|
|
5803
|
+
frame: TrackCoordinateFrame;
|
|
5804
|
+
tS: number;
|
|
5805
|
+
positionM: number[];
|
|
5806
|
+
velocityMS: number[];
|
|
5807
|
+
covariance: number[][];
|
|
5808
|
+
stateVector: number[];
|
|
5809
|
+
positionCovarianceM2: number[][];
|
|
5810
|
+
dimension: number;
|
|
5811
|
+
stateDimension: number;
|
|
5812
|
+
}
|
|
5813
|
+
|
|
5814
|
+
export interface TrackPrediction {
|
|
5815
|
+
dtS: number;
|
|
5816
|
+
transition: number[][];
|
|
5817
|
+
processNoise: number[][];
|
|
5818
|
+
predicted: TrackState;
|
|
5819
|
+
}
|
|
5820
|
+
|
|
5821
|
+
export interface TrackInnovation {
|
|
5822
|
+
innovation: number[];
|
|
5823
|
+
innovationCovariance: number[][];
|
|
5824
|
+
nis: number;
|
|
5825
|
+
}
|
|
5826
|
+
|
|
5827
|
+
export interface TrackUpdate {
|
|
5828
|
+
predicted: TrackState;
|
|
5829
|
+
updated: TrackState;
|
|
5830
|
+
innovation: TrackInnovation;
|
|
5831
|
+
kalmanGain: number[][];
|
|
5832
|
+
}
|
|
5833
|
+
|
|
5834
|
+
export interface TrackNisGate {
|
|
5835
|
+
nis: number;
|
|
5836
|
+
threshold: number;
|
|
5837
|
+
inGate: boolean;
|
|
5838
|
+
dof: number;
|
|
5839
|
+
}
|
|
5840
|
+
|
|
5841
|
+
export interface TrackGatedUpdate {
|
|
5842
|
+
gate: TrackNisGate;
|
|
5843
|
+
update: TrackUpdate | null;
|
|
5844
|
+
state: TrackState;
|
|
5845
|
+
}
|
|
5846
|
+
|
|
5847
|
+
export interface TrackRtsEpoch {
|
|
5848
|
+
tS: number;
|
|
5849
|
+
predicted: TrackState;
|
|
5850
|
+
updated: TrackState;
|
|
5851
|
+
transitionFromPrevious: number[][] | null;
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
export interface SmoothedTrackEpoch {
|
|
5855
|
+
tS: number;
|
|
5856
|
+
state: TrackState;
|
|
5857
|
+
rtsGainToNext: number[][] | null;
|
|
5858
|
+
}
|
|
5859
|
+
|
|
5860
|
+
|
|
5861
|
+
|
|
5569
5862
|
/**
|
|
5570
5863
|
* Acquisition search-grid metadata.
|
|
5571
5864
|
*/
|
|
@@ -7957,7 +8250,7 @@ export class ExactCacheSingleFlightWait {
|
|
|
7957
8250
|
/**
|
|
7958
8251
|
* Observe an opaque IndexedDB owner/heartbeat revision.
|
|
7959
8252
|
*/
|
|
7960
|
-
observe(now_ms: number, revision: Uint8Array):
|
|
8253
|
+
observe(now_ms: number, revision: Uint8Array): ExactCacheSingleFlightDecision;
|
|
7961
8254
|
}
|
|
7962
8255
|
|
|
7963
8256
|
export class ExactEpoch {
|
|
@@ -8668,11 +8961,11 @@ export class GnssInsFilter {
|
|
|
8668
8961
|
/**
|
|
8669
8962
|
* Build a filter, then restore its state from versioned fusion-state bytes.
|
|
8670
8963
|
*/
|
|
8671
|
-
static fromStateBytes(config:
|
|
8964
|
+
static fromStateBytes(config: FusionConfig, bytes: Uint8Array): GnssInsFilter;
|
|
8672
8965
|
/**
|
|
8673
8966
|
* Build a filter from a JS configuration object.
|
|
8674
8967
|
*/
|
|
8675
|
-
constructor(config:
|
|
8968
|
+
constructor(config: FusionConfig);
|
|
8676
8969
|
/**
|
|
8677
8970
|
* Propagate the filter with one IMU rate or increment sample.
|
|
8678
8971
|
*/
|
|
@@ -9866,7 +10159,7 @@ export class LnavDecoded {
|
|
|
9866
10159
|
*/
|
|
9867
10160
|
readonly cus: number;
|
|
9868
10161
|
/**
|
|
9869
|
-
* Mean motion difference,
|
|
10162
|
+
* Mean motion difference, semicircles per second.
|
|
9870
10163
|
*/
|
|
9871
10164
|
readonly deltaN: number;
|
|
9872
10165
|
/**
|
|
@@ -9878,11 +10171,11 @@ export class LnavDecoded {
|
|
|
9878
10171
|
*/
|
|
9879
10172
|
readonly fitIntervalFlag: number;
|
|
9880
10173
|
/**
|
|
9881
|
-
* Inclination at reference time,
|
|
10174
|
+
* Inclination at reference time, semicircles.
|
|
9882
10175
|
*/
|
|
9883
10176
|
readonly i0: number;
|
|
9884
10177
|
/**
|
|
9885
|
-
* Rate of inclination,
|
|
10178
|
+
* Rate of inclination, semicircles per second.
|
|
9886
10179
|
*/
|
|
9887
10180
|
readonly idot: number;
|
|
9888
10181
|
/**
|
|
@@ -9898,19 +10191,19 @@ export class LnavDecoded {
|
|
|
9898
10191
|
*/
|
|
9899
10192
|
readonly l2Code: number;
|
|
9900
10193
|
/**
|
|
9901
|
-
* Mean anomaly at reference time,
|
|
10194
|
+
* Mean anomaly at reference time, semicircles.
|
|
9902
10195
|
*/
|
|
9903
10196
|
readonly m0: number;
|
|
9904
10197
|
/**
|
|
9905
|
-
* Argument of perigee,
|
|
10198
|
+
* Argument of perigee, semicircles.
|
|
9906
10199
|
*/
|
|
9907
10200
|
readonly omega: number;
|
|
9908
10201
|
/**
|
|
9909
|
-
* Longitude of ascending node at weekly epoch,
|
|
10202
|
+
* Longitude of ascending node at weekly epoch, semicircles.
|
|
9910
10203
|
*/
|
|
9911
10204
|
readonly omega0: number;
|
|
9912
10205
|
/**
|
|
9913
|
-
* Rate of right ascension,
|
|
10206
|
+
* Rate of right ascension, semicircles per second.
|
|
9914
10207
|
*/
|
|
9915
10208
|
readonly omegaDot: number;
|
|
9916
10209
|
/**
|
|
@@ -13874,7 +14167,7 @@ export class SignalAnalysisModulation {
|
|
|
13874
14167
|
/**
|
|
13875
14168
|
* One-path early-late multipath error envelope on a delay grid.
|
|
13876
14169
|
*/
|
|
13877
|
-
multipathErrorEnvelope(options: MultipathEnvelopeOptions, delay_chips: Float64Array):
|
|
14170
|
+
multipathErrorEnvelope(options: MultipathEnvelopeOptions, delay_chips: Float64Array): MultipathEnvelopePoint[];
|
|
13878
14171
|
/**
|
|
13879
14172
|
* Signal power inside a two-sided receiver bandwidth.
|
|
13880
14173
|
*/
|
|
@@ -14049,7 +14342,7 @@ export class SmoothedTrack {
|
|
|
14049
14342
|
free(): void;
|
|
14050
14343
|
[Symbol.dispose](): void;
|
|
14051
14344
|
readonly epochCount: number;
|
|
14052
|
-
readonly epochs:
|
|
14345
|
+
readonly epochs: SmoothedTrackEpoch[];
|
|
14053
14346
|
}
|
|
14054
14347
|
|
|
14055
14348
|
/**
|
|
@@ -14077,7 +14370,8 @@ export class SourcedSolution {
|
|
|
14077
14370
|
* Create with [`load_sp3`]. Query interpolated states with
|
|
14078
14371
|
* [`Sp3.interpolate`], the exact parsed records with [`Sp3.state`], the node
|
|
14079
14372
|
* epoch axis with [`Sp3.epochsJ2000Seconds`], run positioning with
|
|
14080
|
-
* [`Sp3.solveSpp`], and serialize back with [`Sp3.toSp3String`]
|
|
14373
|
+
* [`Sp3.solveSpp`], and serialize back with [`Sp3.toSp3String`] or explicitly
|
|
14374
|
+
* quantize record values with [`Sp3.toSp3StringWithRounding`].
|
|
14081
14375
|
*/
|
|
14082
14376
|
export class Sp3 {
|
|
14083
14377
|
private constructor();
|
|
@@ -14318,6 +14612,15 @@ export class Sp3 {
|
|
|
14318
14612
|
* dropped to make the product fit.
|
|
14319
14613
|
*/
|
|
14320
14614
|
toSp3String(): string;
|
|
14615
|
+
/**
|
|
14616
|
+
* Serialize after explicitly rounding a copy of the record values to SP3
|
|
14617
|
+
* column precision. The returned report gives the maximum absolute
|
|
14618
|
+
* change in each record field, in that field's SI units. Header fields
|
|
14619
|
+
* and epochs retain their existing precision. Structural failures,
|
|
14620
|
+
* overflow, and values that would become SP3 absence sentinels still
|
|
14621
|
+
* throw a typed `Sp3WriteError`.
|
|
14622
|
+
*/
|
|
14623
|
+
toSp3StringWithRounding(): Sp3StringWithRounding;
|
|
14321
14624
|
transmitEpochClockAtExactQueries(satellite: string, state_epoch: ExactEpochQuery, selection_epoch: ExactEpochQuery): Ut1Validated<number> | null;
|
|
14322
14625
|
/**
|
|
14323
14626
|
* Return a copy of this product with an explicit gap threshold factor.
|
|
@@ -14361,7 +14664,8 @@ export class Sp3 {
|
|
|
14361
14664
|
|
|
14362
14665
|
/**
|
|
14363
14666
|
* Per-(epoch, satellite) agreement statistics for one accepted merged cell:
|
|
14364
|
-
* how tightly the consensus sources clustered about the combined value
|
|
14667
|
+
* how tightly the consensus sources clustered about the combined value,
|
|
14668
|
+
* before final SP3 record-column rounding.
|
|
14365
14669
|
*/
|
|
14366
14670
|
export class Sp3AgreementMetric {
|
|
14367
14671
|
private constructor();
|
|
@@ -16487,24 +16791,24 @@ export class TrackFilter {
|
|
|
16487
16791
|
/**
|
|
16488
16792
|
* Build a filter from a position fix and uncertain zero initial velocity.
|
|
16489
16793
|
*/
|
|
16490
|
-
static fromPosition(config:
|
|
16794
|
+
static fromPosition(config: TrackFilterFromPositionInput): TrackFilter;
|
|
16491
16795
|
/**
|
|
16492
16796
|
* Build a stateful no-IMU track filter from a `TrackFilterConfig`.
|
|
16493
16797
|
*/
|
|
16494
16798
|
constructor(config: TrackFilterConfig);
|
|
16495
|
-
positionInnovation(request:
|
|
16496
|
-
predict(dt_s: number):
|
|
16497
|
-
predictRecorded(dt_s: number, history: TrackRtsHistoryBuilder):
|
|
16799
|
+
positionInnovation(request: TrackPositionObservationInput): TrackInnovation;
|
|
16800
|
+
predict(dt_s: number): TrackPrediction;
|
|
16801
|
+
predictRecorded(dt_s: number, history: TrackRtsHistoryBuilder): TrackPrediction;
|
|
16498
16802
|
recordPredictionOnly(history: TrackRtsHistoryBuilder): void;
|
|
16499
|
-
stateInnovation(request:
|
|
16500
|
-
updatePosition(request:
|
|
16501
|
-
updatePositionGated(request:
|
|
16502
|
-
updatePositionGatedRecorded(request:
|
|
16503
|
-
updatePositionRecorded(request:
|
|
16504
|
-
updateState(request:
|
|
16803
|
+
stateInnovation(request: TrackStateObservationInput): TrackInnovation;
|
|
16804
|
+
updatePosition(request: TrackPositionObservationInput): TrackUpdate;
|
|
16805
|
+
updatePositionGated(request: TrackGatedPositionObservationInput): TrackGatedUpdate;
|
|
16806
|
+
updatePositionGatedRecorded(request: TrackGatedPositionObservationInput, history: TrackRtsHistoryBuilder): TrackGatedUpdate;
|
|
16807
|
+
updatePositionRecorded(request: TrackPositionObservationInput, history: TrackRtsHistoryBuilder): TrackUpdate;
|
|
16808
|
+
updateState(request: TrackStateObservationInput): TrackUpdate;
|
|
16505
16809
|
readonly accelerationVarianceSpectralDensityM2S3: number;
|
|
16506
16810
|
readonly dimension: number;
|
|
16507
|
-
readonly state:
|
|
16811
|
+
readonly state: TrackState;
|
|
16508
16812
|
}
|
|
16509
16813
|
|
|
16510
16814
|
export class TrackFilterConfig {
|
|
@@ -16513,14 +16817,14 @@ export class TrackFilterConfig {
|
|
|
16513
16817
|
/**
|
|
16514
16818
|
* Build a config from a position fix and uncertain zero initial velocity.
|
|
16515
16819
|
*/
|
|
16516
|
-
static fromPosition(config:
|
|
16820
|
+
static fromPosition(config: TrackFilterFromPositionInput): TrackFilterConfig;
|
|
16517
16821
|
/**
|
|
16518
16822
|
* Build a no-IMU track filter config from a JS object.
|
|
16519
16823
|
*/
|
|
16520
|
-
constructor(config:
|
|
16521
|
-
toObject():
|
|
16824
|
+
constructor(config: TrackFilterConfigInput);
|
|
16825
|
+
toObject(): TrackFilterConfigObject;
|
|
16522
16826
|
readonly dimension: number;
|
|
16523
|
-
readonly frame:
|
|
16827
|
+
readonly frame: TrackCoordinateFrame;
|
|
16524
16828
|
readonly initialTS: number;
|
|
16525
16829
|
}
|
|
16526
16830
|
|
|
@@ -16529,7 +16833,7 @@ export class TrackRtsHistory {
|
|
|
16529
16833
|
free(): void;
|
|
16530
16834
|
[Symbol.dispose](): void;
|
|
16531
16835
|
readonly epochCount: number;
|
|
16532
|
-
readonly epochs:
|
|
16836
|
+
readonly epochs: TrackRtsEpoch[];
|
|
16533
16837
|
}
|
|
16534
16838
|
|
|
16535
16839
|
export class TrackRtsHistoryBuilder {
|
|
@@ -16705,7 +17009,8 @@ export class Wgs84Geodetic {
|
|
|
16705
17009
|
[Symbol.dispose](): void;
|
|
16706
17010
|
/**
|
|
16707
17011
|
* Build a WGS84 geodetic coordinate. `heightM` defaults to 0. Throws a
|
|
16708
|
-
* `RangeError` on a non-finite field
|
|
17012
|
+
* `RangeError` on a non-finite field, latitude outside `[-pi/2, pi/2]`,
|
|
17013
|
+
* or longitude outside `[-pi, pi]`.
|
|
16709
17014
|
*/
|
|
16710
17015
|
constructor(lat_rad: number, lon_rad: number, height_m?: number | null);
|
|
16711
17016
|
/**
|
|
@@ -17617,7 +17922,7 @@ export function findMoonTransitsWithValidity(latitude_deg: number, longitude_deg
|
|
|
17617
17922
|
* objects. Delegates to
|
|
17618
17923
|
* `sidereon_core::astro::tca::find_tca_candidates_from_tles`.
|
|
17619
17924
|
*/
|
|
17620
|
-
export function findTcaCandidates(primary_line1: string, primary_line2: string, secondary_line1: string, secondary_line2: string, window_start_unix_micros: bigint, window_end_unix_micros: bigint, options:
|
|
17925
|
+
export function findTcaCandidates(primary_line1: string, primary_line2: string, secondary_line1: string, secondary_line2: string, window_start_unix_micros: bigint, window_end_unix_micros: bigint, options: TcaFinderOptions | undefined | null): TcaCandidate[];
|
|
17621
17926
|
|
|
17622
17927
|
/**
|
|
17623
17928
|
* Find local TCA candidates between two satellites and evaluate collision
|
|
@@ -17628,7 +17933,7 @@ export function findTcaCandidates(primary_line1: string, primary_line2: string,
|
|
|
17628
17933
|
* array of `TcaConjunction` objects. Delegates to
|
|
17629
17934
|
* `sidereon_core::astro::tca::find_tca_conjunctions_from_tles`.
|
|
17630
17935
|
*/
|
|
17631
|
-
export function findTcaConjunctions(primary_line1: string, primary_line2: string, secondary_line1: string, secondary_line2: string, window_start_unix_micros: bigint, window_end_unix_micros: bigint, pc_options:
|
|
17936
|
+
export function findTcaConjunctions(primary_line1: string, primary_line2: string, secondary_line1: string, secondary_line2: string, window_start_unix_micros: bigint, window_end_unix_micros: bigint, pc_options: TcaPcOptions, options: TcaFinderOptions | undefined | null): TcaConjunction[];
|
|
17632
17937
|
|
|
17633
17938
|
/**
|
|
17634
17939
|
* Fit every satellite declared in a parsed ECEF SP3 precise product.
|
|
@@ -17636,7 +17941,7 @@ export function findTcaConjunctions(primary_line1: string, primary_line2: string
|
|
|
17636
17941
|
* The residual ledger is computed against the original Earth-fixed SP3
|
|
17637
17942
|
* observations by the core fit path.
|
|
17638
17943
|
*/
|
|
17639
|
-
export function fitAllSp3EcefPreciseOrbits(sp3: Sp3, options:
|
|
17944
|
+
export function fitAllSp3EcefPreciseOrbits(sp3: Sp3, options: OrbitFitOptions | undefined | null): OrbitFitReport;
|
|
17640
17945
|
|
|
17641
17946
|
/**
|
|
17642
17947
|
* Fit a piecewise reduced-orbit model: tile `[t0, t1]` into segments of
|
|
@@ -17684,7 +17989,7 @@ export function fitPowerLawNoise(adev: any, mdev: any, options: any): any;
|
|
|
17684
17989
|
* `{ sat, epoch, positionEcefM, clockS?, clockEvent? }` with epochs in seconds
|
|
17685
17990
|
* since J2000.
|
|
17686
17991
|
*/
|
|
17687
|
-
export function fitPreciseEphemerisSampleOrbit(samples:
|
|
17992
|
+
export function fitPreciseEphemerisSampleOrbit(samples: Sp3PreciseEphemerisSample[], satellite: string, options: OrbitFitOptions | undefined | null): OrbitFitReport;
|
|
17688
17993
|
|
|
17689
17994
|
/**
|
|
17690
17995
|
* Fit a reduced-orbit model to ECEF position samples.
|
|
@@ -17719,7 +18024,7 @@ export function fitReducedOrbitTle(tle: Tle, options: any): ReducedOrbitSourceFi
|
|
|
17719
18024
|
* velocity records are transformed from Earth-fixed coordinates through the
|
|
17720
18025
|
* core `TdbEarthOrientationProvider` before fitting.
|
|
17721
18026
|
*/
|
|
17722
|
-
export function fitSp3EcefPreciseOrbit(sp3: Sp3, satellite: string, options:
|
|
18027
|
+
export function fitSp3EcefPreciseOrbit(sp3: Sp3, satellite: string, options: OrbitFitOptions | undefined | null): OrbitFitReport;
|
|
17723
18028
|
|
|
17724
18029
|
/**
|
|
17725
18030
|
* Fit selected satellite orbits from a parsed ECEF SP3 precise product.
|
|
@@ -17727,7 +18032,7 @@ export function fitSp3EcefPreciseOrbit(sp3: Sp3, satellite: string, options: any
|
|
|
17727
18032
|
* `satellites` is a string array of IGS tokens such as `["G01", "G02"]`.
|
|
17728
18033
|
* The Earth-fixed to inertial conversion is handled by the core provider.
|
|
17729
18034
|
*/
|
|
17730
|
-
export function fitSp3EcefPreciseOrbits(sp3: Sp3, satellites:
|
|
18035
|
+
export function fitSp3EcefPreciseOrbits(sp3: Sp3, satellites: string[], options: OrbitFitOptions | undefined | null): OrbitFitReport;
|
|
17731
18036
|
|
|
17732
18037
|
/**
|
|
17733
18038
|
* Fit one satellite orbit from a parsed SP3 precise product.
|
|
@@ -17736,7 +18041,7 @@ export function fitSp3EcefPreciseOrbits(sp3: Sp3, satellites: any, options: any)
|
|
|
17736
18041
|
* `forceModel`, `integrator`, `integratorOptions`, `solverOptions`,
|
|
17737
18042
|
* `linearSolve`, `minLedgerSamples`, and `drag`.
|
|
17738
18043
|
*/
|
|
17739
|
-
export function fitSp3PreciseOrbit(sp3: Sp3, satellite: string, options:
|
|
18044
|
+
export function fitSp3PreciseOrbit(sp3: Sp3, satellite: string, options: OrbitFitOptions | undefined | null): OrbitFitReport;
|
|
17740
18045
|
|
|
17741
18046
|
/**
|
|
17742
18047
|
* Fit SGP4 mean elements and optional B* to TEME state samples.
|
|
@@ -19731,7 +20036,7 @@ export function scenarioSchemaVersion(): number;
|
|
|
19731
20036
|
* at or below the threshold, in catalog then time order. Delegates to
|
|
19732
20037
|
* `sidereon_core::astro::tca::screen_tca_candidates_from_tle_catalog_serial`.
|
|
19733
20038
|
*/
|
|
19734
|
-
export function screenTcaCandidates(primary_line1: string, primary_line2: string, secondaries:
|
|
20039
|
+
export function screenTcaCandidates(primary_line1: string, primary_line2: string, secondaries: TcaTle[], window_start_unix_micros: bigint, window_end_unix_micros: bigint, miss_distance_threshold_km: number, options: TcaFinderOptions | undefined | null): TcaScreeningHit[];
|
|
19735
20040
|
|
|
19736
20041
|
/**
|
|
19737
20042
|
* Screen a primary against a secondary TLE catalog and evaluate collision
|
|
@@ -19741,7 +20046,7 @@ export function screenTcaCandidates(primary_line1: string, primary_line2: string
|
|
|
19741
20046
|
* `TcaScreeningConjunctionHit` (`{ secondaryIndex, conjunction }`). Delegates to
|
|
19742
20047
|
* `sidereon_core::astro::tca::screen_tca_conjunctions_from_tle_catalog_serial`.
|
|
19743
20048
|
*/
|
|
19744
|
-
export function screenTcaConjunctions(primary_line1: string, primary_line2: string, secondaries:
|
|
20049
|
+
export function screenTcaConjunctions(primary_line1: string, primary_line2: string, secondaries: TcaTle[], window_start_unix_micros: bigint, window_end_unix_micros: bigint, miss_distance_threshold_km: number, pc_options: TcaPcOptions, options: TcaFinderOptions | undefined | null): TcaScreeningConjunctionHit[];
|
|
19745
20050
|
|
|
19746
20051
|
export function seasons(start_unix_us: bigint, end_unix_us: bigint, step_s: number, tolerance_s: number): any;
|
|
19747
20052
|
|