The positive and negative peaks are separated by fixed thresholding and the locations in the spectra are identified.

 

 

Since the peaks need not be Gaussian, they are rotated by every 5 degree and full width half maximum (FWHM) is computed for every angle and averaged for every peak.

 

 

The FWHM values for various peaks are exported into Excel