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

1.1.1 Open a new image file with this image tool
Description

Use this function when you are finished analyzing the current image file and want to attach to another one. This function detaches the image tool from the current image file, and reattaches it (opens) to the new image file.

The input image file may be in native CASA, FITS, or Miriad format. Look ?? for more information on foreign images.

Arguments





Inputs

infile

image file name

allowed:

string

Default:

Returns
bool

Example

"""  
#  
print "\t----\t open Ex 1 \t----"  
ia.maketestimage(’anotherimage’,overwrite=true) #first make 2nd image  
ia.close()  
ia.maketestimage(’myimage’,overwrite=true)      #open image myimage  
ia.open(’anotherimage’)               # attach tool to ’anotherimage’  
ia.close()  
#  
"""

The open function first closes the old image file.

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.