Skip to content

Commit

Permalink
Remove spurious extra () (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Jan 25, 2024
1 parent b9f35d3 commit f17caaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmrglue/process/proc_bl.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def baseline_corrector(data, wd=20):
sigma = _find_noise_sd(sd_set, 0.999)
sn_vector = _is_signal(sigma, sd_set, 3)
s_start = _get_signal_start(sn_vector)
s_end = np.sort(len(data) - 1 - _get_signal_start((sn_vector[::-1])))
s_end = np.sort(len(data) - 1 - _get_signal_start(sn_vector[::-1]))
r = _get_temp_baseline(data, s_start, s_end, 7)
baseline = _smooth(r, 60)
return data - baseline
Expand Down

0 comments on commit f17caaf

Please sign in to comment.