About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/slds9_get_array.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 ds9_get_array Context: ds9

Synopsis

Retrieve displayed image

Syntax

Array_Type ds9_get_array()
Array_Type ds9_get_array( handle )

Description

Returns the image being displayed in the current DS9 frame, as a 2D S-Lang array of pixel values. The array will be of dimension

[Y=NAXIS2, X=NAXIS1]

and type reflecting the BITPIX value of the image.

NOTES

By default DS9 returns pixel arrays in FITS (big-endian) format. This routine will transparently byteswap its return value, when necessary, to match the calling platform.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



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-2004. All rights reserved.