[MINC-users] introducing pyminc!

Jason Lerch jason at phenogenomics.ca
Thu Jan 20 14:06:03 EST 2011


Greetings all mincers,

Long overdue, and promised before but never delivered, I finally released my python/minc interface. It's very intelligently called pyminc. What is it? A way to read MINC2 files in python using the numpy arrays library. How do you install it? Great question - see here:

http://en.wikibooks.org/wiki/MINC/Tutorials/InstallingPyminc

And how does one use it? I thought you'd never ask:

http://en.wikibooks.org/wiki/MINC/Tutorials/PythonExample
http://en.wikibooks.org/wiki/MINC/Tutorials/PythonSliceLoop

And for all you Perl/C geeks and, even worse, folks who believe coding in Matlab should not be immediately and painfully punished - why would you want to use python and pyminc at all? See here for an illustration of the different and wonderful ways you can use python to write fast numeric code:

http://en.wikibooks.org/wiki/MINC/Tutorials/NumericPyminc

All the code is hosted on launchpad, so contributions welcome! The next task is add proper MINC header manipulation support ...

Jason


More information about the MINC-users mailing list