peaks_fwhm function

Half-Width at Half-Maximum