|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
ms.concatenate - Function
1.3.1 Concatenate two measurement sets
Description
This function concatenates two measurement sets together.
The data is copied from the measurement set specified in the msfile arguement to the end of the measurement set attached to the ms tool. If a lot of data needs to be copied this function may take some time. You need to open the measurement set for writing in order to use this function.
Arguments
Inputs |
| ||
msfile |
| The name of the measurement set to append
| |
| allowed: | string |
|
| Default: |
| |
freqtol |
| Frequency difference within which 2 spectral windows
are considered similar; e.g ’10Hz’
| |
| allowed: | any |
|
| Default: | variant 1Hz | |
dirtol |
| Direction difference within which 2 fields are considered
the same; e.g ’1mas’
| |
| allowed: | any |
|
| Default: | variant 1mas | |
weightscale |
| Scale the weights of the MS to be appended by this factor
| |
| allowed: | float | |
| Default: | 1. |
|
handling |
| Switch for the handling of the Main and Pointing tables:
0=standard, 1=no Main, 2=no Pointing, 3=no Main
and Pointing, 4=virtual
| |
| allowed: | int |
|
| Default: | 0 |
|
destmsfile |
| Optional support for virtual concat: empty table (no
subtables) where to store the appended MS copy
| |
| allowed: | string |
|
| Default: |
|
|
respectname |
| If true, fields with a different name are not merged even
if their direction agrees
| |
| allowed: | bool |
|
| Default: | false |
|
bool
Example
ms.open("3C273XC1.MS", nomodify=False)
ms.concatenate("BLLAC.ms", ’1GHz’, ’1arcsec’)
ms.done()
This example appends the data from the BLLAC measurement set to
the end of the 3C273 measurement set. Its going to assume a
frequency tolerance of 1GHz and position tolerance of 1 arcsec in
deciding if the spw and field in the measurementsets are
similar or not.
__________________________________________________________________
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