Skip to main content

Simple MRI-utility wrapper around nibabel.

Project description

SimpleMRI

SimpleMRI is a library attempting to treat MRIs as simple as possible. At its center it treats MRI-images as a 3D-/4D-data array (if 4D, the three first indices are assumed to be related to space, and the fourth related to time), paired with an affine map from spatial indices to some real world coordinate space. It is built upon nibabel, but avoids several of the mechanisms or properties included in Nibabel, such as arrayproxies and additional metadata. While there are some functionality included for changing between different orientations of real space (RAS vs LPS etc.), the users are expected to know which coordinate space is used.

When reading MRI-data from file, the MRI data array is by default reoriented by reversing and permuting the axes such that the linear transform the index-order and direction is aligned with the coordinate axes.

Currently, only reading and writing MRI's of Nifti and FreeSurfer MGH-format.

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

simple_mri-0.1.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

simple_mri-0.1.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file simple_mri-0.1.5.tar.gz.

File metadata

  • Download URL: simple_mri-0.1.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for simple_mri-0.1.5.tar.gz
Algorithm Hash digest
SHA256 182554309bf28f76f8c8e1ffd2a5e417ea8c4deb2265283536f1ec3209fac201
MD5 e13c21600ad5fc8d895594c3b38f3072
BLAKE2b-256 e8485ac88c5380f000c12eac4a896ed02458a68921b8b72b51306bb70b0af3f1

See more details on using hashes here.

File details

Details for the file simple_mri-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: simple_mri-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for simple_mri-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e53e1b4b3b65a87911d12d27e952bed749d8f021d7f6c985755310fb4eb0973e
MD5 c0d5b3a7351218270e4330319f162749
BLAKE2b-256 e0263ac7a28bd5812d3862c2493a173971549500308b7f492b2343f5b1dfdce2

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