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


next up previous contents index
Next: sdfitstoms - Constructor Up: ms - Tool Previous: ms - Constructor


fitstoms - Constructor



Package general
Module ms
Tool ms


Create an ms tool from a UVFITS file


Synopsis
fitstoms(msfile, fitsfile, readonly, lock, obstype, host, forcenewserver)


Arguments

msfile in Filename for the newly created measurement set
    Allowed: String
    Default: no default
fitsfile in UVFITS file to read
    Allowed: String
    Default: no default
readonly in open for read access only
    Allowed: Boolean
    Default: T
lock in lock the table for exclusive use
    Allowed: Boolean
    Default: F
obstype in specify the observation type: 0=standard, 1=fastmosaic, requiring small tiles in the measurementset
    Allowed: Int
    Default: 0
host in host to start ms tool on
    Allowed: String
    Default: ''
forcenewserver in start a new server tool
    Allowed: Boolean
    Default: F


Returns
ms tool or fail



Description
This constructor will convert a UVFITS file to a measurement set table and then create a ms tool that is attached to the measurement set table. The newly created measurement set table will continue to exist after the tool has been shutdown.

The last four arguments of this constructor are identical in behaviour to the ms constructor. See the documentation for that function for more details on their meaning.

Note that the variety of fits files that fitstoms is able to interpret correctly is limited mostly to files similar to those produced by classic AIPS. In particular, it understands only binary table extensions for the antenna (AN), frequency (FQ) and source (SU) information and ignores other extensions.

This function returns an ms tool or fail if something went wrong, like an error in a file name.



Example
      include 'ms.g'
      myms := fitstoms("3C273XC1.ms", "3C273XC1.fits")




next up previous contents index
Next: sdfitstoms - Constructor Up: ms - Tool Previous: ms - Constructor   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