Posted: Tue Jul 19, 2011 3:18 am Post subject: Problem usung Splot to analyze a FITS fite
Hi,
When I try to use splot to analyze a fits file I get a weird output of numbers and letters. I think I maybe missing something to properly display the FITS image. Any help would be greatly appreciated. Thanks
Code:
onedspec> splot /home/student/COSMOS_files/magellan_opt_095737+024329_spec_31.fits
Image line/aperture to plot (0:) (1): 1
server # XGTERM.GUI -- Default GUI for Xgterm, providing a standard graphics terminal
# emulation.
You can do a MKIRAF and reset the default terminal type at any time, this just recreates the login.cl file. Keep in mind however, this does NOT install xgterm for you or cause one to be started, it is simply your way of telling IRAF that you have logged in using an XGterm teminal window, but installing xgterm on your machine and starting it are up to you.
It means you're not actually using an XGterm window to run iraf. If you're using an XTerm then you can do a MKIRAF and change the terminal type, or do
Code:
cl> stty xtermjh ; gflush
on the commandline to change it. Terminals like rxvt, gnome-terminal, Terminal.app, etc do not support graphics and cannot be used for plots.
Fitz,
Tried the above and got the same out put.
Code:
student@ubuntu:~/IRAF$ cl stty xtermjh ; gflush
setting terminal type to xgterm...
NOAO/IRAF PC-IRAF Revision 2.15.1a EXPORT Mon Feb 21 18:54:16 MST 2011
This is the EXPORT version of IRAF V2.15.1a supporting PC systems.
Welcome to IRAF. To list the available commands, type ? or ??. To get
detailed information about a command, type `help <command>'. To run a
command or load a package, type its name. Type `bye' to exit a
package, or `logout' to get out of the CL. Type `news' to find out
what is new in the version of the system you are using.
Visit http://iraf.net if you have questions or to report problems.
The following commands or packages are currently defined:
onedspec> splot /home/student/COSMOS_files/magellan_opt_095737+024329_spec_31.fits
Image line/aperture to plot (0:) (1): 1
server # XGTERM.GUI -- Default GUI for Xgterm, providing a standard graphics terminal
# emulation.
You can do a MKIRAF and reset the default terminal type at any time, this just recreates the login.cl file. Keep in mind however, this does NOT install xgterm for you or cause one to be started, it is simply your way of telling
IRAF that you have logged in using an XGterm teminal window, but installing xgterm on your machine and starting it are up to you.
Oh so I may not have XGterm installed? Thanks for that clarification I will check to see if I have it. If not should I install it in the iraf directory?
Normally it would be installed in /usr/local/bin, you can get it from the X11IRAF distribution for your platform from ftp://iraf.noao.edu/iraf/x11iraf.
In the meantime, an XTerm should already be installed on your machine, you'll just need to reset the terminal type and login to iraf from the xterm window.
cd /home/student/IRAF
student@ubuntu:~/IRAF$ xgterm &
Which opened another terminal. I then logged in using cl. I then changed directories to the directory containing the fits files which were then analyzed.
Is there anyway of having the Xterm automatically start when one starts iraf?
Okay got it. Do you know of a good tutorial for Xgterm? Wanted to know because I tried to move to different lines in the Xterm, but was unable to.
thanks again
There's no specific tutorial, but whatever you find for Xterm will generally apply to XGterm as well. If by 'move lines' you mean cut-n-paste, then use the left and middle mouse keys respectively.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum