RectangularMovingWindowStandardization¶
Standardize the signal in a sliding rectangular window.
This node estimates the running mean and running standard deviation in a rectangular window (that is, with equal weighting). Then, each sample is converted to z scores by subtracting the running mean and dividing by the running standard deviation, which are estimated from the k samples prior to that sample. This filter maintains internal state to work seamlessly across chunk boundaries. On the first window length samples, the result will not yet be standardized fully since the filter first needs to collect sufficient data. Version 1.0.0
Ports/Properties¶
data¶
Data to process.
- verbose name: Data
- default value: None
- port type: DataPort
- value type: Packet (can be None)
- data direction: INOUT
means¶
Estimated averages. This is an additional diagnostic.
- verbose name: Means
- default value: None
- port type: DataPort
- value type: Packet (can be None)
- data direction: OUT
stddevs¶
Estimated standard deviations. This is an additioanl diagnostic.
- verbose name: Stddevs
- default value: None
- port type: DataPort
- value type: Packet (can be None)
- data direction: OUT
window_length¶
Length of sliding window. This is the window length over which the variance of the signal is estimated.
- verbose name: Window Length
- default value: 30
- port type: FloatPort
- value type: float (can be None)
window_length_unit¶
Unit in which the window length is given.
- verbose name: Unit Of Measurement For Window Length
- default value: seconds
- port type: EnumPort
- value type: str (can be None)
ignore_nans¶
If activated the channels containing nan values are ignored.
- verbose name: Ignore Channels With Nan Values
- default value: False
- port type: BoolPort
- value type: bool (can be None)
from_to_stream¶
Apply scaling from a stream to another stream.
- verbose name: From To Stream
- default value: None
- port type: DictPort
- value type: dict (can be None)
epsilon¶
Smallest possible standard deviation, to prevent division by zero.
- verbose name: Epsilon
- default value: 1e-15
- port type: FloatPort
- value type: float (can be None)
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
- verbose name: Set Breakpoint (Debug Only)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
- verbose name: Metadata
- default value: {}
- port type: DictPort
- value type: dict (can be None)