This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import os.path as op | |
import numpy as np | |
import mne | |
import imageio | |
misc_path = mne.datasets.misc.data_path() | |
sample_path = mne.datasets.sample.data_path() | |
subjects_dir = sample_path / 'subjects' | |
subject = 'fsaverage' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
.. _ex-inverse-dics-epochs: | |
======================================================================= | |
Compute source level time-frequency timecourses using a DICS beamformer | |
======================================================================= | |
In this example, a Dynamic Imaging of Coherent Sources (DICS) | |
:footcite:`GrossEtAl2001` beamformer is used to transform sensor-level | |
time-frequency objects to the source level. We will look at the event-related | |
synchronization (ERS) of beta band activity in the :ref:`somato dataset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os.path as op | |
import numpy as np | |
import mne | |
import mne_gui_addons | |
import autoreject | |
from mne.time_frequency import csd_tfr | |
fs_dir = mne.datasets.fetch_fsaverage(verbose=True) | |
subjects_dir = op.dirname(fs_dir) |
OlderNewer