SavitzkyGolayFilter¶
Apply a Savitzky-Golay filter to an array.
This is a 1-d filter and will be applied only to the axis specified in filt_axis. More Info... Version 0.8.0
Ports/Properties¶
data¶
Data to process.
window_length¶
The length of the filter window (i.e . the number of coefficients). window_length must be a positive odd integer.
unit¶
Unit in which the window length is given.
polyorder¶
The order of the polynomial used to fit the samples. polyorder must be less than window_length (in samples).
deriv¶
The order of the derivative to compute. This must be a nonnegative integer. The default is 0, which means to filter the data without differentiating.
filt_axis¶
The axis to apply the filter to. This will be the first axis of the specified type, or alternatively, a custom_label can be specified in format "myaxis.mylabel" to specifically designate the axis to which it will be applied.
mode¶
This determines the type of extension to use for the padded signal to which the filter is applied. When mode is ‘constant’, the padding value is given by the padding value. When the ‘interp’ mode is selected (the default), no extension is used. Instead, a degree polyorder polynomial is fit to the last window_length values of the edges, and this polynomial is used to evaluate the last window_length // 2 output values.
cval¶
Value to fill past the edges of the input if mode is ‘constant’.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.