IRAF on cygwin
sf16imager wrote on Dec 28, 2006
I finally got IRAF all running on cygwin. At least all the external packages that were available. I quickly found out that the main program does not do anything with displaying images. The default display device was iism75 which could not open the pix.pix in dev. No matter, reading the manual I was able to use imcopy to convert my fits to pix and do a little darksub and drizzle (in STSDAS). If IRAF is supposed to have ds9 for display, I cannot find out what and where to make IRAF use it. I can use fv as a separate app to check out the results of any image processing.
At least I will be able to show students IRAF and demonstrate how the pros process their images. Perhaps one day IRAF will be able to run in a full
windowing(xwindowing?) environment with drop-down menus? It would make a heck of an image-processing app!!
RobertB
Musser Hill Observatory :idea:
At least I will be able to show students IRAF and demonstrate how the pros process their images. Perhaps one day IRAF will be able to run in a full
windowing(xwindowing?) environment with drop-down menus? It would make a heck of an image-processing app!!
RobertB
Musser Hill Observatory :idea:
Mike Fitzpatrick wrote on Dec 28, 2006
Robert,
Images can be displayed (on most IRAF systems) using inet sockets, unix domain sockets, or named fifo pipes, the last two are used (in order) by default. However, cygwin doesn't implement unix sockets and DS9 has an apparent bug in using fifo pipes, so you need to force IRAF to use the inet socket. The simplest way to do this is to set an IMTDEV environment variable before you start the CL, e.g.
Then as long as DS9 and X11 are running, and note DS9 needs to be installed separately, you should be able to display images. This has been fixed for the final release to be automatic. Note also that FITS files can be used directly so converting to .imh images is optional.
Hope this helps,
-Mike
Images can be displayed (on most IRAF systems) using inet sockets, unix domain sockets, or named fifo pipes, the last two are used (in order) by default. However, cygwin doesn't implement unix sockets and DS9 has an apparent bug in using fifo pipes, so you need to force IRAF to use the inet socket. The simplest way to do this is to set an IMTDEV environment variable before you start the CL, e.g.
export IMTDEV="inet:5137:127.0.0.1" Then as long as DS9 and X11 are running, and note DS9 needs to be installed separately, you should be able to display images. This has been fixed for the final release to be automatic. Note also that FITS files can be used directly so converting to .imh images is optional.
Hope this helps,
-Mike
sf16imager wrote on Dec 28, 2006
Yes, that helps a lot. The code to run the ds9 from cygwin-iraf is great stuff.
Thanks;
RobertB
Thanks;
RobertB
Last post on Dec 28, 2006