specutils icon indicating copy to clipboard operation
specutils copied to clipboard

find_lines_threshold only finding 1 line

Open PatrickOgle opened this issue 3 years ago • 2 comments

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

PatrickOgle avatar Mar 12 '21 16:03 PatrickOgle

What data are you using?

nmearl avatar Mar 12 '21 16:03 nmearl

@PatrickOgle I'm trying to clean up some old issues, do you remember any resolution to this?

rosteen avatar Feb 20 '24 21:02 rosteen