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 678 2005-07-01 21:19:43Z perry $
|
|
_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
|
|
Imports:
sys,
string,
Verbose,
IrafError,
irafdisplay,
irafutils,
gki,
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).
|