ComponentModelImage
- class sherpa.image.ComponentModelImage[source] [edit on github]
Bases:
ModelImage
Methods Summary
close
()Stop the image viewer.
Delete all the frames open in the image viewer.
get_region
(coord)Return the region defined in the image viewer.
image
([shape, newframe, tile])open
()Start the image viewer.
prepare_image
(data, model)set_region
(reg, coord)Set the region to display in the image viewer.
set_wcs
(keys)xpaget
(arg)Return the result of an XPA call to the image viewer.
xpaset
(arg[, data])Return the result of an XPA call to the image viewer.
Methods Documentation
- static close() [edit on github]
Stop the image viewer.
- static delete_frames() [edit on github]
Delete all the frames open in the image viewer.
- static get_region(coord) [edit on github]
Return the region defined in the image viewer.
- image(shape=None, newframe=False, tile=False) [edit on github]
- static open() [edit on github]
Start the image viewer.
- prepare_image(data, model)[source] [edit on github]
- static set_region(reg, coord) [edit on github]
Set the region to display in the image viewer.
- set_wcs(keys) [edit on github]
- static xpaget(arg) [edit on github]
Return the result of an XPA call to the image viewer.
Send a query to the image viewer.
- static xpaset(arg, data=None) [edit on github]
Return the result of an XPA call to the image viewer.
Send a command to the image viewer.
- Parameters:
arg (str) – A command to send to the image viewer via XPA.
data (optional) – The data for the command.