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 Distribution

pylmeasure-0.1.8.tar.gz (3.2 MB view details)

Uploaded Source

Built Distributions

pylmeasure-0.1.8-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

pylmeasure-0.1.8-py2-none-any.whl (3.2 MB view details)

Uploaded Python 2

File details

Details for the file pylmeasure-0.1.8.tar.gz.

File metadata

  • Download URL: pylmeasure-0.1.8.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • 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.1.8.tar.gz
Algorithm Hash digest
SHA256 cee9711cf35ac6c5bea89067c384ea9c4ad8fd14af80ee0803e4bc603ee0cd57
MD5 9d67bd555b329ee5ec8043ed61656312
BLAKE2b-256 e21e3991608a5a7503d7cbe199c884f82242c81ed4dbd34324516f29b26ea967

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylmeasure-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 69e910941f8cc30f400f3b1f0296bfb8e9c02ffd291d39e4b939c53159bd4b13
MD5 ba97e596ae8e89902dd2d9477ff3e5c4
BLAKE2b-256 009de6929131329d4ffe7abf4fde5cffb44d7fb8baf22aec326cd2f36cf98eab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylmeasure-0.1.8-py2-none-any.whl
  • Upload date:
  • Size: 3.2 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.1.8-py2-none-any.whl
Algorithm Hash digest
SHA256 4581a445ebd9f0850e6911660c2f89ae62c1d19963f77317ec1bcf6fc58c6ac7
MD5 2d8d6bc0a7f6d2e2a8696523c6976660
BLAKE2b-256 4e538b0ccb9c8a0d85939244fb33e37ba917607bab8e54ce151337e13b87c589

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