Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: image.lock - Function Up: image - Tool Previous: image.isopen - Function


image.ispersistent - Function



Package general
Module images
Tool image


Is the image persistent ?


Synopsis
ispersistent()


Returns
Bool or fail


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.



Example
- im := imagefromshape(outfile='tmp', shape=[10,20])
- im.ispersistent()
T
- im2 := imagefromimage(infile='tmp', region=drm.box())
- im2.ispersistent()
F
- im3 := im2.subimage()
- im3.ispersistent()                  # Persistent virtual image !
T
- im4 := imagecalc(pixels='tmp+tmp2')
- im4.ispersistent()
F





next up previous contents index
Next: image.lock - Function Up: image - Tool Previous: image.isopen - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01