IRAF on OS X
Why Scisoft?
I've been using IRAF since 2004 on various UNIX computers, but had never installed it on my Macintosh. Fortunately, Kim McLeod pointed me to the wonderful folks at Scisoft, who have made a comprehensive package for installing IRAF on the Macintosh. After being frustrated with directions that told me to create new accounts, change permissions, and all but compile things from scratch, Scisoft is easy to install, and most importantly, it works.
Scisoft installs a host of packages such as Pyraf, MIDAS, PyRAF, Python and various other Python extensions.
Download and Install
- Download the Intel version here.
- Download the PPC version here.
Installation directions are here.
Tweaks
- I recommend putting a line in your .tcshrc or .cshrc file like this:
alias iraf 'cd; ds9 &; cl'
This will cd to your home directory where your login.cl file lives, start ds9, then start the IRAF cl.
- IRAF not displaying your entire image? Put the following in your login.cl file:
set stdimage = imt2048
- Want to add a field to your FITS header?:
hedit image.fits FIELD VALUE add+
Notes
- As of August 1, 2008, the Scisoft installer seems to have trouble with putting SAO ds9 in the correct location. There's a fix involving realiasing some paths and sending carrier pigeons to the CFA, but absolutely no voodoo or goat sacrificing. Go here and scroll about halfway down the page to where it says "DS9".
- Scisoft no longer installs IRAF in a top-level directory!