Compute power and intertrial coherence using Stockwell (S) transform.
Same computation as tfr_stockwell, but operates on
NumPy arrays instead of Epochs objects.
See [1][2][3][4] for more information.
ndarray, shape (n_epochs, n_channels, n_times)The signal to transform.
floatThe sampling frequency.
None, floatThe minimum frequency to include. If None defaults to the minimum fft frequency greater than zero.
None, floatThe maximum frequency to include. If None defaults to the maximum fft.
int | NoneThe length of the windows used for FFT. If None, it defaults to the next power of 2 larger than the signal length.
floatThe width of the Gaussian window. If < 1, increased temporal resolution, if > 1, increased frequency resolution. Defaults to 1. (classical S-Transform).
intThe decimation factor on the time axis. To reduce memory usage.
Return intertrial coherence (ITC) as well as averaged power.
int | NoneThe number of jobs to run in parallel. If -1, it is set
to the number of CPU cores. Requires the joblib package.
None (default) is a marker for ‘unset’ that will be interpreted
as n_jobs=1 (sequential execution) unless the call is performed under
a joblib.parallel_backend() context manager that sets another
value for n_jobs.
See also
References