Ignore:
Timestamp:
01/31/13 13:14:27 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CSV-2532 (may be related to CSV-1908 and CSV-2161)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: In tool level, added parameter 'freq_tolsr' to

scantable constructor and function sd.splitant.

Test Programs: test_sdsave, test_importasdm_sd

Put in Release Notes: Yes

Module(s): Module Names change impacts.

Description: Describe your changes here...

In importing MS to Scantable, frequency frame information is
imported as is by default, i.e., base frame in Scantable is
TOPO for ALMA data, which is forcibly converted to LSRK with
wrong time and direction reference.

Some functions have a boolean parameter 'freq_tolsr' that controls
the above behavior. If freq_tolsr is False (default), frequency
is imported as is, while frequency is converted to LSRK (wrongly)
when it is True.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r2753 r2754  
    209209                          Default (false) is taken from rc file.
    210210
     211            getpt:        Whether to import direction from MS/POINTING
     212                          table properly or not.
     213                          This is effective only when filename is MS.
     214                          The default (True) is to import direction
     215                          from MS/POINTING.
     216
     217            freq_tolsr:   Whether to convert frequency frame information
     218                          to LSRK or not.
     219                          This is effective only when filename is MS.
     220                          The default (False) is to import frequency
     221                          as is.
     222                         
    211223        """
    212224        if average is None:
Note: See TracChangeset for help on using the changeset viewer.