pyKilomatch
A Python toolbox for tracking the neurons across days.
This project is a Python implementation of Kilomatch, converted from the original MATLAB code. Read the documentation for more details.
Installation
- It is recommended to install the pyKilomatch package using Anaconda:
conda create -n pyKilomatch python=3.11
conda activate pyKilomatch
pip install pyKilomatch
How to use it
Please follow the tutorial to run 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 correctionPachitariu, 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 dataWindolf, 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.
Metadata
Release files for pyKilomatch 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pykilomatch-0.0.7.tar.gz | 30.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pykilomatch-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.5 kB
Release files / pykilomatch-0.0.7.tar.gz
| Download URL | pykilomatch-0.0.7.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
505c90846f988fdf14b9c2a9186de775d39400f1e87b3fc610ed51d7ed4a9b2f
|
|
BLAKE2b-256 checksum How to use checksums |
0eaaa149c9b328d1831c08ed45de41489bc0bce00b86c7711c19795eaa9c838e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.
Transparency logRelease files / pykilomatch-0.0.7-py3-none-any.whl
| Download URL | pykilomatch-0.0.7-py3-none-any.whl |
|---|---|
| Size | 32.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1077e7db1e6a32d5bfe3ada3de56d2e113e453d6cb3927f10f1bb6ab3ece8e86
|
|
BLAKE2b-256 checksum How to use checksums |
ba864b5cd445d17433eade3352ccef790d0854b04e7dff2a5f9a00a9f73d735f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2025.
Transparency log