ALFA - automated line fitting algorithm


Fast and reliable algorithm for the automated measurement of spectra.


Documentation is at


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


The current version was downloaded on Wednesday, 30 March 2016


See 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/ is a short perl program to convert a FITS spectrum into a 2 column ascii file. Usage is: 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:



table goes here.....


Related Software

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