![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Destroy this image tool
Description
If you no longer need to use an image tool, calling this function will free up
its resources. That is, it destroys the tool. You can no longer call any
functions on the tool after it has been done. DO NOT done THE DEFAULT
IMAGE TOOL ia!
If the Image tool is associated with a disk file, you can also delete that if you wish by setting delete=T. By default any associated disk file is not deleted.
This function is different from the close function because the latter does not destroy the image tool. For example, you can use function open straight after close on the same tool.
Arguments
| Inputs |
| ||
| remove |
| Delete disk file as well?
| |
| allowed: | bool |
|
| Default: | false |
|
Example
"""
# print "\t----\t done Ex 1 \t----" ia.maketestimage(’myfile’,overwrite=true) subim = ia.subimage(’myfile2’,overwrite=true) subim.summary() subim.done() subim.open(’myfile’) # Error: tool ‘subim’ has been destroyed 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.