Changeset 2904 for trunk/python


Ignore:
Timestamp:
03/13/14 13:59:13 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-5875

Ready for Test: Yes

Interface Changes: /No

What Interface Changed: Please list interface changes

Test Programs: test_sdcoadd

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Support for numeric value for freq_tol in sd.merge.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r2900 r2904  
     1import re
    12from asap.scantable import scantable
    23from asap.parameters import rcParams
     
    851852    if kwargs.has_key('freq_tol'):
    852853        freq_tol = str(kwargs['freq_tol'])
     854        if len(freq_tol) > 0 and re.match('.+[GMk]Hz$', freq_tol) is None:
     855            freq_tol += 'Hz'
    853856    else:
    854857        freq_tol = ''
Note: See TracChangeset for help on using the changeset viewer.