Changeset 2102 for trunk/python


Ignore:
Timestamp:
04/05/11 15:19:41 (14 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix on calibration script and polarization type resolution.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r2034 r2102  
    863863        verify:        verify calibration
    864864    """
     865    import re
    865866    antname = scantab.get_antennaname()
    866867    if ( calmode == 'nod' ):
     
    874875        if ( antname.find( 'APEX' ) != -1 ):
    875876            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 ):
    877882            scal = almacal( scantab, scannos, calmode, verify )
    878883        else:
Note: See TracChangeset for help on using the changeset viewer.