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:
Field configuration - configure
Version 7+ required for AAOmega operations.
Latest AAOmega astrometric and fibre files.
Data Reduction - 2dfdr - upgraded version for use with AAOmega data
FITS conversion - ndf2fits/fits2ndf
Fixing 2dF Fibre Headers - tdffix
Fixing fibre-to-slit position mapping errors in AAOmega - fdtswap
The Configure page provides all necessary links and information for the target allocation software.
The 2dfdr page provides all necessary links and information for the data reduction software.
AAOmega data files come embedded with a complete description of the configuration and all the objects observed as well as the raw CCD data. The fibres info is just too big to go in to a standard FITS header - and is therefore written into a FITS binary table extension.
To this end we have worked with Malcolm Currie at STARLINK to enhance the FITS converters in the CONVERT package to support the 2dF FIBRES extension. These are included with the 2dfdr package. manual. --> They also handle correctly other AAOmega extensions, for example the VARIANCE array (giving the errors as computed from Poission statistics + readout noise) which is present in the reduced data files from 2dfdr.
A recent release of the STARLINK
software appears to have introduced a
bug which prevents the correct operation of the ndf2fits/fits2ndf
programs. With the demise of the STARLINK
project, the AAO is
investigating alternatives for these and other software issues.
Recent releases of the 2dfdr
package have included these unfortunate
versions of ndf2fits and fits2ndf. Correctly operating
versions can be
the ftp site
(ftp://ftp.aao.gov.au/pub/2df/ndf2fits/). Please read the README
convert_mon_ix86 and the two
As an example, the command structure below will convert a STARLINK .sdf file to a Multi-extension FITS .fits file, propagating the variance and sky extensions. Note the missing .sdf extension and the presence of the .fits extension.
./ndf2fits proexts input_file output_file.fits
Note, the input should not have the .sdf extension, the output
have the .fits extension.
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).
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.
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 (email@example.com)