Changeset 2066 in ntrip


Ignore:
Timestamp:
Dec 1, 2009, 2:46:42 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2065 r2066  
    185185  double tropDelay = delay_saast(satData->eleSat);
    186186
    187   cout << "tropDelay " << tropDelay << endl;
    188 
    189187  return satData->rho + _xcBanc(4) - satData->clk + tropDelay;
    190188}
     
    200198  double hh =  50.0 * exp(-6.396e-4 * height);
    201199  double ee =  hh / 100.0 * exp(-37.2465 + 0.213166*TT - 0.000256908*TT*TT);
     200
     201  cout << "Ele: " << 180.0 * Ele / M_PI << " " << height << " "
     202       << pp << " " << TT << " " << hh << " " << ee << endl;
    202203
    203204  double h_km = height / 1000.0;
     
    230231  unsigned nObs = epoData->size();
    231232
     233  // Create First-Design Matrix
     234  // --------------------------
    232235  _AA.ReSize(nObs, nPar);  // variance-covariance matrix
    233236  _ll.ReSize(nObs);        // tems observed-computed
     
    251254  }
    252255
     256  // Compute Least-Squares Solution
     257  // ------------------------------
    253258  _QQ.ReSize(nPar);
    254259  _QQ << _AA.t() * _AA;
     
    256261  _dx = _QQ * _AA.t() * _ll;
    257262
     263  // Compute Residuals
     264  // -----------------
     265  ColumnVector vv = _AA * _dx - _ll;
     266
     267  cout << setprecision(3) << vv.t();
     268  cout.flush();
     269
     270  // Set Solution Vector
     271  // -------------------
    258272  _xx.ReSize(nPar);
    259 
    260273  unsigned iPar = 0;
    261274  QListIterator<bncParam*> itPar(_params);
Note: See TracChangeset for help on using the changeset viewer.