Ignore:
Timestamp:
May 22, 2024, 10:05:04 PM (4 months ago)
Author:
stuerze
Message:

changes regarding Combi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r10493 r10494  
    958958                                   QMap<QString, cmbCorr*>& resCorr,
    959959                                   ColumnVector& dx) {
    960   int facSys = 1;
    961   if (sys == 'C') {facSys *= 3;}
    962   if (sys == 'R') {facSys *= 2;}
     960
    963961  // Prediction Step
    964962  // ---------------
     
    10101008        << " Maximum Residuum " << maxRes << ' '
    10111009        << corrs(sys)[maxResIndex-1]->_acName << ' ' << corrs(sys)[maxResIndex-1]->_prn.mid(0,3);
     1010    double facSys = 1.0;
     1011    if (sys == 'C' &&
     1012        corrs(sys)[maxResIndex-1]->_prn.mid(1,3).toInt() <= 16) {
     1013      facSys *= 10.0;
     1014    }
    10121015    if (maxRes > (_MAX_RES * facSys)) {
    10131016      for (int iPar = 1; iPar <= _params[sys].size(); iPar++) {
     
    15361539    // ---------------
    15371540    bool removed = false;
    1538     int facSys = 1;
    1539     if (sys == 'C') {facSys *= 3;}
    1540     if (sys == 'R') {facSys *= 2;}
    15411541    QMutableVectorIterator<cmbCorr*> im(corrs(sys));
    15421542    while (im.hasNext()) {
     
    15491549      else if (corr == maxDiff[prn]) {
    15501550        double norm = corr->_diffRao.NormFrobenius();
     1551        double facSys = 1.0;
     1552        if (sys == 'C' &&
     1553            prn.mid(1,3).toInt() <= 16) {
     1554          facSys *= 10.0;
     1555        }
    15511556        if (norm > (_MAX_DISPLACEMENT * facSys)) {
    15521557          out << epoTime.datestr().c_str()    << " "
Note: See TracChangeset for help on using the changeset viewer.