Rodent EEG analysis tools
Project description
NeuRodent 🐁
Presented at USRSE'25!
A Python package for standardizing rodent EEG analysis and figure generation. Various EEG formats are loadable and features are extracted in parallel. Also includes a Snakemake workflow for automated analysis.
Installation
NeuRodent can be installed via pip:
pip install neurodent
For pipeline support, development setup, and other installation options, check out the full installation guide.
Usage
Visit the full documentation for more how-tos and examples: https://josephdong1000.github.io/neurodent
Overview
NeuRodent loads multi-format EEG data (LongRecordingAnalyzer → AnimalOrganizer) and computes features over windows (WindowAnalysisResult) and population spiking (FrequencyDomainSpikeAnalysisResult). Results feed into AnimalOrganizer and ExperimentPlotter for multi-animal comparison by genotype, session, or circadian cycle.
lro = LongRecordingOrganizer(data_path)
ao = AnimalOrganizer(lro)
war = ao.compute_windowed_analysis(features=["rms", "psdband", "cohere"])
ep = ExperimentPlotter([war])
ep.plot_feature("rms", groupby="genotype")
A companion Snakemake workflow automates the full pipeline with cluster support.
Snakemake Workflow
The pipeline follows the Snakemake Workflow Catalog standardized layout, with workflow/Snakefile as the single entry point.
# Deploy via snakedeploy
pip install snakedeploy
snakedeploy deploy-workflow https://github.com/josephdong1000/neurodent . --tag <version>
# Run manually
snakemake --snakefile workflow/Snakefile --configfile config/config.yaml
Acknowledgements
This project benefited from insights and best practices described in Peter K. G. Williams’s One Good Tutorial.
Citation
If you find NeuRodent useful, please cite our work!
@misc{https://doi.org/10.5281/zenodo.17051374,
doi = {10.5281/ZENODO.17051374},
url = {https://zenodo.org/doi/10.5281/zenodo.17051374},
author = {Dong, Joseph and Yongtaek Oh, and Marsh, Eric},
title = {josephdong1000/PyEEG: 0.1.1},
publisher = {Zenodo},
year = {2025},
copyright = {MIT License}
}
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
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 neurodent-0.3.0.tar.gz.
File metadata
- Download URL: neurodent-0.3.0.tar.gz
- Upload date:
- Size: 347.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a85f0b1a3bf4f96f623d6d73f6f513179cc0b936133cf4d08004cf65286d07aa
|
|
| MD5 |
48b55c1aea9b62e11a8d378b0b2d2f1f
|
|
| BLAKE2b-256 |
17cad43e5feb49bb3e9ee414962f10732d7ad95931daf65076fca9f844182033
|
Provenance
The following attestation bundles were made for neurodent-0.3.0.tar.gz:
Publisher:
publish.yml on josephdong1000/neurodent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neurodent-0.3.0.tar.gz -
Subject digest:
a85f0b1a3bf4f96f623d6d73f6f513179cc0b936133cf4d08004cf65286d07aa - Sigstore transparency entry: 1128857569
- Sigstore integration time:
-
Permalink:
josephdong1000/neurodent@a116ff35914e1d3a37219fd3ae9c5f88b231601b -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/josephdong1000
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a116ff35914e1d3a37219fd3ae9c5f88b231601b -
Trigger Event:
release
-
Statement type:
File details
Details for the file neurodent-0.3.0-py3-none-any.whl.
File metadata
- Download URL: neurodent-0.3.0-py3-none-any.whl
- Upload date:
- Size: 152.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac5c54814a7c40d4c35f5e8eae6c2baf1e009f387fd3938b424e80609d2cf094
|
|
| MD5 |
24b358e29667a9f3279a01626da49f43
|
|
| BLAKE2b-256 |
2c2203a8172672708c5f1efca1bd28ddb203cd04d9435ec53b3fe6e346089377
|
Provenance
The following attestation bundles were made for neurodent-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on josephdong1000/neurodent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neurodent-0.3.0-py3-none-any.whl -
Subject digest:
ac5c54814a7c40d4c35f5e8eae6c2baf1e009f387fd3938b424e80609d2cf094 - Sigstore transparency entry: 1128857602
- Sigstore integration time:
-
Permalink:
josephdong1000/neurodent@a116ff35914e1d3a37219fd3ae9c5f88b231601b -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/josephdong1000
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a116ff35914e1d3a37219fd3ae9c5f88b231601b -
Trigger Event:
release
-
Statement type: