Changeset 2758 for trunk


Ignore:
Timestamp:
02/04/13 18:22:22 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4770

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: test_sdcal2

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Implemented switch to change a behavior of EdgeMarker?.
Disabled some too verbose logs.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STApplyCal.cpp

    r2756 r2758  
    265265  Vector<Double> ftsys;
    266266  uInt tsysifno = getIFForTsys(ifno);
    267   os_ << "tsysifno=" << tsysifno << LogIO::POST;
     267  os_ << "tsysifno=" << (Int)tsysifno << LogIO::POST;
    268268  if (tsystable_.size() == 0) {
    269269    os_.origin(LogOrigin("STApplyTable", "doapply", WHERE));
     
    323323  Vector<Float> tmpTsys;
    324324  if (doTsys) {
    325     os_ << "doTsys" << LogIO::POST;
     325    //os_ << "doTsys" << LogIO::POST;
    326326    timeTsys.resize(nrowTsys);
    327327    tsys.resize(nchanTsys, nrowTsys);
     
    356356  Vector<Float> on;
    357357  for (uInt i = 0; i < rows.nelements(); i++) {
    358     os_ << "start i = " << i << " (row = " << rows[i] << ")" << LogIO::POST;
     358    //os_ << "start i = " << i << " (row = " << rows[i] << ")" << LogIO::POST;
    359359    uInt irow = rows[i];
    360360
  • trunk/src/STCalSkyOtfAlma.cpp

    r2757 r2758  
    3535
    3636  // Detect edges using EdgeMarker
    37   EdgeMarker marker(false); // generic (non-raster) scan pattern
    38   marker.setdata(scantable_, True);  // we can set insitu=True since we only need
    39                             // a list of rows to be marked. No marking is
    40                             // done here.
     37  EdgeMarker marker(israster_);
     38
     39  // we can set insitu=True since we only need
     40  // a list of rows to be marked. No marking is
     41  // done here.
     42  marker.setdata(scantable_, True); 
    4143  marker.setoption(options_);
    4244  marker.detect();
Note: See TracChangeset for help on using the changeset viewer.