Skip to content

jstutters/pyunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python classes for reading the UNC MRI image format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages