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

Uploaded Source

Built Distributions

MRzeroCore-0.3.7-cp37-abi3-win_amd64.whl (265.9 kB view details)

Uploaded CPython 3.7+ Windows x86-64

MRzeroCore-0.3.7-cp37-abi3-win32.whl (256.8 kB view details)

Uploaded CPython 3.7+ Windows x86

MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (403.0 kB view details)

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

MRzeroCore-0.3.7-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.7-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (448.1 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (407.5 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

MRzeroCore-0.3.7-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.7-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (418.9 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

MRzeroCore-0.3.7-cp37-abi3-macosx_11_0_arm64.whl (364.4 kB view details)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

MRzeroCore-0.3.7-cp37-abi3-macosx_10_12_x86_64.whl (368.1 kB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.7.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.7.tar.gz
Algorithm Hash digest
SHA256 9c156b61318c716c23f632a29ebd3893f28aebeb3aabe6abbd70001861b28245
MD5 b3ee7e8bed6d994893788a8fbde109e6
BLAKE2b-256 db89743b98f2d5b0c96703b5bd6c980a8dd07dfd1a98b537895551d23a18b263

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.7-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 265.9 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.7-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e199b858113e1834a5eb534c640deeed9830b0a7308d7308b43f69102cc51413
MD5 8f139aab3e574e73edcf7881a679b5e4
BLAKE2b-256 b9daa598090ed593d89af9c3ea514f7c263039ba72307f7e82ab1168e000fbd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.7-cp37-abi3-win32.whl
  • Upload date:
  • Size: 256.8 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.7-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 071f87ada2d007006cadbfb45e4a8be12de91338db2c1f4a39651ef1389cd08f
MD5 d6350e893e6dcdd04a953b5d61e7a68a
BLAKE2b-256 173697b8bf93878faa6cf82e9533e2d684551b09f3edd22d26cdb5e8780c17f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57bc61ff551b1bcff84048aaa1fba727ad4690f3efee44b2ba78cc9d1ea7ffda
MD5 420a0041018bc850b206daf3dee5842d
BLAKE2b-256 5fb55b97475eacc6d81a174a1beca36093546a1302062c844ea99f71a792a2f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 74ffb699c57e41e245a157ca0c21042b32ec01fa1719dbb199f825d000f227b3
MD5 93a05ad2893ecc4df5aa618b61574a44
BLAKE2b-256 48d359755d8f51fdb1c59cc4accfe109d1b8f7d46dbb73d4c20846491fd9e57c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 3ec892862f89f86027605d2574b6f3fb7e354097af41e8e4085a2f6dde58de47
MD5 cf8f82360c76afe35ebf148c31611a7d
BLAKE2b-256 e044b0a55ce7dac1b12ef1d6da6bc917b86ff1ba9965cc026ff1f7f43ff24664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 17ef5938bfeaf9425eace952ed188519d1d740f56f44b6764f3658afba4356cb
MD5 c1979ecb16cd39e3eb312cbca4704d23
BLAKE2b-256 2eee16756531c5febea706285f1b6c757e9fc97017e3c187638a49f7d2bbabc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7034a8a967dd93d8f98e9c86bf7efbd1bcaab43a542f2f327e16bc2316eebed9
MD5 6cbfee56295f2fcb343bf6e94d3db4c3
BLAKE2b-256 5e60a1175337d9916c6627c5f5eafb9d692608a28f3f7ffee1ad5416644c9684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 273ffb95aafcb24f7b38506ed7507fc43ed95c546200225463b5a1cb1d3586c4
MD5 7a696469785906b75be16d38c5e5bdbc
BLAKE2b-256 1a43e45f95ded3d39bfd1a7086c965d81da74e88746bb03a5c636b3c63640a97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 049ee85ab5025f9bb090454fd5a4220a5ceafca57cd3ff0db13dd41302535a26
MD5 970652fe0bd1502afd3243cb344ed08e
BLAKE2b-256 c4eea8ea54508f113c5e9a1f274e447531b56751548409d3c8f66f72752bdfac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.7-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 06b2cfb79f0f56f1fc1190431a160a7869dd7c84ec06198c3b7c9a39b9d8352b
MD5 53eec4e24373102731f032e8ad5a6f51
BLAKE2b-256 728369f3990155b560b9d78d62167837aee09e94b77c884f8a98aa323f00805b

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