Difference between revisions of "How to Prepare Data for BESA Statistics"

From BESA® Wiki
Jump to: navigation, search
Line 77: Line 77:
  
 
== Preparing TFC data ==
 
== Preparing TFC data ==
'''Note''': This requires BESA Research Complete.
+
'''Note''': This requires BESA Research Complete, or BESA Research Basic plus Source Coherence module.
  
 
You can analyze time-frequency data for a given montage, but also the coherence of one channel with all other channels.
 
You can analyze time-frequency data for a given montage, but also the coherence of one channel with all other channels.
Line 83: Line 83:
 
BESA Statistics needs the following data:
 
BESA Statistics needs the following data:
 
# tfc files - one for each subject and each condition
 
# tfc files - one for each subject and each condition
 
 
# A file describing the channel configuration.
 
# A file describing the channel configuration.
 
* If your montage is in sensor space:
 
* If your montage is in sensor space:
Line 104: Line 103:
 
For one of the conditions, a channel file is required.  
 
For one of the conditions, a channel file is required.  
  
[[File:Unit sphere.png|thumb|150px]]
+
[[File:Unit sphere.png|thumb|200px]]
  
 
* If your montage is in sensor space:
 
* If your montage is in sensor space:

Revision as of 14:33, 28 October 2016

Module information
Modules BESA Research Basic or higher,

BESA Statistics

Version 6.0 or higher (BR), 1.0 or higher (BS)

Note and general remarks

This article applies to data that are prepared using BESA Research. It is also possible to read data prepared by other programs. For the requirements, please refer to the BESA Statistics manual, the chapter on "Loading data that were created in other software" and the chapter "File formats".

Whatever data format is used, the suggested data organization is to place all data files for one condition (or one group) into a dedicated sub-folder. That will make it easy to load them into BESA Statistics.

Data types accepted by BESA Statistics

The following graph shows the data types that are accepted.

Data types BESA Statistics.png

Preparing ERP/ERF data

BESA Statistics needs the following data:

  1. ERP or ERF files - one for each subject and each condition
  2. elp file - one file for the whole experiment

The ERP/ERF files are exported from BESA Research as ASCII vectorized data (*.avr format). You can do this in the following way:

Using the batch mode:

  • Use the command "Mark Block" and select the "Whole Segment" option
  • Use the command "Export" and select options "Marked Segment" and "ASCII vectorized".

By hand:

  • Right-click on an averaged data segment and select "Whole Segment" from the popup menu.
  • Then right-click again and select "Write Segment". In the dialog box (see below), select “ASCII vectorized” and un-tick the “Current filters” checkbox. That will save the data as “.avr” file as required by BESA Statistics.

Export dialog.png

Repeat these steps for all segments that are required.

The elp file is required once for all subjects / conditions, and placed into one of the data folders for BESA Statistics. An elp file is automatically saved when an ASCII export takes place. In case that an additional export of an elp file is necessary, it can be exported by using the menu "File → Head Surface Points and Sensors → Save all Files in Head Coordinates". Then browse to the folder you saved to, and find the "*.elp" file.

Preparing SWF data

Note: This requires BESA Research Standard or higher.

BESA Statistics needs the following data:

  1. SWF files - one for each subject and each condition
  2. bsa file - one file for the whole experiment
Batch save solution dlg.png

The SWF files are exported in the following way:

Using the batch mode:

  • Use the command "Save Source Waveforms"
  • For one of the conditions: Use the command "Save Solution" to save the locations of the sources. Use the Unit Sphere setting as shown in the figure at the right.

By hand:

Unit sphere.png

For each source waveform solution: In the Source analysis window, select menu entry "File → Save Source Waveforms As".

For one of the conditions: Select menu entry "File → Save Solution As". In the dialog that appears, choose the type "BESA Solution – Unit Sphere" - see figure.

Preparing Image data

Note: This requires BESA Research Standard or higher.

BESA Statistics needs the following data:

  1. dat files - one for each subject and each condition

The dat files are exported in the following way:

Using the batch mode:

  • Use the command "Export" from the section Source Analysis Imaging.

By hand:

For each image solution: In the Source analysis window, select menu entry "Image → Export Image As".

Preparing TFC data

Note: This requires BESA Research Complete, or BESA Research Basic plus Source Coherence module.

You can analyze time-frequency data for a given montage, but also the coherence of one channel with all other channels.

BESA Statistics needs the following data:

  1. tfc files - one for each subject and each condition
  2. A file describing the channel configuration.
  • If your montage is in sensor space:
elp file - one file for the whole experiment
  • If your montage is in soure space:
bsa file - one file for the whole experiment

The tfc files are exported in the following way:

Using the batch mode:

  • Use the command "Save" from the section Time-Frequency Analysis.

By hand:

  • In the Time-Frequency window, select "File → Export to ASCII file...".

Repeat this step for all subjects and conditions.

Channel file

For one of the conditions, a channel file is required.

Unit sphere.png
  • If your montage is in sensor space:

An elp file is required once for all subjects / conditions, and placed into one of the data folders for BESA Statistics. It can be exported by using the menu "File → Head Surface Points and Sensors → Save all Files in Head Coordinates". Then browse to the folder you saved to, and find the "*.elp" file.

  • If your montage is in source space:

An swf file is required once for all subjects / conditions, and placed into one of the data folders for BESA Statistics. It can be exported from the Source Analysis window. Open the solution that was used to generate the Source Montage. Then select menu entry "File → Save Solution As". In the dialog that appears, choose the type "BESA Solution – Unit Sphere" - see figure.