DS000246#

MEG-BIDS Brainstorm data sample

Access recordings and metadata through EEGDash.

Citation: Elizabeth Bock, Peter Donhauser, Francois Tadel, Guiomar Niso, Sylvain Baillet (2018). MEG-BIDS Brainstorm data sample. 10.18112/openneuro.ds000246.v1.0.1

Modality: meg Subjects: 1 Recordings: 54 License: CC0 Source: openneuro Citations: 1.0

Metadata: Complete (100%)

Quickstart#

Install

pip install eegdash

Access the data

from eegdash.dataset import DS000246

dataset = DS000246(cache_dir="./data")
# Get the raw object of the first recording
raw = dataset.datasets[0].raw
print(raw.info)

Filter by subject

dataset = DS000246(cache_dir="./data", subject="01")

Advanced query

dataset = DS000246(
    cache_dir="./data",
    query={"subject": {"$in": ["01", "02"]}},
)

Iterate recordings

for rec in dataset:
    print(rec.subject, rec.raw.info['sfreq'])

If you use this dataset in your research, please cite the original authors.

BibTeX

@dataset{ds000246,
  title = {MEG-BIDS Brainstorm data sample},
  author = {Elizabeth Bock and Peter Donhauser and Francois Tadel and Guiomar Niso and Sylvain Baillet},
  doi = {10.18112/openneuro.ds000246.v1.0.1},
  url = {https://doi.org/10.18112/openneuro.ds000246.v1.0.1},
}

About This Dataset#

Brainstorm - Auditory Dataset

License

This dataset (MEG and MRI data) was collected by the MEG Unit Lab, McConnell Brain Imaging Center, Montreal Neurological Institute, McGill University, Canada. The original purpose was to serve as a tutorial data example for the Brainstorm software project (http://neuroimage.usc.edu/brainstorm). It is presently released in the Public Domain, and is not subject to copyright in any jurisdiction.

View full README

Brainstorm - Auditory Dataset

License

This dataset (MEG and MRI data) was collected by the MEG Unit Lab, McConnell Brain Imaging Center, Montreal Neurological Institute, McGill University, Canada. The original purpose was to serve as a tutorial data example for the Brainstorm software project (http://neuroimage.usc.edu/brainstorm). It is presently released in the Public Domain, and is not subject to copyright in any jurisdiction.

We would appreciate though that you reference this dataset in your publications: please acknowledge its authors (Elizabeth Bock, Peter Donhauser, Francois Tadel and Sylvain Baillet) and cite the Brainstorm project seminal publication (also in open access): http://www.hindawi.com/journals/cin/2011/879716/

Presentation of the experiment

Experiment

  • One subject, two acquisition runs of 6 minutes each

  • Subject stimulated binaurally with intra-aural earphones (air tubes+transducers)

  • Each run contains:
    • 200 regular beeps (440Hz)

    • 40 easy deviant beeps (554.4Hz, 4 semitones higher)

  • Random inter-stimulus interval: between 0.7s and 1.7s seconds, uniformly distributed

  • The subject presses a button when detecting a deviant with the right index finger

  • Auditory stimuli generated with the Matlab Psychophysics toolbox

  • The specifications of this dataset were discussed initially on the FieldTrip bug tracker_

MEG acquisition

  • Acquisition at **2400Hz**, with a **CTF 275** system, subject in seating position

  • Recorded at the Montreal Neurological Institute in December 2013

  • Anti-aliasing low-pass filter at 600Hz, files saved with the 3rd order gradient

  • Recorded channels (340):
    • 1 Stim channel indicating the presentation times of the audio stimuli: UPPT001 (#1)

    • 1 Audio signal sent to the subject: UADC001 (#316)

    • 1 Response channel recordings the finger taps in response to the deviants: UDIO001 (#2)

    • 26 MEG reference sensors (#5-#30)

    • 274 MEG axial gradiometers (#31-#304)

    • 2 EEG electrodes: Cz, Pz (#305 and #306)

    • 1 ECG bipolar (#307)

    • 2 EOG bipolar (vertical #308, horizontal #309)

    • 12 Head tracking channels: Nasion XYZ, Left XYZ, Right XYZ, Error N/L/R (#317-#328)

    • 20 Unused channels (#3, #4, #310-#315, #329-340)

  • 3 datasets:
    • **S01_AEF_20131218_01.ds**: Run #1, 360s, 200 standard + 40 deviants

    • **S01_AEF_20131218_02.ds**: Run #2, 360s, 200 standard + 40 deviants

    • **S01_Noise_20131218_01.ds**: Empty room recordings, 30s long

    • File name: S01=Subject01, AEF=Auditory evoked field, 20131218=date(Dec 18 2013), 01=run

  • Use of the .ds, not the AUX (standard at the MNI) because they are easier to manipulate in FieldTrip

Stimulation delays

  • **Delay #1**: Production of the sound.

Between the stim markers (channel UDIO001) and the moment where the sound card plays the sound (channel UADC001). This is mostly due to the software running on the computer (stimulation software, operating system, sound card drivers, sound card electronics). The delay can be measured from the recorded files by comparing the triggers in the two channels: Delay between 11.5ms and 12.8ms**(std = 0.3ms) This delay is ** not constant, we will need to correct for it. * **Delay #2**: Transmission of the sound.

Between when the sound card plays the sound and when the subject receives the sound in the ears. This is the time it takes for the transducer to convert the analog audio signal into a sound, plus the time it takes to the sound to travel through the air tubes from the transducer to the subject’s ears. This delay cannot be estimated from the recorded signals: before the acquisition, we placed a sound meter at the extremity of the tubes to record when the sound is delivered. Delay between 4.8ms and 5.0ms**(std = 0.08ms). At a sampling rate of 2400Hz, this delay can be considered ** constant, we will not compensate for it. * **Delay #3**: Recording of the signals.

The CTF MEG systems have a constant delay of **4 samples**between the MEG/EEG channels and the analog channels (such as the audio signal UADC001), because of an anti-aliasing filtered that is applied to the first and not the second. This translate here to a ** constant delay**of **1.7ms**. * **Delay #4**: Over-compensation of delay #1.

When correcting of delay #1, the process we use to detect the beginning of the triggers on the audio signal (UADC001) sets the trigger in the middle of the ramp between silence and the beep. We “over-compensate” the delay #1 by 1.7ms. This can be considered as **constant delay**of about **-1.7ms**. * Uncorrected delays: We will correct for the delay #1, and keep the other delays (#2, #3 and #4). After we compensate for delay #1 our MEG signals will have a constant delay of about 4.9 + 1.7 - 1.7 = **4.9 ms**. We decide not to compensate for th3se delays because they do not introduce any jitter in the responses and they are not going to change anything in the interpretation of the data.

Head shape and fiducial points

*3D digitization using a Polhemus Fastrak device driven by Brainstorm (S01_20131218_*.pos) * More information: Digitize EEG electrodes and head shape_ * The output file is copied to each .ds folder and contains the following entries:

  • The position of the center of CTF coils

  • The position of the anatomical references we use in Brainstorm: Nasion and connections tragus/helix, as illustrated here_.

  • Around 150 head points distributed on the hard parts of the head (no soft tissues)

Subject anatomy

  • Subject with 1.5T MRI

  • Marker on the left cheek

  • Processed with FreeSurfer 5.3

Dataset Information#

Dataset ID

DS000246

Title

MEG-BIDS Brainstorm data sample

Year

2018

Authors

Elizabeth Bock, Peter Donhauser, Francois Tadel, Guiomar Niso, Sylvain Baillet

License

CC0

Citation / DOI

doi:10.18112/openneuro.ds000246.v1.0.1

Source links

OpenNeuro | NeMAR | Source URL

Copy-paste BibTeX
@dataset{ds000246,
  title = {MEG-BIDS Brainstorm data sample},
  author = {Elizabeth Bock and Peter Donhauser and Francois Tadel and Guiomar Niso and Sylvain Baillet},
  doi = {10.18112/openneuro.ds000246.v1.0.1},
  url = {https://doi.org/10.18112/openneuro.ds000246.v1.0.1},
}

Found an issue with this dataset?

If you encounter any problems with this dataset (missing files, incorrect metadata, loading errors, etc.), please let us know!

Report an Issue on GitHub

Technical Details#

Subjects & recordings
  • Subjects: 1

  • Recordings: 54

  • Tasks: 2

Channels & sampling rate
  • Channels: 340 (2), 301

  • Sampling rate (Hz): 2400.0

  • Duration (hours): 0.0

Tags
  • Pathology: Healthy

  • Modality: Auditory

  • Type: Perception

Files & format
  • Size on disk: 2.3 GB

  • File count: 54

  • Format: BIDS

License & citation
  • License: CC0

  • DOI: doi:10.18112/openneuro.ds000246.v1.0.1

Provenance

API Reference#

Use the DS000246 class to access this dataset programmatically.

class eegdash.dataset.DS000246(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#

Bases: EEGDashDataset

OpenNeuro dataset ds000246. Modality: meg; Experiment type: Perception; Subject type: Healthy. Subjects: 2; recordings: 3; tasks: 2.

Parameters:
  • cache_dir (str | Path) – Directory where data are cached locally.

  • query (dict | None) – Additional MongoDB-style filters to AND with the dataset selection. Must not contain the key dataset.

  • s3_bucket (str | None) – Base S3 bucket used to locate the data.

  • **kwargs (dict) – Additional keyword arguments forwarded to EEGDashDataset.

data_dir#

Local dataset cache directory (cache_dir / dataset_id).

Type:

Path

query#

Merged query with the dataset filter applied.

Type:

dict

records#

Metadata records used to build the dataset, if pre-fetched.

Type:

list[dict] | None

Notes

Each item is a recording; recording-level metadata are available via dataset.description. query supports MongoDB-style filters on fields in ALLOWED_QUERY_FIELDS and is combined with the dataset filter. Dataset-specific caveats are not provided in the summary metadata.

References

OpenNeuro dataset: https://openneuro.org/datasets/ds000246 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=ds000246

Examples

>>> from eegdash.dataset import DS000246
>>> dataset = DS000246(cache_dir="./data")
>>> recording = dataset[0]
>>> raw = recording.load()
__init__(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#
save(path, overwrite=False)[source]#

Save the dataset to disk.

Parameters:
  • path (str or Path) – Destination file path.

  • overwrite (bool, default False) – If True, overwrite existing file.

Return type:

None

See Also#