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

Functions

def virtualconcat

Function Documentation

def task_virtualconcat.virtualconcat (   vislist,
  concatvis,
  freqtol,
  dirtol,
  respectname,
  visweightscale,
  keepcopy,
  copypointing 
)
Concatenate visibility data sets creating a multi-MS.

Combine the input datasets into a multi-MS.
NOTE: The input datasets are moved into the multi-MS and may be modified
to account for subtable reference changes.
If none of the input MSs have any scratch columns, none are created.
Otherwise scratch columns are created and initialized in those MSs
which don't have a complete set.


Keyword arguments:
vis -- Name of input visibility files (MS)
        default: none; example: vis=['ngc5921-1.ms', 'ngc5921-2.ms']
concatvis -- Name of the output visibility file
        default: none; example: concatvis='src2.ms'
freqtol -- Frequency shift tolerance for considering data as the same spwid
        default: ''  means always combine
        example: freqtol='10MHz' will not combine spwid unless they are
        within 10 MHz
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 is less than 1 arcsec.
respectname -- If true, fields with a different name are not merged even if their 
        direction agrees (within dirtol)
        default: True
visweightscale -- list of the weight scales to be applied to the individual MSs
        default: [] (don't modify weights, equivalent to setting scale to 1 for each MS)
keepcopy -- If true, a copy of the input MSs is kept in their original place.
        default: false
copypointing --  If true, the POINTING table information will be present in the output.
        If false, the result is an empty POINTING table.
        default: True

Definition at line 10 of file task_virtualconcat.py.

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

Referenced by virtualconcat.virtualconcat().