NRAO Home > CASA > CASA Toolkit Reference Manual
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()  
#  
"""  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright © 2016 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