SlideShare a Scribd company logo
Organizing EEG data using the
Brain Imaging Data Structure
Robert Oostenveld
Donders Institute, Radboud University, Nijmegen, NL
Karolinska Institutet, Stockholm, SE
r.oostenveld@donders.ru.nl
https://bids-specification.readthedocs.io/
http://bids.neuroimaging.io
these slides will be shared on https://www.slideshare.net/RobertOostenveld
Science – methods and tools are changing
Open Science – infrastructure and tools
Git and GitHub, Gitlab, BitBucket
Work together on code for analyses
Open Science Framework (osf.io)
Work together on documenting
DataVerse, Zenodo, etc
Sharing of data
Code Ocean, Microsoft Azure, Anaconda Clould
Cloud-based computational reproducibility platform
Past - Black-and-white version of article printed on paper and stored in library
Present - PDF for download, sometimes online supplementary material
Future - Online notebooks that allow full reproduction of results (and more)
Lab notebook
Science is getting more exiting – but also requires new skills
Outline of this talk
How is BIDS extended to EEG?
What is specific for EEG?
File formats
Channels and electrodes
Coordinates
Other details
Re-using BIDS EEG datasets
Creating BIDS EEG datasets
Brain Imaging Data Structure
https://www.nature.com/articles/sdata201644
https://www.nature.com/articles/sdata2018110
https://psyarxiv.com/63a4y/
https://psyarxiv.com/r7vc2/ Both accepted for publication in Scientific Data and soon to appear
BIDS for MRI, MEG, EEG, iEEG,etc.
data/README
CHANGES
dataset_description.json
participants.tsv
/sub-01/anat/…
/sub-01/meg/…
/sub-01/eeg/sub-01_task-auditory_eeg.edf
/sub-01/eeg/sub-01_task-auditory_eeg.json
/sub-01/eeg/sub-01_task-auditory_channels.tsv
/sub-01/eeg/sub-01_task-auditory_events.tsv
/sub-01/eeg/sub-01_electrodes.tsv
/sub-01/eeg/sub-01_coordinates.json
raw EEG data
general
metadata
electrode
positions
Fileformats for EEG data in BIDS
Recommended
BrainVision Core file fomat (*.vhdr, *.vmrk, *.eeg)
European Data Format (*.edf)
Allowed
Biosemi (*.bdf)
EEGLAB (*.set) -> MATLAB, HDF5-based
Limited number of formats that should …
1) address the needs of a large portion of the global EEG community
2) be a FAIR format, with a focus on Interoperability
3) meet the technical requirements of neuroscientific workflows
https://www.brainproducts.com/productdetails.php?id=21&tab=5
https://www.biosemi.com/faq/file_format.htm
https://www.edfplus.info
https://www.hdfgroup.org/solutions/hdf5/ and EEGLAB
EEG data sidecar file
Capture information that is not present in the data file
• What was the task or instruction to the subject?
• Which electrode cap was used?
• Which amplifier was used?
• Is line noise at 50Hz or 60Hz?
• Where was the reference electrode placed?
• …
Makes some information more easily available
• Number of channels with EEG, EOG, etc.
• …
Channels and electrodes
Electrode
A single point of contact between the acquisition
system and the recording site
Channel
A single analog-to-digital converter in the
recording system that regularly samples the value
of a transducer, which results in the signal being
represented as a time series in the digitized data.
Note that GND and REF are electrodes, but usually not
channels.
Coordinates
If EEG electrode positions are digitized and specified,
then the coordinate system should also be specified.
Fiducials
objects with a well defined location used to facilitate the localization of electrodes and
co-registration with other geometric data such as the participant's own T1 weighted
magnetic resonance head image, a T1 weighted template head image, or a spherical
head model.
Anatomical landmarks
locations on a research subject such as the nasion, which is the intersection of the
frontal bone and two nasal bones of the human skull.
Task and event details
http://www.hedtags.org
http://wiki.cogpo.org
https://www.cognitiveatlas.org
Outline of this talk
How is BIDS extended to EEG?
What is specific for EEG?
File formats
Channels and electrodes
Coordinates
Other details
Re-using BIDS EEG datasets
Creating BIDS EEG datasets
Re-using BIDS EEG datasets
…. just use your standard tools!
EEG data in BIDS is stored in formats supported by all EEG software.
Metadata is in human and machine-readable format (tsv, json).
In the future it is likely that complete (semi)-automatic analysis
pipelines will be implemented to process complete datasets.
Creating BIDS EEG datasets
http://www.fieldtriptoolbox.org/example/bids/
Tools are also currently being developed in
EEGLAB, BrainStorm, SPM, MNE-Python, etc.
BrainVision is also extending their
software to be more BIDS friendly.
Quick demo
Why share your EEG data BIDS?
Sharing your data (externally) increases your research impact.
Archiving your data properly (internally) increases its future value.
Document for your “future self”, so that you don’t forget the details
(and that others will know them as well).
Plan your experiment, acquire the data, organize it in BIDS,
and only then start analyzing it!
Share/publish your research output
Peer-reviewed publication is the primary output!
More details in your analysis than fits in your “Methods” section.
Not possible to describe all details in human-oriented text.
Raw data
EEG, lab notes, etc
Analysis details
MATLAB, Python, R, SPSS, Bash, …
Analysis results
Output of the computations
-> BIDS for raw EEG data
-> BIDS derivatives (work-in-progress)
-> possibly BIDS apps, otherwise
github or similar
https://bids-specification.readthedocs.io/
http://bids.neuroimaging.io
these slides will be shared on https://www.slideshare.net/RobertOostenveld
Organizing EEG data using the Brain Imaging Data Structure

