Changeset 2103
- Timestamp:
- 04/05/11 15:36:14 (14 years ago)
- Location:
- branches/casa-prerelease/pre-asap
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/casa-prerelease/pre-asap
-
branches/casa-prerelease/pre-asap/Makefile
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/SConstruct
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/apps
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/external-alma
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/external-alma/atnf/pks/pks_maths.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/getsvnrev.sh
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/python
- Property svn:mergeinfo changed
/trunk/python merged: 2102
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/python/asapmath.py
r2034 r2103 863 863 verify: verify calibration 864 864 """ 865 import re 865 866 antname = scantab.get_antennaname() 866 867 if ( calmode == 'nod' ): … … 874 875 if ( antname.find( 'APEX' ) != -1 ): 875 876 scal = apexcal( scantab, scannos, calmode, verify ) 876 elif ( antname.find( 'ALMA' ) != -1 or antname.find( 'OSF' ) != -1 ): 877 elif ( antname.find( 'ALMA' ) != -1 or antname.find( 'OSF' ) != -1 878 or re.match('DV[0-9][0-9]$',antname) is not None 879 or re.match('PM[0-9][0-9]$',antname) is not None 880 or re.match('CM[0-9][0-9]$',antname) is not None 881 or re.match('DA[0-9][0-9]$',antname) is not None ): 877 882 scal = almacal( scantab, scannos, calmode, verify ) 878 883 else: -
branches/casa-prerelease/pre-asap/src
- Property svn:mergeinfo changed
/trunk/src merged: 2102
- Property svn:mergeinfo changed
-
branches/casa-prerelease/pre-asap/src/MSFiller.cpp
r2085 r2103 444 444 // os_ << "npol = " << npol << LogIO::POST ; 445 445 // os_ << "corrtype = " << corrtype << LogIO::POST ; 446 sdh.npol = max( sdh.npol, npol ) ;447 if ( sdh.poltype == "" ) sdh.poltype = getPolType( corrtype[0] ) ;448 446 // source information 449 447 // os_ << "srcId = " << srcId << ", spwId = " << spwId << LogIO::POST ; … … 561 559 tcolr = tpoolr->construct( spwtab, "NUM_CHAN" ) ; 562 560 Int nchan = tcolr->asInt( spwId ) ; 561 Bool iswvr = False ; 562 if ( nchan == 4 ) iswvr = True ; 563 563 tpoolr->destroy( tcolr ) ; 564 564 Bool even = False ; … … 645 645 scTsysCol.attach( caltabsel, colTsys_ ) ; 646 646 } 647 648 sdh.npol = max( sdh.npol, npol ) ; 649 if ( !iswvr && sdh.poltype == "" ) sdh.poltype = getPolType( corrtype[0] ) ; 650 647 651 // time1 = gettimeofday_sec() ; 648 652 // os_ << "end 3rd iteration init: " << time1 << " (" << time1-time0 << "sec)" << LogIO::POST ; -
branches/casa-prerelease/pre-asap/src/SConscript
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/casa-prerelease/pre-asap/src/STMath.cpp
r2004 r2103 2530 2530 vec = 0; 2531 2531 pols->table_.rwKeywordSet().define("nPol", Int(1)); 2532 //pols->table_.rwKeywordSet().define("POLTYPE", String("stokes"));2533 pols->table_.rwKeywordSet().define("POLTYPE", in->getPolType());2532 pols->table_.rwKeywordSet().define("POLTYPE", String("stokes")); 2533 //pols->table_.rwKeywordSet().define("POLTYPE", in->getPolType()); 2534 2534 std::vector<CountedPtr<Scantable> > vpols; 2535 2535 vpols.push_back(pols);
Note:
See TracChangeset
for help on using the changeset viewer.