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.6.tar.gz (4.9 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.6-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_mri-0.1.6.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for simple_mri-0.1.6.tar.gz
Algorithm Hash digest
SHA256 083cec9ce378b3d2b61ed160487120abb8218cdf1336e94ce26807b9f4b0f450
MD5 378c192d0dd8f0468b2b1cf4e03797f4
BLAKE2b-256 a2da48072db6c6368fe076c006c88a4fec155a223a8236f1001b021a1a1a26cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_mri-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for simple_mri-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4b68675410168df3bc64252f00133ee9c3b7bca9b011d51421808bab91e4af2d
MD5 09840f86a04e505b105ae3859bf4d929
BLAKE2b-256 1cb9ef0df29f7d69dc21def0ab0ddccd7521f08d47c97e01969b90c6611c229e

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