Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.2.1 instead.
Reason given by maintainers: Missing bundled pretrained model resources; use 0.2.1.

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.

Download files

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

Source Distribution

omnimira-0.2.0.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

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

omnimira-0.2.0-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file omnimira-0.2.0.tar.gz.

File metadata

  • Download URL: omnimira-0.2.0.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for omnimira-0.2.0.tar.gz
Algorithm Hash digest
SHA256 204187ee52f1ca5581d5bb39ef7d39451a26299bd854617dc2d8767b0096e829
MD5 74d47f09e72ce31e89b937630bb9c508
BLAKE2b-256 b65b5521f7e3d89f9802b6ca3e191ffbc7738d6d84be03e179f4788673ca35a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnimira-0.2.0.tar.gz:

Publisher: publish-pypi.yml on YixinChen-AI/MIRA-Brain-FM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file omnimira-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: omnimira-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 42.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for omnimira-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42ebd5660c9f51871049e69e37a667b2a526e1231e414bca9f3fc9e641e9dc3f
MD5 4f5f42e7f79cdba52110abcfe5536052
BLAKE2b-256 ddc99202d6ac70bace6c68727134f6913a8f382118ab879a4f48f0f5937d7dae

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnimira-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on YixinChen-AI/MIRA-Brain-FM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.1

2 files

This release

0.2.0 This release

2 files

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