Skip to main content

A Python package for tracking neurons across days

Project description

pyDANT: A Python toolbox for Density-based Across-day Neuron Tracking

View pyDANT on GitHub Documentation Status PyPI - Version GitHub License

A Python toolbox for tracking the neurons across days.

This project is a Python implementation of DANT, converted from the original MATLAB code. Read the documentation for more details.

Installation

  • It is recommended to install the pyDANT package using Anaconda:
conda create -n pyDANT python=3.11
conda activate pyDANT
pip install pyDANT

How to use it

Example dataset is available here.

Please follow the tutorial to run the example dataset or your dataset.

Please raise an issue if you meet any bugs or have any questions. We are looking forward to your feedback!

References

HDBSCAN
HDBSCAN - Hierarchical Density-Based Spatial Clustering of Applications with Noise. Performs DBSCAN over varying epsilon values and integrates the result to find a clustering that gives the best stability over epsilon. This allows HDBSCAN to find clusters of varying densities (unlike DBSCAN), and be more robust to parameter selection.

Campello, R.J.G.B., Moulavi, D., Sander, J. (2013). Density-Based Clustering Based on Hierarchical Density Estimates. In: Pei, J., Tseng, V.S., Cao, L., Motoda, H., Xu, G. (eds) Advances in Knowledge Discovery and Data Mining. PAKDD 2013. Lecture Notes in Computer Science(), vol 7819. Springer, Berlin, Heidelberg. Density-Based Clustering Based on Hierarchical Density Estimates

L. McInnes and J. Healy, (2017). Accelerated Hierarchical Density Based Clustering. In: IEEE International Conference on Data Mining Workshops (ICDMW), 2017, pp. 33-42. Accelerated Hierarchical Density Based Clustering

Kilosort
Fast spike sorting with drift correction

Pachitariu, Marius, Shashwat Sridhar, Jacob Pennington, and Carsen Stringer. “Spike Sorting with Kilosort4.” Nature Methods 21, no. 5 (May 2024): 914–21. https://doi.org/10.1038/s41592-024-02232-7.

DREDge
Robust online multiband drift estimation in electrophysiology data

Windolf, Charlie, Han Yu, Angelique C. Paulk, Domokos Meszéna, William Muñoz, Julien Boussard, Richard Hardstone, et al. “DREDge: Robust Motion Correction for High-Density Extracellular Recordings across Species.” Nature Methods, March 6, 2025. https://doi.org/10.1038/s41592-025-02614-5.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

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

pydant-1.0.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

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

pydant-1.0.0-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file pydant-1.0.0.tar.gz.

File metadata

  • Download URL: pydant-1.0.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pydant-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9a41bde7762525d041984456e5bd10644809c68ae2eecb5ceb5eef3c40ec8d71
MD5 4fdb4849a8bb68e43994a08e9d9026f1
BLAKE2b-256 923e6e9c6a4a44ffed0ff917ddd2707de5ef6b52ff9df06194407eaa17b73a34

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydant-1.0.0.tar.gz:

Publisher: python-publish.yml on jiumao2/pyDANT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydant-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pydant-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pydant-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85922709096c4bd3fb5d87883a414d683d7ced91650ca35995832bddb5a9d06a
MD5 aca3d57e802bffe775edaae81fb17273
BLAKE2b-256 e8c6e127ab7b346b152d17a6698b17ea3532fff5a075a67651cceefb05be3d0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydant-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on jiumao2/pyDANT

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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