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.done - Function Up: image - Tool Previous: image.deconvolvecomponentlist - Function


image.delete - Function



Package general
Module images
Tool image


Delete the image file associated with this image tool


Synopsis
delete(done)


Arguments

done in Destroy this tool after deletion
    Allowed: T or F
    Default: T



Returns
T or fail


Description

This function first closes the image tool which detaches it from its underlying image file. It then deletes that image file. If done=F, the image tool is still viable, and can be used with function open to open a new image file. Otherwise the image tool is destroyed.



Example
- im := image('myimage')        # Attach to `myimage'
- im.delete(F)                  # Close imagetool and delete `myimage'
- im.open('myotherimage')       # Open new imagefile `myotherimage'





next up previous contents index
Next: image.done - Function Up: image - Tool Previous: image.deconvolvecomponentlist - 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