NRAO Home > CASA > CASA Task Reference Manual

0.1.45 importfits

Requires:

Synopsis
Convert an image FITS file into a CASA image

Description

Convert an image FITS file into a CASA image

Arguments





Inputs

fitsimage

Name of input image FITS file

allowed:

string

Default:

imagename

Name of output CASA image

allowed:

string

Default:

whichrep

If fits image has multiple coordinate reps, choose one.

allowed:

int

Default:

0

whichhdu

If its file contains multiple images,, choose one.

allowed:

int

Default:

0

zeroblanks

Set blanked pixels to zero (not NaN)

allowed:

bool

Default:

True

overwrite

Overwrite pre-existing imagename

allowed:

bool

Default:

False

defaultaxes

Add the default 4D coordinate axes where they are missing

allowed:

bool

Default:

False

defaultaxesvalues

List of values to assign to added degenerate axes when defaultaxes==True (ra,dec,freq,stokes)

allowed:

variant

Default:

[]

Example

 
 
   importfits(fitsimage=’ngc3256.fits’, imagename=’ngc3256.im’, overwrite=True)  
 


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

Copyright 2010 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