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.nrow - Function Up: ms - Tool Previous: fitstoms - Constructor


sdfitstoms - Constructor



Package general
Module ms
Tool ms


Create an ms tool from a SDFITS file


Synopsis
sdfitstoms(msfile, fitsfile, readonly, lock, host, forcenewserver)


Arguments

msfile in Filename for the newly created measurement set
    Allowed: String
    Default: no default
fitsfile in SDFITS 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
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



Description
This constructor will convert a SDFITS 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 SDFITS binary table must be the first extension in the indicated FITS file. A brief description of SDFITS may be found in the dish users manual.

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.

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



Example
      include 'ms.g'
      myms := sdfitstoms("dishdemo1.ms", "dishdemo1.fits")




next up previous contents index
Next: ms.nrow - Function Up: ms - Tool Previous: fitstoms - 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