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.8.tar.gz (39.0 MB view details)

Uploaded Source

Built Distributions

MRzeroCore-0.3.8-cp37-abi3-win_amd64.whl (266.0 kB view details)

Uploaded CPython 3.7+ Windows x86-64

MRzeroCore-0.3.8-cp37-abi3-win32.whl (256.9 kB view details)

Uploaded CPython 3.7+ Windows x86

MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (403.1 kB view details)

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

MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (481.1 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (448.2 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (407.6 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (399.7 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

MRzeroCore-0.3.8-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (418.8 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

MRzeroCore-0.3.8-cp37-abi3-macosx_11_0_arm64.whl (364.5 kB view details)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

MRzeroCore-0.3.8-cp37-abi3-macosx_10_12_x86_64.whl (368.2 kB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.8.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.8.tar.gz
Algorithm Hash digest
SHA256 575155cf46c391592e3bbc2e11fb3887a122b07b412de4155a222aba6bcb0015
MD5 1476ae6eae53bf99ecb906fbd3e9b20d
BLAKE2b-256 2a2d4214939ab65bd361917d462d4f5ba70a2cb951d755440eb29288143edb11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.8-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 266.0 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.8-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d1209116c0a758edb1849cba5e3c5c6394c0df9feeb2dfad170c0601098e5188
MD5 1e4bc80b8b7f04aebff0a1e49a7c71fd
BLAKE2b-256 9b719600191cf1dc1ed83326e3c861ff2ee172cd02103cd899983772051b353e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.8-cp37-abi3-win32.whl
  • Upload date:
  • Size: 256.9 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.8-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 f6505dc93efe83629f52d30921c8b000aaaedeeac2a2a66e494e6a9dc0f690d0
MD5 e5234f101fac76b23ae5ed8b5ec52e48
BLAKE2b-256 41249da93bd4ab40953e2289705783b5b3fd668037ae940cf2271341e120ad86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c00e73d2c4ab45d18534f43be9ae21831e9793a88e854a95f5634fe967f25cbd
MD5 10eedf3c877ccbb5e2b861dc17e44503
BLAKE2b-256 2cff0d8631cd25218e6a8228819c7c2e05b69d347543c2a850bd7e8330abf190

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 c48021aec15b2dbd5513024f8f4b4d1f0c9d2f8902d59b6aab8c5b882d758ff5
MD5 cab999027d576b5823b75b9fae4b0084
BLAKE2b-256 af842d9a5302f776c02e2cdf33ee2be15e8d35b0e3ca152c7fc06fe1952bc653

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 567f47b35b6d80ca1557f79c59219d981b1d1cc0b3dac5e6032fddece416dd38
MD5 e8384409a488c0289fbef691bd80b428
BLAKE2b-256 ebdc3e940b8312941a14d1fdcec319b2bb4ce34674ce43e0c01e34e5c30c6e8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d80dede760e4951e36f5c2a1b6600e231a7e462f1ae7cc59d803c4baff830257
MD5 95e6b6277d380e775e0716750881e0f6
BLAKE2b-256 9163d4b17475ece3b0d5902d708362ae80a2151204e5f95d928b1b19591fe50b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 aa868cb42c49254ca79ca40549d1c18de635eddb592a563bd0ebcf1ced213c2f
MD5 dfd0a0e7ec5b201c3f4d17767972bcf3
BLAKE2b-256 f4c30adb3dba297cb3a2a451fd310020a222c9833331fd36186ea72ebc382e94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 54ea80b205a8f0408c1e5ce3cda7d7b51d7497c348e35b55af02f7c55cb8c72c
MD5 be59b018c143c5ace76beaa5cf33e52a
BLAKE2b-256 4631e177bc87cd23bb0ce8b06221eae3ebdfe53698e8d9974f94a06106eae600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 97d396004b5de3a00c6a1de61e1e2df036777166ba3ad8736e6f0d745b310d48
MD5 e6aea84dac631b7b201bb6ab4f9aab81
BLAKE2b-256 4eca33e96e6fe63a24381ee724362d5d080f6650812686616ab204667911f21c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.8-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ce1a439f794fbc039bab6531fcc5114204f8ca2b1a65a269966f3e19b2fa3cdb
MD5 d14a208bbb1dcd8cfd3dbf837f9688e0
BLAKE2b-256 b91dfd7ca657ae774a8e63472c89cde5a03c01316c4ab4c0bc6c26610776b3df

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