practical stuff
DESCRIPTION
Practical stuff. OH today 12-1:30; also Friday. Never debug longer than 30 minutes. Ask for help! (from me or your classmates). Reminder: GPS facts to memorize. Phase can be measured to precision of 1mm (or better). L1 ~ 1.5 GHz, L2 ~ 1.2 GHz. Ionosphere delay ~ TEC/f 2. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/1.jpg)
Practical stuff
OH today 12-1:30; also Friday
Never debug longer than 30 minutes
Ask for help! (from me or your classmates)
Reminder: GPS facts to memorize
Phase can be measured to precision of 1mm (or better)
L1 ~ 1.5 GHz, L2 ~ 1.2 GHz
Ionosphere delay ~ TEC/f2
![Page 2: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/2.jpg)
Data weighting & a priori model values
How and when?
![Page 3: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/3.jpg)
The goal of data weighting is to make your uncertainty estimates meaningful (and your estimates more accurate). To do that, you need to remember the rules of least squares:
Assumptions of least squares:
1. you have a model that describes the observations (data)the observations are linearly related to the model
2. postfit residuals are zero mean and randomly distributed
3. you should know your observation errors before you start (or iterate when you do know them).
![Page 4: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/4.jpg)
![Page 5: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/5.jpg)
As I showed on Monday, these postfit residuals “look” Gaussian
![Page 6: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/6.jpg)
![Page 7: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/7.jpg)
Residuals as f(elevation)
![Page 8: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/8.jpg)
The usual trick: run LS once, calculate the std of the pfr
Then weight by that std.
![Page 9: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/9.jpg)
But if the problem is intrinsic to your data, you should pick a weight function that corresponds to the distribution of your residuals
Options:
If the non-gaussian distribution of the residuals is caused by a model defect, you can (and should) improve your model.
![Page 10: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/10.jpg)
Calculate standard deviations in bins
![Page 11: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/11.jpg)
Data weighting schemes - How do you pick?
![Page 12: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/12.jpg)
Lets use 1/sineE
![Page 13: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/13.jpg)
How do we solve the LS problem ?
Model: pfr = C/sineE
The partial of the pfr with respect to C is 1/sineE
A =[1./sind(angles)]; (least squares) C = A\pfr
![Page 14: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/14.jpg)
![Page 15: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/15.jpg)
![Page 16: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/16.jpg)
This is what you get if you don’t use variable data weights
![Page 17: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/17.jpg)
Sta
ndar
d de
viat
ions
![Page 18: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/18.jpg)
![Page 19: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/19.jpg)
Compared to what we had originally
![Page 20: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/20.jpg)
Does weighting the data change the solution?
1. If weights are constant (i.e. same for all data), no.
2. If weights are not constant, the answers are different.
![Page 21: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/21.jpg)
Why are the pseudorange errors so non-gaussian?
![Page 22: Practical stuff](https://reader036.vdocuments.us/reader036/viewer/2022062519/56814fa6550346895dbd6466/html5/thumbnails/22.jpg)
A priori model values