Skip to main content

TAD

PyPI version Documentation Status DOI

TAD logo

TAD ("They All Die") is a Python package for handling and analyzing neural recordings, with a focus on spike rasters, burst detection, synchrony, firing rates, avalanches, and event-triggered analyses.

TAD is developed jointly at:

Scientific context

At this stage, TAD is primarily grounded in the analysis workflows described in:

  1. Pasquale, V., Massobrio, P., Bologna, L. L., Chiappalone, M., & Martinoia, S. (2008). Self-organization and neuronal avalanches in networks of dissociated cortical neurons. Neuroscience, 153(4), 1354-1369.
  2. Bologna, L. L., Pasquale, V., Garofalo, M., Gandolfo, M., Baljon, P. L., Maccione, A., ... & Chiappalone, M. (2010). Investigating neuronal activity by SPYCODE multi-channel data analyzer. Neural Networks, 23(6), 685-697.

Features

  • Flexible raster creation, manipulation, and serialization
  • Spike metrics such as counts, rates, and inter-spike intervals
  • Burst detection and burst-related visualizations
  • Avalanche analysis and synchrony metrics
  • Trigger and event-window handling
  • Support for Multi Channel Systems recordings

Installation

For a standard user installation, install TAD from PyPI:

pip install tad-py

If you want to work on TAD locally in development mode:

git clone https://github.com/Neuro-Interface-Lab/TAD.git
cd TAD
pip install -e ".[dev]"

If you prefer a conda-based environment, you can also use:

conda env create -f environment.yml
conda activate tad-env

Quick start

import numpy as np
from tad import Raster

raster = Raster.empty(channels=range(10))

for ch in range(10):
    raster.insert_timestamparray(
        ch,
        np.random.uniform(0, 10, 100),
    )

raster.save("my_raster.h5", h5=True)

Documentation

Citation

The repository now includes a CITATION.cff file for GitHub and a .zenodo.json file for Zenodo metadata.

Once Zenodo is connected to the GitHub repository and the first GitHub release is archived, TAD will receive a DOI that can be added here as a badge and used in future scientific publications.

License

TAD is distributed under the GPL-3.0 license.

Metadata

Release files for tad-py 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tad-py 1.0.3
File Size Uploaded Provenance
tad_py-1.0.3.tar.gz 83.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tad-py 1.0.3
File Interpreter ABI Platform
tad_py-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 165.2 kB

Release files / tad_py-1.0.3.tar.gz

Download URL tad_py-1.0.3.tar.gz
Size 83.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4ab78332bf848f7f63bedf88a0d181686ded8e487dfe16121138ac44283995dd
BLAKE2b-256 checksum
How to use checksums
e43c5cfd5cf0e325064c355aef0dcf34657988b5532d1c8425aeaf744743bd35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / tad_py-1.0.3-py3-none-any.whl

Download URL tad_py-1.0.3-py3-none-any.whl
Size 81.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1eae1b1ee3e1a630e1ece7d3b13ffcc55aabb862bcb8c72caf8c21a733cc144a
BLAKE2b-256 checksum
How to use checksums
a69f7f6352555ff1728e0a8b86e4a94386d5baa0661f67019ceb934031ec67ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for tad-py 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page