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

From BESA® Wiki
Jump to: navigation, search
Line 43: Line 43:
 
BESA Statistics needs the following data:
 
BESA Statistics needs the following data:
 
# SWF files - one for each subject and each condition
 
# SWF files - one for each subject and each condition
# elp file - one file for the whole experiment
+
# bsa file - one file for the whole experiment
  
 
[[File:Batch_save_solution_dlg.png|thumb|150px]]
 
[[File:Batch_save_solution_dlg.png|thumb|150px]]
Line 77: Line 77:
  
 
== Preparing TFC data ==
 
== Preparing TFC data ==
 +
'''Note''': This requires BESA Research Complete.
 +
 +
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:
 +
# tfc files - one for each subject and each condition
 +
 +
#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 dat files are exported in the following way:
 +
 +
Using the batch mode:
 +
* Use the command "Save" from the section ''Time-Frequency Analysis''.
 +
* For one of the conditions:
 +
 +
By hand:
 +
* In the Time-Frequency window, select "File → Export to ASCII file...".
 +
 +
Repeat this step for all subjects and conditions.
 +
 +
An 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.
 +
 
... Coming soon! Please stay tuned.
 
... Coming soon! Please stay tuned.

Revision as of 14:20, 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.

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
  1. If your montage is in sensor space:
    1. elp file - one file for the whole experiment
  1. If your montage is in soure space:
    1. bsa file - one file for the whole experiment

The dat files are exported in the following way:

Using the batch mode:

  • Use the command "Save" from the section Time-Frequency Analysis.
  • For one of the conditions:

By hand:

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

Repeat this step for all subjects and conditions.

An 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.

... Coming soon! Please stay tuned.