I\'m trying to calculate fwhm for a signal using scipy\'s singal.peak_width. I started with the example code provided by scipy and it worked great, but trying to adapt it to my