4585
Comment:
|
2787
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Objectives: Create a protocol with one subject, that uses the default anatomy Colin27. |
|
Line 16: | Line 18: |
== Brainstorm database == Brainstorm toolbox allows you to classify your recordings and analysis with three different levels of definition: * '''Protocol''' * Some people would prefer to call this ''experiment ''or ''study''. * It can designate all the data that were acquired on one or several subjects, with the same objectives (study of a specific cognitive task, epileptic spikes localization, functional differences between two populations). * Each protocol may include one or several subjects. * Default data can be defined at the protocol level. If you cannot get the individual MR images of all or some of your subjects, you can use a default anatomy. If you want to localize the sources for an EEG recording but do not know the location of each electrode in space, you can use standardized electrodes positions. * '''Subject''' * A person who participated in a given protocol. * You need two categories of information to define a subject: * Files describing the subject's anatomy : MRI and surfaces * Functional data files, ie. files that have a temporal dimension or that are related to a precise recording session: EEG / MEG recordings, definition of the sensors, source estimations, statistical results... * '''Condition''' * For each subject, functional files can be classified in different ''experimental conditions''. * This level of definition is also used to separate different ''runs ''(ie. recording sessions) for the same subject. Some Brainstorm database properties: * It is created and managed completely from the Brainstorm GUI (tree in the main interface window) * It is based on the files/directories architecture: * Anatomy data in: protocol_name/subject_name/'''anat'''/ * Functional data in: protocol_name/subject_name/'''data'''/condition_name/ * Each file you see in the Brainstorm window corresponds to a proper file on the hard drive; but the contrary is not necessarily true. There are extra information stored in each directory, to save properties, comments, default data, links between different items, etc. * For this reason, you should not try to manipulate directly the files in the Brainstorm database directory. * A copy of the database structure is saved by Brainstorm in your home directory, so that when you start the program or change protocol, there is no need to read again all the files on the hard drive (this may take some time).<<BR>>As a consequence, the files that are displayed in the Brainstorm window may differ from what is actually on the disk (if some process crashed, or if you moved or add some files by yourself).<<BR>>If this happens, you will have to reload the current protocol (popup menu ''Reload'') or the whole database (menu ''File > Reload database'') |
|
Line 45: | Line 20: |
1. Edit the protocol name and enter: "Tutorial_FirstSteps". It will automatically update the paths to the ''Anatomy path'' and the ''Dataset path'' 1. Select the "" |
1. Edit the protocol name and enter: "!TutorialFirstSteps". It will automatically update the paths (''Anatomy path'' and ''Datasets path''. 1. Select the "''MNI Colin27''" as the default anatomy. * This anatomy (MRI & surfaces) will be available if needed by all the subjects in the protocol. * This can be changed later, using the "''Use default''" menu in the subjects' popup menu. 1. ''Subjects configuration'' panel: * These are the default settings that will be applied when creating new subjects. It is then possible to override those settings for each subject. * Our objective is to create one subject that uses the default anatomy Colin27, so select the option "''Yes, use protocol's default anatomy''". * The option selected for ''Default channel file'' is not important because we are not going to import recordings (and channel files, ie. files that describe each sensor: position, orientation, name...) 1. Once you get something like the following figure, click on ''Create''.<<BR>> {{attachment:createNewProtocol.gif}} 1. |
Tutorials: First steps
Objectives: Create a protocol with one subject, that uses the default anatomy Colin27.
Contents
Running Brainstorm for the first time
- Start Matlab, go to brainstorm3 directory, and type "brainstorm3" in Matlab command window.
- With some Matlab installations, you may observe an error message in the command window, about the compilation of the MEX files. Some files from the permutation tests functions need to be compiled on your own operating system, and you may not be able to use some statistical tests if you have such an error. You may ignore this problem, it will be fixed later.
The Licence Agreement will be display. Read the licence file, and click on "Agree" if you agree with it.
If you have two screens on your computer, you may have a message asking if you want to use your second screen. You can try to say yes: you will have the Brainstorm window on primary screen and the data figures on the secondary one). If does not work properly, go to the menu Options > GUI, and uncheck the menu "Use two screens when available".
Then you will be asked to specify Brainstorm database directory. Read carefully the Important notes and then create or select an empty directory to store your Brainstorm database (for instance "brainstorm_database", or "brainstorm_protocols").
- After a last message asking you to create or load a protocol, you should see the main Brainstorm window
Main interface window
Create first protocol
Click on the Protocol selection drop list, and select Create new protocol.
Edit the protocol name and enter: "TutorialFirstSteps". It will automatically update the paths (Anatomy path and Datasets path.
Select the "MNI Colin27" as the default anatomy.
This anatomy (MRI & surfaces) will be available if needed by all the subjects in the protocol.
This can be changed later, using the "Use default" menu in the subjects' popup menu.
Subjects configuration panel:
- These are the default settings that will be applied when creating new subjects. It is then possible to override those settings for each subject.
Our objective is to create one subject that uses the default anatomy Colin27, so select the option "Yes, use protocol's default anatomy".
The option selected for Default channel file is not important because we are not going to import recordings (and channel files, ie. files that describe each sensor: position, orientation, name...)
Once you get something like the following figure, click on Create.