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.createflaghistory - Function Up: ms - Tool Previous: ms.iterend - Function


ms.tosdfits - Function



Package general
Module ms
Tool ms


Convert a single dish AIPS++ measurement set to a SDFITS file


Synopsis
tosdfits(fitsfile)


Arguments

fitsfile   Name of the new SDFITS file
    Allowed: String



Description

This function turns an MS tool into a FITS file containing an SDFITS binary table. This uses the ms2sdfits program to do the conversion. It converts the entire underlying measurement set file even if the ms tool is the result of a selection. This may be changed in the future. The ms tool must consist of single dish data only. A brief description of SDFITS may be found in the dish users manual. Converting a measurement set into an SDFITS binary table will generally result in the loss of some information which can not be represented in an SDFITS binary table.



Example
- include 'ms.g'
- myms := ms('myfile.ms')         # open the MS
- myms.tosdfits("myfile.sdfits")  # write SDFITS file





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