Skip to main content

No project description provided

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.0.tar.gz (3.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.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_mri-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.3-arch1-1

File hashes

Hashes for simple_mri-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c424e41ccf4f3890039f0bf53e8fce97ff69cfc44e0cfa5f4a7d7e2002568f4
MD5 eddbe5d3a81b46af15fcde425345bfb9
BLAKE2b-256 de7b77cfccfd19ece680ad3f5601f6efc394917190f40de3018ea586bcc24665

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_mri-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.3-arch1-1

File hashes

Hashes for simple_mri-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39f2c706bc58aafed3f75403f5097cece8e145ca63427943ea4bcb22f1b37a23
MD5 78c0b3925047c6b2786b56668746f4fd
BLAKE2b-256 b9f55d0c3ac65b232972d5d5d1fbaa9b60265edeb2aefbbfcb5caa255dbd753f

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