Skip to main content

Preprocessing pipeline for the CST dataset at Nathan Kline Institute

Project description

DOI

CST EEG Preprocessing pipeline

This repository hosts the code for preprocessing EEG data during a CST at Nathan Kline Institute.

eeg_cst_preprocessing

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

Installation

Install this package via :

pip install eeg_preprocessing_cst

Or get the newest development version via:

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

Quick start

The pipeline can be called with the following code:

from eeg_preprocessing_cst.pipeline import CSTpreprocessing as preprocess

Then you just have to create the object and provide the EEG filename and the events filename (in .csv format) as follow:

preprocess = preprocess(EEG_filename, events_filename)

Then, to prepare you raw data for processing you run the following code:

preprocess.set_annotations_to_raw().set_montage()

Finally you can run the different cleaning pipelines (careful it can take a very long time):

preprocess.run_prep()
preprocess.run_asr()

Links or References

TODO

add pyprep and asr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eeg_preprocessing_cst-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eeg_preprocessing_cst-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file eeg_preprocessing_cst-0.1.0.tar.gz.

File metadata

  • Download URL: eeg_preprocessing_cst-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.4.0

File hashes

Hashes for eeg_preprocessing_cst-0.1.0.tar.gz
Algorithm Hash digest
SHA256 61648b832b3c93e6c49d73d01d2c8ba6000cb3fcda6a385d8eb8eb2fc1110f2a
MD5 100e42ac148a70dcc3b41021244a361b
BLAKE2b-256 63d0b078b07d104469310ee46f6f59c76dbda9309dfc50b42286efe799d1dc31

See more details on using hashes here.

File details

Details for the file eeg_preprocessing_cst-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for eeg_preprocessing_cst-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b325f6eef9e52e8b8dc0caad05ffb09f8b2e5d3d259a3f47029a165cfa1cd15
MD5 8cd6c08b209989ef3e18ec66edf2e366
BLAKE2b-256 9f6dff02dcb38ac300ea693932e09bafbf21d9ca1f810555a853906726090bbb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page