<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://casa.nrao.edu/schema/psetTypes.html">
<task category="import/export" name="exportuvfits" type="function">
<shortdescription>Convert a CASA visibility data set to a UVFITS file:</shortdescription>
<description>
This task writes a UVFITS file, a general format data set used to
transfer data between different software systems. It is written in
floating point format. Different programs have different
restrictions on what forms of UVFITS files they will use, especially
whether they will accept multiple sources and/or spectral windows in
the same file. See the spw, multisource, and combinespw descriptions
below.
IMPORTANT NOTE: In general, some of the data averaging features of
this task have never worked properly. In general, users should run
mstransform to select and average data prior to running
exportuvfits. The associated input parameters are being slowly
deprecated and removed.
</description>
<input>
<param mustexist="true" name="vis" type="path">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Default: none
Example: vis='ngc5921.ms'
</description>
<value/>
</param>
<param name="fitsfile" type="string">
<shortdescription>Name of output UV FITS file</shortdescription>
<description>Name of output UV FITS file
Default: none
Example: vis='ngc5921XC1.fits'
</description>
<value/>
</param>
<param name="datacolumn" type="string">
<shortdescription>Visibility file data column</shortdescription>
<description>Visibility file data column
Default: corrected
Options: 'data'(raw)|'corrected'|'model'|'weight'
Example: datacolumn='model'
</description>
<value>corrected</value>
<allowed kind="enum">
<value>data</value>
<value>corrected</value>
<value>model</value>
<value>weight</value>
</allowed>
</param>
<param name="field" type="any">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>
<description>Select field using field id(s) or field name(s)
Default: '' --> all fields
Use 'go listobs' to obtain the list id's or
names. If field string is a non-negative integer,
it is assumed a field index, otherwise, it is
assumed a field name.
Examples:
field='0~2'; field ids 0,1,2
field='0,4,5~7'; field ids 0,4,5,6,7
field='3C286,3C295'; field named 3C286 and
3C295
field = '3,4C*'; field id 3, all names
starting with 4C
</description>
<type>string</type><type>stringVec</type><type>int</type><type>intVec</type>
<value type="string"/>
</param>
<param name="spw" type="string">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
Examples:
spw='0~2,4'; spectral windows 0,1,2,4 (all
channels)
spw='<2'; spectral windows less than 2
(i.e. 0,1)
spw='0:5~61'; spw 0, channels 5 to 61,
INCLUSIVE