<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="exportfits" type="function">
<shortdescription>Convert a CASA image to a FITS file</shortdescription>
CASA-produced images can be exported as FITS files for transporting to
other software packages or publication.
No subimaging of the fits image can be made with this task.
The spectral reference frame can be changed prior to export using the
<param mustexist="true" name="imagename" type="path">
<shortdescription>Name of input CASA image</shortdescription>
<description>Name of input CASA image
Example: fitsimage='3C273XC1.image'
<param name="fitsimage" type="string">
<shortdescription>Name of output image FITS file</shortdescription>
<description>Name of output image FITS file
Example: fitsimage='3C273XC1.fits'
<param name="velocity" type="bool">
<shortdescription>Use velocity (rather than frequency) as spectral axis</shortdescription>
<description>Use velocity (rather than frequency) as spectral axis
<param name="optical" type="bool">
<shortdescription>Use the optical (rather than radio) velocity convention</shortdescription>
<description>Use the optical (rather than radio) velocity convention
<param name="bitpix" type="int">
<shortdescription>Bits per pixel</shortdescription>
<description>Bits per pixel
<param name="minpix" type="any">
<shortdescription>Minimum pixel value (if minpix > maxpix, value is automatically determined)</shortdescription>
<description>Minimum pixel value (if minpix > maxpix, value is automatically determined)</description>
<type>int</type><type>double</type>
<value type="int">0</value>
<param name="maxpix" type="any">
<type>int</type><type>double</type>
<shortdescription>Maximum pixel value (if minpix > maxpix, value is automatically determined)</shortdescription>
<description>Maximum pixel value (if minpix > maxpix, value is
automatically determined)
<value type="int">-1</value>
<param name="overwrite" type="bool">
<shortdescription>Overwrite output file if it exists?</shortdescription>
<description>Overwrite output file if it exists?
<param name="dropstokes" type="bool">