Skip to main content

They All Die (TAD)

Project description

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.

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

tad_py-1.0.3.tar.gz (83.7 kB view details)

Uploaded Source

Built Distribution

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

tad_py-1.0.3-py3-none-any.whl (81.5 kB view details)

Uploaded Python 3

File details

Details for the file tad_py-1.0.3.tar.gz.

File metadata

  • Download URL: tad_py-1.0.3.tar.gz
  • Upload date:
  • Size: 83.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tad_py-1.0.3.tar.gz
Algorithm Hash digest
SHA256 4ab78332bf848f7f63bedf88a0d181686ded8e487dfe16121138ac44283995dd
MD5 ac49c0c5f4dd30c2eb90f27a8f3525c8
BLAKE2b-256 e43c5cfd5cf0e325064c355aef0dcf34657988b5532d1c8425aeaf744743bd35

See more details on using hashes here.

File details

Details for the file tad_py-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: tad_py-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 81.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tad_py-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1eae1b1ee3e1a630e1ece7d3b13ffcc55aabb862bcb8c72caf8c21a733cc144a
MD5 46cfa603bfd7d051636c717ac2e39972
BLAKE2b-256 a69f7f6352555ff1728e0a8b86e4a94386d5baa0661f67019ceb934031ec67ab

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