pyunc

Classes for reading UNC format MRI files


License
MIT
Install
pip install pyunc==0.6.3

Documentation

PyUNC

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.