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.2.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.2.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_lung_morphometrics-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dc8335957e47e81e06b025c49c1140742ad5a97fbf9070352191c022b7c73293
MD5 ab19caca99e3d9149e63f2cd4dbe8b77
BLAKE2b-256 8c3a7ab51fd99a1480be767b9755686709ef6ae7dc0d698950e8bcd9086c3326

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_lung_morphometrics-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 155160169c5f5537bc275c143eef7256d72e18b7fa05ed7174b3f81958773ae6
MD5 d552d905a44fb22847407066867c0f53
BLAKE2b-256 73902c85b0740cc07066627b1afaf3ccf373c8681b62c3d13745476f0ffa1696

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