Skip to content

MNE Sample Data: ICA

Demonstrated features

Feature This example
MEG processing
EEG processing
Maxwell filter
Frequency filter
Artifact regression
SSP
ICA
Evoked contrasts
Time-by-time decoding
Time-generalization decoding
CSP decoding
Time-frequency analysis
BEM surface creation
Template MRI

Dataset source

This dataset was acquired from https://openneuro.org/datasets/ds000248

How to download this dataset

Run in your terminal:

Run in your terminal
openneuro-py download \
             --dataset=ds000248 \
             --include=sub-01 \
             --include=sub-emptyroom \
             --include=derivatives/freesurfer/subjects \
             --exclude=derivatives/freesurfer/subjects/fsaverage/mri/aparc.a2005s+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/fsaverage/mri/aparc+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/fsaverage/mri/aparc.a2009s+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/fsaverage/xhemi/mri/aparc+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/sub-01/mri/aparc+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/sub-01/mri/aparc.DKTatlas+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/sub-01/mri/aparc.DKTatlas+aseg.mgz \
             --exclude=derivatives/freesurfer/subjects/sub-01/mri/aparc.a2009s+aseg.mgz

Note that we have to explicitly exclude files due to a problem with OpenNeuro's storage.

Configuration

Click to expand
Python
.

bids_root = "~/mne_data/ds000248"
deriv_root = "~/mne_data/derivatives/mne-bids-pipeline/ds000248_ica"

ch_types = ["meg"]
data_type = "meg"

subjects = ["01"]
task = "audiovisual"
l_freq = 0.3
h_freq = 40.0

conditions = ["Auditory/Left", "Auditory/Right", "Visual/Left", "Visual/Right"]

epochs_tmin = -0.2
epochs_tmax = 0.5
baseline = (None, 0)
ica_reject = dict(mag=3000e-15, grad=3000e-13)

spatial_filter = "ica"
ica_algorithm = "extended_infomax"
ica_l_freq = 1.0
ica_n_components = 0.8
ica_max_iterations = 500

interactive = False

Generated output

Summary reports

sub-01_task-audiovisual_report.html

sub-average_task-audiovisual_report.html