Changeset 2710
- Timestamp:
- 12/27/12 16:44:08 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external-alma/asdm2ASAP/ASDMFiller.cc
r2407 r2710 65 65 // header 66 66 fillHeader() ; 67 const STHeader hdr = table_->getHeader(); 67 68 68 69 // set Frame for FREQUENCIES table … … 256 257 refval = (double)toLSRK( casa::Double(refval), 257 258 String(freqref), 258 mjd,259 hdr.utc, 259 260 antpos, 260 261 //direction, -
trunk/src/MSFiller.cpp
r2580 r2710 361 361 Vector<MEpoch> amp ; 362 362 getArrayMeas( "TIME_RANGE", (uInt)columnValue, obstab, amp ) ; 363 header.utc = amp[0].get( "d" ).getValue() ; 363 obsEpoch = amp[0]; 364 header.utc = obsEpoch.get( "d" ).getValue() ; 364 365 } 365 366 if ( header.antennaname.empty() ) … … 435 436 map<Int,uInt>::iterator iter = ifmap.find( spwId ) ; 436 437 if ( iter == ifmap.end() ) { 437 MEpoch me ; 438 getScalarMeas( "TIME", recordNo, table, me ) ; 439 spectralSetup( spwId, me, antpos, sourceDir, 440 freqId, nchan, 441 freqref, reffreq, bandwidth ) ; 438 //MEpoch me ; 439 //getScalarMeas( "TIME", recordNo, table, me ) ; 440 //spectralSetup( spwId, me, antpos, sourceDir, 441 spectralSetup(spwId, obsEpoch, antpos, sourceDir, 442 freqId, nchan, 443 freqref, reffreq, bandwidth); 442 444 ifmap.insert( pair<Int,uInt>(spwId,freqId) ) ; 443 445 } … … 1265 1267 MPosition antpos; 1266 1268 MEpoch currentTime; 1269 MEpoch obsEpoch; 1267 1270 MeasFrame mf; 1268 1271 MDirection::Convert toj2000;
Note:
See TracChangeset
for help on using the changeset viewer.