4419
Comment:
|
6413
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Installation = This page explains how to download and install Brainstorm. |
= Installation & Updates = == Requirements == Brainstorm is available in two distinct forms, both available for Windows, Linux and MacOSX: |
Line 4: | Line 5: |
<<TableOfContents(2)>> | * An open-source Matlab application (Matlab license required) * Necessary: Any Matlab version >= '''R2006b (7.3) ''' * No specific operating system requirements * Optional: Signal Processing Toolbox (for frequency filtering and resampling) * A stand-alone Java executable (Matlab license not required) * Requires the free download of the Matlab Compiler Runtime library ('''MCR''') * MCR version: '''R2013b (8.2)''' * __Windows__: Any version * __Linux__: Ubuntu 12.04+, RH 6.x, Debian 6.x, SUSE 11.3+ * __MacOS__: MacOSX 10.7.4+ (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks) * For older systems, or if this version doesn't work: [[InstallationR2012b|Read this page]] * More details: [[http://www.mathworks.com/support/sysreq/current_release/index.html?sec=mac|Mathworks website]] |
Line 6: | Line 18: |
== Requirements == Brainstorm is written in Matlab code only, thus it can run on any operating system supported by Matlab (including Windows, Linux, MacOS...). |
Working with MEG/EEG recordings involves a lot of computational resources and large display windows. Therefore we recommand that you use a computer with a decent processing capacity and a screen larger than 13". |
Line 9: | Line 20: |
If you have a Matlab licence: | You would also add to your comfort by using an external mouse instead of your laptop pad. Most of the manipulations are done with the mouse, and some involve an intensive use of the scrolling operation. A mouse wheel or the "two-finger move" on !MacBooks are perfect for this, but this operation is not always easy to perform on some laptops. |
Line 11: | Line 22: |
* You can download and run directly the Brainstorm '''source scripts''', * Using the source distribution will be make the application much easier to install * Minimum Matlab version: 7.1 (= R14-SP3) * Minimum Java VM version: 1.5 (To check that: type "ver" at Matlab command prompt) |
== Installation == 1. Go to the [[http://neuroimage.usc.edu/brainstorm3_register/download.php|Download]] page, complete the quick and free registration process <<BR>>(it helps us keep track of our users' demographics) 1. Download the latest brainstorm_....zip archive 1. Unzip it somewhere on your computer, for example:<<BR>> * __Windows__: Program Files\brainstorm3 * __Linux__: /usr/local/brainstorm3 (or ~/brainstorm3 if you are not admin) * __MacOS__: Applications/brainstorm3 |
Line 16: | Line 30: |
If you do not have a Matlab licence: * You can download the Brainstorm binaries corresponding to your operating system. * The executables are build using the Matlab Compiler (mcc) * This will require that you also install the Matlab Component Runtime (MCR) on your computer, a freely redistributable library * MCR is available for download on the website == Sources or binaries ? == You have Matlab installed: download the source code. You don't have Matlab installed: try to install the MCR and the binaries. == Sources: Installation steps == 1. Visit the [[http://neuroimage.usc.edu/brainstorm3_register/download.php|Download]] section, create an account, and follow the indications. 1. Download the latest bst_src_....zip archive 1. Unzip it somewhere you usually put your program files. For example: * __Windows__: C:\Program Files\brainstorm3 * __Linux__: /home/username/brainstorm3 * __MacOS__: Documents/brainstorm3 1. Create an empty folder "'''brainstorm_db'''" to store your Brainstorm database. For example: * __Windows__: C:\Program Files\brainstorm_db |
1. Create a new folder "'''brainstorm_db'''" for the Brainstorm database, for example: * __Windows__: My documents\brainstorm_db |
Line 39: | Line 34: |
1. Read carfully these recommandations about the ''brainstorm_db'' folder: * Do __not __create the __brainstorm_db__ folder in the __brainstorm3 __program folder * Never put your original data files in this directory * All the data in Brainstorm database need to be imported via the user interface * This directory is managed completely automatically by the application, do not move or delete the files it contains by yourself 1. Start Matlab, go to the brainstorm3 directory, and type "brainstorm" in the Matlab command window. * Note: Do '''not '''add brainstorm3 and subdirectories to your Matlab path, this will be done automatically. 1. Visit the [[Tutorials/TutFirstSteps|Tutorials]] section to learn what to do next. |
|
Line 48: | Line 35: |
== Sources: Updates == Brainstorm is improving every day. It is recommended to update the software regularly. |
== Start Brainstorm == ==== With Matlab ==== 1. Start Matlab 1. Do '''NOT '''add brainstorm3 folder to your path: this will be done automatically 1. Go to the brainstorm3 folder 1. Type "brainstorm" in the command window 1. When asked for the location of the Brainstorm database folder, pick the folder "brainstorm_db" you have just created 1. We recommend you visit the [[Tutorials]] pages to learn how to use most features of the software. |
Line 51: | Line 44: |
* Automatic updates: * When you start Brainstorm, it checks online if your version is older than a month. * To enable / disable those automatic updates, edit the software preferences (File > Set preferences...) * Manual updates: * Menu '''File > Update Brainstorm''', in the main application window. |
==== Without Matlab ==== 1. Download the '''MCR R2013b (8.2)''' for your operating system: [[http://www.mathworks.com/products/compiler/mcr/|Mathworks website]] 1. Follow the instructions to install the MCR: * __Windows__: Double-click on the .exe and follow the instructions * __Linux__: From a terminal, unzip .zip, then run ./install * __MacOS__: Click on the zip file to unzip it, then click on "InstallForMacOSX". 1. On MacOSX, if you get errors installing the MCR, you may have to install Oracle Java 7 manually: * Google "download java 7" and follow the instructions * Google "download jdk 7" and follow the instructions (you need both the JRE and JDK) * Open a terminal, cd to the MCR installation folder, and run manually the install program:<<BR>>cd ~/Downloads/MCR_R2013b_maci64_installer/<<BR>>./install -javadir /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home -v * Thank Apple Inc. for making non-Apple platforms so complicated to install 1. Run the program in brainstorm3/bin/R2013b/ * __Windows__: Double-click on brainstorm3.bat * __MacOS__: Double-click on ''brainstorm3.command ''and wait for instructions * If nothing happens, open a terminal and follow the Linux instructions. * __Linux__: From a terminal, cd brainstorm3/bin/R2013b/ * Make sure that the file "''brainstorm3.command''" is executable:<<BR>>=> chmod a+x brainstorm3.command * Run: ''./brainstorm3.command '' * If nothing happen, run: ''./brainstorm3.command MCR_DIR ''<<BR>>MCR_DIR is where the MCR 8.2 is installed (ex: /Applications/MATLAB/MCR/v82) 1. MacOSX despaired users: if nothing works, you may try running the MCR 2012b: [[http://neuroimage.usc.edu/brainstorm/InstallationR2012b|Read this page]] 1. When you start Brainstorm for the first time on Linux or MacOS, you will be prompted to select the folder where you installed the MCR 1. When asked for the location of the Brainstorm database folder, pick the folder "brainstorm_db" you have just created 1. Visit the [[Tutorials]] section to learn how to use most features of the software. == Updates == Brainstorm is quickly improving and evolving. We have chosen not to go through a stable-release policy but rather, we established a quick and easy way to update the software seamlessly for you. Although this approach has its shares of risks of possibly seeing new bugs emerging from the most recent update, it has the great advantage of being dynamic and of rapidly disseminating new, important features. We encourage our users to report bugs through our [[http://neuroimage.usc.edu/forums|forum]], and our experience shows fixes are completed quickly enough to avoid disruptive downtime to our users. For these reasons, we recommend that you update Brainstorm regularly using the following options: * Automatic updates (Matlab version only): * When Brainstorm starts, it automatically checks online if a version newer than a month-old is available. * To disable the automatic updates, edit the software preferences accordingly (File > Set preferences...) * Restart Matlab after updating the software. * Manual updates (Matlab version only): * Menu '''Help ''''''> Update Brainstorm''', in the main application window. |
Line 57: | Line 81: |
* In case those simple methods do not work:<<BR>> * Delete the old brainstorm3 folder * Follow the installation instructions again (previous section) == Binaries: Installation steps == 1. Visit the [[http://neuroimage.usc.edu/brainstorm3_register/download.php|Download]] section, create an account, and follow the indications. 1. Download the two binaries bst_bin...zip archive for your operating system. <<BR>> * One file is the Matlab Component Runtime (MCR) * The other file is the compiled application itself. * If your operating system is not listed: post a message on the [[http://neuroimage.usc.edu/forums/|Forum]], we will do our best to make it available. 1. Unzip the bst_bin..._MCR.zip file, and execute the MCRInstaller<<BR>> * This will install the Matlab Runtime Component (MCR) on your computer. * Read more about the MCR: [[http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/f12-999353.html|Matlab website]] 1. Unzip the bst_bin...zip file somewhere you usually put your program files. For example:<<BR>> * Windows: C:\Program Files\brainstorm3 * Linux: /home/username/brainstorm3 1. Run brainstorm executable:<<BR>> * Windows: brainstorm3/bin/brainstorm.exe * Linux: brainstorm3/bin/run_brainstorm3.sh 1. Visit the [[Tutorials/TutFirstSteps|Tutorials]] section to learn what to do next. |
* Restart Matlab after updating the software. * Stand-alone version (or in case the above methods do not work for you) * Delete the brainstorm3 folder (it will not delete your database, which is in your user folder) * Dowload the latest release of the Brainstorm version * Follow the installation instructions (see above) |
Installation & Updates
Requirements
Brainstorm is available in two distinct forms, both available for Windows, Linux and MacOSX:
- An open-source Matlab application (Matlab license required)
Necessary: Any Matlab version >= R2006b (7.3)
- No specific operating system requirements
- Optional: Signal Processing Toolbox (for frequency filtering and resampling)
- A stand-alone Java executable (Matlab license not required)
Requires the free download of the Matlab Compiler Runtime library (MCR)
MCR version: R2013b (8.2)
Windows: Any version
Linux: Ubuntu 12.04+, RH 6.x, Debian 6.x, SUSE 11.3+
MacOS: MacOSX 10.7.4+ (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks)
For older systems, or if this version doesn't work: Read this page
More details: Mathworks website
Working with MEG/EEG recordings involves a lot of computational resources and large display windows. Therefore we recommand that you use a computer with a decent processing capacity and a screen larger than 13".
You would also add to your comfort by using an external mouse instead of your laptop pad. Most of the manipulations are done with the mouse, and some involve an intensive use of the scrolling operation. A mouse wheel or the "two-finger move" on MacBooks are perfect for this, but this operation is not always easy to perform on some laptops.
Installation
Go to the Download page, complete the quick and free registration process
(it helps us keep track of our users' demographics)- Download the latest brainstorm_....zip archive
Unzip it somewhere on your computer, for example:
Windows: Program Files\brainstorm3
Linux: /usr/local/brainstorm3 (or ~/brainstorm3 if you are not admin)
MacOS: Applications/brainstorm3
Create a new folder "brainstorm_db" for the Brainstorm database, for example:
Windows: My documents\brainstorm_db
Linux: /home/username/brainstorm_db
MacOS: Documents/brainstorm_db
Start Brainstorm
With Matlab
- Start Matlab
Do NOT add brainstorm3 folder to your path: this will be done automatically
- Go to the brainstorm3 folder
- Type "brainstorm" in the command window
- When asked for the location of the Brainstorm database folder, pick the folder "brainstorm_db" you have just created
We recommend you visit the Tutorials pages to learn how to use most features of the software.
Without Matlab
Download the MCR R2013b (8.2) for your operating system: Mathworks website
- Follow the instructions to install the MCR:
Windows: Double-click on the .exe and follow the instructions
Linux: From a terminal, unzip .zip, then run ./install
MacOS: Click on the zip file to unzip it, then click on "InstallForMacOSX".
- On MacOSX, if you get errors installing the MCR, you may have to install Oracle Java 7 manually:
- Google "download java 7" and follow the instructions
- Google "download jdk 7" and follow the instructions (you need both the JRE and JDK)
Open a terminal, cd to the MCR installation folder, and run manually the install program:
cd ~/Downloads/MCR_R2013b_maci64_installer/
./install -javadir /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home -v- Thank Apple Inc. for making non-Apple platforms so complicated to install
- Run the program in brainstorm3/bin/R2013b/
Windows: Double-click on brainstorm3.bat
MacOS: Double-click on brainstorm3.command and wait for instructions
- If nothing happens, open a terminal and follow the Linux instructions.
Linux: From a terminal, cd brainstorm3/bin/R2013b/
Make sure that the file "brainstorm3.command" is executable:
=> chmod a+x brainstorm3.commandRun: ./brainstorm3.command
If nothing happen, run: ./brainstorm3.command MCR_DIR
MCR_DIR is where the MCR 8.2 is installed (ex: /Applications/MATLAB/MCR/v82)
MacOSX despaired users: if nothing works, you may try running the MCR 2012b: Read this page
- When you start Brainstorm for the first time on Linux or MacOS, you will be prompted to select the folder where you installed the MCR
- When asked for the location of the Brainstorm database folder, pick the folder "brainstorm_db" you have just created
Visit the Tutorials section to learn how to use most features of the software.
Updates
Brainstorm is quickly improving and evolving. We have chosen not to go through a stable-release policy but rather, we established a quick and easy way to update the software seamlessly for you. Although this approach has its shares of risks of possibly seeing new bugs emerging from the most recent update, it has the great advantage of being dynamic and of rapidly disseminating new, important features. We encourage our users to report bugs through our forum, and our experience shows fixes are completed quickly enough to avoid disruptive downtime to our users.
For these reasons, we recommend that you update Brainstorm regularly using the following options:
- Automatic updates (Matlab version only):
- When Brainstorm starts, it automatically checks online if a version newer than a month-old is available.
To disable the automatic updates, edit the software preferences accordingly (File > Set preferences...)
- Restart Matlab after updating the software.
- Manual updates (Matlab version only):
Menu Help > Update Brainstorm, in the main application window.
- If it doesn't work: check that you have the rights to write in the brainstorm3 folder.
- Restart Matlab after updating the software.
- Stand-alone version (or in case the above methods do not work for you)
- Delete the brainstorm3 folder (it will not delete your database, which is in your user folder)
- Dowload the latest release of the Brainstorm version
- Follow the installation instructions (see above)