Starting up IRAF (the good old way)

Kari Nilsson, Feb 2020

A point on notation:

$ means the the command is executed in a linux terminal,

ecl> that it is executed within IRAF (in xgterm terminal).

1) Login to the course computer using the X2Go (or similar) client and the credentials given to you.

If you are using X2Go you need to set session type to XFCE under the Session tab before attempting to login.

2) Open an x-terminal from the buttons at the bottom of the screen.

3) Set up the IRAF environment.

$ iraf27

Go to the working directory

$ cd iraf

If you are starting a project for the first time, do steps 4) - 5) otherwise skip right to step 6).

And skip to step 7).

Prepare IRAF (only needed for a new project)

4) Create and edit the IRAF config file.

$ mkiraf

Answer to every question by pressing enter, the defaults should be fine assuiming IRAF environment has been set up correctly. You should now have a file called and a directory called uparm in data.

5unset key set xdata time set timefmt "%Y-%m-%dT%H:%M:%S" set format x "%d.%m.\n%Y\n%H\" plot 'photometry_3.00.txt' u 1:($2-$4):(sqrt($3*$3+$5*$5)) w e pt 7) Edit

$ gedit

and change line 25 from

# set stdimage = imt800


# set stdimage = imt1024

You can change this to

# set stdimage = imt2048

if your connection is fast enough. Save and exit.

Start IRAF

6) Start the ds9 display program.

$ ds9&

7) Start xgterm

$ xgterm -fn 10x20 -sb&

8) In the xgterm terminal, type

$ cl

And you should be greeted with something like this:

      This is the EXPORT version of IRAF V2.16 supporting PC systems.

  Welcome to IRAF.  To list the available commands, type ? or ??.  To get
  detailed information about a command, type `help '.  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 if you have questions or to report problems.

  The following commands or packages are currently defined:

  (Updated on 2013-12-13)

      adccdrom.   deitab.     images.     mtools.     proto.      tables.
      cfh12k.     esowfi.     kepler.     myscripts.  rvsao.      ucsclris.
      cirred.     finder.     language.   nfextern.   softools.   upsqiid.
      ctio.       fitsutil.   lists.      noao.       sqiid.      utilities.
      cutoutpkg.  gemini.     mem0.       notcam.     stecf.      vo.
      dataio.     gmisc.      mscdb.      obsolete.   stsdas.     xdimsum.
      dbms.       guiapps.    mscred.     plot.       system.     xray.


9) You will also do a big service to yourself by doing the following every time you start a new project:

ecl> epar display

And change fill="no" to fill="yes". Exiting by ctrl-d will save the change. By doing this, you have made sure that whenever you display an image to ds9, the whole image will be shown.