PowerSpectra¶
A meta-node that segments and calculates the Power Spectra on segmented data.
Collapses the time axis. Converts to decibels. Version 1.0.0
Ports/Properties¶
data¶
Data to process.
time_bounds¶
Time range in seconds relative to the event, within which data will be selected to represent the individual trials. Express in this format: -1.5, 2 (will select from 1.5 seconds before the event to 2 seconds after).
subwindow_length¶
Sub-window length for averaging. This node will extract successive windows from the given data of this length, which are overlapped according to the overlap samples parameter. Longer windows will give a higher-resolution (but potentially less smooth and more noisy) spectrum.
subwindow_overlap¶
Overlap between successive sub-windows, expressed as a fraction of the sub-window length. This determines by how much successive sub-windows are overlapped. Using a higher value will yield finer stepping in time without a change in temporal or frequency detail (since the time axis will be correspondingly more smooth to counter the finer stepping). If not given, defaults to half of the sub-window length. If the sub-window length is expressed in samples, this value can also be expressed in samples.
fft_size¶
Length of the FFT used. Using a higher number will yield a finer stepping along the frequency axis, without a change in frequency or temporal detail (the frequency axis will be correspondingly more smooth to counter the finer stepping). If not given, it defaults to the sub-window length.
onesided¶
Return one-sided spectrum. If disabled, a two-sided (meaning: symmetric about the middle) spectrum will be computed, which is redundant for real-valued data, but required for complex-valued data (for complex data, the spectrum is always two-sided.
unit¶
Unit in which the sub-window length is expressed. By default this is seconds, but samples can also be used if necessary.
frequency_normalization_alpha¶
The exponent of 1/f^alpha used in the correction. Set to None to determine the value automatically.
channel_range¶
Comma separated list of channels/ROIs to be retained. Leave blank or set to 'all' to include all previously selected channels/ROIs.
frequency_range¶
Frequency range for which to plot the spectra.
output¶
Compute the mean of all trials or output the per trials data.
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.