Changeset 337
- Timestamp:
- 01/31/05 20:34:50 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDReader.cc
r335 r337 35 35 36 36 #include "SDReader.h" 37 #include "SDDefs.h" 37 38 38 39 using namespace casa; … … 143 144 } 144 145 // 146 // Determine Telescope and set units... 147 148 Bool throwIt = False; 149 Instrument inst = SDMemTable::convertInstrument (header_.antennaname, throwIt); 150 header_.fluxunit = "Jy"; 151 if (inst==ATMOPRA || inst==TIDBINBILLA) { 152 header_.fluxunit = "K"; 153 } 154 cerr << "Assuming brightness units are " << header_.fluxunit << endl; 155 // 145 156 header_.nif = nIF_; 146 header_.fluxunit = "K";147 157 header_.epoch = "UTC"; 148 158 … … 226 236 spectra, flagtra, xCalFctr, xPol); 227 237 228 // Make sure beam/IF numbers are 0-relative 238 // Make sure beam/IF numbers are 0-relative - dealing with possible IF or Beam selection 229 239 230 240 beamNo = beamNo - beamOffset_ - 1;
Note:
See TracChangeset
for help on using the changeset viewer.