- specutils.fitting.find_lines_threshold(spectrum, noise_factor=1)¶
Find the emission and absorption lines in a spectrum. The method here is based on deviations larger than the spectrum’s uncertainty by the
This method only works with continuum-subtracted spectra and the uncertainty must be defined on the spectrum. To add the uncertainty, one could use
noise_region_uncertaintyto add the uncertainty.
The spectrum object in which the lines will be found.
noise_factormultiplied by the spectrum’s``uncertainty``, used for
Table of emission and absorption lines. Line center (
line_center), line type (
line_type) and index of line center (
line_center_index) are stored for each line.