<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