More Related Content

PPTX
The Brain Imaging Data Structure and its use for fNIRS
PPTX
Donders neuroimage toolkit - open science and good practices
PPTX
The Donders Repository
PPTX
Using Open Science to advance science - advancing open data
PPTX
CuttingEEG - Open Science, Open Data and BIDS for EEG
PPTX
Donders Repository - removing barriers for management and sharing of research...
PDF
BIOMAG2018 - Denis Engemann - MNE-HCP
PPTX
IDCC Workshop: Analysing DMPs to inform research data services: lessons from ...
The Brain Imaging Data Structure and its use for fNIRS
Donders neuroimage toolkit - open science and good practices
The Donders Repository
Using Open Science to advance science - advancing open data
CuttingEEG - Open Science, Open Data and BIDS for EEG
Donders Repository - removing barriers for management and sharing of research...
BIOMAG2018 - Denis Engemann - MNE-HCP
IDCC Workshop: Analysing DMPs to inform research data services: lessons from ...

What's hot (19)

PDF
Research Data Management: What is it and why is the Library & Archives Servic...
PPTX
Introduction to Data Management
PPT
University of Bath Research Data Management training for researchers
PDF
A basic course on Research data management: part 1 - part 4
PDF
Data management (1)
PDF
Brain Imaging Data Structure
PDF
Brain Imaging Data Structure and Center for Reproducible Neuroscince
PDF
Research data management: course 0HV90, Behavioral Research Methods
PPTX
Introduction to research data management; Lecture 01 for GRAD521
PDF
Drug Repurposing using Deep Learning on Knowledge Graphs
PPTX
Developing data services: a tale from two Oregon universities
PPTX
Donders Research Data Repository
PPTX
Being FAIR: Enabling Reproducible Data Science
PPT
Digital Forensics in the Archive
PDF
Reproducible research: First steps.
PDF
Cedar OnDemand: An intelligent browser extension to generate ontology-based m...
PPT
Data curation issues for repositories
PPTX
Being FAIR: FAIR data and model management SSBSS 2017 Summer School
PPT
Research Data Sharing LERU
Research Data Management: What is it and why is the Library & Archives Servic...
Introduction to Data Management
University of Bath Research Data Management training for researchers
A basic course on Research data management: part 1 - part 4
Data management (1)
Brain Imaging Data Structure
Brain Imaging Data Structure and Center for Reproducible Neuroscince
Research data management: course 0HV90, Behavioral Research Methods
Introduction to research data management; Lecture 01 for GRAD521
Drug Repurposing using Deep Learning on Knowledge Graphs
Developing data services: a tale from two Oregon universities
Donders Research Data Repository
Being FAIR: Enabling Reproducible Data Science
Digital Forensics in the Archive
Reproducible research: First steps.
Cedar OnDemand: An intelligent browser extension to generate ontology-based m...
Data curation issues for repositories
Being FAIR: FAIR data and model management SSBSS 2017 Summer School
Research Data Sharing LERU
Ad

