treem


Nametreem JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/a1eko/treem
SummaryTree-like morphology data processing
upload_time2023-08-19 13:17:00
maintainer
docs_urlNone
authorAlexander Kozlov
requires_python>=3.7
licenseMIT
keywords neuron morphology reconstruction processing morphometry modification repair
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
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).

[![PyPI version](https://badge.fury.io/py/treem.svg)](https://badge.fury.io/py/treem)
[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/a1eko/treem/blob/master/LICENSE)
![Build Status](https://github.com/a1eko/treem/actions/workflows/python-app.yml/badge.svg)
[![codecov.io](https://codecov.io/gh/a1eko/treem/coverage.svg)](https://codecov.io/gh/a1eko/treem)
[![Documentation Status](https://readthedocs.org/projects/treem/badge/?version=latest)](https://treem.readthedocs.io/en/latest/?badge=latest)
[![Citation](https://zenodo.org/badge/DOI/10.5281/zenodo.4890844.svg)](https://doi.org/10.5281/zenodo.4890844)



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

or sometimes more convenient as

    swc <command> file [file ...] [options] 

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
* ``render``   - Display 3D model of the 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+https://github.com/a1eko/treem

See also ``pip3`` documentation for installation alternatives.


Dependencies
------------

Module ``treem`` has minimal runtime dependencies:

* ``python`` >= 3.7
* ``matplotlib``
* ``numpy``
* ``PyOpenGL`` (optional) enables ``swc render`` command

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](https://treem.readthedocs.io/en/latest/).


Funding
-------

Horizon 2020 Framework Programme (785907, HBP SGA2); Horizon 2020 Framework Programme (945539, HBP SGA3); Vetenskapsrådet (VR-M-2017-02806, VR-M-2020-01652); Swedish e-science Research Center (SeRC); KTH Digital Futures.

We acknowledge the use of Fenix Infrastructure resources, which are partially funded from the European Union's Horizon 2020 research and innovation programme through the ICEI project under the grant agreement No. 800858.

The computations and testing were enabled by resources provided by the Swedish National Infrastructure for Computing (SNIC) at PDC KTH partially funded by the Swedish Research Council through grant agreement no. 2018-05973.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/a1eko/treem",
    "name": "treem",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "neuron,morphology,reconstruction,processing,morphometry,modification,repair",
    "author": "Alexander Kozlov",
    "author_email": "akozlov@kth.se",
    "download_url": "https://files.pythonhosted.org/packages/cd/3c/d22d1a4007e4eb5146c4004706451620192b93600b7f11adbe092b2a1f95/treem-1.1.0.tar.gz",
    "platform": null,
    "description": "\ntreem - neuron morphology processing tool\n=========================================\n\nModule provides data structure and command-line tools for accessing and\nmanipulating the digital reconstructions of the neuron morphology in\nStockley-Wheal-Cannon format (SWC).\n\n[![PyPI version](https://badge.fury.io/py/treem.svg)](https://badge.fury.io/py/treem)\n[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/a1eko/treem/blob/master/LICENSE)\n![Build Status](https://github.com/a1eko/treem/actions/workflows/python-app.yml/badge.svg)\n[![codecov.io](https://codecov.io/gh/a1eko/treem/coverage.svg)](https://codecov.io/gh/a1eko/treem)\n[![Documentation Status](https://readthedocs.org/projects/treem/badge/?version=latest)](https://treem.readthedocs.io/en/latest/?badge=latest)\n[![Citation](https://zenodo.org/badge/DOI/10.5281/zenodo.4890844.svg)](https://doi.org/10.5281/zenodo.4890844)\n\n\n\nMain classes\n------------\n\nAccess to morphological data from the source code is supported by the\nclasses ``Tree``, ``Node``, ``Morph`` and ``SWC``.\n\n* ``Tree``   - Recursive tree data structure\n* ``Node``   - Morphology data storage\n* ``Morph``  - Neuron morphology representation\n* ``SWC``    - Definitions of the data format\n\n\nCommands\n--------\n\nCommon operations with SWC files are possible via the ``swc`` command-line\ntool:\n\n    swc <command> [options] file\n\nor sometimes more convenient as\n\n    swc <command> file [file ...] [options] \n\nList of ``swc`` commands:\n\n* ``check``    - Test morphology reconstruction for structural consistency\n* ``convert``  - Convert morphology to compliant SWC format\n* ``find``     - Locate single nodes in the reconstruction\n* ``measure``  - Calculate morphometric features\n* ``modify``   - Manipulate morphology reconstruction\n* ``render``   - Display 3D model of the reconstruction\n* ``repair``   - Correct reconstruction errors\n* ``view``     - Show morphology structure\n\n\nInstallation\n------------\n\nInstall the latest stable release:\n\n    pip3 install treem\n\nInstall a development version:\n\n    pip3 install git+https://github.com/a1eko/treem\n\nSee also ``pip3`` documentation for installation alternatives.\n\n\nDependencies\n------------\n\nModule ``treem`` has minimal runtime dependencies:\n\n* ``python`` >= 3.7\n* ``matplotlib``\n* ``numpy``\n* ``PyOpenGL`` (optional) enables ``swc render`` command\n\nFor testing and documentation, ``treem`` needs development packages with\nthird-party extensions:\n\n* ``sphinx`` with ``napoleon`` and ``programoutput``\n* ``pytest`` with ``pytest-cov``\n* ``coverage``\n\n\nDocumentation\n-------------\n\nDocumentation is available online at [Read the Docs](https://treem.readthedocs.io/en/latest/).\n\n\nFunding\n-------\n\nHorizon 2020 Framework Programme (785907, HBP SGA2); Horizon 2020 Framework Programme (945539, HBP SGA3); Vetenskapsr\u00e5det (VR-M-2017-02806, VR-M-2020-01652); Swedish e-science Research Center (SeRC); KTH Digital Futures.\n\nWe acknowledge the use of Fenix Infrastructure resources, which are partially funded from the European Union's Horizon 2020 research and innovation programme through the ICEI project under the grant agreement No. 800858.\n\nThe computations and testing were enabled by resources provided by the Swedish National Infrastructure for Computing (SNIC) at PDC KTH partially funded by the Swedish Research Council through grant agreement no. 2018-05973.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tree-like morphology data processing",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/a1eko/treem"
    },
    "split_keywords": [
        "neuron",
        "morphology",
        "reconstruction",
        "processing",
        "morphometry",
        "modification",
        "repair"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2ed83ccd0dd7d245fbec2fc559a864989ccd3718b75de7e759b869612c7f8c5c",
                "md5": "cb08c623ed36f1b8cf56aea852220e6d",
                "sha256": "19d17565a40c11c0d1480880daa3d365f7bda6aca47e3b2f03fa1285a1591cac"
            },
            "downloads": -1,
            "filename": "treem-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb08c623ed36f1b8cf56aea852220e6d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 39249,
            "upload_time": "2023-08-19T13:16:57",
            "upload_time_iso_8601": "2023-08-19T13:16:57.277976Z",
            "url": "https://files.pythonhosted.org/packages/2e/d8/3ccd0dd7d245fbec2fc559a864989ccd3718b75de7e759b869612c7f8c5c/treem-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cd3cd22d1a4007e4eb5146c4004706451620192b93600b7f11adbe092b2a1f95",
                "md5": "209e7990fb4a0f34d6b68f144799f7ca",
                "sha256": "5ada96f97238ddfa96c83833923236816b5f7244c85db63b7c08d4e89b9a5abb"
            },
            "downloads": -1,
            "filename": "treem-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "209e7990fb4a0f34d6b68f144799f7ca",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 31752,
            "upload_time": "2023-08-19T13:17:00",
            "upload_time_iso_8601": "2023-08-19T13:17:00.533308Z",
            "url": "https://files.pythonhosted.org/packages/cd/3c/d22d1a4007e4eb5146c4004706451620192b93600b7f11adbe092b2a1f95/treem-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-19 13:17:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "a1eko",
    "github_project": "treem",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "treem"
}
        
Elapsed time: 0.10285s