Changeset 2754 for trunk/src/MSFiller.h


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/src/MSFiller.h

    r2744 r2754  
    156156  void initHeader( STHeader &header ) ;
    157157
     158  // get base frame from SPECTRAL_WINDOW table
     159  std::string frameFromSpwTable();
     160
    158161  CountedPtr<Scantable> table_ ;
    159162  MeasurementSet mstable_ ;
     
    162165  String antennaStr_ ;
    163166  Bool getPt_ ;
     167  Bool freqToLsr_ ;
    164168
    165169  Bool isFloatData_ ;
Note: See TracChangeset for help on using the changeset viewer.