Skip to content

← signal_processing package

MovingWindow

Output a moving window of a streaming time series.

This node is meant to be used in online processing only. On every tick, this node outputs the last window_length seconds of the signal. Version 1.1.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

window_length

Sliding window length. A longer window will yield a better estimate, but the spectrum will change more slowly and will also react more slowly to changes. Typical settings for EEG phenomena are 0.5 to 5 seconds, but for very slowly (or rapidly) changing brain dynamics, longer (or shorter) windows may be used.

verbose name
Sliding Window Length
default value
2
port type
FloatPort
value type
float (can be None)

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)

flag_as_offline

Flag output as offline data.

verbose name
Flag As Offline
default value
False
port type
BoolPort
value type
bool (can be None)

verbose

Verbose output.

verbose name
Verbose
default value
False
port type
BoolPort
value type
bool (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)