Skip to content

Installation

Edouard Delaire edited this page Jun 23, 2023 · 7 revisions

Installation

The following page provides instructions for installing from Brainstorm. First, install brainstorm using the following tutorial: https://neuroimage.usc.edu/brainstorm/Installation

Without Matlab, NIRSTORM is already included in Brainstorm

With Matlab, NIRSTORM can be downloaded using Brainstorm's plugin system: https://neuroimage.usc.edu/brainstorm/Tutorials/Plugins

Additional tools for NIRSTORM

Monte Carlo eXtreme MCX

Monte Carlo eXtreme MCX is a tool used in NIRSTORM to simulate NIRS light propagation (computation of NIRS forward model). Two versions can be downloaded using Brainstorm's plugin system: MXClab-Cuda using GPU acceleration using a single or multiple GPUs with CUDA; or MXCLAB-OpenCL using OpenCL. More information here

IBM ILOG CPLEX Optimizer (CPLEX)

CPLEX is a set of tools to perform functional optimization edited by IBM. It is used here to solve the integer programming problem during the optimal montage computation.
For license concerns, we cannot bundle the CPLEX library within NIRSTORM. One can purchase a free copy of CPLEX if they are a student or academic.

To download CPLEX :

  • Visit http://ibm.biz/CPLEXonAI and create an account using your institutional email
  • Once you are connected; go down the page and click on software and then ILOG CPLEX Optimization Studio and click on download. A new page will open
  • In the search options, select text, and write: "IBM ILOG CPLEX Optimization Studio V12.10 Multiplatform Multilingual eAssembly"
  • Download "IBM ILOG CPLEX Optimization Studio V12.10 for X Multiplatform Multilingual" where X is your operating system (eg. Windows, Linux, MacOs)
  • For MacOs, install CPlex.
  • For Linux, and Windows, unzip the file in your Documents

Finally, add the path to the CPLEX Matlab bindings to the Matlab path: go to the "Home" tab, click "Set path" (yellow folder icon) then click on "Add with subfolders" and select the folder of the CPLEX Matlab bindings.

In Mac, this file is in your application folder.

Note: NIRSTORM has been tested with the versions 12.8 and 12.3.