A library of tools and functionality for frequentist and Bayesian imaging biomarker analysis.
Project description
pyomarker
Bayesian and classical methods for quantitative imaging biomarker reliability and uncertainty.
Quantitative imaging biomarkers are increasingly used in clinical research, yet their repeatability and uncertainty are often poorly characterised. pyomarker provides well-defined frequentist and Bayesian tools for analysing test–retest data, estimating measurement reliability, and quantifying uncertainty in imaging biomarker studies. It leverages Hamiltonian Monte Carlo sampling of parameter posterior distributions through the Stan probabilistic programming framework.
Key features
- Classical repeatability metrics (Bland–Altman, ICC, CoV)
- Bayesian models for uncertainty-aware biomarker analysis
- Designed for quantitative imaging workflows
⚠️ Development status
pyomarker is under active development. APIs may change. If you would like more information about upcoming releases, please contact me.
Installation
pip install pyomarker
📘 Documentation: https://icr-computational-imaging.github.io/pyomarker/
Example
import numpy as np
from pyomarker.models.test_retest.real.bland_altman import BlandAltman
x1 = np.array([1.2, 1.4, 1.1, 1.3])
x2 = np.array([1.3, 1.5, 1.0, 1.2])
ba = BlandAltman(ci=0.90).fit(x1, x2)
print(ba.metrics())
Check our examples page for more.
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 pyomarker-0.0.1.dev15.tar.gz.
File metadata
- Download URL: pyomarker-0.0.1.dev15.tar.gz
- Upload date:
- Size: 317.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb354f17da02d4ef928e7c2c86721512633d0e686443bfd42e16224604daba38
|
|
| MD5 |
6681337821df5460f5daf3dd5acf141e
|
|
| BLAKE2b-256 |
aaba200658b8e0186fbaf4366dcf67cfc4a5dc4e1a12a9d47758bc4f7b3a9d9e
|
File details
Details for the file pyomarker-0.0.1.dev15-py3-none-any.whl.
File metadata
- Download URL: pyomarker-0.0.1.dev15-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76ec67afdcf2f03ce46e309cd1129d5476415f5f786be2f9699b14a6348c7a44
|
|
| MD5 |
ddd42e44140ddfc0a492f8e1a0c05009
|
|
| BLAKE2b-256 |
eed210eb5f61bfb3baedd8acb501fd21d298cbe97fc30e6090db144a0f618022
|