GithubHelp home page GithubHelp logo

yohanyee / minclaplace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mouse-imaging-centre/minclaplace

0.0 2.0 0.0 588 KB

Laplace's equation for measuring thickness (or other uses of streamlines) between two boundaries

Python 99.08% R 0.92%

minclaplace's Introduction

minclaplace

All the glories of Laplace's equation for measuring cortical thickness as initially described in:

Jones SE, Buchbinder BR, Aharon I. Three-dimensional mapping of cortical thickness using Laplace's equation. Hum Brain Mapp. 2000 Sep;11(1):12-32.

and modified somewhat in:

Lerch JP, Carroll JB, Dorr A, Spring S, Evans AC, Hayden MR, Sled JG, Henkelman RM. Cortical thickness measured from MRI in the YAC128 mouse model of Huntington's disease. Neuroimage. 2008 Jun;41(2):243-51.

Can be used anywhere two boundaries can be defined and the path from one boundary to the other has some intrinsic meaning. The cerebral cortex is the classic example, though it has been applied to bone cortex, plaque thickness, etc., as well.

Usage

Detailed usage examples to come

Installing

python setup.py install

(If you want to specify the install location, add the --prefix option, i.e.: python setup.py install --prefix=/some/directory)

Requires numpy, scipy, and pyminc (version 0.3 or greater).

Compiling

The setup.py script uses the cython generated C code; to regenerate that C code, i.e. after making changes to cython_laplace.pyx, run:

python setup-cython.py build_ext --inplace

Note that you need cython version 0.16 or greater.

minclaplace's People

Contributors

jasonlerch avatar yohanyee avatar

Watchers

James Cloos avatar  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.