gnss-js 0.1.2 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/README.md +171 -5
- package/dist/analysis.cjs +1488 -0
- package/dist/analysis.d.cts +211 -0
- package/dist/analysis.d.ts +211 -0
- package/dist/analysis.js +14 -0
- package/dist/antex.cjs +239 -0
- package/dist/antex.d.cts +77 -0
- package/dist/antex.d.ts +77 -0
- package/dist/antex.js +8 -0
- package/dist/chunk-37QNKGTC.js +65 -0
- package/dist/chunk-4YN353Q7.js +440 -0
- package/dist/chunk-5CMSYIYM.js +214 -0
- package/dist/chunk-5S5MONFK.js +0 -0
- package/dist/chunk-6FAL6P4G.js +12 -0
- package/dist/chunk-7NOFXKET.js +433 -0
- package/dist/chunk-BJHTBYNG.js +154 -0
- package/dist/chunk-HBLU2EJ4.js +802 -0
- package/dist/chunk-HKN3PUGN.js +800 -0
- package/dist/chunk-LEEU5OIO.js +75 -0
- package/dist/chunk-LWNTWBHB.js +268 -0
- package/dist/chunk-MIIM4LDY.js +239 -0
- package/dist/chunk-SO3POWWR.js +502 -0
- package/dist/chunk-W4YMQKWH.js +622 -0
- package/dist/chunk-WP2JFDLA.js +1475 -0
- package/dist/chunk-YDMYO3YK.js +220 -0
- package/dist/constants.cjs +423 -0
- package/dist/constants.d.cts +14 -0
- package/dist/constants.d.ts +14 -0
- package/dist/constants.js +103 -0
- package/dist/coordinates.cjs +337 -0
- package/dist/coordinates.d.cts +81 -0
- package/dist/coordinates.d.ts +81 -0
- package/dist/coordinates.js +39 -0
- package/dist/ecef-CF0uAysr.d.cts +40 -0
- package/dist/ecef-CF0uAysr.d.ts +40 -0
- package/dist/ephemeris-C10stHhM.d.cts +114 -0
- package/dist/ephemeris-C10stHhM.d.ts +114 -0
- package/dist/gnss-BT6ulR17.d.cts +56 -0
- package/dist/gnss-C-tgoYNa.d.ts +56 -0
- package/dist/index.cjs +5940 -78
- package/dist/index.d.cts +17 -96
- package/dist/index.d.ts +17 -96
- package/dist/index.js +352 -415
- package/dist/nav-BAI1a9vK.d.cts +108 -0
- package/dist/nav-BAI1a9vK.d.ts +108 -0
- package/dist/nmea.cjs +247 -0
- package/dist/nmea.d.cts +37 -0
- package/dist/nmea.d.ts +37 -0
- package/dist/nmea.js +12 -0
- package/dist/ntrip.cjs +180 -0
- package/dist/ntrip.d.cts +98 -0
- package/dist/ntrip.d.ts +98 -0
- package/dist/ntrip.js +10 -0
- package/dist/orbit.cjs +511 -0
- package/dist/orbit.d.cts +117 -0
- package/dist/orbit.d.ts +117 -0
- package/dist/orbit.js +29 -0
- package/dist/parser-JPjjFgeP.d.cts +73 -0
- package/dist/parser-JPjjFgeP.d.ts +73 -0
- package/dist/rinex.cjs +1469 -0
- package/dist/rinex.d.cts +116 -0
- package/dist/rinex.d.ts +116 -0
- package/dist/rinex.js +37 -0
- package/dist/rtcm3.cjs +1512 -0
- package/dist/rtcm3.d.cts +143 -0
- package/dist/rtcm3.d.ts +143 -0
- package/dist/rtcm3.js +31 -0
- package/dist/signals.cjs +858 -0
- package/dist/signals.d.cts +93 -0
- package/dist/signals.d.ts +93 -0
- package/dist/signals.js +70 -0
- package/dist/time-DnI1VpE8.d.cts +33 -0
- package/dist/time-DnI1VpE8.d.ts +33 -0
- package/dist/time.cjs +585 -0
- package/dist/time.d.cts +307 -0
- package/dist/time.d.ts +307 -0
- package/dist/time.js +154 -0
- package/package.json +112 -14
- package/.prettierrc +0 -5
- package/jest.config.ts +0 -9
- package/test/functions.test.ts +0 -63
- package/test/gnss-scales.test.ts +0 -95
- package/test/julian.test.ts +0 -145
- package/test/rinex.test.ts +0 -11
- package/test/test.ts +0 -10
- package/test/utc.test.ts +0 -25
package/dist/index.d.cts
CHANGED
|
@@ -1,96 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
declare const MILLISECONDS_TT_TAI: number;
|
|
19
|
-
declare const MILLISECONDS_GPS_TAI: number;
|
|
20
|
-
declare const START_GPS_TIME: Date;
|
|
21
|
-
declare const START_GAL_TIME: Date;
|
|
22
|
-
declare const START_BDS_TIME: Date;
|
|
23
|
-
declare const START_UNIX_TIME: Date;
|
|
24
|
-
declare const START_NTP_TIME: Date;
|
|
25
|
-
declare const START_GLO_LEAP: Date;
|
|
26
|
-
declare const START_TAI_TIME: Date;
|
|
27
|
-
declare const RINEX_CODES: HourCode[];
|
|
28
|
-
declare const START_JULIAN_TAI = 2436204.5;
|
|
29
|
-
declare const DAYS_MJD_JULIAN = 2400000.5;
|
|
30
|
-
declare const DAYS_MJD2000_MJD = 51544.5;
|
|
31
|
-
declare const START_MJD_UNIX_SECONDS = 40587;
|
|
32
|
-
|
|
33
|
-
declare enum Scale {
|
|
34
|
-
TAI = 0,
|
|
35
|
-
TT = 1,
|
|
36
|
-
GPS = 2,
|
|
37
|
-
UTC = 3
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare function getTimeOfDay(date: Date): number;
|
|
41
|
-
declare function getDateFromTimeOfDay(timeOfDay: number, dateRaw: Date): Date;
|
|
42
|
-
declare function getDayOfYear(date: Date): number;
|
|
43
|
-
declare function getDateFromDayOfYear(dayOfYear: number, date: Date): Date;
|
|
44
|
-
declare function getDayOfWeek(date: Date): number;
|
|
45
|
-
declare function getDateFromDayOfWeek(dayOfWeek: number, dateRaw: Date): Date;
|
|
46
|
-
declare function getDateFromHourCode(hourCode: HourCode, date: Date): Date;
|
|
47
|
-
declare function getHourCode(date: Date): HourCode;
|
|
48
|
-
declare function getWeekOfYear(date: Date): number;
|
|
49
|
-
|
|
50
|
-
declare function getGpsTime(date: Date): number;
|
|
51
|
-
declare function getDateFromGpsTime(gpsTime: number): Date;
|
|
52
|
-
declare function getGalTime(date: Date): number;
|
|
53
|
-
declare function getDateFromGalTime(galTime: number): Date;
|
|
54
|
-
declare function getBdsTime(date: Date): number;
|
|
55
|
-
declare function getDateFromBdsTime(bdsTime: number): Date;
|
|
56
|
-
declare function getUnixTime(date: Date): number;
|
|
57
|
-
declare function getDateFromUnixTime(unixTime: number): Date;
|
|
58
|
-
declare function getWeekNumber(date: Date): number;
|
|
59
|
-
declare function getTimeOfWeek(date: Date): number;
|
|
60
|
-
declare function getDateFromGpsData(weekNumber: number, timeOfWeek: number): Date;
|
|
61
|
-
declare function getTaiDate(date: Date): Date;
|
|
62
|
-
declare function getDateFromTai(tai_date: Date): Date;
|
|
63
|
-
declare function getTtDate(date: Date): Date;
|
|
64
|
-
declare function getDateFromTt(tt_date: Date): Date;
|
|
65
|
-
declare function getGloN4(date: Date): number;
|
|
66
|
-
declare function getGloNA(date: Date): number;
|
|
67
|
-
declare function getDateFromGloN(n4: number, na: number, tod: number): Date;
|
|
68
|
-
declare function getNtpTime(date: Date): number;
|
|
69
|
-
|
|
70
|
-
declare function getRINEX(date: Date): string;
|
|
71
|
-
declare function getDateFromRINEX(rinex: string): Date;
|
|
72
|
-
|
|
73
|
-
declare function getTimeDifference(startDate: Date, finalDate: Date): number;
|
|
74
|
-
declare function getSecondsFromTimeDifference(timeDifference: number): number;
|
|
75
|
-
declare function getMinutesFromTimeDifference(timeDifference: number): number;
|
|
76
|
-
declare function getHoursFromTimeDifference(timeDifference: number): number;
|
|
77
|
-
declare function getTotalDaysFromTimeDifference(timeDifference: number): number;
|
|
78
|
-
declare function getTimeDifferenceFromSeconds(seconds: number): number;
|
|
79
|
-
declare function getTimeDifferenceFromMinutes(minutes: number): number;
|
|
80
|
-
declare function getTimeDifferenceFromHours(hours: number): number;
|
|
81
|
-
declare function getTimeDifferenceFromDays(days: number): number;
|
|
82
|
-
declare function getTimeDifferenceFromObject(timeDifferenceObject: TimeDifference): number;
|
|
83
|
-
|
|
84
|
-
declare function getLeap(date: Date): number;
|
|
85
|
-
declare function getGpsLeap(date: Date): number;
|
|
86
|
-
declare function getUtcDate(date: Date): Date;
|
|
87
|
-
declare function getDateFromUtc(utc_date: Date): Date;
|
|
88
|
-
|
|
89
|
-
declare function getJulianDate(date: Date, scale?: Scale): number;
|
|
90
|
-
declare function getDateFromJulianDate(julianDate: number, scale?: Scale): Date;
|
|
91
|
-
declare function getMJD(date: Date, scale?: Scale): number;
|
|
92
|
-
declare function getDateFromMJD(mjd: number, scale?: Scale): Date;
|
|
93
|
-
declare function getMJD2000(date: Date, scale?: Scale): number;
|
|
94
|
-
declare function getDateFromMJD2000(mjd2000: number, scale?: Scale): Date;
|
|
95
|
-
|
|
96
|
-
export { DAYS_MJD2000_MJD, DAYS_MJD_JULIAN, type HourCode, MILLISECONDS_GPS_TAI, MILLISECONDS_IN_DAY, MILLISECONDS_IN_HOUR, MILLISECONDS_IN_MINUTE, MILLISECONDS_IN_SECOND, MILLISECONDS_IN_WEEK, MILLISECONDS_TT_TAI, RINEX_CODES, SECONDS_IN_DAY, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, SECONDS_IN_WEEK, START_BDS_TIME, START_GAL_TIME, START_GLO_LEAP, START_GPS_TIME, START_JULIAN_TAI, START_MJD_UNIX_SECONDS, START_NTP_TIME, START_TAI_TIME, START_UNIX_TIME, Scale, type TimeDifference, getBdsTime, getDateFromBdsTime, getDateFromDayOfWeek, getDateFromDayOfYear, getDateFromGalTime, getDateFromGloN, getDateFromGpsData, getDateFromGpsTime, getDateFromHourCode, getDateFromJulianDate, getDateFromMJD, getDateFromMJD2000, getDateFromRINEX, getDateFromTai, getDateFromTimeOfDay, getDateFromTt, getDateFromUnixTime, getDateFromUtc, getDayOfWeek, getDayOfYear, getGalTime, getGloN4, getGloNA, getGpsLeap, getGpsTime, getHourCode, getHoursFromTimeDifference, getJulianDate, getLeap, getMJD, getMJD2000, getMinutesFromTimeDifference, getNtpTime, getRINEX, getSecondsFromTimeDifference, getTaiDate, getTimeDifference, getTimeDifferenceFromDays, getTimeDifferenceFromHours, getTimeDifferenceFromMinutes, getTimeDifferenceFromObject, getTimeDifferenceFromSeconds, getTimeOfDay, getTimeOfWeek, getTotalDaysFromTimeDifference, getTtDate, getUnixTime, getUtcDate, getWeekNumber, getWeekOfYear };
|
|
1
|
+
export { D as DAYS_MJD2000_MJD, a as DAYS_MJD_JULIAN, H as HourCode, M as MILLISECONDS_GPS_TAI, b as MILLISECONDS_IN_DAY, c as MILLISECONDS_IN_HOUR, d as MILLISECONDS_IN_MINUTE, e as MILLISECONDS_IN_SECOND, f as MILLISECONDS_IN_WEEK, g as MILLISECONDS_TT_TAI, R as RINEX_CODES, S as SECONDS_IN_DAY, h as SECONDS_IN_HOUR, i as SECONDS_IN_MINUTE, j as SECONDS_IN_WEEK, k as START_BDS_TIME, l as START_GAL_TIME, m as START_GLO_LEAP, n as START_GPS_TIME, o as START_JULIAN_TAI, p as START_MJD_UNIX_SECONDS, q as START_NTP_TIME, r as START_TAI_TIME, s as START_UNIX_TIME, T as TimeDifference } from './time-DnI1VpE8.cjs';
|
|
2
|
+
export { WGS84_ECCENTRICITY_SQUARED, WGS84_FLATTENING, WGS84_SEMI_MAJOR_AXIS, WGS84_SEMI_MINOR_AXIS } from './constants.cjs';
|
|
3
|
+
export { A as ARC_GAP_FACTOR, B as BAND_LABELS, a as BDS_SATELLITES, b as BdsSatellite, C as C_LIGHT, D as DEFAULT_ELEV_MASK_DEG, c as DUAL_FREQ_PAIRS, F as FREQ, G as GLO_CHANNEL_FALLBACK, d as GLO_F1_BASE, e as GLO_F1_STEP, f as GLO_F2_BASE, g as GLO_F2_STEP, h as GLO_F3, O as OnSlipDetected, S as SYSTEM_NAMES, i as SYS_SHORT, j as buildGloChannelMap, k as buildObsIndices, l as formatUTCTime, m as getFreq, n as gloFreq } from './gnss-BT6ulR17.cjs';
|
|
4
|
+
export { Scale, getBdsTime, getDateFromBdsTime, getDateFromDayOfWeek, getDateFromDayOfYear, getDateFromGalTime, getDateFromGloN, getDateFromGpsData, getDateFromGpsTime, getDateFromHourCode, getDateFromJulianDate, getDateFromMJD, getDateFromMJD2000, getDateFromRINEX, getDateFromTai, getDateFromTimeOfDay, getDateFromTt, getDateFromUnixTime, getDateFromUtc, getDayOfWeek, getDayOfYear, getGalTime, getGloN4, getGloNA, getGpsLeap, getGpsTime, getHourCode, getHoursFromTimeDifference, getJulianDate, getLeap, getMJD, getMJD2000, getMinutesFromTimeDifference, getNtpTime, getRINEX, getSecondsFromTimeDifference, getTaiDate, getTimeDifference, getTimeDifferenceFromDays, getTimeDifferenceFromHours, getTimeDifferenceFromMinutes, getTimeDifferenceFromObject, getTimeDifferenceFromSeconds, getTimeOfDay, getTimeOfWeek, getTotalDaysFromTimeDifference, getTtDate, getUnixTime, getUtcDate, getWeekNumber, getWeekOfYear } from './time.cjs';
|
|
5
|
+
export { deg2dms, deg2rad, euclidean3D, geodeticToGeohash, geodeticToMaidenhead, geodeticToUtm, greatCircleMidpoint, horizonDistance, rad2deg, rhumbLine, vincenty } from './coordinates.cjs';
|
|
6
|
+
export { c as clampUnit, e as ecefToGeodetic, g as geodeticToEcef, a as getAer, b as getEnuDifference } from './ecef-CF0uAysr.cjs';
|
|
7
|
+
export { CrxField, DiffState, EMPTY_WARNINGS, RinexWarning, RinexWarnings, WarningAccumulator, WarningSeverity, crxDecompress, crxRepair, fmtF, hdrLine, padL, padR, parseCrxDataLine, writeRinexNav } from './rinex.cjs';
|
|
8
|
+
export { E as EpochSummary, P as ParseOptions, R as RinexHeader, a as RinexResult, b as RinexStats, S as SYSTEM_ORDER, c as SatObsCallback, p as parseRinexStream, s as systemCmp, d as systemName } from './parser-JPjjFgeP.cjs';
|
|
9
|
+
export { E as Ephemeris, G as GlonassEphemeris, K as KeplerEphemeris, N as NavHeader, a as NavResult, p as parseNavFile } from './nav-BAI1a9vK.cjs';
|
|
10
|
+
export { B as BitReader, E as EphemerisInfo, R as Rtcm3Decoder, a as Rtcm3Frame, d as decodeEphemeris, r as readString } from './ephemeris-C10stHhM.cjs';
|
|
11
|
+
export { MessageTypeStats, MsmEpoch, MsmSatObs, MsmSignal, RTCM3_MESSAGE_NAMES, SatCn0, SignalCn0, StationMeta, StreamStats, createStationMeta, createStreamStats, decodeMsmFull, msmEpochToDate, resetGloFreqCache, rtcm3Constellation, updateStationMeta, updateStreamStats } from './rtcm3.cjs';
|
|
12
|
+
export { AllPositionsData, DopValues, EpochSkyData, SatAzEl, SatPoint, SatPosition, computeAllPositions, computeDop, computeLiveSkyPositions, computeSatPosition, ecefToAzEl, glonassPosition, keplerPosition, navTimesFromEph, selectEphemeris } from './orbit.cjs';
|
|
13
|
+
export { NtripCaster, NtripConnectionInfo, NtripNetwork, NtripStream, NtripStreamConnection, NtripVersion, Sourcetable, SourcetableEntry, connectToMountpoint, fetchSourcetable, parseSourcetable } from './ntrip.cjs';
|
|
14
|
+
export { CompleteSatSignal, CompleteSignalStats, CompletenessAccumulator, CompletenessResult, CycleSlipAccumulator, CycleSlipEvent, CycleSlipResult, CycleSlipSignalStats, MultipathAccumulator, MultipathPoint, MultipathResult, MultipathSeries, MultipathSignalStat, QualityResult, analyzeQuality } from './analysis.cjs';
|
|
15
|
+
export { AntennaEntry, AntexFile, FrequencyData, frequencyLabel, parseAntex } from './antex.cjs';
|
|
16
|
+
export { NmeaFix, NmeaStats, NmeaTrack, computeStats, nmeaCoordToDecimal, parseNmeaFile, verifyChecksum } from './nmea.cjs';
|
|
17
|
+
export { BAND_PRESETS, BandPreset, CONSTELLATIONS, ConstellationRow, DELTA_GLO_L1, DELTA_GLO_L2, FREQ_BDS_B1A, FREQ_BDS_B1C, FREQ_BDS_B1I, FREQ_BDS_B2I, FREQ_BDS_B3A, FREQ_BDS_B3I, FREQ_GAL_E1, FREQ_GAL_E5, FREQ_GAL_E5a, FREQ_GAL_E5b, FREQ_GAL_E6, FREQ_GLO_L1, FREQ_GLO_L1OC, FREQ_GLO_L2, FREQ_GLO_L2OC, FREQ_GLO_L3OC, FREQ_GPS_L1, FREQ_GPS_L2, FREQ_GPS_L5, FREQ_NAVIC_L5, FREQ_QZS_L1, FREQ_QZS_L2, FREQ_QZS_L5, FREQ_QZS_L6, Modulation, SignalDef, computePsdDb, phiAltBOC, phiBOCc, phiBOCs, phiBPSK } from './signals.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,96 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
declare const MILLISECONDS_TT_TAI: number;
|
|
19
|
-
declare const MILLISECONDS_GPS_TAI: number;
|
|
20
|
-
declare const START_GPS_TIME: Date;
|
|
21
|
-
declare const START_GAL_TIME: Date;
|
|
22
|
-
declare const START_BDS_TIME: Date;
|
|
23
|
-
declare const START_UNIX_TIME: Date;
|
|
24
|
-
declare const START_NTP_TIME: Date;
|
|
25
|
-
declare const START_GLO_LEAP: Date;
|
|
26
|
-
declare const START_TAI_TIME: Date;
|
|
27
|
-
declare const RINEX_CODES: HourCode[];
|
|
28
|
-
declare const START_JULIAN_TAI = 2436204.5;
|
|
29
|
-
declare const DAYS_MJD_JULIAN = 2400000.5;
|
|
30
|
-
declare const DAYS_MJD2000_MJD = 51544.5;
|
|
31
|
-
declare const START_MJD_UNIX_SECONDS = 40587;
|
|
32
|
-
|
|
33
|
-
declare enum Scale {
|
|
34
|
-
TAI = 0,
|
|
35
|
-
TT = 1,
|
|
36
|
-
GPS = 2,
|
|
37
|
-
UTC = 3
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare function getTimeOfDay(date: Date): number;
|
|
41
|
-
declare function getDateFromTimeOfDay(timeOfDay: number, dateRaw: Date): Date;
|
|
42
|
-
declare function getDayOfYear(date: Date): number;
|
|
43
|
-
declare function getDateFromDayOfYear(dayOfYear: number, date: Date): Date;
|
|
44
|
-
declare function getDayOfWeek(date: Date): number;
|
|
45
|
-
declare function getDateFromDayOfWeek(dayOfWeek: number, dateRaw: Date): Date;
|
|
46
|
-
declare function getDateFromHourCode(hourCode: HourCode, date: Date): Date;
|
|
47
|
-
declare function getHourCode(date: Date): HourCode;
|
|
48
|
-
declare function getWeekOfYear(date: Date): number;
|
|
49
|
-
|
|
50
|
-
declare function getGpsTime(date: Date): number;
|
|
51
|
-
declare function getDateFromGpsTime(gpsTime: number): Date;
|
|
52
|
-
declare function getGalTime(date: Date): number;
|
|
53
|
-
declare function getDateFromGalTime(galTime: number): Date;
|
|
54
|
-
declare function getBdsTime(date: Date): number;
|
|
55
|
-
declare function getDateFromBdsTime(bdsTime: number): Date;
|
|
56
|
-
declare function getUnixTime(date: Date): number;
|
|
57
|
-
declare function getDateFromUnixTime(unixTime: number): Date;
|
|
58
|
-
declare function getWeekNumber(date: Date): number;
|
|
59
|
-
declare function getTimeOfWeek(date: Date): number;
|
|
60
|
-
declare function getDateFromGpsData(weekNumber: number, timeOfWeek: number): Date;
|
|
61
|
-
declare function getTaiDate(date: Date): Date;
|
|
62
|
-
declare function getDateFromTai(tai_date: Date): Date;
|
|
63
|
-
declare function getTtDate(date: Date): Date;
|
|
64
|
-
declare function getDateFromTt(tt_date: Date): Date;
|
|
65
|
-
declare function getGloN4(date: Date): number;
|
|
66
|
-
declare function getGloNA(date: Date): number;
|
|
67
|
-
declare function getDateFromGloN(n4: number, na: number, tod: number): Date;
|
|
68
|
-
declare function getNtpTime(date: Date): number;
|
|
69
|
-
|
|
70
|
-
declare function getRINEX(date: Date): string;
|
|
71
|
-
declare function getDateFromRINEX(rinex: string): Date;
|
|
72
|
-
|
|
73
|
-
declare function getTimeDifference(startDate: Date, finalDate: Date): number;
|
|
74
|
-
declare function getSecondsFromTimeDifference(timeDifference: number): number;
|
|
75
|
-
declare function getMinutesFromTimeDifference(timeDifference: number): number;
|
|
76
|
-
declare function getHoursFromTimeDifference(timeDifference: number): number;
|
|
77
|
-
declare function getTotalDaysFromTimeDifference(timeDifference: number): number;
|
|
78
|
-
declare function getTimeDifferenceFromSeconds(seconds: number): number;
|
|
79
|
-
declare function getTimeDifferenceFromMinutes(minutes: number): number;
|
|
80
|
-
declare function getTimeDifferenceFromHours(hours: number): number;
|
|
81
|
-
declare function getTimeDifferenceFromDays(days: number): number;
|
|
82
|
-
declare function getTimeDifferenceFromObject(timeDifferenceObject: TimeDifference): number;
|
|
83
|
-
|
|
84
|
-
declare function getLeap(date: Date): number;
|
|
85
|
-
declare function getGpsLeap(date: Date): number;
|
|
86
|
-
declare function getUtcDate(date: Date): Date;
|
|
87
|
-
declare function getDateFromUtc(utc_date: Date): Date;
|
|
88
|
-
|
|
89
|
-
declare function getJulianDate(date: Date, scale?: Scale): number;
|
|
90
|
-
declare function getDateFromJulianDate(julianDate: number, scale?: Scale): Date;
|
|
91
|
-
declare function getMJD(date: Date, scale?: Scale): number;
|
|
92
|
-
declare function getDateFromMJD(mjd: number, scale?: Scale): Date;
|
|
93
|
-
declare function getMJD2000(date: Date, scale?: Scale): number;
|
|
94
|
-
declare function getDateFromMJD2000(mjd2000: number, scale?: Scale): Date;
|
|
95
|
-
|
|
96
|
-
export { DAYS_MJD2000_MJD, DAYS_MJD_JULIAN, type HourCode, MILLISECONDS_GPS_TAI, MILLISECONDS_IN_DAY, MILLISECONDS_IN_HOUR, MILLISECONDS_IN_MINUTE, MILLISECONDS_IN_SECOND, MILLISECONDS_IN_WEEK, MILLISECONDS_TT_TAI, RINEX_CODES, SECONDS_IN_DAY, SECONDS_IN_HOUR, SECONDS_IN_MINUTE, SECONDS_IN_WEEK, START_BDS_TIME, START_GAL_TIME, START_GLO_LEAP, START_GPS_TIME, START_JULIAN_TAI, START_MJD_UNIX_SECONDS, START_NTP_TIME, START_TAI_TIME, START_UNIX_TIME, Scale, type TimeDifference, getBdsTime, getDateFromBdsTime, getDateFromDayOfWeek, getDateFromDayOfYear, getDateFromGalTime, getDateFromGloN, getDateFromGpsData, getDateFromGpsTime, getDateFromHourCode, getDateFromJulianDate, getDateFromMJD, getDateFromMJD2000, getDateFromRINEX, getDateFromTai, getDateFromTimeOfDay, getDateFromTt, getDateFromUnixTime, getDateFromUtc, getDayOfWeek, getDayOfYear, getGalTime, getGloN4, getGloNA, getGpsLeap, getGpsTime, getHourCode, getHoursFromTimeDifference, getJulianDate, getLeap, getMJD, getMJD2000, getMinutesFromTimeDifference, getNtpTime, getRINEX, getSecondsFromTimeDifference, getTaiDate, getTimeDifference, getTimeDifferenceFromDays, getTimeDifferenceFromHours, getTimeDifferenceFromMinutes, getTimeDifferenceFromObject, getTimeDifferenceFromSeconds, getTimeOfDay, getTimeOfWeek, getTotalDaysFromTimeDifference, getTtDate, getUnixTime, getUtcDate, getWeekNumber, getWeekOfYear };
|
|
1
|
+
export { D as DAYS_MJD2000_MJD, a as DAYS_MJD_JULIAN, H as HourCode, M as MILLISECONDS_GPS_TAI, b as MILLISECONDS_IN_DAY, c as MILLISECONDS_IN_HOUR, d as MILLISECONDS_IN_MINUTE, e as MILLISECONDS_IN_SECOND, f as MILLISECONDS_IN_WEEK, g as MILLISECONDS_TT_TAI, R as RINEX_CODES, S as SECONDS_IN_DAY, h as SECONDS_IN_HOUR, i as SECONDS_IN_MINUTE, j as SECONDS_IN_WEEK, k as START_BDS_TIME, l as START_GAL_TIME, m as START_GLO_LEAP, n as START_GPS_TIME, o as START_JULIAN_TAI, p as START_MJD_UNIX_SECONDS, q as START_NTP_TIME, r as START_TAI_TIME, s as START_UNIX_TIME, T as TimeDifference } from './time-DnI1VpE8.js';
|
|
2
|
+
export { WGS84_ECCENTRICITY_SQUARED, WGS84_FLATTENING, WGS84_SEMI_MAJOR_AXIS, WGS84_SEMI_MINOR_AXIS } from './constants.js';
|
|
3
|
+
export { A as ARC_GAP_FACTOR, B as BAND_LABELS, a as BDS_SATELLITES, b as BdsSatellite, C as C_LIGHT, D as DEFAULT_ELEV_MASK_DEG, c as DUAL_FREQ_PAIRS, F as FREQ, G as GLO_CHANNEL_FALLBACK, d as GLO_F1_BASE, e as GLO_F1_STEP, f as GLO_F2_BASE, g as GLO_F2_STEP, h as GLO_F3, O as OnSlipDetected, S as SYSTEM_NAMES, i as SYS_SHORT, j as buildGloChannelMap, k as buildObsIndices, l as formatUTCTime, m as getFreq, n as gloFreq } from './gnss-C-tgoYNa.js';
|
|
4
|
+
export { Scale, getBdsTime, getDateFromBdsTime, getDateFromDayOfWeek, getDateFromDayOfYear, getDateFromGalTime, getDateFromGloN, getDateFromGpsData, getDateFromGpsTime, getDateFromHourCode, getDateFromJulianDate, getDateFromMJD, getDateFromMJD2000, getDateFromRINEX, getDateFromTai, getDateFromTimeOfDay, getDateFromTt, getDateFromUnixTime, getDateFromUtc, getDayOfWeek, getDayOfYear, getGalTime, getGloN4, getGloNA, getGpsLeap, getGpsTime, getHourCode, getHoursFromTimeDifference, getJulianDate, getLeap, getMJD, getMJD2000, getMinutesFromTimeDifference, getNtpTime, getRINEX, getSecondsFromTimeDifference, getTaiDate, getTimeDifference, getTimeDifferenceFromDays, getTimeDifferenceFromHours, getTimeDifferenceFromMinutes, getTimeDifferenceFromObject, getTimeDifferenceFromSeconds, getTimeOfDay, getTimeOfWeek, getTotalDaysFromTimeDifference, getTtDate, getUnixTime, getUtcDate, getWeekNumber, getWeekOfYear } from './time.js';
|
|
5
|
+
export { deg2dms, deg2rad, euclidean3D, geodeticToGeohash, geodeticToMaidenhead, geodeticToUtm, greatCircleMidpoint, horizonDistance, rad2deg, rhumbLine, vincenty } from './coordinates.js';
|
|
6
|
+
export { c as clampUnit, e as ecefToGeodetic, g as geodeticToEcef, a as getAer, b as getEnuDifference } from './ecef-CF0uAysr.js';
|
|
7
|
+
export { CrxField, DiffState, EMPTY_WARNINGS, RinexWarning, RinexWarnings, WarningAccumulator, WarningSeverity, crxDecompress, crxRepair, fmtF, hdrLine, padL, padR, parseCrxDataLine, writeRinexNav } from './rinex.js';
|
|
8
|
+
export { E as EpochSummary, P as ParseOptions, R as RinexHeader, a as RinexResult, b as RinexStats, S as SYSTEM_ORDER, c as SatObsCallback, p as parseRinexStream, s as systemCmp, d as systemName } from './parser-JPjjFgeP.js';
|
|
9
|
+
export { E as Ephemeris, G as GlonassEphemeris, K as KeplerEphemeris, N as NavHeader, a as NavResult, p as parseNavFile } from './nav-BAI1a9vK.js';
|
|
10
|
+
export { B as BitReader, E as EphemerisInfo, R as Rtcm3Decoder, a as Rtcm3Frame, d as decodeEphemeris, r as readString } from './ephemeris-C10stHhM.js';
|
|
11
|
+
export { MessageTypeStats, MsmEpoch, MsmSatObs, MsmSignal, RTCM3_MESSAGE_NAMES, SatCn0, SignalCn0, StationMeta, StreamStats, createStationMeta, createStreamStats, decodeMsmFull, msmEpochToDate, resetGloFreqCache, rtcm3Constellation, updateStationMeta, updateStreamStats } from './rtcm3.js';
|
|
12
|
+
export { AllPositionsData, DopValues, EpochSkyData, SatAzEl, SatPoint, SatPosition, computeAllPositions, computeDop, computeLiveSkyPositions, computeSatPosition, ecefToAzEl, glonassPosition, keplerPosition, navTimesFromEph, selectEphemeris } from './orbit.js';
|
|
13
|
+
export { NtripCaster, NtripConnectionInfo, NtripNetwork, NtripStream, NtripStreamConnection, NtripVersion, Sourcetable, SourcetableEntry, connectToMountpoint, fetchSourcetable, parseSourcetable } from './ntrip.js';
|
|
14
|
+
export { CompleteSatSignal, CompleteSignalStats, CompletenessAccumulator, CompletenessResult, CycleSlipAccumulator, CycleSlipEvent, CycleSlipResult, CycleSlipSignalStats, MultipathAccumulator, MultipathPoint, MultipathResult, MultipathSeries, MultipathSignalStat, QualityResult, analyzeQuality } from './analysis.js';
|
|
15
|
+
export { AntennaEntry, AntexFile, FrequencyData, frequencyLabel, parseAntex } from './antex.js';
|
|
16
|
+
export { NmeaFix, NmeaStats, NmeaTrack, computeStats, nmeaCoordToDecimal, parseNmeaFile, verifyChecksum } from './nmea.js';
|
|
17
|
+
export { BAND_PRESETS, BandPreset, CONSTELLATIONS, ConstellationRow, DELTA_GLO_L1, DELTA_GLO_L2, FREQ_BDS_B1A, FREQ_BDS_B1C, FREQ_BDS_B1I, FREQ_BDS_B2I, FREQ_BDS_B3A, FREQ_BDS_B3I, FREQ_GAL_E1, FREQ_GAL_E5, FREQ_GAL_E5a, FREQ_GAL_E5b, FREQ_GAL_E6, FREQ_GLO_L1, FREQ_GLO_L1OC, FREQ_GLO_L2, FREQ_GLO_L2OC, FREQ_GLO_L3OC, FREQ_GPS_L1, FREQ_GPS_L2, FREQ_GPS_L5, FREQ_NAVIC_L5, FREQ_QZS_L1, FREQ_QZS_L2, FREQ_QZS_L5, FREQ_QZS_L6, Modulation, SignalDef, computePsdDb, phiAltBOC, phiBOCc, phiBOCs, phiBPSK } from './signals.js';
|