%simulation parameter sets
%=========================================================
%=========================================================
global opt const

%add data path (assuming current dir is ./SGMP/simulator/)
opt.inputdir    = '../measurement interface/data/parsed/'; 
opt.outputdir   = './result/posfix/';
addpath(opt.inputdir);
addpath(opt.outputdir);
addpath './posfix';

%Simulation parameters
opt.plot.print      = 1;                %print posfix results
opt.plot.pos        = 1;                %plot posfix result
opt.plot.dim        = 4;                %position plot dimension (1D, 2D, 3D, or all)
opt.plot.stat       = 1;                %plot posfix statistics
opt.save.plot       = 1;                %save plots
opt.save.result     = 0;                %save result file

%constants
const.speedOfLight  = 2.99792458e8;     %speed of light
const.gpsL1BW       = 2*1.023e6;        %GPS L1 bandwidth

%Masking paramters
const.lmt.angle     = 7.5;              %GPS:mask angles for satellite to use
const.lmt.snr       = 25;               %signal to noise ratio limit   
const.lmt.numtx     = 4;                %minimum number of transmitters per epoch
const.lmt.conv      = 1e-6;             %accuracy limit on convergence

%others
%=========================================================
%=========================================================