Skip to main content

A python package for the topological analysis of neurons.

Project description

TMD

Run all tox jobs using Python3 license codecov.io Documentation Status DOI

A python package for the topological analysis of neurons.

The TMD performs the topological analysis of neuronal morphologies and extracts the persistence barcodes of trees.

This Python module includes:

  • Basic loading of neuronal morphologies in swc and h5 file format.
  • Extraction of the topological descriptors of tree morphologies.
  • Visualization of neuronal trees and neurons.
  • Plotting persistence diagrams, barcodes and images.

Installation

This package should be installed using pip:

pip install TMD

For installation of optional viewers:

pip install TMD[viewer]

Usage

# Import the TMD toolkit in IPython
import tmd

# Load a neuron
neuron = tmd.io.load_neuron('input_path_to_file/input_file.swc')

# Extract the tmd of a neurite, i.e., neuronal tree
pd = tmd.methods.get_persistence_diagram(neuron.neurites[0])

Citation

If you use this software or method for your research, we kindly ask you to cite the following publication associated to this repository:

A Topological Representation of Branching Neuronal Morphologies

Cite this article as:

Kanari, L., Dłotko P., Scolamiero M., et al., A Topological Representation of Branching Neuronal Morphologies, Neuroinformatics 16, nᵒ 1 (2018): 3‑13. https://doi.org/10.1007/s12021-017-9341-1.

Related publications

Comprehensive Morpho-Electrotonic Analysis Shows 2 Distinct Classes of L2 and L3 Pyramidal Neurons in Human Temporal Cortex, Cerebral Cortex

Cite this article as:

Deitcher Y., Eyal G., Kanari L., et al., Comprehensive Morpho-Electrotonic Analysis Shows 2 Distinct Classes of L2 and L3 Pyramidal Neurons in Human Temporal Cortex, Cerebral Cortex, Volume 27, Issue 11, November 2017, Pages 5398–5414, https://doi.org/10.1093/cercor/bhx226

Objective Morphological Classification of Neocortical Pyramidal Cells:

Cite this article as:

Lida Kanari, Srikanth Ramaswamy, Ying Shi, Sebastien Morand, Julie Meystre, Rodrigo Perin, Marwan Abdellah, Yun Wang, Kathryn Hess, Henry Markram, Objective Morphological Classification of Neocortical Pyramidal Cells, Cerebral Cortex, Volume 29, Issue 4, April 2019, Pages 1719-1735, https://doi.org/10.1093/cercor/bhy339

Developed in Blue Brain Project.

Funding & Acknowledgment

The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.

For license and authors, see LICENSE.txt and AUTHORS.md respectively.

Copyright © 2021-2022 Blue Brain Project/EPFL

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

tmd-2.4.3.tar.gz (133.1 kB view details)

Uploaded Source

Built Distribution

TMD-2.4.3-py3-none-any.whl (59.0 kB view details)

Uploaded Python 3

File details

Details for the file tmd-2.4.3.tar.gz.

File metadata

  • Download URL: tmd-2.4.3.tar.gz
  • Upload date:
  • Size: 133.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for tmd-2.4.3.tar.gz
Algorithm Hash digest
SHA256 9bfd35d0da9b487bb711aad02fd9a571e945596967b7fe95908c739b6c02693e
MD5 fe05b672e2059069b37b59f852a29a02
BLAKE2b-256 12b433ec0c71409c29459e5e7b87f891a8c2e447aed2c0f578a806604fae8a78

See more details on using hashes here.

File details

Details for the file TMD-2.4.3-py3-none-any.whl.

File metadata

  • Download URL: TMD-2.4.3-py3-none-any.whl
  • Upload date:
  • Size: 59.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for TMD-2.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a4914d2872dba5b21f898f7ea761cc08b70a33065457f8a5d7b292e763ade47a
MD5 78ce871787dc64243a071efa3e553339
BLAKE2b-256 8fd79ebdce7a75d90dfde82a2f0de550c4555caad58c7d2bde5e32c0ba870476

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page