exportfits – Convert a CASA image to a FITS file – import/export task
Description
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 task imreframe.
Parameters
Parameter |
Default |
Description |
|---|---|---|
imagename |
|
|
fitsimage |
|
|
velocity |
|
|
optical |
|
|
bitpix |
|
|
minpix |
|
|
maxpix |
|
|
overwrite |
|
|
dropstokes |
|
|
stokeslast |
|
|
history |
|
|
dropdeg |
|
Parameter Explanations
imagename
''
Name of input CASA image
fitsimage
''
Name of output image FITS file
velocity
False
Use velocity (rather than frequency) as spectral axis
optical
False
Use the optical (rather than radio) velocity convention
bitpix
int(-32)
Bits per pixel
minpix
int(0)
Minimum pixel value (if minpix > maxpix, value is automatically determined)
maxpix
int(-1)
Maximum pixel value (if minpix > maxpix, value is automatically determined)
overwrite
False
Overwrite pre-existing imagename
dropstokes
False
Drop the Stokes axis?
stokeslast
True
Put Stokes axis last in header?
history
True
Write history to the FITS image?
dropdeg
False
Drop all degenerate axes (e.g. Stokes and/or Frequency)?