The data from the images isn’t reflected to IRAF.
inosworld wrote on May 08, 2009
I could finish to install IRAF successfuly and IRAF run.
I'm using DS9.
ecl>display ***.fits 1 (The image is displayed in DS9)
ecl>noao
noao>digiphot
digiphot>apphot
apphot>phot ***.fits (The black circle cursor appears in the image.)
After that,
the data from the image isn't reflected in IRAF regardless of typing space key with the cursor in the image.
How can I do?
Mike Fitzpatrick wrote on May 08, 2009
-Mike
inosworld wrote on May 08, 2009
I just tried to do that. But I still have problems.
apphot> phot ****.fits
Warnings: Graphics overlay not available for display device.
After that,
I tried to focus on the DS9 window, and entered space key.
But the data from the image isn't displayed in the IRAF window.
In addition, I tried to execute /iraf/iraf/unix/hlib/sysinfo.
But, There are no warnings and errors.
I don't know what the cause is.
Mike Fitzpatrick wrote on May 08, 2009
-Mike
inosworld wrote on May 08, 2009
>what, if anything, do you see in response to the space bar in the DS9?
No, I couldn't see anything.
But when I typed "q" key, the following message appears in the IRAF window.
[Hit return to continue, n next image, q quit, w quit and save parameters]
After That, I focused on the IRAF window, and typed "q" again.
Then The above message disappeared, and The shape of the cursor returned.
>What platform are you using?
I'm using Fedora 10.
>Do other tasks like IMEXAMINE work.
I tried IMEXAMINE.
It was the same with case of PHOT.
>Do you need to do the border-click-to-focus trick?
What's the border-click-to-focus trick?
Mike Fitzpatrick wrote on May 08, 2009
-Mike
inosworld wrote on May 08, 2009
I changed 'focus policy' to "focus-follow-mause", and retried.
but I still have the problem.
In addition, I tried to run IRAF on Windows VISTA( in the same PC with Fedora 10). Then I did without problems.
But I wont to run IRAF on Fedora 10.
I really appreciate your help.
-Yoshi
Mike Fitzpatrick wrote on May 08, 2009
If you simply want to test the image display cursor readback, try using the RIMCURSOR task (type the EOF when you are done, otherwise it should echo the keystrokes you type). If this works, the try unlearning the PHOT parameters and perhaps also the APPHOT package params, e.g.
cl> unlearn apphot phot-Mike
Rebekah wrote on May 08, 2009
I am trying to use imexamine in IRAF but when i click on the image to examine it the cursor jumps to the left hand corner of the screen and thus examines the wrong area of the image, if anything. This problem seems similar to the ones mentioned above.
Mike Fitzpatrick wrote on May 08, 2009
-Mike
Rebekah wrote on May 08, 2009
Chris Simpson wrote on May 08, 2009
My problem is that the image cursor only responds to the keystroke "q". So, in IMEXAM or PHOT, I get the image cursor and focus on the ds9 window and I can press keys to my heart's content but nothing happens unless I press "q" (which exits the task, obviously).
If I type "=imcur" from the ecl prompt, I get no response unless I press "q", which provides
0.000 0.000 100 q
so note the incorrect x and y values. Running RIMCURSOR produces no response unless I press "q" (or ":"), which throws the cursor to the top left of the screen. And I can only escape RIMCURSOR by typing Ctrl-C. I'm guessing this might mean that IMEXAM does read the cursor but fails to respond because it obtains coordinates of (0,0) which is off-image, and so fails to act.
I just investigated Rebekah's problem and I note that imcur is not providing the correct x and y values for her (although it does recognize all keystrokes), so this sounds like it can explain her problem.
So, if it's a problem reading the image cursor, any idea which files are likely to be the culprits?
Mike Fitzpatrick wrote on May 08, 2009
If you reset your stdimage to be e.g. imt2048 but still only see the central 512x512 pixels of an image then this is probably your problem. Note this doesn't explain any problem with reading the graphics cursor command, but might explain why the coords are wrong and should be checked first. Write back it you still have problems.
-Mike
Chris Simpson wrote on May 08, 2009
I have discovered that I'm simply experiencing a slow response to all keystrokes apart from "q" and ":" because if I simply hold another key down, I get the results I desire (at the correct location on the image) after maybe half a second. Because "q" and ":" produce an immediate response, this still looks like an IRAF problem (or else all keys would be slow to respond).
Jaehyon Rhee (Jay) wrote on May 08, 2009
Jaehyon Rhee (Jay) wrote on May 08, 2009
Jaehyon Rhee (Jay) wrote on May 08, 2009
But, it would be very nice if I can use ds9 also with imexam.
Jay
Chris Simpson wrote on May 08, 2009
Mike Fitzpatrick wrote on May 08, 2009
Also, are you using any kind of virtualization software, e.g. VMWare or VirtualBox to run linux? We've had reports this can have some unusual problems with X and may explain e.g. the cursor jumping to the corner of the window. The fact the cursor changed to a blinking circle means the client (IRAF) initiated the cursor read correctly, the rest of up to the server being used (DS9 or XImtool).
If it is a DS9 problem you'll have to take it up with Bill Joye at CfA if you can't find a working version. So far, I havent been able to reproduce any of this.
-Mike
Chris Simpson wrote on May 08, 2009
I'll drop Bill Joye an email and see if he's ever heard of this problem. Like jrhee, Rebekah and I are using Fedora 10, so I'm starting to think it's connected with that.
yan wrote on May 08, 2009
Last post on May 08, 2009