Offline AOFTM Data Tools

This page desribes the publicly available software which unpacking AOFTM disk
and magnetic tape data for piping to user programs.
The UNIX script aoftm_unpack reads AOFTM data from tape or UNIX file in 2 bit or 8 bit
form, converts to single bytes, and outputs the data stream to stdout.
For each time sample, 256 (for 8 bit data) or 1024 (for 2 bit data)
channel amplitudes are output, in order of increasing frequency.
To run this script, you will need to download the following files:
Makefile
Running this Makefile will create all executables needed to run the aoftm_unpack script.
Replace LDFLAGS with the appropriate directories on your system.
read_hdr.c
This program is the first called by the aoftm_unpack script. It reads the AOFTM header file
(in FITS format) and outputs an ascii header file.
ao_unpack.c
This is the code which reads the data from tape or UNIX file, does the conversion to
single bytes,
and outputs to stdio. It requires the files 'header' and 'board_config', output by
read_hdr.
indexx.c , nrutil.c , and
nrutil.h
These numerical recipes routines are needed to compile ao_unpack.c. We
have made some slight modifications to the numerical recipes code, so please download
our versions even if you have the library on your machine.
The script tape.inspect will scan through a tape,
reading all the header files and reporting the contents. You must have the file
and the compiled read_hdr program to run this script.

If you have any comments about this page or questions about the unpacking codes,
please email Maura McLaughlin
Return to main help page
