Skip to main content

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

Metadata

Release files for python-lung-morphometrics 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-lung-morphometrics 0.4.0
File Size Uploaded
python_lung_morphometrics-0.4.0.tar.gz 32.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-lung-morphometrics 0.4.0
File Interpreter ABI Platform
python_lung_morphometrics-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.0 MB

Release files / python_lung_morphometrics-0.4.0.tar.gz

Download URL python_lung_morphometrics-0.4.0.tar.gz
Size 32.9 MB
Tags Source
SHA-256 checksum
How to use checksums
58b99e7eafea23da2c3818492d028c719fdab207175ae23abbacbaef3f8b7648
BLAKE2b-256 checksum
How to use checksums
3ca00b39ef7dfad5f1318f5031f5c2044d8dc89ff491203ff43b97e4bfc2a345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.1

Release files / python_lung_morphometrics-0.4.0-py3-none-any.whl

Download URL python_lung_morphometrics-0.4.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e863035e3be7ba6a2a02646e99f9dd3572e21eba30bae50703a28341ac69303
BLAKE2b-256 checksum
How to use checksums
f8cc3973a100e377f92f934973c54d1eddda017ba94e1bf94e2cd01a03fecbf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.1

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page