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.4.tar.gz (6.3 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.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_mri-0.1.4.tar.gz
  • Upload date:
  • Size: 6.3 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.4.tar.gz
Algorithm Hash digest
SHA256 09e92b1812291e65651427539b9b3224871d421e066b3224d4fd0d3ae394e05a
MD5 ab22f85ea165c4fd8cf10582a6f8d1b5
BLAKE2b-256 cb5ddc2da6fbb3f356d80bf4b09118a8320019e6d1e8e44271900933cc925fe5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_mri-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6c31a6c3eda91ba6af2eec3722e1f19f49fa01fcef907a47eeee0a5c8ee36fcc
MD5 39a59370fca0da2b65d66c6e9dbd10c3
BLAKE2b-256 abeba99471b06949c55caaf50c21703e0224e1f54098677ee676e8c20a52bff3

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