ieeg-data-release

This repository contains scripts showcasing how to download iEEG data from the data base, perform preprocessing and preliminary analyses.

https://github.com/cogitate-consortium/ieeg-data-release

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

This repository contains scripts showcasing how to download iEEG data from the data base, perform preprocessing and preliminary analyses.

Basic Info
  • Host: GitHub
  • Owner: Cogitate-consortium
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 58.9 MB
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 4
  • Open Issues: 0
  • Releases: 2
Created over 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

This repository demonstrates how to:

  • Access and download iEEG data from the Cogitate database.
  • Perform preprocessing and preliminary analyses on the data.
  • Use the cog_ieeg Python package, which contains many utilities created for the Cogitate consortium.

It accompanies the scientific data we have recently submitted and is intended to help researchers quickly get started with the dataset and tools.

1. Setup guide:

1.1. Register for access

To download our data, you must first register for an account on our data portal. Watch this video to see how, or directly register here.

1.2. Install Dependencies & cog_ieeg Package

In a dedicated Python environment (recommended), run: pip install git+https://github.com/Cogitate-consortium/iEEG-data-release.git@main#egg=cog_ieeg This single command will install all necessary dependencies and the cog_ieeg package. You will then be ready to go

2. Download the data

The various scripts presented below will download the data automatically in your home directory, under COGITATE/bids. If you wish to change this default parameter, you can adjust it with python:

from cog_ieeg.utils import set_bids_root set_bids_root("YOUR/LOCAL/PATH")

This step is optional, everything else is ready to go. You also don't need to download any data manually, has we have automated download implemented. You should only register to our database here to get your credentials. You will simply need to specify the name of the subject you would like to download, input your credentials and the data will get downloaded on your machine.

3. How to use this repository:

This repository contains Jupyter notebooks, analysis pipelines, and various utility functions. Depending on your goals, here are the key entry points:

Understanding iEEG data and the cogitate data set

Generate Single-Subject Reports

  • If you have decided you would like to do something with the cogitate data, you should go check this notebook. It can be run on each subject to get an idea of channels localization, responses observed
  • You can also run the batchsubjectsreports.py to generate HTML reports for multiple subjects at once.

Explore or Modify the cog_ieeg Package

  • Visit cog_ieeg to see the source code for the Python package. This is where various custom functions are implemented and organized.

Adopt Our Pipelines for Your Own Data

  • If you have your own data and would like to use pipelines that are similar to ours, go check the various scripts here. If your data follows the BIDS format, you should be able to adapt these pipelines with minimal effort

My personal recommendation is to always start with ieeg-data-release.ipynb notebook as it gives a really good overview of how things work in general.

How to cite us:

If you use the scripts found in this repository, you can use the DOI provided by Zenodo to cite us. And here is a bibtex:

@article{LepauvreEtAl2024, title = {COGITATE-iEEG-DATA-RELEASE}, author = {Lepauvre, Alex and Henin, Simon and Bendtz, Katarina and Sripad, Praveen and Bonacchi, Niccol and Kreiman, Gabriel and Melloni, Lucia}, year = {2024}, doi = {10.5281/zenodo.13832169}, }

If you use any the data for other purpose, you should cite the scientific data paper directly:

@article{SeedatEtAl2024, author = {Alia Seedat and Alex Lepauvre and Jay Jeschke and Urszula Gorska-Klimowska and Marcelo Armendariz and Katarina Bendtz and Simon Henin and Rony Hirschhorn and Tanya Brown and Erika Jensen and David Mazumder and Stephanie Montenegro and Leyao Yu and Niccol\`{o} Bonacchi and Praveen Sripad and Fatemeh Taheriyan and Orrin Devinsky and Patricia Dugan and Werner Doyle and Adeen Flinker and Daniel Friedman and Wendell Lake and Michael Pitts and Liad Mudrik and Melanie Boly and Sasha Devore and Gabriel Kreiman and Lucia Melloni}, title = {Open multi-center iEEG dataset with task probing conscious visual perception}, journal = {TO_BE_UPDATED}, year = {TO_BE_UPDATED}, volume = {TO_BE_UPDATED}, number = {TO_BE_UPDATED}, pages = {TO_BE_UPDATED}, doi = {TO_BE_UPDATED}, }

Contributors


Alex Lepauvre


Praveen Sripad


Simon Henin


Katarina Bendtz


Qian Chu

Contributing to iEEG-data-release

Thank you for considering contributing to our project! Here are a few guidelines to help you get started:

Pull Requests

  1. File an issue: Before making any changes, please open an issue to discuss the proposed changes. This helps us keep track of what needs to be done and ensures that your efforts align with the project's goals.
  2. Fork the repository and create your branch from main.
  3. Commit your changes and push your branch to your fork.
  4. Submit a pull request and request a review.

Branch Protection

Our main branch is protected. All changes must be made via pull requests and require approval before being merged. This helps us maintain the quality and stability of the codebase.

Code Reviews

All pull requests will be reviewed by a maintainer. Please be patient if we take a bit longer than expected.

Questions?

If you have any questions, feel free to open an issue or contact the maintainers (alex.lepauvre@).

Additional notes

The folder WU_coregistration contains scripts that were used on subjects from Wisconsin university to co-register the trigger signal with the recorded iEEG signals (as both were recorded on different systems). This procedure was applied locally on the site before sharing the raw data, and is available here only for reference purposes. It should not be applied on the data at any points.

Acknowledgments

This notebook is brought to you by the intracranial team of the COGITATE consortium.


We would like to thank all the COGITATE consortium members:


This research was supported by Templeton World Charity Foundation (TWCF0389) and the Max Planck Society. The opinions expressed in this publication are those of the authors and do not necessarily reflect the views of TWCF.

Owner

  • Name: Cogitate-consortium
  • Login: Cogitate-consortium
  • Kind: organization

GitHub Events

Total
  • Release event: 1
  • Watch event: 4
  • Issue comment event: 1
  • Push event: 7
  • Pull request event: 2
  • Fork event: 2
  • Create event: 1
Last Year
  • Release event: 1
  • Watch event: 4
  • Issue comment event: 1
  • Push event: 7
  • Pull request event: 2
  • Fork event: 2
  • Create event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 months
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • qian-chu (1)
Pull Request Authors
  • pravsripad (2)
  • qian-chu (1)
  • AlexLepauvre (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • ipython *
  • jupyter *
  • mne ==1.7.1
  • mne-bids ==0.15.0
  • networkx *
  • nibabel *
  • nilearn *
  • pandas *
  • pingouin *
  • pyqt5 *
  • pyvista *
  • pyvistaqt *
  • pyyaml *
  • xnat *
environment.yml pypi
setup.py pypi