Skip to main content

OmniMIRA

An anatomically indexed foundation model across structural, molecular and metabolic neuroimaging

OmniMIRA learns brain-region representations from T1-weighted MRI, amyloid PET, FDG PET and CT. It combines local image features within atlas-defined regions, allowing the same embeddings to be used for downstream prediction and regional analysis.

Release status

Version 0.2 provides the OmniMIRA v9 inference architecture, its multi-atlas resources and an epoch-1000 checkpoint. It produces anatomically indexed features and is intended for research use, not clinical diagnosis.

Installation

Requires Python 3.9 or later and PyTorch 2.0 or later.

pip install omnimira

Usage

The wheel contains the checkpoint, model-space templates and atlas definitions. Input NIfTI images must already be spatially normalized to MNI space. The package resamples them to the committed model grid and applies modality-specific intensity normalization.

from omnimira import from_pretrained

model = from_pretrained(device="cpu")
features = model.extract("scan_mni.nii.gz", modality="t1")
print(features["aal3"].shape)  # (166, 128)

The command-line interface writes an NPZ with ROI identifiers, names and features:

omnimira scan_mni.nii.gz features.npz --modality t1

The output contains 128-dimensional embeddings for each region: 166 AAL3 regions, 69 Harvard–Oxford regions and 7 Yeo networks.

The modality options are t1 (T1-weighted MRI), av45 (amyloid PET), fdg (FDG PET) and ct (CT).

Documentation

Tests

Model and loss tests use synthetic inputs:

pip install pytest
python -m pytest -q tests/test_model_forward.py tests/test_losses.py

The full test suite also requires the atlas and template files.

Questions

For questions about the code, please open an issue.

License

Source code is available under the Apache 2.0 license. The bundled pretrained model weights are licensed separately under CC BY-NC 4.0, which does not permit commercial use. Third-party resources have separate terms.

For research use only; not for clinical diagnosis.

Metadata

Release files for omnimira 0.2.1

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

Source distribution (sdist)

Source distribution for omnimira 0.2.1
File Size Uploaded Provenance Actions
omnimira-0.2.1.tar.gz 10.5 MB With provenance Details for omnimira-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnimira 0.2.1
File Interpreter ABI Platform Actions
omnimira-0.2.1-py3-none-any.whl Python 3 none any Details for omnimira-0.2.1-py3-none-any.whl

Total release size: 21.0 MB

Release files / omnimira-0.2.1.tar.gz

Download URL omnimira-0.2.1.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
ad47ab293cb4bb4a1f54858142b5eaa76e94ecbfb15504ecc467b0be819e1963
BLAKE2b-256 checksum
How to use checksums
86691fd2296f5d47bd183488d9c01403ee98a74cc529faf62d6b187dacff465c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / omnimira-0.2.1-py3-none-any.whl

Download URL omnimira-0.2.1-py3-none-any.whl
Size 10.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4be9293e4577a9c0e1e427e2c234bdba30a37cd1fd7ae895053e89e57fe6c239
BLAKE2b-256 checksum
How to use checksums
97c2d44b78b30d8b7e51ee4405b4413e03abd223538e3cb36da2ce6de8651644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Security for omnimira 0.2.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omnimira-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files Full provenance

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