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

Uploaded Source

Built Distributions

MRzeroCore-0.3.9-cp37-abi3-win_amd64.whl (266.5 kB view details)

Uploaded CPython 3.7+ Windows x86-64

MRzeroCore-0.3.9-cp37-abi3-win32.whl (257.4 kB view details)

Uploaded CPython 3.7+ Windows x86

MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (403.7 kB view details)

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

MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (481.6 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (448.8 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (408.1 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (400.2 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

MRzeroCore-0.3.9-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl (419.4 kB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.5+ i686

MRzeroCore-0.3.9-cp37-abi3-macosx_11_0_arm64.whl (364.9 kB view details)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

MRzeroCore-0.3.9-cp37-abi3-macosx_10_12_x86_64.whl (368.8 kB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.9.tar.gz
  • Upload date:
  • Size: 39.6 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.9.tar.gz
Algorithm Hash digest
SHA256 4470cd7a208524d1f0bcab328154d23a79002201822de2f011b16d6221616365
MD5 3aa046f435fcf70e849f0d09a66fc14d
BLAKE2b-256 dd5a621694da592368970dcc787782638373599f6adb00edda98cc08e2de5ad1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.9-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 266.5 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.9-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f7761a49a8473f0eacbd35aadcea894af1b36ec809001e4ba09d9decea341d8
MD5 47f069fe01b1b73cdc16bd5e489ead3f
BLAKE2b-256 3fff73b43b02a3f58e87d6026d015bf441cd1df138df3a1d20884f4f779f4b11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: MRzeroCore-0.3.9-cp37-abi3-win32.whl
  • Upload date:
  • Size: 257.4 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.9-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 65b01a2a6532c91f2a180cedc53f7463a6f0ec046cc2da47a23101bd4cb908a6
MD5 f5db4e9a463d99c7fffa81d8b97fff03
BLAKE2b-256 c3f151594ca9e51e83347fa759a3419813352c8afe28441f5b8425236a4b8306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb1cb5526835d7af5af7e79290f5308a07629fe2aab2cb19dc54d5697936e5f8
MD5 0d3bc2730fbcc3ef9250b9895495135e
BLAKE2b-256 d58866f299a80001fa6f2ba41a41d330f522df0491fb32628cfabea73d0ae486

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 c544237188c5e0e89eea0456f13475596521d4c2a86cac3f5824d71dec313cd2
MD5 a98b7b80012fcdf33b00fbab22cd384b
BLAKE2b-256 ea42e6ad6fbddc365098b7eabb6508b5be0156631c1ea8ed4b1fee8512758dae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 5112bfc68b4d9c631c57d7f81aa0af2efa6dfaacb18fcffab6459b6af23ecc51
MD5 39983f14a2a6db23086b3daec68bb215
BLAKE2b-256 b397cebd0243c1533c8899ea323d3c01229536f9fc1109cc809dbdb9ed130459

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 d8f56f3c8831f7bccaf1d7cc00aee2990acb4113c4bac622ff22283ee9415f0f
MD5 44120d42c8c42af04f5001ad688c0b10
BLAKE2b-256 5511dff7a4c1231310d6a83ba5184d31cdb714c388a24ea03a4c700d18a5e665

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3d23550b891e4b5d278b9b6c578bab1e3fd368b01e07b9620f6fb7382c394e52
MD5 8a8b4ceb733908cd278edf0b63ecfefe
BLAKE2b-256 8f5b097478be397acaa8fd14c5d79968830a27edd45326459282acc05c294baf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 96c2edea7a0c707f9268818c12113c4343bdb04ee76ecb5e1202489492c62d60
MD5 8c7cd33c53399f2468022454b57acafb
BLAKE2b-256 3b6eaae7b431d8297086d85abdc9ab700a6ff72b2bc1c8c5ad944f47dfa97fea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59e438dedcfedb49d05c54c335406927123e7718cc50b3b11d827a0877bf7a17
MD5 8e09e0013b28f719392a16b6045032b4
BLAKE2b-256 47d9cde84fa6b4456c1d36abb803899419f5bc5d29691ef216837fea943fd02e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for MRzeroCore-0.3.9-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6e756b58dac4fad3740d5d7a840db6fb94ae1fbef3a11b49afb78c6765f9744e
MD5 df2167832c7094bbca050e39f94df9bb
BLAKE2b-256 a0ffffaa9e07067a9655730334f2f340ddda3762969f3b6b322ad264eb50f90a

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