A Python wrapper for L-Measure
Project description
PyLMeasure: A Python Wrapper for L-Measure.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pylmeasure-0.1.6.tar.gz
.
File metadata
- Download URL: pylmeasure-0.1.6.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95df205ae9a8fe4568e998e6a62d532575b4c0df0f3075f853bf49190d23698 |
|
MD5 | 4c915ccacedd41a1c4110561491dccd7 |
|
BLAKE2b-256 | 232c09c5c2489d4008ca738bc9f1bb3b3a86bee14ed5ac4c9231f688e6081a28 |
File details
Details for the file pylmeasure-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: pylmeasure-0.1.6-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2761966e328eeab530bdf0f492b279de88eac668b25735e29fcf40ba379bc29d |
|
MD5 | 15b28b1fc006335db41a900303ed5de4 |
|
BLAKE2b-256 | a8fcf7219a229dd5f149ec2083a3de2af88ba55ba99643de9c123be0153ecdfc |
File details
Details for the file pylmeasure-0.1.6-py2-none-any.whl
.
File metadata
- Download URL: pylmeasure-0.1.6-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97140d3e975b076c237d2362da2b4d9b2653735e827956e9b4ad740d8b36513a |
|
MD5 | 5361d72c2ca9a92b565700e3281f3e00 |
|
BLAKE2b-256 | f61f451015d4360264a6a6ba2b50ff4481ecbef2263e5f0c61eed765224e299c |