Skip to main content

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

https://woodpecker.sylviamichki.xyz/api/badges/1/status.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_lung_morphometrics-0.4.0.tar.gz (32.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_lung_morphometrics-0.4.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file python_lung_morphometrics-0.4.0.tar.gz.

File metadata

File hashes

Hashes for python_lung_morphometrics-0.4.0.tar.gz
Algorithm Hash digest
SHA256 58b99e7eafea23da2c3818492d028c719fdab207175ae23abbacbaef3f8b7648
MD5 0ed632a7e13dd53a34c7a6c1317559f4
BLAKE2b-256 3ca00b39ef7dfad5f1318f5031f5c2044d8dc89ff491203ff43b97e4bfc2a345

See more details on using hashes here.

File details

Details for the file python_lung_morphometrics-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_lung_morphometrics-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e863035e3be7ba6a2a02646e99f9dd3572e21eba30bae50703a28341ac69303
MD5 22733149248ab820f4450df7045c6ea9
BLAKE2b-256 f8cc3973a100e377f92f934973c54d1eddda017ba94e1bf94e2cd01a03fecbf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page