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

1.1.1 Is this Image tool open?
Description

This function can be used to find out whether the Image tool is associated with an image or not.

Arguments





Returns
bool

Example

"""  
#  
print "\t----\t isopen Ex 1 \t----"  
ia.maketestimage(’zz’,overwrite=true)  
print ia.isopen()  
#True  
ia.close()  
print ia.isopen()  
#False  
ia.open(’zz’)  
print ia.isopen()  
#True  
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.