Similar to Organizing EEG data using the Brain Imaging Data Structure (20)

PPTX
Connecting GLIMR with the BIDS initiative
PPTX
Challenges in the analysis of EEG – How Open Source and Open Data can help
PDF
Basics of Brain-Computer Interface
PDF
System Architecture for Brain-Computer Interface based on Machine Learning an...
PPTX
Brain Waves Surfing - (In)security in EEG (Electroencephalography) Technologies
PDF
Ab044195198
PDF
Brain frequency based handicap wheelchair
PPTX
EEG signal background and real-time processing
PDF
Bid scoin ohbm2019-poster
PDF
Hacking Brain Computer Interfaces
PDF
BIOMAG2018 - Vladimir Litvak - Frontiers
PPTX
Puce cutting eeg_paris2018
PPT
EEG_circuit.ppt
PPT
EEG_circut.ppt
PPTX
ICCN-30.ppt (1).pptx for ug students rtr
PPTX
Eva Mohedano, "Investigating EEG for Saliency and Segmentation Applications i...
PDF
Neural signal processing by mustafa rasheed & zeena saadon & walaa kahtan 2015
PPTX
INTRODUCTION TO BCI-Brain Computer and Interface.pptx
PPT
Braincomputerinterface ppt
PDF
Brain Computer Interface. Research and Innovation Project
Connecting GLIMR with the BIDS initiative
Challenges in the analysis of EEG – How Open Source and Open Data can help
Basics of Brain-Computer Interface
System Architecture for Brain-Computer Interface based on Machine Learning an...
Brain Waves Surfing - (In)security in EEG (Electroencephalography) Technologies
Ab044195198
Brain frequency based handicap wheelchair
EEG signal background and real-time processing
Bid scoin ohbm2019-poster
Hacking Brain Computer Interfaces
BIOMAG2018 - Vladimir Litvak - Frontiers
Puce cutting eeg_paris2018
EEG_circuit.ppt
EEG_circut.ppt
ICCN-30.ppt (1).pptx for ug students rtr
Eva Mohedano, "Investigating EEG for Saliency and Segmentation Applications i...
Neural signal processing by mustafa rasheed & zeena saadon & walaa kahtan 2015
INTRODUCTION TO BCI-Brain Computer and Interface.pptx
Braincomputerinterface ppt
Brain Computer Interface. Research and Innovation Project
Ad

More from Robert Oostenveld (16)

PPTX
FieldTrip tutorial at WIRED20204 in Paris
PPTX
Developing and sharing tools for bioelectromagnetic research
PPTX
Spectral-, source-, connectivity- and network analysis of EEG and MEG data
PPTX
EEG, MEG and FieldTrip
PPTX
OHBM 2020 OSR - Brain research data sharing and personal data privacy
PDF
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
PDF
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
PDF
BIOMAG2018 - Darren Price - CamCAN
PPTX
ChildBrain/Predictable summer school - Open Science
PPTX
Using Open Science to accelerate advancements in auditory EEG signal processing
PPTX
RDM and the Donders Repository
PDF
Real-time EEG: timing and block size
PPTX
On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
PPTX
Group analyses with FieldTrip
PPTX
Donders Institute - Research Data Management
PPTX
EEGSynth pitch for brainhack@paris
FieldTrip tutorial at WIRED20204 in Paris
Developing and sharing tools for bioelectromagnetic research
Spectral-, source-, connectivity- and network analysis of EEG and MEG data
EEG, MEG and FieldTrip
OHBM 2020 OSR - Brain research data sharing and personal data privacy
BIOMAG2018 - Tzvetan Popov - HCP from a user's perspective
BIOMAG2018 - Jan-Mathijs Schoffelen - COBIDAS
BIOMAG2018 - Darren Price - CamCAN
ChildBrain/Predictable summer school - Open Science
Using Open Science to accelerate advancements in auditory EEG signal processing
RDM and the Donders Repository
Real-time EEG: timing and block size
On the large scale of studying dynamics with MEG: Lessons learned from the Hu...
Group analyses with FieldTrip
Donders Institute - Research Data Management
EEGSynth pitch for brainhack@paris

