Arp |
10/28/2009 01:37PM (Read 5881 times)
|
|
|
Status: offline
Registered: 06/15/2009
Posts: 34
|
Hello!Im trying for the first time some photometry with iraf and ds9. I started ds9, and then I startet imexam and chose the correct frame buffer.
But then nothing happens. Sometimes the cursor in DS9 changes, it blinks between a black annulus, and a cursor with a small stop sign... and once, I dont now why, it seemed to work, but when I pressed r for a radial plot of a star, I got a lot of mumbojumo in the iraf window... maybe theres something wrong with the graphics?
|
|
|
|
driebel |
10/28/2009 01:37PM
|
|
|
Status: offline
Registered: 02/03/2010
Posts: 3
|
I have EXACTLY the same issue. No solution though. Anyone Else? I'm using IRAF 2.14.1 under Ubuntu 8.04. This seems like a display type issue. My guess is that it has something to do with xgterm, xterm, and x11. I guess this because I'm not sure what those mean, so it's reasonable to guess that they are incorrect on my machine. I open a terminal using the command "gnome-terminal." How do I then determine which display server is running?UPDATE: While working through the tutorials downloaded from http://iraf.noao.edu/tutorials/ I couldn't get past step 2 of tutorial 1. The command implot [image] also gives nonsense. An abbreviated sample, for your enjoyment:
/0d`#r#S#r*R$f*R#r*R0"p)_100#r*R#r1T$f1T#r1T"p1A200#r1T#r8V$f8V#r8V"p8C300#r8V#r<K#r#S#r#S#r$E#r#S#g"F500#r#S(`#S(`$E(`#S'u!Y1000(`#S,o#S,o$E,o#S,c!Y1500,o#S0}#S0}$E0}#S0q!Y20000}#S5k#S5k$E5k#S5`!Y25005k#S5o#S5o#S5o*R4{*R5o*R5o1T4{1T5o1T5o8V4{8V5o8V5o<KPlus 10 more lines of the same. Help?
|
|
|
|
fitz |
10/28/2009 01:37PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Garbage on the screen when you expect a plot is ALWAYS a case that you're either not using a graphics-capable terminal like XGterm or XTerm (the gnome-terminal, xrvt, kterm and such cannot do graphics so you see the metacode as garbage), or you're using one kind of terminal but told IRAF it was the other kind (e.g. you're using an Xterm but told IRAF it was an XGterm). You set the terminal type when you do a MKIRAF to create the login.cl file and can rerun the command to recreate the file if needed. Note this won't start the terminal for you, it is just a way to tell IRAF that you are logging in from an e.g. XGterm window.As for DS9: Check that you have the most recent version. At various times the display from IRAF was broken and SAO has fixed this in recent versions.-Mike
|
|
|
|
GalacticKitten |
10/28/2009 01:37PM
|
|
|
Status: offline
Registered: 07/29/2010
Posts: 8
|
I've had this issue too, but I find that if you manually open the image in ds9, then run imexam, it will work. I can't get IRAF to open the file, but if it is already open, it will ask for which display you want to use, and you can use it.
|
|
|
|
fitz |
10/28/2009 01:37PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
[quote:14e813c6cc]I can't get IRAF to open the file, but if it is already open, it will ask for which display you want to use, and you can use it.[/quote:14e813c6cc]To be clear, the problem is in DS9 not opening the connection to talk to clients like IRAF, not that iraf can't open the file. In some versions of DS9 there is no socket created at all so reading the image cursor from IMEXAM should also fail, but if you don't supply an image name to IMEXAM then it will use whatever is in the display. Note however that if it can't be traced back to the image on disk various values used will be the estimated display pixels, not the actual pixels.
|
|
|
|
| |
|