Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
mne-sample-meg-auditory - MaRDI portal

Deprecated: Use of MediaWiki\Skin\SkinTemplate::injectLegacyMenusIntoPersonalTools was deprecated in Please make sure Skin option menus contains `user-menu` (and possibly `notifications`, `user-interface-preferences`, `user-page`) 1.46. [Called from MediaWiki\Skin\SkinTemplate::getPortletsTemplateData in /var/www/html/w/includes/Skin/SkinTemplate.php at line 691] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Deprecated: Use of MediaWiki\Skin\BaseTemplate::getPersonalTools was deprecated in 1.46 Call $this->getSkin()->getPersonalToolsForMakeListItem instead (T422975). [Called from Skins\Chameleon\Components\NavbarHorizontal\PersonalTools::getHtml in /var/www/html/w/skins/chameleon/src/Components/NavbarHorizontal/PersonalTools.php at line 66] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Deprecated: Use of QuickTemplate::(get/html/text/haveData) with parameter `personal_urls` was deprecated in MediaWiki Use content_navigation instead. [Called from MediaWiki\Skin\QuickTemplate::get in /var/www/html/w/includes/Skin/QuickTemplate.php at line 131] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

mne-sample-meg-auditory

From MaRDI portal
Dataset:6036955



OpenML43884MaRDI QIDQ6036955

OpenML dataset with id 43884

Author name not available (Why is that?)

Full work available at URL: https://api.openml.org/data/v1/download/22102790/mne-sample-meg-auditory.arff

Upload date: 23 May 2022



Dataset Characteristics

Number of features: 7,668 (numeric: 7,668, symbolic: 0 and in total binary: 0 )
Number of instances: 305
Number of instances with missing values: 0
Number of missing values: 0

MEG data from auditory stimulation experiment using 305 sensors. The design matrix/forward operator is `data[:, :7498]`. The measurements for left stimulation are `data[:, 7498:7583]`. The measurements for right stimulation are `data[:, 7583:]`.

The data was generated with the following script: ``` import mne import numpy as np from mne.datasets import sample from mne.inverse_sparse.mxne_inverse import _prepare_gain

this script used MNE 1.0.2

condition = "Right Auditory" data_path = sample.data_path() + '/MEG/sample' loose = 0 depth = 0.8

fwd_fname = data_path + '/sample_audvis-meg-eeg-oct-6-fwd.fif' ave_fname = data_path + '/sample_audvis-ave.fif' cov_fname = data_path + '/sample_audvis-shrunk-cov.fif'

Read noise covariance matrix

noise_cov = mne.read_cov(cov_fname)

Handling forward solution

forward = mne.read_forward_solution(fwd_fname) targets = {}

for condition in ["Left Auditory", "Right Auditory"]:

   evoked = mne.read_evokeds(
       ave_fname, condition=condition, baseline=(None, 0))
   evoked.crop(tmin=0.04, tmax=0.18)
   evoked = evoked.pick_types(eeg=False, meg=True)
   # Handle depth weighting and whitening (here is no weights)
   forward, gain, gain_info, whitener, _, _ = _prepare_gain(
       forward, evoked.info, noise_cov, pca=False, depth=depth,
       loose=loose, weights=None, weights_min=None, rank=None)
   # Select channels of interest
   sel = [evoked.ch_names.index(name) for name in gain_info['ch_names']]
   M = evoked.data[sel]
   # Whiten data
   M = whitener @ M
   targets[condition] = M

gain is independent of condition:

data = np.hstack([gain, targets["Left Auditory"], targets["Right Auditory"]]) ```






This page was built for dataset: mne-sample-meg-auditory