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 an code example for PyArrShow

import  pyas 
import numpy as np
5d_nparray = np.random.rand(256,344,10,5,8)
pyas.PyArrShow().show(a)

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.7.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.7-py3-none-any.whl (159.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyArrShow-1.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 451e1c4208bf981525dbfd8b04d0dfcdc541d064bba80aea1c91dc645934c793
MD5 3b1f8a10920f89e0f1dd651a2240223b
BLAKE2b-256 ddd76c340dc873b0251d746c7e4c49c646b1c7d009f6b5610caa7186b59e1dbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyArrShow-1.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7034c6b2e2e5d04666ac4a49e884c42ec586d9687c86da5f0e29311da890e998
MD5 08bba223f5af06657e1652d978936ef6
BLAKE2b-256 3a7688c9b43877b43cc0942adb84f0bd100d153d7291e09ae5cafe815b9f843f

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