![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Is the image persistent?
Description
This function can be used to find out whether the image is persistent on disk
or not. There is a subtle difference from the image being virtual. For example,
a virtual image which references another which is on disk is termed persistent.
Arguments
Example
"""
# print "\t----\t ispersistent Ex 1 \t----" ia.fromshape(outfile=’tmp’, shape=[10,20], overwrite=true) print ia.ispersistent() #True r = ia.setboxregion() #rg.box() isn’t implemented yet ia.close() #ia.fromimage(infile=’tmp’, region=rg.box()) ia.fromimage(infile=’tmp’, region=r) print ia.ispersistent() #True im3 = ia.subimage() print im3.ispersistent() # Persistent virtual image ! #True im4 = ia.imagecalc(pixels=’tmp+tmp’) print im4.ispersistent() #False im3.done() im4.done() ia.close(remove=true) # """ |
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.