Recently uploaded (20)

PPTX
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
PPTX
ECG_Course_Presentation د.محمد صقران ppt
PPTX
Derivatives of integument scales, beaks, horns,.pptx
PDF
Phytochemical Investigation of Miliusa longipes.pdf
PPTX
Comparative Structure of Integument in Vertebrates.pptx
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PPTX
BIOMOLECULES PPT........................
PPTX
INTRODUCTION TO EVS | Concept of sustainability
PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
PPTX
neck nodes and dissection types and lymph nodes levels
PDF
Sciences of Europe No 170 (2025)
PPTX
2Systematics of Living Organisms t-.pptx
PDF
. Radiology Case Scenariosssssssssssssss
PDF
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
PPTX
Cell Membrane: Structure, Composition & Functions
PPTX
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
PDF
The scientific heritage No 166 (166) (2025)
PDF
lecture 2026 of Sjogren's syndrome l .pdf
PPTX
2. Earth - The Living Planet Module 2ELS
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
ECG_Course_Presentation د.محمد صقران ppt
Derivatives of integument scales, beaks, horns,.pptx
Phytochemical Investigation of Miliusa longipes.pdf
Comparative Structure of Integument in Vertebrates.pptx
7. General Toxicologyfor clinical phrmacy.pptx
BIOMOLECULES PPT........................
INTRODUCTION TO EVS | Concept of sustainability
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
neck nodes and dissection types and lymph nodes levels
Sciences of Europe No 170 (2025)
2Systematics of Living Organisms t-.pptx
. Radiology Case Scenariosssssssssssssss
ELS_Q1_Module-11_Formation-of-Rock-Layers_v2.pdf
Cell Membrane: Structure, Composition & Functions
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
The scientific heritage No 166 (166) (2025)
lecture 2026 of Sjogren's syndrome l .pdf
2. Earth - The Living Planet Module 2ELS

