нужна статья по сглаживанию методом Савицкого-Голея
P.A. Gorry, General least-squares smoothing and differentiation by the convolution (Savitzky-Golay) method. Anal. Chem. 1990 v. 62, pp. 570-573
Код: Выделить всё
http://dx.doi.org/10.1021/ac00205a007