Skip to main content

A toolbox for EEG analysis at CCS, NIMHANS.

Project description

CCS EEG Toolbox (ccstools)

A Python toolbox for EEG analysis at the Center for Cognitive Sciences (CCS), NIMHANS. This toolbox provides functions for PSD estimation, aperiodic component extraction (FOOOF, IRASA), non-linear measures (entropy, fractal dimension), signal processing, and more.

Features

  • EEG Feature Extraction: PSD, FOOOF, IRASA, ACW, Catch22, and non-linear complexity measures.
  • Signal Processing: Filtering, windowing, and synchronization tools.
  • File IO: Support for various formats including Curry, EDF, and custom formats.
  • Recording: Tools for real-time EEG recording and manipulation.
  • Plotting: Visualization for EEG signals and analysis results.

Installation

To install the toolbox in editable mode (recommended for development):

git clone https://github.com/arunsasidharan84/ccs_toolbox
cd ccs_toolbox
pip install -e .

Basic Usage

import ccstools
from ccstools.eegfeatures import generate_multieegfeatures

# Example load and process
# data = ... (n_epoch x n_chan x n_samples)
# srate = 500
# chanlist = ['Fz', 'Cz', 'Pz']

# df = generate_multieegfeatures(data, srate, chanlist)
# print(df.head())

Structure

ccstools/
├── ccs_eeg/        # Pipeline and utility functions
├── eegfeatures.py  # Feature extraction (PSD, FOOOF, etc.)
├── sigproc.py      # Signal processing functions
├── fileio.py       # Input/Output help
├── plot.py         # EEG plotting utilities
└── ...             # Other specialized modules

Author

  • Arun Sasidharan - NIMHANS, Bengaluru.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

ccstools-0.1.0.tar.gz (141.0 kB view details)

Uploaded Source

Built Distribution

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

ccstools-0.1.0-py3-none-any.whl (152.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ccstools-0.1.0.tar.gz
  • Upload date:
  • Size: 141.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ccstools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 826af1ab99e62c72e1474e22c0fe81394114c4f73041bda07bc450518b986f2c
MD5 6678aea9cd1fd32fcba13ee48c599c0b
BLAKE2b-256 bc296dfc5ab86809abe0bd97a2a3638e5e91c5c9a16dc82eb338a94ceeb670e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccstools-0.1.0.tar.gz:

Publisher: publish.yml on arunsasidharan84/ccs_toolbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: ccstools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 152.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ccstools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ff6a6c32398641c765d481087bd65221ba1458367dd33f42e47cf696c35826a
MD5 52e7d482eb42b908bdb1debc461ef603
BLAKE2b-256 28ebba0022db7118a1959af2e2656bd7c163016aecb483d3a4f190fa2133b236

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccstools-0.1.0-py3-none-any.whl:

Publisher: publish.yml on arunsasidharan84/ccs_toolbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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