3040
Comment:
|
5461
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Installation = == Sources or binaries ? == The distribution of Brainstorm is available in two formats: Matlab source code (.m scripts), and compiled binaries. |
= Installation & Updates = == Requirements == Brainstorm is available in two distinct forms, both available for Windows, Linux and MacOSX: |
Line 5: | Line 5: |
If you have a Matlab installation running on your computer or if you can get a licence easily, you should download the source distribution. It will be much easier to make it work, to update, to fix, and you will be able to use the rich Matlab environment to perform custom computation or visualization operations. | * An open-source Matlab application (Matlab license required) * Necessary: Any Matlab version >= '''R2006b (7.3) ''' * No 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) * Note that Linux and MacOSX need''' recent systems''' * More details: [[http://www.mathworks.com/support/sysreq/current_release/index.html?sec=mac|See the Mathworks website]] |
Line 7: | Line 18: |
If you don't have Matlab, you can use a compiled version if you find one corresponding to your operating system in the ''Download ''section. "Compiled" means processed with the Matlab Compiler Toolbox. It does not produce real native executable code, but requires the Matlab Component Runtime, a library which is freely distributed and included in the binary distributions. This explains why the compiled version of Brainstorm is over 200Mb. | 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: |
== Installation steps (Sources) == 1. Visit the "''Register''" section, create an account, and then go the "''Download''" section. 1. Download the toolbox sources. 1. Unzip it somewhere you usually put program files. 1. Create an empty folder to store your Brainstorm database (for instance "''brainstorm_database''", or "''brainstorm_protocols''")<<BR>>__IMPORTANT NOTES__: * This directory will be managed completely automatically by Brainstorm * Never put your original data files in this directory: it can prevent Brainstorm to manage it properly * All the data in Brainstorm database need to be imported via the GUI 1. Start Matlab, go to the brainstorm3 directory, and type "brainstorm" in the Matlab command window. 1. It should display a nice splash screen and then ask you several things. The [[TutFirstStart|First start tutorial]] is here to help you through these steps. 1. Visit the Tutorials section to learn how to use it |
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 21: | Line 22: |
== Installation steps (Binaries) == Coming soon |
== 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 24: | Line 30: |
== BrainStorm directories == Some more explanations about files and folders.<<BR>>Brainstorm needs '''different directories''', please try not to put everything at the same place, it won't work: |
1. Create a new folder named e.g., "'''brainstorm_db'''", which will be used by the Brainstorm database. For example: * __Windows__: My documents\brainstorm_db * __Linux__: /home/username/brainstorm_db * __MacOS__: Documents/brainstorm_db |
Line 27: | Line 35: |
* '''Program directory: "brainstorm3"'''<<BR>>It contains all the Matlab .m script files, and has the following architecture: * '''doc'''/ : * '''java'''/ : * '''plugins'''/ : * '''defaults/eeg'''/ : * '''defaults/anatomy'''/ : * '''toolbox'''/: * '''Database directory'''<<BR>>Created by the user. Contains all the Brainstorm database files. * '''User directory: ".brainstorm"'''<<BR>>Created automatically at Brainstorm startup, in the user directory (home directory on linux, "C:\Documents and Settings\username" on Windows). * brainstorm.mat : Matlab matrix where the Brainstorm options and database structure are stored. * tmp/ : temporary directory used by some of the Brainstorm functions. Cleaned each time Brainstorm is started * '''Original data files''', recordings and anatomies: you can put them wherever you want but not in any of the previous folders. |
== 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. ==== 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. Run the program in brainstorm3/bin/R2013b/ * __Windows__: Double-click on brainstorm3.bat * __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 '' * __MacOS__: Double-click on ''brainstorm3.command ''and wait for instructions 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. * 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) |
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 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)
Note that Linux and MacOSX need recent systems
More details: See the 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 named e.g., "brainstorm_db", which will be used by 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".
- Run the program in brainstorm3/bin/R2013b/
Windows: Double-click on brainstorm3.bat
Linux: From a terminal, cd brainstorm3/bin/R2013b/
Make sure that the file "brainstorm3.command" is executable:
=> chmod a+x brainstorm3.commandrun ./brainstorm3.command
MacOS: Double-click on brainstorm3.command and wait for instructions
- 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)