NRAO Home > CASA > CASA Task Reference Manual

0.1.22 exportfits

Requires:

Synopsis
Convert a CASA image to a FITS file

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.



Arguments





Inputs

imagename

Name of input CASA image

allowed:

string

Default:

fitsimage

Name of output image FITS file

allowed:

string

Default:

velocity

Use velocity (rather than frequency) as spectral axis

allowed:

bool

Default:

False

optical

Use the optical (rather than radio) velocity convention

allowed:

bool

Default:

False

bitpix

Bits per pixel

allowed:

int

Default:

-32

minpix

Minimum pixel value (if minpix > maxpix, value is automatically determined)

allowed:

any

Default:

variant 0

maxpix

Maximum pixel value (if minpix > maxpix, value is automatically determined)

allowed:

any

Default:

variant -1

overwrite

Overwrite pre-existing imagename

allowed:

bool

Default:

False

dropstokes

Drop the Stokes axis?

allowed:

bool

Default:

False

stokeslast

Put Stokes axis last in header?

allowed:

bool

Default:

True

history

Write history to the FITS image?

allowed:

bool

Default:

True

dropdeg

Drop all degenerate axes (e.g. Stokes and/or Frequency)?

allowed:

bool

Default:

False

Example

 
  exportfits(imagename=’NGC3256-continuum.image’, fitsimage=’NGC3256cont.fits’, history=False)  


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search