Ignore:
Timestamp:
02/05/13 15:58:17 (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: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

  • Throw exception when empty string is specified in STApplyTable::save().
  • Use TSYS in the data when Tsys calibration is not done.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STApplyCal.cpp

    r2758 r2759  
    406406    }
    407407    else {
    408       iTsys = 1.0;
     408      Vector<Float> tsysInRow = tsysCol(irow);
     409      if (tsysInRow.nelements() == 1) {
     410        iTsys = tsysInRow[0];
     411      }
     412      else {
     413        for (uInt ichan = 0; ichan < nchanTsys; ++ichan)
     414          iTsys[ichan] = tsysInRow[ichan];
     415      }
    409416    }
    410417    //os_ << "iTsys=" << iTsys << LogIO::POST;
Note: See TracChangeset for help on using the changeset viewer.