Module irafimcur
source code
irafimcur.py: image cursor interaction
Read the cursor position from stdimage image display device (DS9,
SAOIMAGE or XIMTOOL) and return a string compatible with IRAF's imcur
parameter.
$Id: irafimcur.py 1298 2010-11-12 16:22:35Z sontag $
|
|
_getDevice(displayname=None)
Get device object for this display |
source code
|
|
|
|
imcur(displayname=None)
Read image cursor and return string expected for IRAF's imcur
parameter |
source code
|
|
|
|
_devices = {}
|
|
|
__package__ = 'pyraf'
|
Imports:
sys,
string,
irafutils,
Verbose,
IrafError,
irafdisplay,
gki,
gwm,
iraf
|
Read image cursor and return string expected for IRAF's imcur
parameter
If key pressed is colon, also prompts for additional string input.
Raises EOFError if ^D or ^Z is typed and IrafError on other errors. The
optional display argument specifies the name of the display to use
(default is the display specified in stdimage).
|