python scipy.signal.peak_widths --> absolute heigth? (fft -3dB damping)
问题 https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.peak_widths.html I think the linked function can only calculate the peak widths at a relative height. Does anyone know if there is a function that calculates the width at a fixed value (peak_amplitude - x) for all peaks? Currently I am trying to change the original inner function "_peak_widths". Fail already with the cimport. Understand the source code here only partially. I added in the code where I would make a modification.