MEGSIM single trial simulation dataset

The MEGSIM consists of experimental and simulated MEG data which can be useful for reproducing research results.

The MEGSIM files will be dowloaded automatically.

The datasets are documented in: Aine CJ, Sanfratello L, Ranken D, Best E, MacArthur JA, Wallace T, Gilliam K, Donahue CH, Montano R, Bryant JE, Scott A, Stephen JM (2012) MEG-SIM: A Web Portal for Testing MEG Analysis Methods using Realistic Simulated and Empirical Data. Neuroinformatics 10:141-158

../../_images/sphx_glr_plot_megsim_data_single_trial_001.png

Out:

This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_001.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_001.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_002.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_002.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_003.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_003.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_004.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_004.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_005.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_005.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_006.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_006.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_007.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_007.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_008.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_008.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_009.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_009.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied
This filename (/home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_010.fif) does not conform to MNE naming conventions. All evoked files should end with -ave.fif or -ave.fif.gz
Reading /home/ubuntu/mne_data/MEGSIM/megsim/simdata_singleTrials/sim6_trial_010.fif ...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
    Found the data of interest:
        t =       0.00 ...    1249.60 ms (Average to trigger # 23)
        0 CTF compensation matrices available
        nave = 1 - aspect type = 100
Projections have already been applied. Setting proj attribute to True.
No baseline correction applied

from mne import read_evokeds, combine_evoked
from mne.datasets.megsim import load_data

print(__doc__)

condition = 'visual'  # or 'auditory' or 'somatosensory'

# Load experimental RAW files for the visual condition
epochs_fnames = load_data(condition=condition, data_format='single-trial',
                          data_type='simulation', verbose=True)

# Take only 10 trials from the same simulation setup.
epochs_fnames = [f for f in epochs_fnames if 'sim6_trial_' in f][:10]

evokeds = [read_evokeds(f)[0] for f in epochs_fnames]
mean_evoked = combine_evoked(evokeds, weights='nave')

# Visualize the average
mean_evoked.plot()

Total running time of the script: ( 0 minutes 4.312 seconds)

Generated by Sphinx-Gallery