Skip to main content

Python ArrayShow for MRI data visualization.

Project description

PyArrShow

About

Python is presently the leading language for MRI data processing and reconstruction, such as in fastMRI challenge, etc. Due to MRI data usually containing multiple dimensional aspects, such as width-height-slice-coil-dynamic-modalities(such as different b-values in DWI, and different TE images in multi-echo GRE/SE sequence), visualization of processed or reconstructed results requires checking MRI data along specific dimensions, and this need can not be simply satisfied by standard matplotlib. Additionally, in the data preparation stage, visually checking multi-dimensional inputs and outputs is quite important and necessary.

PyArrShow attempts to provide a Python tool with a similar functionality as the Matlab arrShow project.

Installation

Use the package manager pip to install PyArrShow.

pip install PyArrShow

Installing Directly from Source

If you want to install directly from the GitHub source, clone the repository, navigate to the PyArrShow root directory and run

pip install -e .

Examples

Here is a code example for PyArrShow

import pyas 
import numpy as np
nparray_5d = np.random.rand(256,344,10,5,8)
pyas.PyArrShow().show(nparray_5d)
nparray_5d_c= np.random.rand(256,344,10,5,8) + 1j*np.random.rand(256,344,10,5,8)
pyas.PyArrShow().show(nparray_5d_c)

License

PyArrShow is MIT licensed, as found in the LICENSE file.

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

PyArrShow-1.0.8.tar.gz (151.3 kB view details)

Uploaded Source

Built Distribution

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

PyArrShow-1.0.8-py3-none-any.whl (159.4 kB view details)

Uploaded Python 3

File details

Details for the file PyArrShow-1.0.8.tar.gz.

File metadata

  • Download URL: PyArrShow-1.0.8.tar.gz
  • Upload date:
  • Size: 151.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for PyArrShow-1.0.8.tar.gz
Algorithm Hash digest
SHA256 8c19aab461f97ce2c63e2c120f3a86956879853a700fa7a2e5a0245a4241dfdc
MD5 1ba614a00765fb9496a9e2b2231d54e8
BLAKE2b-256 13a224093c2d1715908f6338b119f3f9bb2c60fac97a05ff64a9f19d606f5145

See more details on using hashes here.

File details

Details for the file PyArrShow-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: PyArrShow-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 159.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for PyArrShow-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e22a6692e46cd189d91e8c2f37d5c7b7a1d768a942532fb4cff2329844a23d43
MD5 c4456f50b96c691bee7269753d4f24dd
BLAKE2b-256 62d5a4e4afa1a5dfe0e904e987d89616b321099ca862753d1be03febe2aec008

See more details on using hashes here.

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