Organizing EEG data using the Brain Imaging Data Structure

  • 1. Organizing EEG data using the Brain Imaging Data Structure Robert Oostenveld Donders Institute, Radboud University, Nijmegen, NL Karolinska Institutet, Stockholm, SE r.oostenveld@donders.ru.nl
  • 3. Science – methods and tools are changing
  • 4. Open Science – infrastructure and tools Git and GitHub, Gitlab, BitBucket Work together on code for analyses Open Science Framework (osf.io) Work together on documenting DataVerse, Zenodo, etc Sharing of data Code Ocean, Microsoft Azure, Anaconda Clould Cloud-based computational reproducibility platform Past - Black-and-white version of article printed on paper and stored in library Present - PDF for download, sometimes online supplementary material Future - Online notebooks that allow full reproduction of results (and more) Lab notebook Science is getting more exiting – but also requires new skills
  • 5. Outline of this talk How is BIDS extended to EEG? What is specific for EEG? File formats Channels and electrodes Coordinates Other details Re-using BIDS EEG datasets Creating BIDS EEG datasets
  • 6. Brain Imaging Data Structure https://www.nature.com/articles/sdata201644 https://www.nature.com/articles/sdata2018110
  • 8. BIDS for MRI, MEG, EEG, iEEG,etc. data/README CHANGES dataset_description.json participants.tsv /sub-01/anat/… /sub-01/meg/… /sub-01/eeg/sub-01_task-auditory_eeg.edf /sub-01/eeg/sub-01_task-auditory_eeg.json /sub-01/eeg/sub-01_task-auditory_channels.tsv /sub-01/eeg/sub-01_task-auditory_events.tsv /sub-01/eeg/sub-01_electrodes.tsv /sub-01/eeg/sub-01_coordinates.json raw EEG data general metadata electrode positions
  • 9. Fileformats for EEG data in BIDS Recommended BrainVision Core file fomat (*.vhdr, *.vmrk, *.eeg) European Data Format (*.edf) Allowed Biosemi (*.bdf) EEGLAB (*.set) -> MATLAB, HDF5-based Limited number of formats that should … 1) address the needs of a large portion of the global EEG community 2) be a FAIR format, with a focus on Interoperability 3) meet the technical requirements of neuroscientific workflows https://www.brainproducts.com/productdetails.php?id=21&tab=5 https://www.biosemi.com/faq/file_format.htm https://www.edfplus.info https://www.hdfgroup.org/solutions/hdf5/ and EEGLAB
  • 10. EEG data sidecar file Capture information that is not present in the data file • What was the task or instruction to the subject? • Which electrode cap was used? • Which amplifier was used? • Is line noise at 50Hz or 60Hz? • Where was the reference electrode placed? • … Makes some information more easily available • Number of channels with EEG, EOG, etc. • …
  • 11. Channels and electrodes Electrode A single point of contact between the acquisition system and the recording site Channel A single analog-to-digital converter in the recording system that regularly samples the value of a transducer, which results in the signal being represented as a time series in the digitized data. Note that GND and REF are electrodes, but usually not channels.
  • 12. Coordinates If EEG electrode positions are digitized and specified, then the coordinate system should also be specified. Fiducials objects with a well defined location used to facilitate the localization of electrodes and co-registration with other geometric data such as the participant's own T1 weighted magnetic resonance head image, a T1 weighted template head image, or a spherical head model. Anatomical landmarks locations on a research subject such as the nasion, which is the intersection of the frontal bone and two nasal bones of the human skull.
  • 13. Task and event details http://www.hedtags.org http://wiki.cogpo.org https://www.cognitiveatlas.org
  • 14. Outline of this talk How is BIDS extended to EEG? What is specific for EEG? File formats Channels and electrodes Coordinates Other details Re-using BIDS EEG datasets Creating BIDS EEG datasets
  • 15. Re-using BIDS EEG datasets …. just use your standard tools! EEG data in BIDS is stored in formats supported by all EEG software. Metadata is in human and machine-readable format (tsv, json). In the future it is likely that complete (semi)-automatic analysis pipelines will be implemented to process complete datasets.
  • 16. Creating BIDS EEG datasets http://www.fieldtriptoolbox.org/example/bids/ Tools are also currently being developed in EEGLAB, BrainStorm, SPM, MNE-Python, etc. BrainVision is also extending their software to be more BIDS friendly.
  • 18. Why share your EEG data BIDS? Sharing your data (externally) increases your research impact. Archiving your data properly (internally) increases its future value. Document for your “future self”, so that you don’t forget the details (and that others will know them as well). Plan your experiment, acquire the data, organize it in BIDS, and only then start analyzing it!
  • 19. Share/publish your research output Peer-reviewed publication is the primary output! More details in your analysis than fits in your “Methods” section. Not possible to describe all details in human-oriented text. Raw data EEG, lab notes, etc Analysis details MATLAB, Python, R, SPSS, Bash, … Analysis results Output of the computations -> BIDS for raw EEG data -> BIDS derivatives (work-in-progress) -> possibly BIDS apps, otherwise github or similar

Editor's Notes

  • #5: OSF is the service by the Center for Open Science
  • #10: Imagine in 10 years from now, where quite some of us will be working at different places, we might not be using our current tools any more: we want to archive and publish data such that it remains accessible
  • #12: A channel can be connected to two electrodes (to measure the potential difference between them), a magnetic field or magnetic gradient sensor, temperature sensor, accelerometer, etc.