Skip to main content

python lung morphometrics

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 Provenance Actions
python_lung_morphometrics-0.4.0.tar.gz 32.9 MB Without provenance Details for python_lung_morphometrics-0.4.0.tar.gz

Built distribution (wheel)

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

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

Security for python-lung-morphometrics 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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