4152
Comment:
|
11202
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Installation & Update = | = Installation and updates = Brainstorm is available in two forms: an open-source Matlab application (Matlab license required) and a standalone Java executable (free). Both are available for download in the same package. <<TableOfContents(2,2)>> |
Line 3: | Line 7: |
* Operating system: Any platform for which Matlab is available * Matlab version: '''R2006a '''(7.2) * Matlab '''Signal Processing Toolbox''' is optional, but strongly recommended. |
==== With Matlab ==== * Matlab >= '''R2009b (7.9)''' * Optional toolboxes: Signal Processing, Parallel Processing * For smoother graphics, we recommend Matlab >=''' R2014b''': <<BR>><<BR>> {{attachment:matlab_version_render.gif}} ==== Without Matlab ==== * Matlab Runtime: '''R2020a (9.8)''' * Download for free from the [[https://www.mathworks.com/products/compiler/matlab-runtime.html|Mathworks website]] * Supported operating systems: [[https://fr.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2020a-windows.pdf|Windows]], [[https://fr.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2020a-linux.pdf|Linux]], [[https://fr.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2020a-macintosh.pdf|MacOS]] * MacOS 13 (Ventura): Some users [[https://neuroimage.usc.edu/forums/t/brainstorm-standalone-does-not-start-on-latest-macos/37850|reported]] they had to use '''2022b''' instead. * If your OS is not supported, Brainstorm is available for other versions of the Matlab Runtime: * Recommend versions: [[InstallationR2015b|2015b]] or '''2022b''' * See all the versions available at the bottom of the [[https://neuroimage.usc.edu/bst/download.php|Download]] page ==== Hardware recommendations ==== * '''Screen''': Working with MEG/EEG recordings involves a lot of computational resources and large display windows. Therefore we recommend that you use a computer with a decent processing capacity and a screen larger than 13". * '''Mouse''': 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. * '''Memory''': Brainstorm can work with a limited amount of memory, it will only restrict the loading of larger files. However, you are strongly advised to work with a '''64bit operating system'''. Computers running a Windows 32bit system may run into a lot of "Out of memory" errors. |
Line 8: | Line 27: |
1. Visit the [[http://neuroimage.usc.edu/brainstorm3_register/download.php|Download]] section, create an account, and follow the indications. 1. Download the latest brainstorm_....zip archive 1. Unzip it somewhere you usually put your program files. For example:<<BR>> * __Windows__: Program Files\brainstorm3 * __Linux__: /usr/local/brainstorm3 (or $HOME/brainstorm3 if you are not admin) |
1. Go to the [[http://neuroimage.usc.edu/bst/download.php|Download]] page, complete the quick and free registration process. 1. If you don't receive the confirmation email, please check your '''spam folder'''. 1. Download one of the latest archive: * '''Source''': brainstorm_yymmdd_'''src'''.zip - For execution within Matlab * '''Binary''': brainstorm_yymmdd_'''bin'''.zip - Compiled version with no Matlab license required * '''Source + binary''': brainstorm_yymmdd.zip - Everything in the same zip file 1. Unzip it somewhere on your computer, for example:<<BR>> * __Windows__: My documents\brainstorm3 * __Linux__: /usr/local/brainstorm3 (or ~/brainstorm3 if you are not admin) |
Line 15: | Line 39: |
1. Create an empty folder "'''brainstorm_db'''" to store your Brainstorm database. For example: | 1. Create a new folder "'''brainstorm_db'''" for the Brainstorm database, for example: |
Line 19: | Line 43: |
* '''Warning''': Never create this folder inside the program folder (brainstorm3), it would get deleted when updating Brainstorm. 1. Set up a regular '''backup '''for your brainstorm_db folder, like you would do for any work you do on your computer. Losing hundreds of hours of work because of a wrong manipulation or a disk failure is common, but easy to avoid. |
|
Line 20: | Line 46: |
== Start the application == | == Start Brainstorm == |
Line 23: | Line 49: |
1. Do '''NOT '''add brainstorm3 folder to your path | 1. Do '''NOT '''add brainstorm3 folder to your Matlab path: this will be automatically done |
Line 26: | Line 52: |
1. Visit the [[Tutorials]] section to learn what to do next. | 1. When asked for the Brainstorm database folder, pick the "brainstorm_db" you have just created 1. Follow all the introduction tutorials in the section "Get started": [[Tutorials]] |
Line 29: | Line 56: |
1. Go to the [[http://neuroimage.usc.edu/brainstorm3_register/download.php|Download]] section again 1. Download the Matlab Compiler Runtime (MCR) for your operating system. 1. Install it: |
1. Download the '''Runtime R2020a (9.8)''' for your operating system: [[https://fr.mathworks.com/products/compiler/matlab-runtime.html|Mathworks website]] 1. Install the Matlab Runtime: |
Line 33: | Line 59: |
* __MacOS__: Click on the zip file to unzip it, then click on "InstallForMacOSX" | |
Line 34: | Line 61: |
* __MacOS__: Unzip, install 1. Run the program in brainstorm3/bin/R2011b/ * __Windows__: Double-click on brainstorm3.jar (no console) or brainstorm3.bat (console) * __Linux__: From a terminal, run ./brainstorm.command * __MacOS__: Double-click on brainstorm.command 1. Select the folder in which you installed the MCR library (Linux and MacOS only) 1. Visit the [[Tutorials]] section to learn what to do next. |
1. Run the program in brainstorm3/bin/R2020a/ * __Windows__: Double-click on ''brainstorm3.bat'' * __MacOS__: Double-click on ''brainstorm3.command ''and wait for instructions * __Linux__: From a terminal, run:<<BR>>''cd brainstorm3/bin/R2020a/''<<BR>>''./brainstorm3.command '' 1. Troubleshooting for MacOS: * On recent versions of MacOS, you may get an error message "'''Application can't be opened because it is from an unidentified developer'''". This message would appear for all the programs that were not downloaded from the Apple app-store. To go around this verification: right-click on the application > Open, then click on the Open button. * Other MacOS issues are discussed on the forum: [[https://neuroimage.usc.edu/forums/t/support-for-macos-bigsur/26890|Support for MacOS BigSur]]. 1. Troubleshooting for MacOS or Linux: * Some ''Linux Mint'' users have reported having interface issues, changing the graphical theme of their OS fixed this problem. * From a terminal, make sure that the file "''brainstorm3.command''" is executable:<<BR>>''chmod a+x brainstorm3.command'' * If nothing happens, run: <<BR>>''./brainstorm3.command MCR_DIR''<<BR>>MCR_DIR being the MCR 9.8 folder (ex: /Applications/MATLAB/MCR/v98) * Try with another binary release: See at the bottom of the [[https://neuroimage.usc.edu/bst/download.php|Download]] page 1. Troubleshooting for Windows: * Your current user may not have the necessary privileges. If are an administrator for your computer, you can do the following: right-click on ''brainstorm3.bat'' > Run as administrator. * If you are not the administrator of your computer and Matlab or the Runtime are not installed in the standard paths, Brainstorm may have trouble finding them. To specify manually the path of the Runtime or Matlab folder, right-click on ''brainstorm3.bat'' > Edit. Fill the second line of the script (Example: @SET MATLABROOT="C:\Program Files\MATLAB\R2020a"), save the file, and try to execute it again. 1. If the startup process seems very long, try pressing ENTER after clicking on the terminal window. 1. On Linux or MacOS, you may be asked to select the folder where you installed the Runtime. 1. When asked for the Brainstorm database folder, pick the "brainstorm_db" you have just created. 1. Follow all the introduction tutorials in the section "Get started": [[Tutorials]] |
Line 42: | Line 81: |
=== Tutorials === Whatever you decide to do with Brainstorm, you will learn a lot by following all the basic tutorials carefully. |
== No internet access == For some specific tasks, Brainstorm needs to download and install additional files and plugins. On a computer with no internet connectivity (e.g. at a hospital), you need to download manually these extra files on a different computer, then copy them to the computer where Brainstorm is installed. ==== SPM linear normalization ==== * Original tutorial: [[https://neuroimage.usc.edu/brainstorm/Tutorials/ImportAnatomy#MNI_normalization|Import the subject anatomy]] * Download: [[http://neuroimage.usc.edu/bst/getupdate.php?t=SPM_TPM|SPM_TPM.zip]] * Unzip it to: $HOME/.brainstorm/defaults/spm ==== Anatomy templates ==== * Original tutorial: [[https://neuroimage.usc.edu/brainstorm/Tutorials/DefaultAnatomy#Changing_the_default_anatomy|Default anatomy]] * Go to the [[https://neuroimage.usc.edu/bst/download.php|Download]] page * Download the zip corresponding to the template you need * Copy it without unzipping it to the folder: $HOME/.brainstorm/defaults/anatomy ==== Plugins ==== * Original tutorial: [[https://neuroimage.usc.edu/brainstorm/Tutorials/Plugins|Plugins]] * Check the list of available plugins in the tutorial, try to download it manually from the reference website. * If you can't find any way to download the plugin, check directly for the field URLzip in the function [[https://github.com/brainstorm-tools/brainstorm3/blob/master/toolbox/core/bst_plugin.m#L117|bst_plugin.m]]. * Unzip the downloaded file anywhere outside of the Brainstorm folders. * In the Plugins menu, select the menu '''Custom install > Select installation folder'''. See [[https://neuroimage.usc.edu/brainstorm/Tutorials/Plugins#Example:_FieldTrip|example]]. == Managing emails == After creating a new account, you will start receiving by email a weekly digest of the activity on the Brainstorm forum: questions from users, methodological discussions and bug reports. If you would like to stop receiving these emails, log into the [[https://neuroimage.usc.edu/forums/|forum]], go to your email preferences, and disable the option ''"When I don’t visit here, send me an email summary of popular topics and replies"''. If instead you would like to receive a copy of all the messages posted on the forum, select the option ''"Enable mailing list mode"''. <<HTML(<CENTER>)>> {{attachment:email_pref1.gif||width="388",height="91"}} {{attachment:email_pref2.gif||width="457",height="461"}} <<HTML(</CENTER>)>> |
Line 46: | Line 116: |
Brainstorm is improving every day. It is recommended to update the software regularly. | 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. |
Line 48: | Line 118: |
* 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 '''Help ''''''> Update Brainstorm''', in the main application window. |
For these reasons, we recommend that you update Brainstorm regularly using the following options: * Automatic updates (Matlab version only): * When Brainstorm starts, it checks online if a version newer than a month-old is available. * To disable the automatic updates, edit the software preferences (File > Edit preferences) * Restart Matlab after updating the software. * Manual updates (Matlab version only): * Menu '''Update ''''''> Update Brainstorm''', in the main application window. |
Line 54: | Line 127: |
* In case those simple methods do not work: * 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. * 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 * 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: * __Windows__: C:\Program Files\brainstorm3 * __Linux__: /home/username/brainstorm3 1. Create an empty folder "'''brainstorm_db'''" to store your Brainstorm database. For example: * __Windows__: C:\Program Files\brainstorm_db * __Linux__: /home/username/brainstorm_db 1. Run brainstorm executable: * __Windows__: brainstorm3/bin/brainstorm.exe * __Linux__: brainstorm3/bin/run_brainstorm3.sh 1. Visit the [[Tutorials]] section to learn what to do next. |
* Restart Matlab after updating the software. * Standalone 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) * Download the latest release of Brainstorm * Follow the installation instructions (see above) |
Installation and updates
Brainstorm is available in two forms: an open-source Matlab application (Matlab license required) and a standalone Java executable (free). Both are available for download in the same package.
Requirements
With Matlab
Matlab >= R2009b (7.9)
- Optional toolboxes: Signal Processing, Parallel Processing
For smoother graphics, we recommend Matlab >= R2014b:
Without Matlab
Matlab Runtime: R2020a (9.8)
Download for free from the Mathworks website
MacOS 13 (Ventura): Some users reported they had to use 2022b instead.
- If your OS is not supported, Brainstorm is available for other versions of the Matlab Runtime:
Hardware recommendations
Screen: Working with MEG/EEG recordings involves a lot of computational resources and large display windows. Therefore we recommend that you use a computer with a decent processing capacity and a screen larger than 13".
Mouse: 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.
Memory: Brainstorm can work with a limited amount of memory, it will only restrict the loading of larger files. However, you are strongly advised to work with a 64bit operating system. Computers running a Windows 32bit system may run into a lot of "Out of memory" errors.
Installation
Go to the Download page, complete the quick and free registration process.
If you don't receive the confirmation email, please check your spam folder.
- Download one of the latest archive:
Source: brainstorm_yymmdd_src.zip - For execution within Matlab
Binary: brainstorm_yymmdd_bin.zip - Compiled version with no Matlab license required
Source + binary: brainstorm_yymmdd.zip - Everything in the same zip file
Unzip it somewhere on your computer, for example:
Windows: My documents\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
Warning: Never create this folder inside the program folder (brainstorm3), it would get deleted when updating Brainstorm.
Set up a regular backup for your brainstorm_db folder, like you would do for any work you do on your computer. Losing hundreds of hours of work because of a wrong manipulation or a disk failure is common, but easy to avoid.
Start Brainstorm
With Matlab
- Start Matlab
Do NOT add brainstorm3 folder to your Matlab path: this will be automatically done
- Go to the brainstorm3 folder
- Type "brainstorm" in the command window
- When asked for the Brainstorm database folder, pick the "brainstorm_db" you have just created
Follow all the introduction tutorials in the section "Get started": Tutorials
Without Matlab
Download the Runtime R2020a (9.8) for your operating system: Mathworks website
- Install the Matlab Runtime:
Windows: Double-click on the .exe and follow the instructions
MacOS: Click on the zip file to unzip it, then click on "InstallForMacOSX"
Linux: From a terminal, unzip .zip, then run ./install
- Run the program in brainstorm3/bin/R2020a/
Windows: Double-click on brainstorm3.bat
MacOS: Double-click on brainstorm3.command and wait for instructions
Linux: From a terminal, run:
cd brainstorm3/bin/R2020a/
./brainstorm3.command
- Troubleshooting for MacOS:
On recent versions of MacOS, you may get an error message "Application can't be opened because it is from an unidentified developer". This message would appear for all the programs that were not downloaded from the Apple app-store. To go around this verification: right-click on the application > Open, then click on the Open button.
Other MacOS issues are discussed on the forum: Support for MacOS BigSur.
- Troubleshooting for MacOS or Linux:
Some Linux Mint users have reported having interface issues, changing the graphical theme of their OS fixed this problem.
From a terminal, make sure that the file "brainstorm3.command" is executable:
chmod a+x brainstorm3.commandIf nothing happens, run:
./brainstorm3.command MCR_DIR
MCR_DIR being the MCR 9.8 folder (ex: /Applications/MATLAB/MCR/v98)Try with another binary release: See at the bottom of the Download page
- Troubleshooting for Windows:
Your current user may not have the necessary privileges. If are an administrator for your computer, you can do the following: right-click on brainstorm3.bat > Run as administrator.
If you are not the administrator of your computer and Matlab or the Runtime are not installed in the standard paths, Brainstorm may have trouble finding them. To specify manually the path of the Runtime or Matlab folder, right-click on brainstorm3.bat > Edit. Fill the second line of the script (Example: @SET MATLABROOT="C:\Program Files\MATLAB\R2020a"), save the file, and try to execute it again.
- If the startup process seems very long, try pressing ENTER after clicking on the terminal window.
- On Linux or MacOS, you may be asked to select the folder where you installed the Runtime.
- When asked for the Brainstorm database folder, pick the "brainstorm_db" you have just created.
Follow all the introduction tutorials in the section "Get started": Tutorials
No internet access
For some specific tasks, Brainstorm needs to download and install additional files and plugins. On a computer with no internet connectivity (e.g. at a hospital), you need to download manually these extra files on a different computer, then copy them to the computer where Brainstorm is installed.
SPM linear normalization
Original tutorial: Import the subject anatomy
Download: SPM_TPM.zip
- Unzip it to: $HOME/.brainstorm/defaults/spm
Anatomy templates
Original tutorial: Default anatomy
Go to the Download page
- Download the zip corresponding to the template you need
- Copy it without unzipping it to the folder: $HOME/.brainstorm/defaults/anatomy
Plugins
Original tutorial: Plugins
- Check the list of available plugins in the tutorial, try to download it manually from the reference website.
If you can't find any way to download the plugin, check directly for the field URLzip in the function bst_plugin.m.
- Unzip the downloaded file anywhere outside of the Brainstorm folders.
In the Plugins menu, select the menu Custom install > Select installation folder. See example.
Managing emails
After creating a new account, you will start receiving by email a weekly digest of the activity on the Brainstorm forum: questions from users, methodological discussions and bug reports.
If you would like to stop receiving these emails, log into the forum, go to your email preferences, and disable the option "When I don’t visit here, send me an email summary of popular topics and replies".
If instead you would like to receive a copy of all the messages posted on the forum, select the option "Enable mailing list mode".
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 checks online if a version newer than a month-old is available.
To disable the automatic updates, edit the software preferences (File > Edit preferences)
- Restart Matlab after updating the software.
- Manual updates (Matlab version only):
Menu Update > 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.
- Standalone 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)
- Download the latest release of Brainstorm
- Follow the installation instructions (see above)