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.


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.


The basic usage is:

from pylmeasure import *

# Specify the L-Measure to compute, full list:
LMOutput = getOneMeasure('Surface', 'path/to/cell.swc')

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

For more examples, see this Jupyter notebook.


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.


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.


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.

Files for pylmeasure, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pylmeasure-0.2.0-py2-none-any.whl (3.1 MB) File type Wheel Python version py2 Upload date Hashes View
Filename, size pylmeasure-0.2.0-py3-none-any.whl (3.1 MB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page