Skip to main content

A library of tools and functionality for frequentist and Bayesian imaging biomarker analysis.

Project description

Pyomarker logo

pyomarker

PyPI version License Tests Docs

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.


⚠️ Development status
pyomarker is under active development. APIs may change. If you would like more information about upcoming releases, please contact me.


Key features

  • Classical repeatability metrics (Bland–Altman, ICC, CoV)
  • Bayesian models for uncertainty-aware biomarker analysis
  • Designed for quantitative imaging workflows

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


Download files

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

Source Distribution

pyomarker-0.0.1.dev14.tar.gz (317.6 kB view details)

Uploaded Source

Built Distribution

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

pyomarker-0.0.1.dev14-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file pyomarker-0.0.1.dev14.tar.gz.

File metadata

  • Download URL: pyomarker-0.0.1.dev14.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

Hashes for pyomarker-0.0.1.dev14.tar.gz
Algorithm Hash digest
SHA256 5c3b20803f068ff165a6907b293239abe7dc2d8dda2c33d849af47a0c8b89ca2
MD5 a5f78b81a256b81a224bab974e0cf99e
BLAKE2b-256 b3f7b4f75619446c3e692d8a090b4b9911c254404da6abb1989eda115c06d14b

See more details on using hashes here.

File details

Details for the file pyomarker-0.0.1.dev14-py3-none-any.whl.

File metadata

File hashes

Hashes for pyomarker-0.0.1.dev14-py3-none-any.whl
Algorithm Hash digest
SHA256 21b498fdb97d363b82450e7fa7d4eb0cc50f0e43c6bd81cb6d1e203a1941f0fc
MD5 47655abe3b394ad35c9e108997e65586
BLAKE2b-256 7316aa99c9f75a804ada7a9ecabb9f299b7471256ee8570fd64283d70f1087a8

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