casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
task_testconcat Namespace Reference

Functions

def testconcat

Function Documentation

def task_testconcat.testconcat (   vislist,
  testconcatvis,
  freqtol,
  dirtol,
  copypointing 
)
The list of data sets given in the vis argument are concatenated into an output
data set in concatvis without copying the bulk data of the main table.
This is useful for obtaining the information in the merged subtables without
actually performing a time-consuming concatenation disk.

Keyword arguments:
vis -- Name of input visibility files for which the subtables are to be combined
default: none; example: vis = 'mydata.ms',
example: vis=['src2.ms','ngc5921.ms','ngc315.ms']

testconcatvis -- Name of MS that will contain the concatenated subtables
default: none; example: testconcatvis='test.ms'

freqtol -- Frequency shift tolerance for considering data to be in the same
spwid.  The number of channels must also be the same.
default: ''  do not combine unless frequencies are equal
example: freqtol='10MHz' will not combine spwid unless they are
within 10 MHz.
Note: This option is useful to conbine spectral windows with very slight
frequency differences caused by Doppler tracking, for example.

dirtol -- Direction shift tolerance for considering data as the same field
default: '' means always combine.
example: dirtol='1.arcsec' will not combine data for a field unless
their phase center differ by less than 1 arcsec.  If the field names
are different in the input data sets, the name in the output data
set will be the first relevant data set in the list.

copypointing -- copy all rows of the pointing table
default: True

Definition at line 6 of file task_testconcat.py.

References tests.test_imcontsub.list, taskinit.mstool, and taskinit.tbtool.

Referenced by testconcat.testconcat().