Skip to main content

Add your description here

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_mri-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.25

File hashes

Hashes for simple_mri-0.1.1.tar.gz
Algorithm Hash digest
SHA256 860468ca5bcf108837d118b46d814d223c70508d61ab419f353ea912ce76735e
MD5 b466075e31f0ada9cda4d37b98789063
BLAKE2b-256 091d58b7ecc3be69372d2145160867bdb3980284c90e4008f235d54b12608c6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_mri-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.25

File hashes

Hashes for simple_mri-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6fbb576f99b7f785fc919da23146314290d958569cb66407e5db51eaf946c0c4
MD5 765685d86a23c3e05aa3b66741f70442
BLAKE2b-256 6ce0933c19710babd87cf033525839967853256a6f01515839030490ef981f9a

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