ALFA - automated line fitting algorithm

Introduction

Fast and reliable algorithm for the automated measurement of spectra.

Documentation

Documentation is at http://www.nebulousresearch.org/codes/alfa/.

Initialisation

None. The alfa executable is in /usr/local/bin

Version

The current version was downloaded on Wednesday, 30 March 2016

Testing

See usage.

Usage

alfa requires a two column ascii file containing the spectrum.
 head -5 PHR0702-0324_spectrum.dat
  3789 -2.95027e+01
  3791  5.65334e+01
  3793  7.66467e+01
  3795  3.30993e+01


alfa PHR0702-0324_spectrum.dat

Conversion Programs

/usr/local/bin/print_spectrum.pl is a short perl program to convert a FITS spectrum into a 2 column ascii file. Usage is:
print_spectrum.pl spectrum.fits > spectrum.asc

Author and References

The author of this software is Roger Wesson and the reference is Wesson R., 2016, MNRAS, 456, 3774

Local Modifications

Had to edit Makefile to install to /usr/local instead of /usr.

sed -i 's/usr/usr\/local/g' Makefile

in ./source

find . -name "*.f95" -print | xargs sed -i 's/usr/usr\/local/g'

To turn latex table into a latexable file, add the following lines:

\documentclass{article}
\usepackage{times}

\begin{document}
\begin{tabular}{|l|l|l|l|l|l|l|l|l|l|}

table goes here.....

\end{tabular}
\end{document}

Related Software

NEAT (Nebular empirical analysis tool).
Rhys Morris
Last modified: Wednesday, 30 March 2016