349#define ISBOPT_TABLE 1
351#define PHASE_CYCLE (-0.25)
464int satno(
int sys,
int prn);
472int satsys(
int sat,
int* prn);
591void set_obsdef(
int sys,
const int* freq_nums);
692int peph2pos(
gtime_t time,
int sat,
const nav_t* nav,
int opt,
double* rs,
double* dts,
double* var);
MRTKLIB Broadcast Ephemeris Module — Satellite orbit/clock types and Kepler/GLONASS/SBAS orbit comput...
MRTKLIB Foundation — Common types, standard includes, and system constants (MAXSAT,...
int savenav(const char *file, const nav_t *nav)
Save navigation data to file.
void readsp3(const char *file, nav_t *nav, int opt)
Read sp3 precise ephemeris file.
void satno2id(int sat, char *id)
Convert satellite number to satellite id.
void apply_pppsig(const int *pppsig)
Apply PPP signal selection options to obsdef tables.
int readnav(const char *file, nav_t *nav)
Read navigation data from file.
int satsys(int sat, int *prn)
Convert satellite number to satellite system.
void apply_claslib_ppprtk_obsdef(void)
Apply the upstream claslib PPP-RTK observation slot layout.
int bds_gen(int prn)
BeiDou generation of a PRN.
int freq_idx2ant_idx(int sys, int freq_idx)
Convert frequency index to antenna PCV index.
int set_bds2prn(const char *str)
Set the BDS-2 satellites in BeiDou PRN 1-18.
void set_obsdef(int sys, const int *freq_nums)
Rearrange obsdef table for a satellite system by frequency numbers.
int readdcb(const char *file, nav_t *nav, const sta_t *sta)
Read differential code bias (DCB) parameters.
int satpos(gtime_t time, gtime_t teph, int sat, int ephopt, const nav_t *nav, double *rs, double *dts, double *var, int *svh)
Compute satellite position, velocity and clock.
int is_bds3igso(int prn)
Test whether a BeiDou PRN is listed as BDS-3 IGSO (see set_bds3igso()).
int satno(int sys, int prn)
Convert satellite system+prn/slot number to satellite number.
int set_bds3igso(const char *str)
Set the BDS-3 IGSO satellites (excluded as PPP-AR reference satellite).
void uniqnav(nav_t *nav)
Unique ephemerides in navigation data.
int freq_num2ant_idx(int sys, int freq_num)
Convert frequency number to antenna PCV index.
int satid2no(const char *id)
Convert satellite id to satellite number.
void satposs(gtime_t teph, const obsd_t *obs, int n, const nav_t *nav, int ephopt, double *rs, double *dts, double *var, int *svh)
Compute satellite positions, velocities and clocks.
int satsys_bd2(int sat, int *prn)
Distinguish BDS-2 from BDS-3.
double freq_num2freq(int sys, int freq_num, int fcn)
Convert frequency number to frequency in Hz.
int satexclude(int sat, double var, int svh, const struct prcopt_t *opt)
Test excluded satellite.
void freenav(nav_t *nav, int opt)
Free navigation data memory.
int peph2pos(gtime_t time, int sat, const nav_t *nav, int opt, double *rs, double *dts, double *var)
Compute satellite position/clock with precise ephemeris/clock.
int is_bds2prn(int prn)
Test whether a BeiDou PRN is BDS-2 (see set_bds2prn()).
int readsap(const char *file, gtime_t time, nav_t *nav)
Read satellite antenna parameters.
int freq_num2freq_idx(int sys, int freq_num)
Convert frequency number to frequency index using obsdef table.
int freq_idx2freq_num(int sys, int freq_idx)
Convert frequency index to frequency number using obsdef table.
void reset_obsdef(void)
Reset all obsdef tables to their pristine default frequency layout.
void satantoff(gtime_t time, const double *rs, int sat, const nav_t *nav, double *dant)
Compute satellite antenna phase center offset in ecef.
double sat2freq(int sat, uint8_t code, const nav_t *nav)
Convert satellite and obs code to carrier frequency.
MRTKLIB Observation Module — Observation data types and utility functions.
MRTKLIB Precise Ephemeris Module — Earth rotation parameter types and ERP I/O functions.
MRTKLIB Time Module — GNSS time types and conversion functions.
GPS/GAL/QZS/BDS/IRN almanac type.
double grid[MAXTRPSTA][3]
GPS/GAL/QZS/BDS/IRN broadcast ephemeris type.
ERP (earth rotation parameter) type.
GLONASS broadcast ephemeris type.
GNSS time representation.
sitetrp_t tstat[MAXBLK][MAXTRPSTA]
siteion_t istat[MAXBLK][MAXTRPSTA]
double maxres[MAX_REJ_SITES]
miono_area_t area[MIONO_MAX_ANUM]
double rbias[MAXRCV][2][3]
sbsion_t sbsion[MAXBAND+1]
char pr_biapath[MAXSTRPATH]
ssr_t ssr_ch[SSR_CH_NUM][MAXSAT]
char pr_fcbpath[MAXSTRPATH]
double rsyscb[MAXBSNXSYS][MAXCODE]
double scb[MAXSAT][MAXCODE]
int vrsatcb[MAXSAT][MAXCODE]
int vspb[MAXSAT][MAXCODE]
int vscb[MAXSAT][MAXCODE]
int vrsyscb[MAXBSNXSYS][MAXCODE]
double spb[MAXSAT][MAXCODE]
double rsatcb[MAXSAT][MAXCODE]
miono_region_t re[MIONO_MAX_RID]