[Mne_analysis] mn.time_frequency.tfr_array_stockwell

Alexandre Gramfort alexandre.gramfort at inria.fr
Thu Jul 9 10:38:32 EDT 2020
Search archives:

        External Email - Use Caution        

hi Paul,


import numpy as np
import mne

raw = mne.io.read_raw_edf('/Users/fishbacp/Desktop/EEG_file.edf', preload=True)
Fs = raw.info['sfreq']
data, times=raw[:, :]
signal = data[[0]]
min_freq = 5
max_freq = 100
st_power, itc, freqs = mne.time_frequency.tfr_array_stockwell(signal,
Fs, fmin=min_freq, fmax=max_freq)


signal must be a 2d array with dimensions: channel x time


More information about the Mne_analysis mailing list