47 uint16_t
SNR[NFREQ + NEXOBS];
48 uint8_t
LLI[NFREQ + NEXOBS];
49 uint8_t
code[NFREQ + NEXOBS];
50 double L[NFREQ + NEXOBS];
51 double P[NFREQ + NEXOBS];
52 float D[NFREQ + NEXOBS];
112double code2freq(
int sys, uint8_t code,
int fcn);
121int getcodepri(
int sys, uint8_t code,
const char* opt);
162int testsnr(
int base,
int idx,
double el,
double snr,
const snrmask_t* mask);
170int testelmask(
const double* azel,
const int16_t* elmask);
193#define MRTK_MAXSIG_PER_SYS 7
206#define MRTK_MAX_SIG_PRIORITY 15
291#define MRTK_SIGCFG_NOOPINION (-2)
MRTKLIB Foundation — Common types, standard includes, and system constants (MAXSAT,...
const uint8_t * mrtk_get_signal_priority(int sys, mrtk_band_t band)
Get priority-ordered code list for a (system, band) pair.
int sortobs(obs_t *obs)
Sort observation data by time, receiver, and satellite.
void mrtk_use_claslib_qzs_l1_priority(int on)
Toggle the claslib-compatible QZSS L1 signal priority (C>S>L>X>Z).
int getcodepri(int sys, uint8_t code, const char *opt)
Get code priority for multiple codes in a frequency.
int code2freq_num(uint8_t code)
Extract frequency number from obs code.
int mrtk_sigcfg_from_signals(const char **sigs, int nsig, mrtk_sigcfg_t *cfg, int *nf)
Build per-constellation signal config from a signal string array.
int mrtk_parse_signal_str(const char *str, int *sys, mrtk_band_t *band, uint8_t *code)
Parse a RINEX3-style signal string (e.g., "G1C") into components.
int mrtk_sigcfg_freq_idx(int sys, uint8_t code, const mrtk_sigcfg_t *cfg, int nex)
Resolve the observation slot for a decoded (sys, code) from sigcfg.
double code2freq(int sys, uint8_t code, int fcn)
Convert system and obs code to carrier frequency.
uint8_t obs2code(const char *obs)
Convert obs code type string to obs code.
int mrtk_band_to_freq_num(int sys, mrtk_band_t band)
Convert physical band back to RINEX frequency number for a given system.
#define MRTK_MAXSIG_PER_SYS
Per-constellation signal configuration.
char * code2obs(uint8_t code)
Convert obs code to obs code string.
int testelmask(const double *azel, const int16_t *elmask)
Test elevation mask.
double mrtk_band2freq_hz(mrtk_band_t band)
Convert physical band to base carrier frequency (Hz).
#define MRTK_MAX_SIG_PRIORITY
Maximum number of codes in a priority list.
void freeobs(obs_t *obs)
Free observation data memory.
void signal_replace(obsd_t *obs, int idx, char f, char *c)
Replace signal type in observation data.
int code2freq_idx(int sys, uint8_t code)
Convert system and obs code to frequency index (obsdef-based).
int testsnr(int base, int idx, double el, double snr, const snrmask_t *mask)
Test SNR mask.
int mrtk_sigcfg_to_obsdef(const mrtk_sigcfg_t *cfg)
Apply signal config to obsdef tables (bridge to existing system).
int screent(gtime_t time, gtime_t ts, gtime_t te, double tint)
Screen data by time range and interval.
mrtk_band_t mrtk_rinex_freq_to_band(int sys, int rinex_freq_id)
Convert RINEX frequency digit to physical band for a given system.
MRTKLIB Time Module — GNSS time types and conversion functions.
GNSS time representation.
Signal priority entry: band + priority-ordered code list.
Signal specification: physical band + optional preferred code.
Observation data collection.