Synopsis
Delete an image from a crate.
Syntax
delete_piximg(crate)
Description
Argument | Description |
---|---|
crate | The image crate. |
The delete_piximg command removes the image from the crate.
Only the crate is changed; the input file is unaffected. The write_file command can be used to save the modified crate to a file.
Example
>>> cr = read_file("image.fits") >>> delete_piximg(cr)
Delete the image from the crate.
Bugs
See the bug pages on the CIAO website for an up-to-date listing of known bugs.
Refer to the CIAO bug pages for an up-to-date listing of known issues.
See Also
- contrib
- make_image_crate, make_table_crate, scale_image_crate, smooth_image_crate, write_arrays, write_columns
- crates
- add_col, add_key, add_piximg, copy_piximgvals, delete_col, delete_key, get_piximg, get_piximg_shape, get_piximgvals, read_file, read_pha, read_rmf, set_piximgvals, write_file, write_pha, write_rmf