EventRelatedSpectralPerturbation¶
A meta-node that segments and calculates the ERSPs for a predefined set of event markers.
Uses the following nodes: SelectRange, Segmentation, Spectrogram, FrequencyNormalization, ToDecibels, Rereferencing, Mean. More Info... Version 1.0.1
Ports/Properties¶
data¶
Data to process.
spectogram_subwindow_length¶
Length of the sub-windows for spectral estimation, in seconds. 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 spectrum, but at the same time the result will increase the smoothness (i.e., blurriness) along the time axis. The tradeoff between time resolution and frequency resolution that can be adjusted via this parameter is fundamental.
spectrogram_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. Can also be expressed in samples.
spectogram_fft_size¶
Length of the FFT used, in samples. 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.
spectogram_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.
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).
frequency_range¶
Frequency range for which to plot the ERSP.
baseline_removal_range¶
Reference time range relative to the event for removing the baseline.
skip_baseline_removal¶
Skip baseline removal (performed later.)
max_gap_length¶
Maximum length of time-stamp gaps that are allowed in segments. If a gap between successive samples is larger than this duration in seconds, then the affected segment is not extracted. Optional. Note that if your time stamps are jittered, this will generate a lot of false positives unless you use a very generous cutoff. You can use the DejitterTimestamps node early during your processing to fix that.
channel_range¶
Comma separated list of channels/ROIs for which an ERSP plot will be generated. Leave blank or set to 'all' to generate ERSP plots for all previously-selected channels/ROIs.
output_measure¶
Output measure to calculate. Mean will be the usual average ERP, while median and trim_mean result in estimates that are more robust to outliers. For moderate artifact content, trim_mean is preferable, and median should only be used for extremely contaminated data. The trials mode will return the raw trials instead of taking the mean, for averaging later using the GroupedMean for example.
cache_spectrogram¶
Enable caching for Spectrogram. This will significantly speed up re-use of the same 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.