specutils
specutils copied to clipboard
find_lines_threshold only finding 1 line
Regardless of how low I set noise_factor, find_lines_threshold is only finding one line and gives the following error:
lines = find_lines_threshold(spectrum-continuum, noise_factor=0.01) lines
/Users/pogle/miniconda3/envs/science/lib/python3.8/site-packages/scipy/interpolate/interpolate.py:2536: RuntimeWarning: invalid value encountered in true_divide norm_distances.append((x - grid[i]) /
line_center | line_type | line_center_index |
---|---|---|
563.6363636363636 | absorption | 96 |
What data are you using?
@PatrickOgle I'm trying to clean up some old issues, do you remember any resolution to this?