Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: 27 November 2012

How do I quickly display an image?


The make_figure routine can display an image as well as contour it by explicitly giving the "image" argument after the file name. If the image contains WCS information then the contours will be drawn using this grid, unless specified otherwise.

[The image displayed with the 'heat' color map]
make_figure("img.fits", "image")
make_figure("img.fits", "image", ["colormap", "heat"])
make_figure("img.fits", "image", ["wcs", "physical"])

The ChIPS GUI

The ChIPS GUI makes it easy to modify a visualization using your mouse, rather than Pythoon functions. New in CIAO 4.5 is the ability to add annotations - such as labels, lines, points and regions - directly from the GUI.

The ChIPS Gallery

More examples can be seen in the ChIPS Gallery.



Last modified: 27 November 2012
CXC logo

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