Automated line fitting algorithm
This package provides ALFA, which can identify and fit hundreds of lines in emission line spectra in just a few seconds with following features:
A population of synthetic spectra is generated using a reference line catalogue.
The goodness of fit for each synthetic spectrum is calculated. The best sets of parameters are retained and the rest discarded.
A new population of synthetic spectra is obtained by averaging pairs of the best performers.
A small fraction of the parameters of the lines in the new generation are randomly altered.
The process repeats until a good fit is obtained.
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |