Skip to main content

Brain MRI synthesis, compression, modality translation, and evaluation toolkit.

Project description

BrainMint

BrainMint is a Python package for brain MRI synthesis, compression, modality translation, inference utilities, and evaluation support.

This repository is the reusable package extracted from the original GenMRI study repository. It should contain library code, package-safe tests, and package documentation only. Study configs, private paths, datasets, checkpoints, generated outputs, and cloned external repositories should stay outside this repository.

Install

Install the base package with pip:

pip install brainmint

Common optional installs:

Use case Install command
Metrics and evaluation pip install "brainmint[metrics]"
Training utilities pip install "brainmint[train]"
Full runtime stack pip install "brainmint[all]"

Smaller targeted extras are kept in pyproject.toml for dependency control, but the commands above are the ones most users should need.

External Repositories

External model repositories are materialized outside the package tree. For research runs, set:

export BRAINMINT_EXTERNAL_ROOT=/path/to/external

or configure it in Python:

import brainmint.external

brainmint.external.set_external_repo_root("/path/to/external")

Tests

Default tests are package-safe and do not require study Hydra configs, GPU, checkpoints, network access, or cloned external repositories:

python -m pytest

Copied study-era tests are opt-in while BrainMint is being separated from the original study repository:

python -m pytest --run-study-config-tests

License

MIT. See LICENSE.

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

brainmint-0.1.0.tar.gz (225.9 kB view details)

Uploaded Source

Built Distribution

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

brainmint-0.1.0-py3-none-any.whl (268.7 kB view details)

Uploaded Python 3

File details

Details for the file brainmint-0.1.0.tar.gz.

File metadata

  • Download URL: brainmint-0.1.0.tar.gz
  • Upload date:
  • Size: 225.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for brainmint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 beb9334195354af5b5e8433ce2fbd0bfe8f12bcae3e946134ee8c375f5d2ef49
MD5 dfd43686c5e08476ab61e0d5984655fe
BLAKE2b-256 290eedf6f8fe85ca87e916b8cc969c416e66990fa30b28eded17455f4c51ae42

See more details on using hashes here.

Provenance

The following attestation bundles were made for brainmint-0.1.0.tar.gz:

Publisher: release.yml on yasinzaii/brainmint

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

File details

Details for the file brainmint-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: brainmint-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 268.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for brainmint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a8576dd43011c0e77d0ae954f7e2413619c67886da4abbe1bbbaa6088584f0c
MD5 f284848e549b38c0d331f138416a8a26
BLAKE2b-256 c1d2599a2562362f727ab67f3c4e10ce0bc9ec514608d11f69a38f00d5cdd291

See more details on using hashes here.

Provenance

The following attestation bundles were made for brainmint-0.1.0-py3-none-any.whl:

Publisher: release.yml on yasinzaii/brainmint

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

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