PowerBands¶
Computes the standard power bands for various units (dB, PSD, relative PSD, sqrt(PSD), with configurable frequency ranges.
Note that frequency ranges are not inclusive, meaning that [1, 4] will include frequencies up to but not including 4.0. Replaces the Frequency axis with a Feature axis with the values of each band and the name of that band. This node does not computer power spectral density. So it expects the incoming packet contains a Frequency axis with PSD, and should be preceded by a node that computes PSD (Spectrogram, Power Spectrum, etc.). This node only groups and averages the specified frequencies to create bands, and optionally converts to DB (if 'dB' selected) and performs 1/f normalization (if 'relativePSD' selected) or sqrt (if 'sqrtPSD' selected). Version 1.4.1
Ports/Properties¶
data¶
Data to process.
unit¶
Select unit to be used for computing the band ratios. (RelativePSD is computed by dividing by the sum of all frequencies.)
correct_for_falloff¶
Correct for 1/f frequency fall-off (perform a 1/f^alpha normalization), with an exponent of 1.
average_across_channels¶
Average the bands across all channels Set to False to output band values for each channel.
delta¶
Lower and upper frequencies for the delta band.
theta¶
Lower and upper frequencies for the theta band.
alpha¶
Lower and upper frequencies for the alpha band.
beta¶
Lower and upper frequencies for the beta band.
gamma¶
Lower and upper frequencies for the gamma band.
custom_bands¶
User defined frequency bands. You can define as many as you like, with custom names and frequency ranges. Specify as a python dictionary, in the following format: {'theta2': [6,7], 'beta3': [25,31]}. If this parameter is specified, only these bands will be computed and the values specified in the standard band ports (delta, theta, etc.) will be ignored.
mean_trim¶
An optional trim (using a winsorized mean) to be applied to each listed band when calculating the mean, where 0.1 will trim the top and bottom 10% of values. Expressed in the following format: {'beta': 0.1, 'alpha': 0.1} which will apply a 0.1 trim to both beta and alpha.
keep_numeric_band_in_names¶
Keep the bandwidth in the new feature axis names. This will yield feature axis names similar to e.g. alpha2 (10.0-15.0 Hz)
verbose¶
Print verbose output.
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.