Changeset 2862


Ignore:
Timestamp:
10/23/13 17:09:16 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4771

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs:

Put in Release Notes: No

Module(s): sd

Description: Describe your changes here...

Bug fix on sdcal2 sky calibration.
Support when Tsys is filled by filltsys module.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STApplyCal.cpp

    r2848 r2862  
    370370    // target spectral data
    371371    on = spCol(irow);
     372    //os_ << "on=" << on[0] << LogIO::POST;
    372373    calibrator_->setSource(on);
    373374
     
    383384      iOff[ichan] = interpolatorS_->interpolate(t0);
    384385    }
    385     //os_ << "iOff=" << iOff << LogIO::POST;
     386    //os_ << "iOff=" << iOff[0] << LogIO::POST;
    386387    calibrator_->setReference(iOff);
    387388   
     
    420421      }
    421422      else {
    422         for (uInt ichan = 0; ichan < nchanTsys; ++ichan)
     423        for (uInt ichan = 0; ichan < tsysInRow.nelements(); ++ichan)
    423424          iTsys[ichan] = tsysInRow[ichan];
    424425      }
    425426    }
    426     //os_ << "iTsys=" << iTsys << LogIO::POST;
     427    //os_ << "iTsys=" << iTsys[0] << LogIO::POST;
    427428    calibrator_->setScaler(iTsys);
    428429 
     
    431432
    432433    // update table
    433     //os_ << "calibrated=" << calibrator_->getCalibrated() << LogIO::POST;
     434    //os_ << "calibrated=" << calibrator_->getCalibrated()[0] << LogIO::POST;
    434435    spCol.put(irow, calibrator_->getCalibrated());
    435436    if (filltsys)
Note: See TracChangeset for help on using the changeset viewer.