Last modified: December 2023

URL: https://cxc.cfa.harvard.edu/sherpa/ahelp/image_xpaget.html
Jump to: Description · Example · PARAMETERS · Notes · Bugs · See Also


AHELP for CIAO 4.16 Sherpa

image_xpaget

Context: visualization

Synopsis

Return the result of an XPA call to the image viewer.

Syntax

image_xpaget(arg)

arg - str

Description

Send a query to the image viewer.


Example

Return the current zoom setting of the active frame:

>>> image_xpaget('zoom')
'1\n'

PARAMETERS

The parameter for this function is:

Parameter Definition
arg A command to send to the image viewer via XPA.

Notes

The XPA access point of the ds9 image viewer lets commands and queries to be sent to the viewer.


Bugs

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

See Also

data
load_image, pack_image, unpack_image
modeling
image_model, image_model_component, image_source, image_source_component
psfs
image_kernel
visualization
contour, contour_data, contour_model, contour_ratio, contour_resid, image_close, image_data, image_deleteframes, image_fit, image_getregion, image_open, image_ratio, image_resid, image_setregion, image_xpaset