casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
exportfits Namespace Reference

Functions

def exportfits

Function Documentation

def exportfits.exportfits (   imagename = '',
  fitsimage = '',
  velocity = False,
  optical = False,
  bitpix = -32,
  minpix = 0,
  maxpix = -1,
  overwrite = False,
  dropstokes = False,
  stokeslast = True 
)
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: stokeslast=False
async --  Run asynchronously
        default = False;

Definition at line 13 of file exportfits.py.