Giter Club home page Giter Club logo

pyminc's Introduction

Pyminc is a python interface to the MINC 2 library, allowing use of numpy arrays to access MINC data, and other such similar goodies, developed by Jason Lerch.


Documentation can be found in the tutorial section of the MINC Wikibooks (Programming with MINC2 in Python):

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

and some of the basics are described here:

https://github.com/Mouse-Imaging-Centre/pyminc/wiki


Requirements:

Pyminc is compatible with both Python 2 and Python 3. It requires numpy (the python numerical arrays package) to work; this can be installed automatically from PyPI via setuptools. Also, it needs MINC2 compiled as a shared object and accessible through the standard search paths. For the tests, you also need the minc-tools suite of command-line utilities.

Currently pyminc is geared towards the develop branch of libminc, because that is the version of MINC that is installed through the minc-toolkit (https://github.com/BIC-MNI/minc-toolkit). There are some substantial differences between that branch and the master branch of libminc in terms of the argument types of several functions.


Installing pyminc:

Pyminc is installable from PyPI via setuptools, pip, etc. To install from source:

  1. Untar the tarball if applicable
  2. Run:
python setup.py install

with an optional --prefix if you want to install it in a non-default location. 3) Test the installation of the pyminc library run:

python setup.py test
  1. At your option, also run the pyminc_test2.py script in the scripts folder. This program has 3 arguments: a minc file, a method for smoothing the volume (numpy, blitz or weave) and an output file name.

pyminc's People

Contributors

mcvaneede avatar bcdarwin avatar jasonlerch avatar leila1349 avatar gdevenyi avatar jgsled avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.