[Skip to Content]


General Links
Professional Links
Australian Human Resources Institute Diversity Awards 2013 Finalist

AAOmega Software

This page lists the dedicated software the AAO has written for astronomers to facilitate preparation for observations and data reduction with the 2dF/AAOmega system:

  1. Field configuration - configure

  2. Data Reduction - 2dfdr - upgraded version for use with AAOmega data

  3. Fixing 2dF Fibre Headers - tdffix

  4. Fixing fibre-to-slit position mapping errors in AAOmega - fdtswap

1) Field configuration - Configure

The Configure page provides all necessary links and information for the target allocation software.

2) Data Reduction - 2dfdr

The 2dfdr page provides all necessary links and information for the data reduction software.

3) 2dfinfo

The FITS header information in 2dfdr files can be accessed using the 2dfinfo command. It can be used in a number of ways as follows:

2dfinfo run0001.fits fits

lists the FITS header of run0001.fits.

2dfinfo run0001 fibres

lists the fibre configuration information for the same file (note that the extension is optional).

2dfinfo run0001red history

lists the reduction history of the reduced file run0001red.fits.

It is also possible to request information for an individual fibre or an individual FITS keyword as follows:

2dfinfo run0001 fibre 37

lists the information on fibre number 37.

2dfinfo run0001 fits—item GRATID

lists the value of the fits header item GRATID (grating ID).

4) Fixing 2dF Fibre Headers - tdffix

A utility called `tdffix' has been developed at AAO to add or correct headers in data with an error (potentially a problem after major system work). It takes as input the .sds file produced by the configure software and a text file listing the ordering of fibres along the slit on both plates (normally called `aspect_fibres.txt') and writes the information into a data structure in the SDF data file. This can then be used in 2dfdr for fully automatic reduction and is preserved in the FITS archive. Additionally tdffix can be used to fix other header details such as the plate and spectrograph ID. This is documented in a UNIX man page included with the software.

A Solaris binary of tdffix is available by anonymous ftp from ftp://ftp.aao.gov.au/pub/2df/tdffix-1.4.tar.Z. Unfortunately the source code links against elements of the AAO drama software environment and so source code cannot usefully be distributed at this time.

5) Fixing fibre-to-slit position mapping errors in AAOmega

A number of errors were found in the slit position-to-fibre mapping during the early stages of AAOmega commissioning. All data taken with AAOmega before August 2006 are affected. In total 4 banks of fibres (2 retractors, each of 10 fibres, on each field plate) were out of sequence. A Tcl script has been written to alter the fibre table in raw and/or reduced AAOmega data to correct the problem.

The script (fdtswap.tcl) and the new fibre files (spec_fibres.txt, spec_fibres.txt_old060630) can be downloaded from the ftp site:


Download the tar.gz archive (which contains the fitsTcl library), and the two spec_fibres files and follow the instructions in the README file.

Sarah Brough (sb@aao.gov.au)