Difference between revisions of "How to Use BrainVision Analyzer with BESA Connectivity"

From BESA® Wiki
Jump to: navigation, search
(Created page with "{{BESAInfobox |title = Module information |module = BESA Connectivity |version = BESA Connectivity 1.0 or higher }} == Note and general remarks== To transform data from Brai...")
(No difference)

Revision as of 22:37, 13 November 2023

Module information
Modules BESA Connectivity
Version BESA Connectivity 1.0 or higher


Note and general remarks

To transform data from BrainVision Analyzer you need to convert it using MATLAB. We assume that you have it already installed on your PC and BrainVision Analyzer is configured to work with it. You will also need this script from our github page: https://github.com/BESA-GmbH/BESA-MATLAB-Scripts/blob/main/Additional_utilities/BESAConnectivityScripts/Analyzer_to_BESAConnectivity.m You will also need these toolboxes: https://github.com/BESA-GmbH/BESA-MATLAB-Scripts/tree/main/MATLAB2BESA

What to do in BrainVision Analyzer

You need to prepare data that is in segments. You can of course apply any filtration and data processing beforehand. Then you export segments to matlab using Brain Voyager interface

Adapt the script

Script Analyzer_to_BESAConnectivity.m needs to be adapted. The following lines should be changed:

  • In line after "%% Add toolboxes" provide full path to MATLAB2BESA toolbox
  • You may adapt where the resulting file will be saved by changing the line "FilePathName = [pwd '\BAtoBESA.generic'];"


Finalization

You just need to run the script just by either pressing Run in matlab toolbar or by calling "Analyzer_to_BESAConnectivity" command. In BESA Connectivity you open the newly created file.