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.

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


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.dev15.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.dev15-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

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

Hashes for pyomarker-0.0.1.dev15.tar.gz
Algorithm Hash digest
SHA256 cb354f17da02d4ef928e7c2c86721512633d0e686443bfd42e16224604daba38
MD5 6681337821df5460f5daf3dd5acf141e
BLAKE2b-256 aaba200658b8e0186fbaf4366dcf67cfc4a5dc4e1a12a9d47758bc4f7b3a9d9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyomarker-0.0.1.dev15-py3-none-any.whl
Algorithm Hash digest
SHA256 76ec67afdcf2f03ce46e309cd1129d5476415f5f786be2f9699b14a6348c7a44
MD5 ddd42e44140ddfc0a492f8e1a0c05009
BLAKE2b-256 eed210eb5f61bfb3baedd8acb501fd21d298cbe97fc30e6090db144a0f618022

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