Skip to main content

Core functionality of MRzero

Project description

Documentation Status

MRzero Core

The MRzero Core contains the core functionality of MRzero like MRI sequence building, simulation and reconstruction. MRzero Core does not force you to take any particular approach to e.g., reconstruction, as it targets easy integration in existing projects. Nevertheless, more tools can be added in the future if they helpful for the general application space.

Usage

MRzero Core is written in Python, heavily relying on PyTorch for fast (GPU-) Tensor calculations. To improve performance, parts of the simulation are written in Rust and compiled for x86 Windows and Linux, other platforms are currently not supported.

Install with pip:

pip install MRzeroCore

The typical way of using it is like the following:

import MRzeroCore as mr0

Examples on how to use can be found in the Playground.

Links

Building from source

This assumes windows as host operating system. For building the python wheel, you need:

Building for Windows

maturin build --interpreter python

Building for Linux

docker run --rm -v <path-to-repo>/MRzero-Core:/io ghcr.io/pyo3/maturin build

To build the documentation, run

jupyter-book build documentation/

in the root folder of this project. This requires jupyter-book as well as MRzeroCore itself to be installed.

Official builds

The python wheels hosted by PyPI is built as described above, and uploaded as following:

maturin upload target/wheels/MRzeroCore-{ version }-cp37-abi3-win_amd64.whl target/wheels/MRzeroCore-{ version }-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -u <pypi-user> -p <pypi-pwd>

The documentation is built using readthedocs, which works the same as described above.

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

MRzeroCore-0.3.6.tar.gz (39.0 MB view details)

Uploaded Source

Built Distributions

MRzeroCore-0.3.6-cp37-abi3-win_amd64.whl (265.6 kB view details)

Uploaded CPython 3.7+ Windows x86-64

MRzeroCore-0.3.6-cp37-abi3-win32.whl (256.6 kB view details)

Uploaded CPython 3.7+ Windows x86

MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (402.8 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (480.8 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (447.9 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (407.3 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (399.3 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

MRzeroCore-0.3.6-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (418.5 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

MRzeroCore-0.3.6-cp37-abi3-macosx_11_0_arm64.whl (364.1 kB view details)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

MRzeroCore-0.3.6-cp37-abi3-macosx_10_12_x86_64.whl (367.9 kB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

File details

Details for the file MRzeroCore-0.3.6.tar.gz.

File metadata

  • Download URL: MRzeroCore-0.3.6.tar.gz
  • Upload date:
  • Size: 39.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for MRzeroCore-0.3.6.tar.gz
Algorithm Hash digest
SHA256 653c10bbbdd20d6671694e81e18c7841a609dc5ce810754c6ef1055b9c5c42f8
MD5 86a006b3b0c1e52c65990efe6ee53d74
BLAKE2b-256 52653d2d0cd4e6a9acdcd6db3251588b37cf771cd757a8c64e3676d870bb6ce4

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-win_amd64.whl.

File metadata

  • Download URL: MRzeroCore-0.3.6-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 265.6 kB
  • Tags: CPython 3.7+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 60ece75bfa490496a88c0a96b77437949919ad6af325e1fc6466c31763eaae5c
MD5 aa132f42d912b4de01e7cfa6cd4afdcf
BLAKE2b-256 4bbef1c0d55a28d211dc68e88ea8103cdd1b88b2d06cb2985e2502924b3149f0

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-win32.whl.

File metadata

  • Download URL: MRzeroCore-0.3.6-cp37-abi3-win32.whl
  • Upload date:
  • Size: 256.6 kB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 61d1042c176855913f4565455dbe4b76822139edce865093609d7e7b24275f9a
MD5 1a264e1696f01a9b99ec725a27ce3b4b
BLAKE2b-256 4a744ffccd2a76669a858ab24e6f1e1aefa3e2cb61d77e0ca40beaaa4651486d

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c81c1cef8bab1fa726d03298c12920ae3cfccfaf2d653e67db89570c8e5be10c
MD5 83ac08e0fcabc5f5a9b9a1bd10778628
BLAKE2b-256 ce4c93156b95a41d68847231f67c9d2083862ac8183ed5cc86bc2074cfdfca6d

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 f20a1c1307beabb096747ca4aeec86eaccb8b12dfc105764c1e58d25360ff7be
MD5 56186182ff4f18c5cf0c4df1a6cff5b3
BLAKE2b-256 fee61182158e2ee4fd9b9871a4c1bfc427f9fe48c58b6986ec609cf9a8ecf8cd

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 8673fc3b8349e021d87e104523d3b518829cfa43eef6b90ce59c4b3f5bb150d5
MD5 4507bc8a4fa1b80e2ab3af4af3331644
BLAKE2b-256 fb88953485dc3c3cc5fe43c1c38217dad7cc3631aee57a260655b0c7d481bebb

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 1f95d620dfa1c669a85d5cdf0f4114b36f029bd5c5f61aeb263d23584dd59796
MD5 2db1c514380cc0dbf31daeb9121f3e82
BLAKE2b-256 8ec428f5ef69f42572bc5f61f61c58b551b877ef35683a3f0485b0d1b7a37758

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b783abb7d653469e31deeb392b3eab0f462a9990ed7f28398e1e8c34a76fa8b3
MD5 5b3773a4dae91b25f044f5f6123e5992
BLAKE2b-256 4034a2494925762426de76904e031576e2e9984074f0ffcee724d5e313f2f6b5

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 bf68af6df179a7ffd46fae4c56c282d53647664f2eb37d9e18b41aac659b33ed
MD5 8e4a4724e1b67128a9d88bda66672f3f
BLAKE2b-256 c16f511e8d51104027daa891c545cd18fbf6cff4b7c9f1f015fbacb6396c4841

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a43d1917558c1a2301f281178f229f3fc9393ec62b02bef222a766728ab6012
MD5 c2615fd7d8668cfd254cb1f50a66535f
BLAKE2b-256 c0c841eee7ce4637a8e92e84b12f471a30a6bf96237467ca3a10371f4fdbd279

See more details on using hashes here.

File details

Details for the file MRzeroCore-0.3.6-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for MRzeroCore-0.3.6-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1fbebc9ff5055d51d2fbae1af88ca92fa32d710fb16615a3ea2c428106436122
MD5 c991bd66459fcbd0129d7ddaace1c684
BLAKE2b-256 d505cca4991ade724bfea4c1da008341a8277e87067b66edbed1cca358201dda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page