Giter Site home page Giter Site logo

jkelling / braimmu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhoore/braimmu

0.0 2.0 0.0 41.94 MB

Agent-based brain immunology

License: GNU General Public License v3.0

Makefile 0.07% C 19.75% C++ 75.59% Shell 0.27% POV-Ray SDL 0.04% Python 3.61% CMake 0.06% Cuda 0.62%

braimmu's Introduction

Here you see how you can run a simulation:

For running this code, your system needs message passing interface (mpi) compiler on c++ (mpicxx) to be already installed on your machine.

1- Go to ./src folder and enter the below command
>> make

2- If the code compiled well, a file named "braimmu.exe" would be generated.

3- Run an example simulation using one of input scripts, in.run or in.cuda in ./example/ directory:
Note: number of cores should match the partitions specifications inside the input script
>> mpirun -np 4 ../src/braimmu.exe connectome conn.run

4- The brain atlases are used as initial conditions, and taken from multiple sources:

* Neuroimaging and Surgical Technologies Lab, "http://nist.mni.mcgill.ca/?p=904":
  ICBM 2009c Nonlinear Symmetric 1ร—1x1mm template: NIFTI 55MB
  ./base/wm.nii  --> white matter: mni_icbm152_wm_tal_nlin_sym_09c.nii
  ./base/gm.nii  --> gray matter: mni_icbm152_gm_tal_nlin_sym_09c.nii
  ./base/csf.nii --> cerebrospinal fluid: mni_icbm152_csf_tal_nlin_sym_09c.nii

* Courtesy of Dr. Vladimir S. Fonov, McGill University, Montreal Neurological Institute, Brain Imaging Center:
  ./base/voi.nii --> volume of interest (VOI): mni_icbm152_lob_tal_nlin_sym_09c.nii
  ./base/voi.txt --> VOIs descriptions

* UCLA Brain Mapping Center, "http://www.bmap.ucla.edu/portfolio/atlases/ICBM_DTI-81_Atlas/":
  ICBM DTI-81 Atlas
  ./base/rgb.nii --> neural connectome: ICBM_COLOR.nii

5- Enjoy!

braimmu's People

Contributors

jkelling avatar mhoore 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.