Asymmetrical peak shapes: >> load testsignalA.mat; >> ShapeTestA(x(500:600),y(500:600),1) Peak Shape fitting error R2 One Gaussian: 4.3141 0.98268 Two Gaussians: 3.6645 0.9875 Exp. modified Gaussian: 3.9435 0.98552 BiGaussian: 3.7319 0.98704 Exponential pulse: 9.9001 0.90877 Alpha function: 9.3113 0.9193 Symmetrical peak shapes: >> load testsignalS.mat >> ShapeTestS(x(70:170),y(70:170),1) Peak Shape fitting error R2 Single Gaussian: 2.9125 0.98718 Two Gaussians: 2.3006 0.992 Single Lorentzian: 3.7364 0.9789 Logistic distribution: 3.6023 0.98039 Voigt profile: 2.2825 0.99213 Single Pearson: 2.3013 0.992 Gauss/Lorentz blend: 2.2978 0.99202