Skip to main content

A Python wrapper for L-Measure

Project description

Build Status codecov PyPI version

PyLMeasure: A Python Wrapper for LMeasure.

PyLMeasure is a Python wrapper library for the command-line interface of the neuronal morphology analysis tool L-Measure.

Installation

To install the library, simply type in pip install pylmeasure in your terminal.

The above command includes the necessary binaries -- no need to download L-Measure separatelly or install Java.

Usage

The basic usage is:

from pylmeasure import *

# Specify the L-Measure to compute, full list: http://cng.gmu.edu:8080/Lm/help/index.htm
LMOutput = getOneMeasure('Surface', 'path/to/cell.swc')

print("Surface area:",  LMOutput["TotalSum"])

For more examples, see this Jupyter notebook.

Issues

If you encounter an issue, first make sure it's not due to L-Measure itself -- this library simply wraps the L-Measure executables. If it is, please contact the L-Measure team. If the issue is with this library, please create an issue on Github.

Contributing

To contribute, please open an issue first and discuss your plan for contributing. Then fork this repository and commit a pull-request with your changes.

Acknowledgements

This wrapper library project was initialy started by Ajayrama Kumaraswamy. View the original source.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

pylmeasure-0.2.0-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

pylmeasure-0.2.0-py2-none-any.whl (3.1 MB view details)

Uploaded Python 2

File details

Details for the file pylmeasure-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pylmeasure-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.14

File hashes

Hashes for pylmeasure-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d56f37623d627fa85b1775408980b52f03ad5244388da98b4ea88cf62648aa6e
MD5 1d649f6fd7f128d7c45706e7639a58a8
BLAKE2b-256 0fdf243f78eb11f4f4a57447e2d2d428be3a1accbede329c2aed5f51006aa1f2

See more details on using hashes here.

File details

Details for the file pylmeasure-0.2.0-py2-none-any.whl.

File metadata

  • Download URL: pylmeasure-0.2.0-py2-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.14

File hashes

Hashes for pylmeasure-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 9937930eda67648467a3e5d8da8f6d76fd709acdfda51e8131520887c6fc4ad9
MD5 52545db3e9b0f0e6d2d2962fc80fdd7c
BLAKE2b-256 540d30f9b193a5fd28558c3ce8419b5527d7ce26e18f4428271fdaaa032c6bc3

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