Performs fitting based on a polynomial of a given order and then smoothes the curve instead of outputting raw data. Details
![]() |
initialize, when TRUE, initializes the internal state of the VI. |
![]() |
input data is a set of input data. |
![]() |
nR=(-nL) sets data points on the right and data points on the left of the data currently under investigation. The whole history length is exactly 2*(nR=(-nL))+1. This number determines the amount of data used to fit the curve. For example, the default value 6 for nR=(-NL) generates a history length 2*(6)+1, or 13. The VI uses 13 points to fit the curve. |
![]() |
order polynomial is the order of the fitting model. The default is 3. In the case of the Savitzky Golai Filter PtByPt VI, the order is a polynomial. For example, when you set order polynomial to two, the VI uses quadratic fitting. |
![]() |
output data is the fitted and smoothed data. |
![]() |
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions. |
You can use the Savitzky Golai Filter PtByPt VI in real-time operation.