nraonrao
 
NRAO Home > CASA > TaskRef

0.1.12 exportfits

Requires:

Synopsis Convert a CASA image to a FITS file Description

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.

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

allowed:

any

Default:

variant 0

maxpix

Maximum pixel value

allowed:

any

Default:

variant 0

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

Example

 
 
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.  

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.