![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Close the image tool
Description
This function closes the image tool. This means that it detaches the tool
from its image file (flushing all the changes first). The image tool is
“null” after this change (it is not destroyed) and calling any tool
function other than open will result in an error.
Arguments
Example
"""
# print "\t----\t close Ex 1 \t----" # First create image and attach image tool to it. ia.maketestimage(’myimage’,overwrite=true) ia.close() # Detaches image from Image tool print "!!!EXPECT ERROR HERE!!!" ia.summary() # No image so this results in an error. ia.open(’myimage’) # Image is reattached ia.summary() # No error ia.close() # """ |
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.