Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 725 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 725 Bytes

Brainstorm to Cosmo

This MATLAB script converts EEG epochs exported from Brainstorm (BS) into CoSMoMVPA format. Note that each epoch should represent a single run of a condition (the average of all the epochs of that condition in a single block of trials).

For the script to work you have to select the relevant averaged epochs of 2 conditions in the BS interface (hold Ctrl + click), then right click on them -> export to file, and choose the FieldTrip format.

The first file exported from Brainstorm will be the reference file, which Cosmo will also need as part of the input. The data from the other files will be attached to the first, forming a 3D matrix which will be stored in a Cosmo-friendly file named out.m.