A set of tools for measuring MLI and the like.
Project description
A python module for performing morphometric measurements on microscopy images of lung tissue.
Status
Run it in a container
$ docker run -v ./data:/data docker.io/sylviamic/python_lung_morphometrics:latest do-mli /data/image_001.tif
Installation
$ git clone git://github.com/sylviamic/python_lung_morphometrics
$ cd python_lung_morphometrics
$ pip install -U .
CLI usage
Measure the mean linear intercept (MLI) of one image and print results to console:
$ python-lung-morphometrics do-mli image_001.tif
Measure the MLI of one image and save the test chords to a file in a specific directory:
$ python-lung-morphometrics do-mli --save-chords --save-dir ./my_output_dir image_001.tif
Measure the MLI of many images and save the results:
$ ls -1 ./image_*.tif | xargs -I {} python-lung-morphometrics do-mli {} > ./results.tsv
Measure the MLI of many images in parallel and save the results:
$ parallel -j5 --bar python-lung-morphometrics do-mli ::: ./image_*.tif > ./results.tsv``
Credits
This package was created by Sylvia N. Michki.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
License
Free software: GNU General Public License v3
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_lung_morphometrics-0.4.0.tar.gz.
File metadata
- Download URL: python_lung_morphometrics-0.4.0.tar.gz
- Upload date:
- Size: 32.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b99e7eafea23da2c3818492d028c719fdab207175ae23abbacbaef3f8b7648
|
|
| MD5 |
0ed632a7e13dd53a34c7a6c1317559f4
|
|
| BLAKE2b-256 |
3ca00b39ef7dfad5f1318f5031f5c2044d8dc89ff491203ff43b97e4bfc2a345
|
File details
Details for the file python_lung_morphometrics-0.4.0-py3-none-any.whl.
File metadata
- Download URL: python_lung_morphometrics-0.4.0-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e863035e3be7ba6a2a02646e99f9dd3572e21eba30bae50703a28341ac69303
|
|
| MD5 |
22733149248ab820f4450df7045c6ea9
|
|
| BLAKE2b-256 |
f8cc3973a100e377f92f934973c54d1eddda017ba94e1bf94e2cd01a03fecbf1
|