alfa(1) automated line fitting algorithm

SYNOPSIS

alfa [OPTION] [VALUE]... [FILE]

DESCRIPTION

alfa rapidly fits deep emission line spectra, using a genetic algorithm to optimise fitting parameters. It has a number of configurable parameters, and while the default values should work well in many situations, a good fit to your observed spectrum may require some adjustments.

alfa reads one dimensional spectra in either plain text or FITS format. Plain text input should consist of two columns, giving wavelength and flux. It can also read data cubes and row-stacked spectra in FITS format. Results are written out in plain text, to files containing the fit (total fit, continuum-subtracted original, continuum, sky lines and residuals), and the line flux measurements.

OPTIONS

-n, --normalise [VALUE]
normalise to Hb=100 assuming that F(Hb)=VALUE. If VALUE is zero, no normalisation is applied. If this option is not specified, fluxes are normalised using the measured value of Hb if it is detected, and not normalised otherwise.
-vg, --velocity-guess [VALUE]
initial guess for the velocity of the object [km/s]. Default: 0.
-rg, --resolution-guess [VALUE]
initial guess for the resolution [lambda/delta lambda]. Default: estimated using the sampling of the input spectrum, assuming that it is Nyquist sampled.
-vtol1, --velocity-tolerance-1 [VALUE]
variation allowed in velocity in first pass of the fitting. Default: 900km/s
-vtol2, --velocity-tolerance-2 [VALUE]
variation allowed in velocity in second pass of the fitting. Default: 60km/s
-rtol1, --resolution-tolerance-1 [VALUE]
variation allowed in resolution in first pass. Default: equal to 0.9 x resolution guess
-rtol2, --resolution-tolerance-2 [VALUE]
variation allowed in resolution in second pass. Default: 500.
-ss, --subtract-sky
fit and subtract night sky emission lines before fitting nebular emission lines
-o, --output-dir [DIRECTORY]
the directory in which to put the output files. Default: current working directory
-skycat, -strongcat, -deepcat [FILENAME]
the files containing the line catalogues to be used for the removal of sky lines, the estimation of velocity and resolution, and the full line fitting. The default catalogues are stored in /usr/share/alfa
-g, --generations [INTEGER]
the number of generations used in the genetic algorithm. Default: 500
-ps, --populationsize [INTEGER]
The size of the population used in the genetic algorithm. Default: 30
-pr, --pressure [REAL]
The fraction of the population retained from each generation. The product of the pressure and the population size should be an integer. Default: 0.3

BUGS

No known bugs.

AUTHOR

Roger Wesson