Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: ms.split - Function Up: ms - Tool Previous: ms.putdata - Function


ms.concatenate - Function



Package general
Module ms
Tool ms


Concatenate two measurement sets


Synopsis
concatenate(msfile, freqtol, dirtol)


Arguments

msfile in The name of the measurement set to append
    Allowed: String
    Default: no default
freqtol in Frequency difference within which 2 spectral windows are considered similar
    Allowed: Quantity
    Default: '1Hz'
dirtol in Direction difference within which 2 fields are considered the same
    Allowed: Quantity
    Default: '1mas'


Returns
Nothing



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.

This function is new to the ms tool and currently requires that both the measurement sets involved in the concatenation were originally derived from of a UVFITS file (and converted using the fitstoms function).



Example
      include 'ms.g'
      myms := ms("3C273XC1.ms", readonly=F)
      myms.concatenate("BLLAC.ms", '1GHz', '1arcsec')
      myms.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 spwids and fieldids in the measurementsets are similar or not.



next up previous contents index
Next: ms.split - Function Up: ms - Tool Previous: ms.putdata - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01