- Timestamp:
- Jun 21, 2011, 7:27:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3313 r3314 60 60 const double MINELE_GAL = 10.0 * M_PI / 180.0; 61 61 const double MAXRES_CODE_GPS = 10.0; 62 const double MAXRES_PHASE_GPS = 0. 10;63 const double MAXRES_PHASE_GLO = 0.0 5;62 const double MAXRES_PHASE_GPS = 0.03; 63 const double MAXRES_PHASE_GLO = 0.03; 64 64 const double MAXRES_CODE_GAL = 10.0; 65 const double MAXRES_PHASE_GAL = 0. 10;65 const double MAXRES_PHASE_GAL = 0.03; 66 66 67 67 // Constructor … … 1216 1216 Tracer tracer("bncModel::addObs"); 1217 1217 1218 const double ELEWGHT = 60.0; 1219 double ellWgtCoef = 1.0; 1220 double eleD = satData->eleSat * 180.0 / M_PI; 1221 if (eleD < ELEWGHT) { 1222 ellWgtCoef = 2.5 - 1.5 / (ELEWGHT - 10.0) * (eleD - 10.0); 1223 } 1224 1218 1225 // Phase Observations 1219 1226 // ------------------ … … 1221 1228 ++iObs; 1222 1229 ll(iObs) = satData->L3 - cmpValue(satData, true); 1223 PP(iObs,iObs) = 1.0 / (_sigL3 * _sigL3) ;1230 PP(iObs,iObs) = 1.0 / (_sigL3 * _sigL3) / (ellWgtCoef * ellWgtCoef); 1224 1231 for (int iPar = 1; iPar <= _params.size(); iPar++) { 1225 1232 if (_params[iPar-1]->type == bncParam::AMB_L3 && … … 1237 1244 ++iObs; 1238 1245 ll(iObs) = satData->P3 - cmpValue(satData, false); 1239 PP(iObs,iObs) = 1.0 / (_sigP3 * _sigP3) ;1246 PP(iObs,iObs) = 1.0 / (_sigP3 * _sigP3) / (ellWgtCoef * ellWgtCoef); 1240 1247 for (int iPar = 1; iPar <= _params.size(); iPar++) { 1241 1248 AA(iObs, iPar) = _params[iPar-1]->partial(satData, false);
Note:
See TracChangeset
for help on using the changeset viewer.