BUG: ZeroDivision Error in peak_finding_utils.pyx #20720
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.signal
Describe your issue.
The
peak_widths
function encountersZeroDivisionError
when trying to interpolate the peak half max indices.Upon examining the code, the fix should be rather simple:
I can prepare a pull request if this all make sense. Thank you!
Reproducing Code Example
Error message
The text was updated successfully, but these errors were encountered: