Source Analysis

From Center for Cognitive Neuroscience
Jump to navigation Jump to search

Brainstorm:

Brainstorm has the advantage of being Matlab-based, so that it is much easier to actually manipulate your data, whereas it is almost impossible to do so in Netstation. The question of how much processing to do in Netstation before exporting to Brainstorm is up to you.

First, set up your session in Brainstorm: 1. Open Brainstorm 2. Go to File=>Create New Protocol. Change the name (i.e. Attention/Belief-disbelief) and check "use protocol's default anatomy" 3. You will be prompted to edit fiducials. I keep the defaults. Press OK. 4. Now, right click the protocol you created in the window. Select "New Subject". Repeat step 2.

If you want, you can now set up conditions (i.e. left/right) for each subject, or you can directly import recordings into each subject. You can easily change protocols through the popdown menu.

To get data into Brainstorm

There are two ways of exporting to Brainstorm from Netstation, depending on what type of analyses you want to do.


Continuous (one large timeseries. Nonsegmented)

First process everything in Netstation, then use Waveform Tools--Export Files Tool (Mat file, Individual Arrays).

Right click the subject (or condition) in brainstorm, then 'import recordings'. Import your recording.

Segmentation (ERPs, single trial analyses)

Brainstorm cannot seem to understand segmented Netstation files. Here is my (not so elegant) fix.

-First process everything in Netstation, then use Waveform Tools--Export Files Tool (Mat file, Cell array). -load this into matlab. -Go to brainstorm, create a new subject, then in Matlab go to your Brainstorm Database folder (usually on your desktop) and navigate to your subject folder. It should be empty except for a brainstormstudy.mat folder -use import_BS to import your Netstation file. Your folder should now be populated with all your segments. -In Brainstorm, right click the subject, and click 'reload'.