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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
826af1ab99e62c72e1474e22c0fe81394114c4f73041bda07bc450518b986f2c
|
|
| MD5 |
6678aea9cd1fd32fcba13ee48c599c0b
|
|
| BLAKE2b-256 |
bc296dfc5ab86809abe0bd97a2a3638e5e91c5c9a16dc82eb338a94ceeb670e0
|
Provenance
The following attestation bundles were made for ccstools-0.1.0.tar.gz:
Publisher:
publish.yml on arunsasidharan84/ccs_toolbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccstools-0.1.0.tar.gz -
Subject digest:
826af1ab99e62c72e1474e22c0fe81394114c4f73041bda07bc450518b986f2c - Sigstore transparency entry: 1247635318
- Sigstore integration time:
-
Permalink:
arunsasidharan84/ccs_toolbox@4b223c20cacecfd5a6219783bad5558b9a2fdc0b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/arunsasidharan84
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b223c20cacecfd5a6219783bad5558b9a2fdc0b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ff6a6c32398641c765d481087bd65221ba1458367dd33f42e47cf696c35826a
|
|
| MD5 |
52e7d482eb42b908bdb1debc461ef603
|
|
| BLAKE2b-256 |
28ebba0022db7118a1959af2e2656bd7c163016aecb483d3a4f190fa2133b236
|
Provenance
The following attestation bundles were made for ccstools-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on arunsasidharan84/ccs_toolbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccstools-0.1.0-py3-none-any.whl -
Subject digest:
7ff6a6c32398641c765d481087bd65221ba1458367dd33f42e47cf696c35826a - Sigstore transparency entry: 1247635492
- Sigstore integration time:
-
Permalink:
arunsasidharan84/ccs_toolbox@4b223c20cacecfd5a6219783bad5558b9a2fdc0b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/arunsasidharan84
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4b223c20cacecfd5a6219783bad5558b9a2fdc0b -
Trigger Event:
push
-
Statement type: