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.
Metadata
Release files for pylmeasure 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylmeasure-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
| pylmeasure-0.2.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.2 MB
Release files / pylmeasure-0.2.0-py3-none-any.whl
| Download URL | pylmeasure-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d56f37623d627fa85b1775408980b52f03ad5244388da98b4ea88cf62648aa6e
|
|
BLAKE2b-256 checksum How to use checksums |
0fdf243f78eb11f4f4a57447e2d2d428be3a1accbede329c2aed5f51006aa1f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pylmeasure-0.2.0-py2-none-any.whl
| Download URL | pylmeasure-0.2.0-py2-none-any.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9937930eda67648467a3e5d8da8f6d76fd709acdfda51e8131520887c6fc4ad9
|
|
BLAKE2b-256 checksum How to use checksums |
540d30f9b193a5fd28558c3ce8419b5527d7ce26e18f4428271fdaaa032c6bc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|