Skip to main content

They All Die (TAD)

Project description

TAD

PyPI version Documentation Status

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.2.tar.gz (78.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.2-py3-none-any.whl (76.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tad_py-1.0.2.tar.gz
  • Upload date:
  • Size: 78.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.2.tar.gz
Algorithm Hash digest
SHA256 114aa63899a955a2dae1b3126e77177a586e5ee93cb0cbe449fc740570fa6e6a
MD5 c1fc9f0a416b93d9c4446bc02e55eb0f
BLAKE2b-256 c5bacd9f29329b29d44d1a5ddcb4bfd0ee36587aa8791cc4d50fd1f402aada6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tad_py-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 76.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a392e626816bc4fffe78467e2aea7e65f1fbf3870ade6b1ffb29ccc17de113c4
MD5 a8d305e48053cab312dee3946b0fb68e
BLAKE2b-256 f173a0199fee62c5cd2a347abbab468ad2c83d3019d4e6f84b13f9e049a65b80

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