Skip to main content

Tree-like morphology data processing

Project description

treem - neuron morphology processing tool

Module provides data structure and command-line tools for accessing and manipulating the digital reconstructions of the neuron morphology in Stockley-Wheal-Cannon format (SWC).

Documentation Status

Main classes

Access to morphological data from the source code is supported by the classes Tree, Node, Morph and SWC.

  • Tree - Recursive tree data structure
  • Node - Morphology data storage
  • Morph - Neuron morphology representation
  • SWC - Definitions of the data format

Commands

Common operations with SWC files are possible via the swc command-line tool::

swc <command> [options] file

List of swc commands:

  • check - Test morphology reconstruction for structural consistency
  • convert - Convert morphology to compliant SWC format
  • find - Locate single nodes in the reconstruction
  • measure - Calculate morphometric features
  • modify - Manipulate morphology reconstruction
  • repair - Correct reconstruction errors
  • view - Show morphology structure

Installation

Install the latest stable release::

pip3 install treem

Install a development version::

pip3 install git+git://github.com/a1eko/treem

See pip3 documentation for installation alternatives.

Dependencies

Module treem has minimal runtime dependencies:

  • python >= 3.7
  • matplotlib
  • numpy

For testing and documentation, treem needs development packages with third-party extensions:

  • sphinx with napoleon and programoutput
  • pytest with pytest-cov
  • coverage

Documentation

Documentation is available online at Read the Docs.

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

treem-1.0.0a4.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

treem-1.0.0a4-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file treem-1.0.0a4.tar.gz.

File metadata

  • Download URL: treem-1.0.0a4.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.8

File hashes

Hashes for treem-1.0.0a4.tar.gz
Algorithm Hash digest
SHA256 68de6d15b64f9e4c84c66325207660ae0e29670841c35c276d03f6bb9341abe0
MD5 4a85e0f3e174f1453883c30267dea572
BLAKE2b-256 a5ac59dd92aaaf8caa1e4d7d9d77d466e79363a92d4f8c729babbba089c057cf

See more details on using hashes here.

File details

Details for the file treem-1.0.0a4-py3-none-any.whl.

File metadata

  • Download URL: treem-1.0.0a4-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.8

File hashes

Hashes for treem-1.0.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 0a62c4ae710fc5def7116be7fb9deabbe36aaa271ce7bdc37ef5466f6476b2f8
MD5 3b04eb84d5a2beb3bfce6889e2b3c454
BLAKE2b-256 7f534281330cdc55bd95a0ed92d10a2d2a03c0e9bd98088e6be92c829cf706a0

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