NRAO Home > CASA > CASA Toolkit Reference Manual
sd.splitant - Function

5.1.1 Split Measurement Set data by antenna and save them as scantable
Description

Split Measurement Set by antenna name, save data as a scantables, and return a list of filename. Notice this method can only be available from CASA. The outprefix argument specifies a prefix of output scantable name. The names of output scantables will be ’outprefix.antenna1.asap’, ’outprefix.antenna2.asap’, ... where antenna1 and antenna2 is antenna name that are stored in ANTENNA subtable of input Measurement Set.

Arguments





Inputs

filename

The name of Measurement Set to be read

allowed:

string

Default:

outprefix

The prefix of output scantable name

allowed:

string

Default:

overwrite

If the file should be overwritten if it exists

allowed:

bool

Default:

False





Returns
string array

Example

     # assume that input MS contains data from ’DV01’ and ’PM03’  
     outfiles=sd.splitant(’osfdata.ms’,outprefix=’test’)  
     print outfiles  
     [’test.DV01.asap’,’test.PM03.asap’]


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search