Chandra X-Ray Observatory
Skip to the navigation links
Last modified: December 2013

Jump to: Description · Examples · Bugs · See Also

AHELP for CIAO 4.9 ChIPS v1


Context: images


Delete the specified image.




The function arguments.

Argument Description
id A ChipsId structure identifying the item, or a string containing the name of the object.

If no argument is given then the current image is deleted, otherwise the argument determines what to delete.

Example 1

chips> add_image('evt2_image.fits')
chips> delete_image()

Create a image, then delete it.

Example 2

chips> id = ChipsId()
chips> add_image('image.fits','id=events')
chips> add_image('image2.fits')
chips> id.image = 'events'
chips> delete_image(id)

Two images are created; the second image is current after it is created. The id.image command sets the image value of the ChipsId structure to the first image. That image is then deleted.

Example 3

chips> add_image('image.fits')
chips> add_image('image2.fits')
chips> delete_image("all")

Two images are created, then the delete_image command deletes them both.


See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.

See Also

chipsid, currency
chips_helix, imextent
add_image, current_image, display_image, get_image, hide_image, load_colormap, print_image, remove_image_channel, set_image, shuffle_image

Last modified: December 2013
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.