Skip to content

← diagnostics package

LowFrequencyNoise

A meta-node that obtains a ratio of low frequencies (e.g

. <7 Hz) to target frequencies (e.g. alpha band 8-12 Hz). Lower ratio values are better. This can help diagnose potentially bad channels as channels with excessively high amplitudes at low frequencies relative to known high amplitude target bands such as alpha power may indicate issues caused by various artifacts such as poor electrode contact, electrode/cable movements, electrical interference, perspiration, cardiac, etc. Version 0.0.1

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
5
port type
FloatPort
value type
float (can be None)

moving_average_window

Window length for the moving average of the final output. A longer window will yield a smoother output but will react more slowly to changes.

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

unit

Unit in which the window length and moving average window are given.

verbose name
Unit Of Measurement For Window Lengths
default value
seconds
port type
EnumPort
value type
str (can be None)

low_frequencies

Range of frequencies for the bandpass filter for the low frequency noise.

verbose name
Low Frequencies
default value
[1, 7]
port type
ListPort
value type
list (can be None)

target_frequencies

Range of frequencies for the bandpass filter for the target range (e.g . alpha band).

verbose name
Target Frequencies
default value
[8, 12]
port type
ListPort
value type
list (can be None)

frequencies

Range of frequencies for the bandpass filter for the target range (e.g . alpha band).

verbose name
Frequencies
default value
[8, 12]
port type
ListPort
value type
list (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)