View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Problem with Image Cursor

makhlaghi wrote on Feb 09, 2011

Hi,
I am using a 64bit Fedora 14, with 64bit IRAF 2.15.1, I am totally new to IRAF and I was running some sample instructions to learn the tasks, my graphics cursor works fine, for tasks like "implot" or "contour" but all the tasks, most notably "imexam", that require the image cursor don't operate; I can't interact with ds9 or IRAF when I enter "imexam": all my keyboard inputs get printed in the terminal (with no reaction) and when I change the focus to ds9, there is only a reply when I type "q", and it returns to the command line.

By default
stdimcur=stdimage
but when I change it to:
stdimcur=text
and run imexam, I can apply the keyboard inputs and it shows the results, but I can't specify the coordinates, for example when I type m; I get [1:3,1:2] ... regardless of where my mouse is on the image!

I studied the previous problem regarding a similar problem in this link:
http://forums.iraf.net/viewtopic.php?t=86891&sid=532ed63a8c58cebaec133006e70ae3a2
but none of the solutions there have any positive result.

I even completely removed my /iraf/iraf/ file and the iraf user and reinstalled the whole system, but the problem remains!

It would be excellent if you could help me in getting the image cursor and imexam working

Thanks alot...

Mike Fitzpatrick wrote on Feb 09, 2011

When you use the
cl> reset stdimcur=text
trick you need to remember that even though you are entering the input from the terminal window, it must still be in the format of a cursor read, i.e.

x y wcs key


For example,

[quote]

ecl> reset stdimcur=text
ecl> imexam dev$pix 1
image display cursor input: 100 100 1 z
[/code]

As for why DS9 doesn't read this directly: Some versions of DS9 had cursor reads broken so you should check that you're using the latest version and/or that you ran the iraf install script on the machine. If you're sure it's not an input focus issue, then you might also try restarting DS9 and the CL since there are time where it "loses sync" with the cursor read pending.

Last post on Feb 09, 2011