Skip to main content

Classes for reading UNC format MRI files

Project description

PyUNC is a Python module for reading the UNC MRI image format it is also able to convert UNC format images to NIFTI format.

Example

from pyunc import UNCFile

unc = UNCFile.from_path('filename.unc')

# get the image title
unc.title

# get the image data as a numpy matrix
unc.pixels

Installation

git clone https://github.com/jstutters/pyunc
cd pyunc
pip install .

Requirements

pyunc is tested with Python v2.7 and 3.6. The module will install arrow, numpy and nibabel as dependencies.

Contribute

Support

If you are having problems, please let me know by submitting an issue in the tracker.

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

pyunc-0.6.3.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

pyunc-0.6.3-py2.py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page