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 |
|
Name of input CASA image |
fitsimage |
|
Name of output image FITS file |
velocity |
|
Use velocity (rather than frequency) as spectral axis |
optical |
|
Use the optical (rather than radio) velocity convention |
bitpix |
|
Bits per pixel |
minpix |
|
Minimum pixel value (if minpix > maxpix, value is automatically determined) |
maxpix |
|
Maximum pixel value (if minpix > maxpix, value is automatically determined) |
overwrite |
|
Overwrite output file if it exists? |
dropstokes |
|
Drop the Stokes axis? |
stokeslast |
|
Put Stokes axis last in header? |
history |
|
Write history to the FITS image? |
dropdeg |
|
Drop all degenerate axes (e.g. Stokes and/or Frequency)? |
Parameter Explanations
imagename
''
- Name of input CASA image
Default: none
Example: fitsimage=’3C273XC1.image’
fitsimage
''
- Name of output image FITS file
Default: none
Example: fitsimage=’3C273XC1.fits’
velocity
False
- Use velocity (rather than frequency) as spectral axis
Default: False Options: False|True
optical
False
- Use the optical (rather than radio) velocity convention
Default: False Options: False|True
bitpix
int(-32)
- Bits per pixel
Default: -32
Example: bitpix=16
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)
Default: -1
overwrite
False
- Overwrite output file if it exists?
Default: False Options: False|True
dropstokes
False
Drop the Stokes axis?
stokeslast
True
- Put Stokes axis last in header?
Default: True Options: True|False
history
True
- Write history to the FITS image?
Default: True Options: True|False
dropdeg
False
- Drop all degenerate axes (e.g. Stokes and/or Frequency)?
Default: False Options: False|True