Exportfits
From CASA Guides
Help on exportfits task:
Convert a CASA image to a FITS file CASA-produced images can be written to disk for transporting to other software packages. No subimaging of the fits image can be made with this task. Keyword arguments: imagename -- Name of input CASA image default: none; example: imagename='3C273XC1.image' fitsimage -- Name of ouput image FITS file default: none; example='3C273XC1.fits' velocity -- Use velocity (rather than frequency) as spectral axis default: False optical -- Use the optical (rather than radio) velocity convention default: False; bitpix -- Bits per pixel default: -32 (floating point) <Options: -32 (floating point), 16 (integer)> minpix -- Minimum pixel value default: 0 = autoscale maxpix -- Maximum pixel value default: 0 = autoscale overwrite -- Overwrite pre-existing imagename default=False; example: overwrite=True dropstokes -- Drop Stokes axis? default: False; example: dropstokes=True stokeslast -- Put Stokes axis last in header? default: True; example: syokeslast=False async -- Run asynchronously default = True; recommended.