Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Command: ChnSavitzkyGolayFilter

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

Smooths a data channel with the Savitzky-Golay filter.

Call ChnSavitzkyGolayFilter(Y, E, PolynomialOrder, SmoothWidth)

Input Parameters

Y Specifies the data channel that contains the y-values.
E Specifies the result channel.
PolynomialOrder Specifies the order of the polynomial.
Longinteger variable
1 <= PolynomialOrder <= 2147483647
SmoothWidth Specifies the number of neighboring values to the left and right of the channel value that DIAdem uses to calculate the mean.
Longinteger variable
1 <= SmoothWidth <= GlobChnLength
If a signal is superimposed by a disturbing signal, the Savitzky-Golay filter smooths the signal by adjusting a polynomial function piecewise to the signal. For the adjustment the Savitzky-Golay filter uses the least square method. The length of the floating window for the adjustment of the polynomial function is 2 * SmoothWidth + 1.
Refer to the Help page Smoothing Functions for further information.

Dialog Box Call

Call SUDDlgShow("Main", ResourceDrv & "AnaChnSavitzkyGolayFilter")

Savitzky-Golay filter

Related Topics

ChnSavitzkyGolayFilterWeighted


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit