nraonrao
 
 NRAO Home > CASA > CasaDocument
image.maketestimage - Function

1.1.1 Construct a CASA image from a test FITS file
Description

This function converts a FITS file resident in the CASA system into a CASA image.

If outfile is given, the image is written to the specified disk file. If outfile is unset, the Image tool is associated with a temporary image. This temporary image may be in memory or on disk, depending on its size. When you close the Image tool (with the close function) this temporary image is deleted.

Arguments





Inputs

outfile

Output image file name. Default is unset.

allowed:

string

Default:

overwrite

Overwrite (unprompted) pre-existing output file?

allowed:

bool

Default:

false

Returns
bool

Example

"""  
#  
print "\t----\t maketestimage Ex 1 \t----"  
ia.maketestimage()     # make virtual image  
ia.close()  
ia.maketestimage(’tmp’, overwrite=true)  
ia.close()             # close to unlock disk image  
#  
"""

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

Copyright © 2007 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.