Skip to content

childmindresearch/eeg_research

DOI

EEG Research @ CMI

Build codecov Ruff stability-stable LGPL--3.0 License pages

The purpose of this monorepository is to group all software tools and pipelines related to EEG (experiment, cleaning, analysis etc.). This repository is maintained by Child Mind Institute.

This library operates within a BIDS (Brain Imaging Data Structure) environment, requiring the EEG data to be organized according to BIDS standards.

What is BIDS?

The Brain Imaging Data Structure (BIDS) is a standard for organizing and describing neuroimaging data. BIDS datasets organize data into a series of files and folders, with each file and folder name providing important information about the data it contains. This standardization makes it easier to share and analyze data across different labs and research groups.

Features

  • EEG-fMRI cleaning pipeline:

    • Gradient Artifact Removal: Implements FILL IN HERE to minimize the impact of gradient artifacts caused by the radiofrequency pulses in the MR scanner.
    • Ballistocardiogram (BCG) Artifact Correction: Utilizes FILL IN HERE to identify and remove artifacts related to cardiac activity.
    • Quality Control: Offers a series of checks and visualizations to assess the effectiveness of artifact removal and the overall quality of the EEG data post-cleaning.
    • Interactive Menu: Provides an interactive menu for users to select specific cleaning steps and configure parameters, making the pipeline more intuitive and user-friendly to navigate.
    • Automated Workflow: Allows users to run the cleaning pipeline with predefined arguments for a more automated and streamlined process, ideal for batch processing multiple subjects, sessions, or tasks.
  • PLACEHOLDER PIPELINE:

    • FILL IN HERE

Requirements

To use this library, following dependencies will be installed on your system:

Installation

Install this package via:

pip install PLACEHOLDER_NAME

Or get the newest development version via:

pip install git+https://github.com/childmindresearch/eeg_research

Documentation

The documentation for this library can be found here.

Quick start

If you want to run the EEG-fMRI cleaning pipeline in interactive mode:

eeg_fmri_cleaning --root "path/to/your/datafolder" --interactive

If you want to run the EEG-fMRI cleaning pipeline with predefined arguments (subject, session, task, etc.) for a more automated workflow:

eeg_fmri_cleaning --root "path/to/your/datafolder" --subject "*" --session "*" --task "rest" --run "1-3" --extension ".vhdr" --datatype "eeg" --gradient --bcg --qc

See here for a more complete example.

About

This is a repo for all EEG related software tools that will be developed.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •