<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.besa.de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.besa.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vibhin</id>
		<title>BESA® Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.besa.de/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vibhin"/>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Special:Contributions/Vibhin"/>
		<updated>2026-04-29T20:42:40Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.10</generator>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Wrong_characters_in_BESA_software</id>
		<title>Wrong characters in BESA software</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Wrong_characters_in_BESA_software"/>
				<updated>2021-05-05T11:46:18Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 7.0 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Problem description =&lt;br /&gt;
Recently windows 10 introduced multi language support. This can however cause troubles with displaying special characters in any type of software (i.e. µV). Instead you can see something similar to this:&lt;br /&gt;
&lt;br /&gt;
[[File:CharactersProblem.png]]  &lt;br /&gt;
 &lt;br /&gt;
= Solution =&lt;br /&gt;
To solve this you need to change your system &amp;quot;Region &amp;amp; language&amp;quot; preferences.&lt;br /&gt;
* Please press windows start button, and press settings button (the cog wheel). &lt;br /&gt;
* Select '''Time &amp;amp; Language''' section&lt;br /&gt;
* Select '''Region &amp;amp; language'''&lt;br /&gt;
&lt;br /&gt;
A window similar to this will be displayed:&lt;br /&gt;
&lt;br /&gt;
[[File:CharactersProblemReason.png|800px]]&lt;br /&gt;
&lt;br /&gt;
First select '''Administrative language settings''' on right side and select '''Adminitstative''' tab. Then press '''Change system locale...''' button. Check if '''Beta: Use Unicode UTF-8 for worldwide language support''' is checked. If it is please uncheck it:&lt;br /&gt;
&lt;br /&gt;
[[File:Characterproblemsolution2.png|800px]]&lt;br /&gt;
&lt;br /&gt;
You may also need to install the proper language configuration. Press the '''Add a language''' button and select the language pack that is the correct one for you. After installation make sure that the new language pack is at the top of the list. Alternatively you can also select one of the installed languages if there is any. When you click on the selected language the up and down arrow will be shown. Press the up arrow until the selected language is at the top. You should end up with a configuration similar to this one:&lt;br /&gt;
&lt;br /&gt;
[[File:CharactersProblemSolution.png|800px]]&lt;br /&gt;
&lt;br /&gt;
Once this is done you may close all the windows and restart BESA. If the problem still persists try to install another language pack or contact [https://www.besa.de/support/support-page/ BESA support]&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Working_With_Additional_Files</id>
		<title>Working With Additional Files</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Working_With_Additional_Files"/>
				<updated>2021-05-05T11:40:20Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Binary format (*.foc, *.fsg) ==&lt;br /&gt;
&lt;br /&gt;
Select '''Binary High Resolution''' or '''Binary Compressed Format''' to output segments in binary BESA format. If the file already exists, the segment will be appended. Thus, it is possible to create a file combining several segments of interest in a compact form. BESA Research will only allow you to append segments if the number of channels and the sampling interval in source and target files are the same.&lt;br /&gt;
&lt;br /&gt;
In Binary Format all channels (scalp, intracranial, polygraphic, MEG) and file events in the selected time range are exported. '''Note:''' The channels are filtered according to the current filter settings.&lt;br /&gt;
&lt;br /&gt;
Select '''Binary High Resolution''' to retain the resolution of the processed data. This is the preferred binary format for small amplitude signals such as averages. Select '''Binary Compressed Format''' to store raw data using the original resolution or to obtain the space savings of compression (see ''File/Export and Append Data/Convert..'' above). This is the preferred binary format for raw data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ASCII vectorized format (*.avr) ==&lt;br /&gt;
&lt;br /&gt;
Select '''ASCII vectorized Format''' to output segments in BESA ASCII format, one channel (all time points) per line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Format is as follows:'''&lt;br /&gt;
&lt;br /&gt;
The first of two header lines contains the following data descriptors (6 descriptors, the values shown are only examples):&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| width=&amp;quot;30%&amp;quot; |''Npts= 200'' || number of sampled points in each channel&lt;br /&gt;
|- &lt;br /&gt;
| ''TSB= -500'' || time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
|-&lt;br /&gt;
| ''DI= 5'' || digitization or sampling interval [ms]&lt;br /&gt;
|-&lt;br /&gt;
| ''SB= 2'' || scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
|-&lt;br /&gt;
| ''SC= 50'' || scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
|-&lt;br /&gt;
| ''Nchan= 27'' || number of channels&lt;br /&gt;
|-&lt;br /&gt;
| ''SegmentName= 60dB'' || an optional label describing the data&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The second line of the header contains a label for each channel, e.g.&lt;br /&gt;
&lt;br /&gt;
''O1 Oz P3 T5 T3 C3 F7 F3 Fp1 Fz Cz Pz Fp2 F4 F8 C4 T4 T6 P4 Fpz O2 M2 M1 F10 F9 T10 T9''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each of the subsequent ''Nchan'' lines of the file contains values for all ''Npts'' time points in floating point or scientific format. For more details about scalp electrodes, see chapter ''[[Electrodes_and_Surface_Locations#Electrode_Conventions|Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions]]''.&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''&amp;lt;tt&amp;gt;Nchan=xx&amp;lt;/tt&amp;gt;''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See ''[[Working_With_Additional_Files#Channel_definition_file_conventions_and_formats|Channel definition file conventions and formats]]'' and ''[[Electrodes_and_Surface_Locations#Reading_MEG_files_in_ASCII_format|Reading MEG files in ASCII format]]''. In the older versions, only scalp channels were exported, and the data were average referenced.&lt;br /&gt;
&lt;br /&gt;
== ASCII Multiplexed format (*.mul) ==&lt;br /&gt;
&lt;br /&gt;
Select '''ASCII Multiplexed Format''' to output segments one time point (all channels) per line.&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first of two header lines contains similar information to that of the ASCII vectorized file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
TimePoints= 200 Channels= 27 BeginSweep[ms]= -500.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 SegmentName=Condition1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the item '''&amp;lt;tt&amp;gt;SegmentName&amp;lt;/tt&amp;gt;''' is missing if no segment comment is specified when writing a segment to file.&lt;br /&gt;
&lt;br /&gt;
If an epoch of a continuous EEG is exported in ASCII multiplexed format, the first header line contains the additional item '''&amp;lt;tt&amp;gt;Time&amp;lt;/tt&amp;gt;''', which indicates the daytime of the first sample in the exported segment:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
TimePoints= 200 Channels= 27 BeginSweep[ms]= 0.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 Time=22:02:53 SegmentName=Segment1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The second line of the header contains labels for each channel, which may be either the original channel names, or the names of the channels of the current montage, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
O1 Oz P3 T5 T3 C3 F7 F3 Fp1 Fz Cz Pz Fp2 F4 F8 C4 T4 T6 P4 Fpz O2 M2 M1 F10 F9 T10 T9&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each subsequent line contains values for all 'Channels' at one time point, in floating point or scientific format. Values are given for the current or the original montage, selected as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels for '''source montages''' have the following form: '''TAr-L'''.&lt;br /&gt;
* The first two letters indicate the head region:&lt;br /&gt;
** TA: temporal-anterior&lt;br /&gt;
** TP: temporal-posterior&lt;br /&gt;
** TB: temporal-basal&lt;br /&gt;
** FL: fronto-lateral&lt;br /&gt;
** FP: fronto-polar&lt;br /&gt;
** PC: posterior-central&lt;br /&gt;
** OL: occipito-lateral&lt;br /&gt;
** OC: occipito-central&lt;br /&gt;
** CL: centro-lateral&lt;br /&gt;
** CC: central&lt;br /&gt;
&amp;lt;!-- [[Image:ST addfiles (1).gif]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The small letter indicates in part the orientation: r=radial, t=tangential, and in part the relative location of the basal temporal source: l=lateral, m=mesial.&lt;br /&gt;
* The final letter after the hyphen indicates L=left, M=middle, R=right.&lt;br /&gt;
&lt;br /&gt;
== Channel definition file conventions and formats ==&lt;br /&gt;
&lt;br /&gt;
BESA Research can read 3 types of file to define channels. These are identified by different extensions:&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;tt&amp;gt;*.ela&amp;lt;/tt&amp;gt;'''&amp;lt;/span&amp;gt;: channel definition files containing labels and, optionally, channel types (ASCII, 1 label / line)&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;tt&amp;gt;*.elp&amp;lt;/tt&amp;gt;'''&amp;lt;/span&amp;gt;: channel definition files containing coordinates and, optionally, channel types and labels (ASCII). This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;tt&amp;gt;*.elb&amp;lt;/tt&amp;gt;'''&amp;lt;/span&amp;gt;: channel definition files stored by older versions of BESA Research (binary format). This format can still be read, but is no longer written by BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research stores and retrieves the channel configuration after editing in binary files. If you open a data file, BESA Research will search for the related channel information in the following sequence:&lt;br /&gt;
&lt;br /&gt;
# For all data files with the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.eeg'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.cnt'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.foc'''&amp;lt;/span&amp;gt;, check in the additional database file in the data directory with the same basename as the data file and the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.fst'''&amp;lt;/span&amp;gt;, whether a channel file has been associated previously&lt;br /&gt;
# Check in the '''db''' subdirectory whether a channel file has been associated previously&lt;br /&gt;
# Check if labels are defined in the header of the data file&lt;br /&gt;
# Search for a corresponding binary channel definition file with the same basename as the data file in the data folder (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''xxxx.elb'''&amp;lt;/span&amp;gt;)&lt;br /&gt;
# Search for a corresponding channel definition file with the same basename as the data file containing labels in the data folder (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''xxxx.ela)'''&amp;lt;/span&amp;gt;&lt;br /&gt;
# Search for a corresponding channel definition file with the same basename as the data file containing labels and/or coordinates in the data folder (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''xxxx.elp'''&amp;lt;/span&amp;gt;)&lt;br /&gt;
# Search for a file named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt; (in this order)) in the data folder&lt;br /&gt;
# Search for a file named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt; one directory above the data folder (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt;)&lt;br /&gt;
# Check if the new data file is of the same type and has the same number of channels as the preceding data file in the list. If this is the case, the electrode configuration of the previous file will be assumed. This will avoid having to load or edit the electrode configuration more than once, if you load several data segments of the same subject from separate files.&lt;br /&gt;
# If no channel definition file is found, or digitization points (in files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.cot&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found in files with the same basename as the data file, the ''&amp;quot;Channel and digitized surface point'' ''information&amp;quot;'' dialog box is opened, allowing you to specify file names.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel Label Files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;*.ela&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
Files containing a list of channel labels are an alternative to editing electrode configurations. They can be edited using a standard text editor. Electrode label files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) require a sequence of lines corresponding to the sequence of channels in the data. Each line contains one label and an optional identifier. The format is ' [Identifier] {Label} ', ('Identifier' can be omitted if the electrode label defines the type of signal)&lt;br /&gt;
&lt;br /&gt;
'''Identifiers''' can be one of:&lt;br /&gt;
&lt;br /&gt;
* EEG - scalp electrode&lt;br /&gt;
* SCP - scalp electrode&lt;br /&gt;
* POL - polygraphic channel&lt;br /&gt;
* PGR - polygraphic channel&lt;br /&gt;
* ICR - intracranial electrode&lt;br /&gt;
* MEG - MEG sensor&lt;br /&gt;
* REF - reference electrode (this can only occur once, and must be the last item in the file)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background-color: lightgrey; border: solid thin grey;&amp;quot;&amp;gt;&lt;br /&gt;
Fz   ('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz   ('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG   (vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx   (xx=01, 02.. electrode number, '''Polygraphic '''type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
EEG xx ('''scalp''' electrode, coordinates must be assigned either by &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; or by a surface point (+&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfp'''&amp;lt;/span&amp;gt;) file. An alternative to the &amp;quot;EEG&amp;quot; prefix is &amp;quot;SCP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
POL XX  (identifier sets '''Polygraphic''' type -- an alternative to the &amp;quot;POL&amp;quot; prefix is &amp;quot;PGR&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
ICR A01  (identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR A02  (identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR A03  (identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG M01  (identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG M02  (identifier sets '''MEG''' type to electrode M02 - do not use M2!)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
REF Cz  (the label is assigned to the electrode reference, no channel is associated with this entry. This must be the last line of the file!)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;*.elp&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
These files follow the same rules as the channel label files, with the addition of spherical coordinates (theta, phi) that follow the labels of EEG and MEG channels. Labels can also be omitted. In this case, BESA Research will assign labels according to the nearest coordinate defined in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file. To indicate that the coordinates have been assigned, the label will have a tick, e.g. '''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Fz'&amp;lt;/span&amp;gt;''' instead of '''Fz'''.&lt;br /&gt;
&lt;br /&gt;
Channels of other types (polygraphic, intracranial) are defined exactly as in the channel label (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''*.ela'''&amp;lt;/span&amp;gt;) file.&lt;br /&gt;
&lt;br /&gt;
== cot (Head center) file ==&lt;br /&gt;
&lt;br /&gt;
'''Function''': to redefine the center of the head for the sphere used in dipole models. If the cot file has the same base name as the data file, it is read automatically by BESA Research. If the coordinates deviate by more than 1 mm from the previously defined head center, a window is opened, asking if the new values should be adopted. This mechanism is turned off if the data have been coregistered to MRI (see online help chapter ''&amp;quot;MRI Coregistration''&amp;quot;), and an MRI Coregistration File (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfh&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) has been associated with the data.&lt;br /&gt;
&lt;br /&gt;
BESA Research uses any head surface points (e.g. electrode locations), excluding those on the lower part of the face, to compute the sphere center automatically. The cot file is used if you want to override the automatic calculation. A mechanism is provided which allows to pass a location from the MRI (viewed by BrainVoyager) to the Source Module and save the resulting location as a ''cot ''file.&lt;br /&gt;
&lt;br /&gt;
'''Format''': one set of coordinates (x y z). These are followed by either &amp;quot;'''DC'''&amp;quot; or &amp;quot;'''HC'''&amp;quot;, which specify whether these coordinates are in '''D'''evice or '''H'''ead '''C'''oordinates.&lt;br /&gt;
&lt;br /&gt;
'''Units:''' must be in meters!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: In special cases, a fifth value, the '''head radius''', may follow. This is used when reading simulated MEG data from the DipoleSimulator program. When this value is set, BESA Research uses the specified head radius and head center and does not fit a sphere to the head surface points. and does not create an ellipsoid transformation.&lt;br /&gt;
&lt;br /&gt;
Force BESA Research to use a completely spherical model without creating an ellipsoid: Write &amp;quot;'''DipoleSimulator&amp;quot;''' or &amp;quot;'''Phantom'''&amp;quot; on the second line of the file. Under these circumstances, 100% correspondence between DipoleSimulator and BESA Research is achieved. This is also required for dipole fitting on MEG phantom recordings.&lt;br /&gt;
&lt;br /&gt;
The ''cot ''file has also been extended for reading CTF MEG files. Documentation for these extensions is found in the CTF help file.&lt;br /&gt;
&lt;br /&gt;
== pos or pmg (MEG sensor coordinate) file ==&lt;br /&gt;
&lt;br /&gt;
'''Function:''' to define coordinates of MEG sensors. Our convention is to save magnetometer information in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;*.pmg&amp;lt;/tt&amp;gt;&amp;lt;/span&amp;gt;, and gradiometer information in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;*.pos&amp;lt;/tt&amp;gt;&amp;lt;/span&amp;gt;. In practice, BESA Research doesn’t mind which extension is used — the distinction between gradiometers and magnetometers is based on the number of values on each line in the file.&lt;br /&gt;
&lt;br /&gt;
'''Format:''' one sensor per line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Magnetometers''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;*.pmg&amp;lt;/tt&amp;gt;&amp;lt;/span&amp;gt;): label (optional), six coordinates per line (location, orientation)&lt;br /&gt;
&lt;br /&gt;
e.g. for BTi:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Gradiometers''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;tt&amp;gt;*.pos&amp;lt;/tt&amp;gt;&amp;lt;/span&amp;gt;): label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation).&lt;br /&gt;
&lt;br /&gt;
The program decides whether gradiometers are planar or axial based on the distance between the primary and secondary sensor locations and the center of the head.&lt;br /&gt;
&lt;br /&gt;
e.g. for Neuromag:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter ''[[Electrodes_and_Surface_Locations#Data_reading_rules_for_MEG|Data reading rules for MEG]]''.&lt;br /&gt;
&lt;br /&gt;
== sfn (surface point name) file ==&lt;br /&gt;
&lt;br /&gt;
'''Function:''' to match up digitized coordinates with channels that are defined as EEG electrodes and to define labels for additional digitized head surface points (e.g. MEG coils, etc.).&lt;br /&gt;
&lt;br /&gt;
'''Format:''' one label per line.&lt;br /&gt;
&lt;br /&gt;
Contains labels of surface points in the order of digitization. If fiducials are defined, these should be on the first three lines, with the labels 'FidT9', 'FidT10', 'FidNz' or 'FidLPA', 'FidRPA', 'FidNAS'.&lt;br /&gt;
&lt;br /&gt;
If electrodes are defined in the data file, the labels of each electrode as defined in the data file (or in its associated ''ela'', ''elp'', or ''elb ''file) must be present!&lt;br /&gt;
&lt;br /&gt;
The case of labels is not important (e.g. 'Fp1' will match with 'fp1').&lt;br /&gt;
&lt;br /&gt;
The ''sfn'' file need not exist if labels are defined in the ''sfp'' file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter ''[[Electrodes_and_Surface_Locations#Data_reading_rules_for_EEG|Data reading rules for EEG]]''.&lt;br /&gt;
&lt;br /&gt;
== sfp (surface point coordinate) file ==&lt;br /&gt;
&lt;br /&gt;
'''Function''': to define coordinates of digitized points on the head surface. The order of points must match with the order in the ''sfn ''file, or if no ''sfn'' file is present, labels must be included in the ''sfp'' file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: If the digitized points include electrodes, the channel labels must correspond to the labels of the digitized points. The sequence of labels in channels and surface point coordinate file need not be the same – the allocation is performed by label matching. Channel labels may be defined in the data file, or they may be assigned using channel definition files (&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ela, *.elp, *.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;).&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Format:''' one set of coordinates (x, y, z) per line. Coordinate units must be either meter, centimeter or millimeter (BESA Research will perform a plausibility check automatically to determine which units are used). If a label is present this can precede or come after the three coordinate values.&lt;br /&gt;
&lt;br /&gt;
If fiducials are defined, these should be on the first three lines. BESA Research will simulate fiducials if none are defined, but it is preferable to record these locations along with the other head surface points.&lt;br /&gt;
&lt;br /&gt;
If there are MEG sensors, the same coordinate systems must be used in the ''sfp'' file and the ''pos/pmg ''file!&lt;br /&gt;
&lt;br /&gt;
If labels are defined in the ''sfp'' file rather than in an ''sfn'' file, labeling rules apply as for the ''sfn'' file.&lt;br /&gt;
&lt;br /&gt;
Example for the ''sfp'' file format:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (2).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research will check the coordinates for plausibility. If coordinates are more than 30° away from the expected location on the sphere there will be an error message. Such errors are usually due either to incorrect labeling or to a digitization error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis /'' ''Data reading rules for EEG”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Generic File Format ==&lt;br /&gt;
&lt;br /&gt;
This reader, incorporated into the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''GenericBesa.dll'''&amp;lt;/span&amp;gt; file, allows to read simple multiplexed or vectorized data formats, if you know the structure of the data format.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What you have to do'''&lt;br /&gt;
&lt;br /&gt;
* With a text editor, write information about the data file you want to read into BESA Research into a text file, the ''Generic Header''.&lt;br /&gt;
* Save the edited text in the same subdirectory as the data file.&lt;br /&gt;
* '''Mechanism A:''' The generic header contains the data file name. With BESA Research, navigate to the file you just edited, and open it. The data should then be read into BESA Research.&lt;br /&gt;
* '''Mechanism B:''' Alternatively, navigate to the data file. The reader will check if there is a generic header in the same subdirectory, and use that to try to open the file. You have two options:&lt;br /&gt;
** '''Specific:''' if the file has the same basename as the data file, and the extension “&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.generic'''&amp;lt;/span&amp;gt;”, this file will be used.&lt;br /&gt;
** '''Generalized:''' if a specific file is not found, the reader will look for the file “&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.generic'''&amp;lt;/span&amp;gt;” in the same subdirectory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''Important note:'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; We recommend using mechanism A, using a header with the extension &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''.generic'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;quot;. When opening the data file in BESA, select the generic header. Mechanism B sometimes fails when opening the data file in BESA Research, because one of the other readers in BESA may erroneously interpret the file as their &amp;quot;own&amp;quot; data format, sometimes leading to a crash.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Format of the Generic Header'''&lt;br /&gt;
&lt;br /&gt;
The first line '''must '''consist of the text: “''BESA Generic Data''” (without the inverted commas).&lt;br /&gt;
&lt;br /&gt;
Subsequent lines '''must''' contain the following parameters, in any order (note that the parameters are case insensitive):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| width=&amp;quot;20%&amp;quot; | '' '''nChannels''' = nnn '' || The number of channels&lt;br /&gt;
|-&lt;br /&gt;
| '' '''sRate''' = fff '' || The sampling rate (samples/sec)&lt;br /&gt;
|-&lt;br /&gt;
| '' '''format''' = type '' || One of ''short'', ''int, float, double, ASCII''. If the format is ''ASCII'', the parameter''' nSamples''' must be specified as well (see below)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following parameters are optional (values in square brackets denote optional parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| width=&amp;quot;15%&amp;quot; | '' '''nSamples'''= nnn '' || The number of time samples in the data. If this value is 0, or the line is omitted, then use the file size to estimate the number of samples.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''file''' =  || The data file name, without path information. If this is omitted, you can only read the data with mechanism B (see above). This line '''must''' be included if you want to read the data with mechanism A.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''DataOffset''' = nnn'' || Offset of data in bytes for binary data, in lines for ASCII data (default = 0).&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Factor''' = fff [range]'' || Data values are multiplied by this factor to obtain µV values (default = 1). Optional parameters can be appended to define a channel range, e.g. ''1-3''. Thus, this command can be used multiply, to define different scaling factors for different channels. If only one channel is specified, use on number only, e.g. ''5''.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''SwapBytes''' = ccc'' || One of ''off'' or ''on'' (default = off). If the data block originated from Unix or Mac, this will need to be ''on''. (binary data only)&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Prestimulus''' = fff'' || Prestimulus interval in milliseconds.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Label''' = ccc'' ||    Segment label.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Trigger''' = chan….'' ||    Channel number containing triggers. Without further parameters, the values are read directly as digital trigger values. Other parameters are described below, for the case where the trigger channel contains analog signals.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''nBlocks''' = nnn'' || The data are epoched. This specifies the number of equal sized blocks in the data. In BESA Research, each block will be separated by a segment boundary. The number of samples in each epoch is computed from the total number of samples divided by ''nBlocks''.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''nEpochs''' = nnn'' || Same as '''nBlocks'''.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''EventFile''' = name'' || Load events from an event file, using BESA's event file (&amp;lt;span style=&amp;quot;color ||#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.evt&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) format. See below for a description of how to prepare this file.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Order''' = type'' || One of ''multiplexed'', ''vectorized''. The default is multiplexed (i.e. channels fastest). Specify ''vectorized'' if your data are ordered so that all time samples for channel 1 are followed by all time samples from channel 2, etc.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Orientation''' = type'' || Same as '''Order'''.&lt;br /&gt;
|-&lt;br /&gt;
| '' '''Arrangement''' = type'' || Same as '''Order'''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Trigger events'''&lt;br /&gt;
&lt;br /&gt;
This section describes how the reader can be used to encode trigger events when the trigger channel contains analog signals. In this case, a '''Trigger '''command is required for each target code in BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Syntax:&lt;br /&gt;
&lt;br /&gt;
'''Trigger''' = ''chan&amp;amp;nbsp;&amp;amp;nbsp;code&amp;amp;nbsp;&amp;amp;nbsp;fromLevel&amp;amp;nbsp;&amp;amp;nbsp;toLevel&amp;amp;nbsp;&amp;amp;nbsp;timerange''&amp;amp;nbsp;&amp;amp;nbsp;''deadtime''&lt;br /&gt;
&lt;br /&gt;
* '''''chan''' ''is the channel number on which to find the trigger&lt;br /&gt;
* '''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
* '''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
* '''''toLevel'' '''is the value in mV defining the upper range for trigger detection. If this is “-“, then only ''fromLevel ''needs to be exceeded for the trigger to be detected.&lt;br /&gt;
* '''''timerange '''''is the range in milliseconds to define a trigger. The reader will search for the maximum deviation from baseline within the range to find the level that will define the trigger.&lt;br /&gt;
* '''''deadtime''' ''defines the time after detecting a trigger during which no further trigger with this code can be detected. This does not affect other codes. Also, if the voltage level stays at a level corresponding to a code, the trigger is only defined at the onset of this voltage level.&lt;br /&gt;
&lt;br /&gt;
Multiple lines are required if different trigger codes and different trigger channels are required, one for each new code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
&lt;br /&gt;
'''Channel labels:''' The data channels are labeled ''E1, E2, E3,…,'' and they are initially classified by BESA Research as polygraphic. As with other BESA Research data files, use a &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ela &amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;file (or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elp&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;, optionally combined with &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) to redefine labels and channel types.&lt;br /&gt;
&lt;br /&gt;
'''Data formats:'''&lt;br /&gt;
&lt;br /&gt;
* Short: 16-bit&lt;br /&gt;
* Int: 32-bit&lt;br /&gt;
* Float: 32-bit&lt;br /&gt;
* Double: 64-bit&lt;br /&gt;
* ASCII: Decimal numbers separated by spaces or tabs (engineering format also permitted)&lt;br /&gt;
&lt;br /&gt;
'''Prestimulus interval and label:''' If either of these are defined, BESA Research reads the data in to define an averaged data segment. The label is displayed, and a vertical dotted line marks timepoint zero. If no prestimulus interval is defined, a zero prestimulus interval is assumed.&lt;br /&gt;
&lt;br /&gt;
'''Future changes'''&lt;br /&gt;
&lt;br /&gt;
Possible developments:&lt;br /&gt;
* Read channel labels&lt;br /&gt;
&lt;br /&gt;
If any of these changes are particularly important to you, please contact [mailto:support@besa.de support@besa.de] and let us know.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Event File'''&lt;br /&gt;
&lt;br /&gt;
The event file is a text (ASCII) file containing a header line and subsequent lines, with one event description per line.&lt;br /&gt;
&lt;br /&gt;
Each line contains four parameters:&lt;br /&gt;
&lt;br /&gt;
# latency (units specified by the header, can be µs, ms, s)&lt;br /&gt;
# code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&lt;br /&gt;
# parameter (depends on the event type, e.g. trigger code)&lt;br /&gt;
# label (label assigned to the event)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Header Line:'''&lt;br /&gt;
&lt;br /&gt;
The header line contains four values. The first specifies the time units, e.g. '''Tmu '''specifies microseconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
Tmu	Code	TriNo	Comnt&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Tms''' specifies milliseconds. '''Tsec''' specifies seconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Event Code and Parameter 3 (TriNo):'''&lt;br /&gt;
&lt;br /&gt;
'''Code''' specifies the event type:&lt;br /&gt;
&lt;br /&gt;
1 = trigger -- '''TriNo '''specifies the trigger number&lt;br /&gt;
&lt;br /&gt;
2 = comment&lt;br /&gt;
&lt;br /&gt;
3 = marker&lt;br /&gt;
&lt;br /&gt;
11-15 = patterns 1-5&lt;br /&gt;
&lt;br /&gt;
21 = artifact on&lt;br /&gt;
&lt;br /&gt;
22 = artifact off&lt;br /&gt;
&lt;br /&gt;
31 = epoch on&lt;br /&gt;
&lt;br /&gt;
32 = epoch off&lt;br /&gt;
&lt;br /&gt;
41 = segment onset -- '''TriNo '''is a time string that specifies date and time, in the format ''YYYY-MM-DDTHH:MM:SS'', e.g. ''2010-04-26T15:30:20.31'' (note: seconds are a decimal number).&lt;br /&gt;
&lt;br /&gt;
42 = average segment onset -- '''TriNo '''is a number specifying the prestimulus baseline of the subsequent average in microseconds.&lt;br /&gt;
&lt;br /&gt;
'''TriNo '''(parameter) is 0 for markers, comments, artifacts, and epochs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Comment'''&lt;br /&gt;
&lt;br /&gt;
The event label. This is not used for markers, artifacts, and epochs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example of event file:'''&lt;br /&gt;
&lt;br /&gt;
A simple way to generate example files is to export events from BESA (''ERP/Save Events As...'').&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
Tmu         	Code	TriNo	Comnt&lt;br /&gt;
0              	42	100000	Ave: 25 avs&lt;br /&gt;
10000000       	2	0	Comment at 10s&lt;br /&gt;
20000000       	41	26-04-2010T15:30:20.000	TestSeg2&lt;br /&gt;
21000000       	3	0&lt;br /&gt;
22000000       	1	99	Trigger - 99&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This specifies an average segment starting at the beginning of the file, with a prestimulus interval of 100 ms, a comment at 10 s, a new segment specifying date and time at 20 s, a marker at 21 s, and a trigger with code 99 at 22 s.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&lt;br /&gt;
The following reads ASCII multiplexed data that were previously exported from BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
BESA Generic Data&lt;br /&gt;
nchannels = 64&lt;br /&gt;
srate = 100&lt;br /&gt;
nsamples = 10000&lt;br /&gt;
dataoffset = 2&lt;br /&gt;
format = ASCII&lt;br /&gt;
file = name.mul&lt;br /&gt;
factor = 1&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the sampling rate of 100 Hz and 10000 samples, this represents 100 s of 64-channel data. The first two lines of the data are skipped.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Using_BESA_to_correct_blink_and_EKG_artifacts_in_MEG_data</id>
		<title>Using BESA to correct blink and EKG artifacts in MEG data</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Using_BESA_to_correct_blink_and_EKG_artifacts_in_MEG_data"/>
				<updated>2021-05-05T11:29:10Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Standard or higher&lt;br /&gt;
|version = BESA Research 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Eyeblinks and EKG cause large artifact signals in the magnetometer channels. The artifact correction facilities of BESA can correct these artifacts quite well. The procedure is quite simple for blinks but more complex for EKG. The following text outlines the procedures and current limitations of BESA for artifact correction.&lt;br /&gt;
&lt;br /&gt;
The principles of the artifact correction procedure are described in Berg and Scherg (1994).&lt;br /&gt;
&lt;br /&gt;
In summary, the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* Use pattern search and average to identify the latencies of blink/EKG signals in the raw data. Pattern search works best if you have recorded a vertical EOG and EKG with the MEG data, but it will also work on selected MEG channels, using the appropriate filters.&lt;br /&gt;
* A spatial PCA is performed on the average to identify the main topographies/components of the artifact signal. For blinks, only one topography is required. For EKG, two or three topographies may be required.&lt;br /&gt;
* The topographies/components are combined into a coefficient file (''*.atf''). Using the '''Artifact''' Menu, the ''atf'' file can be loaded and correction switched on. Contrary to the warning message displayed by the ERP module, averaging can be performed using artifact corrected data.&lt;br /&gt;
* When the average is loaded into the Source Analysis module, the artifact coefficients (saved in the average file) need to be activated. They will then be incorporated into source modeling using Adaptive, Surrogate or Ssubspace projection (SSP – see also Uusitalo et al. (1997)). Note that SSP approach is not recommended. Usually, for continuous data, the best effect is achieved using the Adaptive method, for ERP Surrogate.&lt;br /&gt;
&lt;br /&gt;
'''References'''&lt;br /&gt;
* Berg, P., and Scherg, M. A multiple source approach to the correction of eye artifacts, Electroenceph. clin. Neurophysiol., 1994, 90: 229-241.&lt;br /&gt;
* Uusitalo, M.A., Ilmoniemi, R.J. Signal-space projection method for separating MEG or EEG into components. Med. Biol. Eng. Comput., 1997, 35: 135-140.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pattern search for blinks and EKG ==&lt;br /&gt;
&lt;br /&gt;
=== Eyeblinks ===&lt;br /&gt;
&lt;br /&gt;
# Select filters 0.5 – 8 Hz ('''Filters/Edit Filter Settings…'''). Make sure the low cutoff filter type is '''Forward'''! (This is to ensure that no contribution from the blink topography bleeds back into the baseline time interval).&lt;br /&gt;
# View Polygraphic signals only (press the '''Pgr''' button at the top right of the BESA window), so that the vertical EOG channel is displayed&lt;br /&gt;
# Define the search block from –100 ms to +400 ms ('''Edit/Default Block Epoch…''')&lt;br /&gt;
# Select Pattern Search ('''Search/Pattern''')&lt;br /&gt;
# Select Search Query ('''Search/Query''')&lt;br /&gt;
# Select Buffer 1 for averaging ('''Tags/Pattern 1''')&lt;br /&gt;
# Identify a clear blink signal on the vertical EOG channel. Right-click at the '''onset''' of the blink, and select '''Default Block''' in the dropdown menu. The marked block should look something like this: [[File:EKG_artifacts_in_MEG_data__(1).png|75x55px]]&lt;br /&gt;
# Click once on the VEOG channel label, so that a rightward arrow is displayed (ignore the correlation window that opens on the right): [[File:EKG_artifacts_in_MEG_data__(2).png|100x55px]]&lt;br /&gt;
# Press the '''SAW''' button (Search/Average/Write). BESA will start scanning through the file, and it will stop at each occurrence of a blink. Press “Yes” to accept. “No” to reject, or “Stop asking” to let BESA accept everything automatically. Save the result to a file name of your choice (e.g. ''name_artifact.fsg''), labelling the segment, e.g. “blink”.&lt;br /&gt;
Note that instead of '''SAW''' the '''SAV''' can be displayed (Search/Average/View). This interaction has exactly the same meaning as '''SAW''' but does not prompt for saving averaged data but just display it in the average buffer. This behaviour can be switched in '''Search''' Menu by checking '''Search, Average, View''' option&lt;br /&gt;
&lt;br /&gt;
=== EKG ===&lt;br /&gt;
&lt;br /&gt;
# In contrast to blink averaging we use two steps: first, filters are set to enhance the EKG for pattern search. Second, the filters are opened up, and the average is repeated.&lt;br /&gt;
# Select filters 5-20 Hz. This should generate a fairly clear signal on the EKG.&lt;br /&gt;
# Set the default block epoch so that the R-wave and the T-wave are well inside the epoch. The setting used for blinks may be OK, but you may need to extend the post-cursor interval, e.g. from 400 to 500 ms.&lt;br /&gt;
# Proceed as with blinks, but selecting Buffer 2 for averaging ('''Tags/Pattern 2'''). Mark a block around the onset of an R-wave. The marked block should look something like this: [[File:EKG_artifacts_in_MEG_data__(3).png|100x56px]]&lt;br /&gt;
# Save the average in the same file as the averaged blinks, labelling the segment, e.g. “EKG”.&lt;br /&gt;
# Select filters 1-30 Hz. Select '''Search/Tagged Events''', and press '''SAW'''. This repeats the average using the tags that were identified during the first step. Opening up the filters ensures that the average includes more of the EKG signal.&lt;br /&gt;
&lt;br /&gt;
=== What to do if there is no VEOG or EKG channel ===&lt;br /&gt;
&lt;br /&gt;
The procedure is similar to the above, but you need to identify a MEG channel that displays the blink or EKG waveform clearly. You may need to experiment with filter settings to make the artifact pattern clearer (the filter settings described above are not fixed rules – you may find that other settings work better for pattern search). You may find the “Create Triggers from EMG/EEG” tool helpful for detecting EKG ('''ERP/Create Triggers from EMG/EEG…'''). See the BESA help file (tutorial on creating triggers).&lt;br /&gt;
&lt;br /&gt;
== Spatial PCA and the *.atf file ==&lt;br /&gt;
&lt;br /&gt;
Open the file in which you saved the averages (e.g. ''name_artifact.fsg''). Make sure that prestimulus baseline correction is switched on ('''Filters/Use Prestimulus Baseline''').&lt;br /&gt;
&lt;br /&gt;
=== Blinks ===&lt;br /&gt;
&lt;br /&gt;
# Mark the whole blink epoch: Right-click onto the epoch, and select '''Whole Segment'''.&lt;br /&gt;
# Select '''Artifact/Assign/Blink'''. The spatial PCA is computed, and the first spatial component is assigned to describe the blink. You may check if the correction works by selecting '''Artifact/Correct'''.&lt;br /&gt;
# The coefficients are saved automatically to a file with the same basename as the average, and the extension ''“.atf''”.&lt;br /&gt;
&lt;br /&gt;
=== EKG ===&lt;br /&gt;
&lt;br /&gt;
EKG coefficients are corrected analogously to blinks. A difference is that the topographic distribution of the EKG over the MEG sensors is more complex than that of blinks. It changes over time. The reasons for this are unclear, and may be due to movement of the heart (and its equivalent dipoles) over time, but also to ballistic effects: movement of the head due to blood flow.&lt;br /&gt;
&lt;br /&gt;
Since topographic distribution changes over time, more than one component is required for correction. We choose the number of components in the Artifact Select Dialog Box empirically: As a rule of thumb, if a component explains more than 5-10% of the variance of the averaged EKG signal, the component is included. Note that the number of components you select can also be changed when the coefficients are applied to the raw data.&lt;br /&gt;
&lt;br /&gt;
== Correcting the raw data ==&lt;br /&gt;
&lt;br /&gt;
* After defining the artifact coefficients, they are automatically loaded and used for data. Note that you can enable and disable artifact correction by pressing '''CTRL-E''' or by menu '''Artifact/Correct''' you can load the defined artifact coefficient to another data set (i.e. subsequent recording from the same subject within the same session) using ('''Artifact/Load…''') and providing the ''*.atf'' file you have created (by default with the same name as initial datafile)&lt;br /&gt;
* Optionally, check that the artifact correction channels are visible (Artifact/View).&lt;br /&gt;
* The figure below shows the result of correction of channels A75-A148 on a three-second interval containing both EKG and eye activity. The blue label “1” marks the onset of a blink found during pattern search. The red “2” shows the onset of R-waves found during pattern search.&lt;br /&gt;
* Note that correction is quite good, but it is not perfect. In particular, there is some residual eye activity, e.g. around channels A91, A113, A131. It is intended behaviour since the most important during artifact correction is to not distort brain data.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
! '''uncorrected'''&lt;br /&gt;
! '''corrected'''&lt;br /&gt;
|-&lt;br /&gt;
| [[File:EKG_artifacts_in_MEG_data__(4).png|57x57px]][[File:EKG_artifacts_in_MEG_data__(5).png|272x802px]]&lt;br /&gt;
| [[File:EKG_artifacts_in_MEG_data__(6).png|273x801px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Averaging the raw data ==&lt;br /&gt;
When you press the Average button, a warning dialog will appear:&lt;br /&gt;
&lt;br /&gt;
[[File:EKG_artifacts_in_MEG_data__(7).png|539x124px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can leave artifact correction on during data averaging but it is not recommended.  &lt;br /&gt;
&lt;br /&gt;
==== Option “Yes” – turn off artifact correction ====&lt;br /&gt;
&lt;br /&gt;
The averaged data will include EKG and eye artifacts, but these artifacts will not cause epochs to be rejected. The same number of epochs will be included in the average whether or not “Yes” or “No” is chosen. If you disable artifact correction during averaging you can reapply it using the &amp;quot;Artifact/Load&amp;quot; menu entry or loading artifact topographies later during Source Analysis. this approach assures that source analysis will be not affected by artifact correction and allows for full control of data. (i.e. comparing ERP data with artifact correction on and off, redefining the number of topographies used for artifact correction, and so on)&lt;br /&gt;
&lt;br /&gt;
==== Option “No” – leave artifact correction on ====&lt;br /&gt;
&lt;br /&gt;
The averaged data will be corrected. Since this operation cannot be reverted without recreating the average. Each epoch is corrected before being included in the average.&lt;br /&gt;
&lt;br /&gt;
==== Artifact options: which correction model? ====&lt;br /&gt;
&lt;br /&gt;
The result of the correction on the raw data or the averaged data can be slightly different. The effects of correction will also vary, depending on the settings in '''Artifact/Options'''. These differences can be considered as consequences of variations in the “surrogate” or “adaptive” model of brain activity concurrent with the artifact activity (cf. Berg &amp;amp;amp; Scherg 1994). These differences lead to changes in the estimate of the amounts of artifact activity to be removed by correction. If you intend to use the data waveforms outside BESA, and if you don’t use SSP with the artifact coefficients, then the settings in '''Artifact/Options''' become important. In current versions of BESA, these settings are based on EEG amplitude levels. &lt;br /&gt;
[[File:EKG_artifacts_in_MEG_data__(8).png|353x231px]]&lt;br /&gt;
&lt;br /&gt;
== Sending the data to Source Analysis ==&lt;br /&gt;
&lt;br /&gt;
When the average is generated, the correction coefficients are saved in the ''*.fsg'' file. Before you send the data to the Source Module, these coefficients must be '''activated'''.&lt;br /&gt;
&lt;br /&gt;
* If you averaged the corrected data, coefficients are already activated. This should be apparent from the red “corrected” displayed above the channel labels.&lt;br /&gt;
* If you averaged the uncorrected data, load the saved ''*.atf'' file ('''Artifact/Load…'''), and switch on correction ('''Artifact/Correct''').&lt;br /&gt;
&lt;br /&gt;
Then mark a time range and send the data to Source Analysis. At the right of the status bar, the text '''ART''' indicates that the artifact components are used in SSP.&lt;br /&gt;
&lt;br /&gt;
[[File:EKG_artifacts_in_MEG_data__(9).png|143x158px]]&lt;br /&gt;
&lt;br /&gt;
'''Alternatively, if you averaged the uncorrected data, load the average to Source Analysis, and then load the artifact coefficients as part of the dipole model (load or append solution, and use the dropdown list in the File Open box to select ''*.atf'' instead of ''*.bsa''). This approach has the advantage that the source waveforms of the spatial components show the contribution of eye and EKG activity to the model.'''&lt;br /&gt;
&lt;br /&gt;
This implicit application of artifact topographies during Source Analysis is mathematically equivalent to the “optimizing” correction method (cf. Berg &amp;amp;amp; Scherg 1994)&lt;br /&gt;
&lt;br /&gt;
== Limitations of the correction method in BESA ==&lt;br /&gt;
&lt;br /&gt;
=== Bad channels ===&lt;br /&gt;
&lt;br /&gt;
The ''*.atf'' file contains a two-line header with a) the number of channels, and b) the channel labels. If these do not match with the current data file, artifact correction is not possible. Bad channels are marked (with an asterisk next to the label), and the corresponding coefficient is set to zero. The irritating, but logical, consequence is that if a channel was excluded (defined as “bad”) when the coefficients were generated, it is not possible to make the channel “good” again.&lt;br /&gt;
&lt;br /&gt;
The solution is to regenerate the ''*.atf'' file, making sure the same bad channels are defined in the averaged artifact file as the to-be-corrected raw or average data file. You do not need to regenerate the artifact averages.&lt;br /&gt;
&lt;br /&gt;
EKG correction is difficult because the topographic distribution of EKG signals is close to some MEG distributions: for instance, we sometimes observe a considerable reduction in alpha amplitudes with EKG correction. For event-related averaging, an EKG correction is often unnecessary, because the EKG is not synchronized with the stimulus.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Data Import/Export]] [[Category:Preprocessing]] [[Category:Source Analysis]]&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Updating_the_Matlab_Interface_after_Matlab_Upgrade</id>
		<title>Updating the Matlab Interface after Matlab Upgrade</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Updating_the_Matlab_Interface_after_Matlab_Upgrade"/>
				<updated>2021-05-05T11:27:43Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 5.2 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Sometimes after installation of new/additional Matlab version on one computer the BESA to Matlab interface stops working. The reason is the registry change/corruption caused by the newly installed version. In order to correct this one has to perform the following steps:&lt;br /&gt;
# Make sure that in the ''&amp;quot;Path&amp;quot;'' environment variable only the path to one Matlab version exists.&lt;br /&gt;
# Make sure that the correct &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;Matlab.dll&amp;lt;/span&amp;gt; is installed by starting the tool &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;ConfigureBesaMatlabInterface.exe&amp;lt;/span&amp;gt;&amp;quot; and selecting the corresponding Matlab version and architecture.&lt;br /&gt;
# In the DOS command prompt execute the following command with administrator rights &amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;matlab -regserver&amp;lt;/source&amp;gt; (registers MATLAB as a Component Object Model (COM) server).&lt;br /&gt;
# Sometimes if the Matlab license is connected to a specific user account and the user account does not have administrator rights it could be problematic to execute that command. In that case change the corresponding account to an administrator account and then perform the actions again. After that the account could be made to regular user account again. Alternatively, you can also run the attached [ftp://h1772544.stratoserver.net/public/Matlab/BESA_Utilities/UserRegMATLAB.p UserRegMATLAB.p] function to manually register your MATLAB version as a COM Automation Server. To switch the version of MATLAB that is registered, simply run the ''UserRegMATLAB'' command on the new version so that it becomes the new COM Automation Server. Finally for MATLAB 2020a and above you can just type ''comserver('register')'' in the desired MATLAB command line.&lt;br /&gt;
[[Category:Setup]]&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=The_Initialization_File:_BESA.ini</id>
		<title>The Initialization File: BESA.ini</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=The_Initialization_File:_BESA.ini"/>
				<updated>2021-05-05T11:14:45Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
'''BESA.ini File'''&lt;br /&gt;
&lt;br /&gt;
BESA Research uses settings provided in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; whenever BESA Research is started or a new file is opened for the first time. The format of this file conforms with standard initialization files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ini&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) of Windows. You may change the settings in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; using &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Notepad.exe&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; from the ACCESSORIES group, or other plain text editors to adapt BESA Research to '''your own everyday needs'''. The default settings provided in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; will be used by BESA Research whenever BESA Research or the launch program is started. It is advised that you make a backup copy of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; before you change the default settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Location of BESA.ini'''&lt;br /&gt;
&lt;br /&gt;
You can place &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; at three possible locations:&lt;br /&gt;
&lt;br /&gt;
# '''Private''': each user on a PC should have his/her own private settings. This is normally in ''Documents/BESA/Research_7_0''&lt;br /&gt;
# '''Public''': all users should use one setting, but they can edit &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; to change the settings. This is normally in ''Public Documents/BESA/Research_7_0''&lt;br /&gt;
# '''Administrator''': the PC administrator determines the settings. This is normally in ''C:Program Files(x86)/BESA/Research_7_0''&lt;br /&gt;
&lt;br /&gt;
The actual folder names depend on the operating system and the system language.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;When BESA starts, it first looks for the '''administrator''' version of '''BESA.ini'''. If this is not found, it looks for the '''private''' version. If this is not found, it looks for the '''public''' version. If this is not found, internal default values are used.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''There are 13 general sections, and several reader-specific sections:'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| [Defaults]&lt;br /&gt;
| General settings (filters, scaling, and various other settings)&lt;br /&gt;
|-&lt;br /&gt;
| [Folders]&lt;br /&gt;
| Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
|-&lt;br /&gt;
| [Electrodes]&lt;br /&gt;
| Electrode renaming&lt;br /&gt;
|-&lt;br /&gt;
| [Patterns]&lt;br /&gt;
| Rename patterns in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Tags'''&amp;lt;/span&amp;gt; menu&lt;br /&gt;
|-&lt;br /&gt;
| [Artifacts]&lt;br /&gt;
| Settings for artifact correction&lt;br /&gt;
|-&lt;br /&gt;
| [KEYCONTROLS]&lt;br /&gt;
| Function key definitions&lt;br /&gt;
|-&lt;br /&gt;
| [Search]&lt;br /&gt;
| Default parameters for search&lt;br /&gt;
|-&lt;br /&gt;
| [FFT]&lt;br /&gt;
| Frequency band definitions&lt;br /&gt;
|-&lt;br /&gt;
| [Printer]&lt;br /&gt;
| Printer control&lt;br /&gt;
|-&lt;br /&gt;
| [Calibration]&lt;br /&gt;
| Calibration control&lt;br /&gt;
|-&lt;br /&gt;
| [Video]&lt;br /&gt;
| Digital video control&lt;br /&gt;
|-&lt;br /&gt;
| [Mapping]&lt;br /&gt;
| Mapping control&lt;br /&gt;
|-&lt;br /&gt;
| [Updates]&lt;br /&gt;
| Options for program updates&lt;br /&gt;
|-&lt;br /&gt;
| [Matlab]&lt;br /&gt;
| Settings for the MATLAB interface&lt;br /&gt;
|-&lt;br /&gt;
| [fMRI]&lt;br /&gt;
| Settings for the fMRI arfifact removal&lt;br /&gt;
|-&lt;br /&gt;
| [Montages]&lt;br /&gt;
| A setting for a default source montage&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Reader-specific settings'''&lt;br /&gt;
&lt;br /&gt;
[BrainLab]&lt;br /&gt;
&lt;br /&gt;
[Bio-Logic]&lt;br /&gt;
&lt;br /&gt;
[EDF+] [BDF] [Trackit]&lt;br /&gt;
&lt;br /&gt;
[EGI]&lt;br /&gt;
&lt;br /&gt;
[Harmonie]&lt;br /&gt;
&lt;br /&gt;
[NeuroScan Keys]&lt;br /&gt;
&lt;br /&gt;
[NKT2100]&lt;br /&gt;
&lt;br /&gt;
[Vangard]&lt;br /&gt;
&lt;br /&gt;
[XLTEK]&lt;br /&gt;
&lt;br /&gt;
== Defaults ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''Default settings provided for section [Defaults]:'''&lt;br /&gt;
&lt;br /&gt;
'''DatabaseAllowLocalFiles=Yes''' (If set to &amp;quot;Yes&amp;quot;, BESA Research will write filenames &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafilename.ftg'''&amp;lt;/span&amp;gt;&amp;quot; and &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafilename.fst&amp;quot;'''&amp;lt;/span&amp;gt; to the data folder, saving current file tag and display settings there. If set to &amp;quot;No&amp;quot;, these files are only written to the database. If set to &amp;quot;Yes&amp;quot;, you can copy these files along with the data to a new folder, and display settings and tags will be preserved.)&lt;br /&gt;
&lt;br /&gt;
'''DataBuffering=Off''' (If set to &amp;quot;On&amp;quot;, an internal buffer of length 180 s of data is kept to speed up paging). This can speed up paging, particularly when the data are in a network folder.&lt;br /&gt;
&lt;br /&gt;
'''DisplayedTime=10''' displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org''' montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50''' scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500''' scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500''' scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=200''' scale of MEG/GRA channels in [fT or fT/cm]&lt;br /&gt;
&lt;br /&gt;
'''MagScale=1000''' scale of MAG channels in [fT] (''this feature requires BESA Research 7.1 or higher'')&lt;br /&gt;
&lt;br /&gt;
'''SrcScale=100''' scale of source of source montages&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On''' baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent= '''set from 100 to 200 if you want to clip artifacts in displayed EEG (not used if empty or 0)&lt;br /&gt;
&lt;br /&gt;
'''LowFilter=''' low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3''' time constant for low filter cutoff frequency [sec] (fixed forward filter, 0.3 sec is equivalent to 0.53 Hz)&lt;br /&gt;
&lt;br /&gt;
'''HighFilter=70''' high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50''' notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off''' notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12''' band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off''' band pass is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''AdditionalChannelFile=''' defines the full path and name of an additional channels montage file, e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''C:\Program Files\BESA\Research_x\Montages\AdditionalChannels\EKG.sel'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''ColoredWaveforms=On''' scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath=''' defines default path for saving segments/averages. If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off''' subject info will (not) be displayed.&lt;br /&gt;
&lt;br /&gt;
'''ParallelComputing=On''' defines if parallel computing during extensive computation should be used or not (''this feature requires BESA Research 7.1 or higher'')&lt;br /&gt;
&lt;br /&gt;
'''MapSmoothing=0''' set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant''). Valid values are within the range between 1e-8 and 1e-4. Values outside this range will be set to within the range.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following optional parameters are not defined as default and can be set manually in&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' BESA.ini'''&amp;lt;/span&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
'''TextEditor=&amp;quot;Notepad.exe&amp;quot;''' defines the path to your preferred text editor. This will be used when you press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; button in the ''Load Coordinate Files dialog box''.&lt;br /&gt;
&lt;br /&gt;
'''NeuroScanDataNumberOfBits=32''' defines the format of NeuroScan data files ('16' for 16-bit, '32' for 32-bit). If this variable is not specified, BESA uses a heuristic to (try to) decide which of the two data formats is used. This variable overrides the heuristic. If you want to specify the NeuroScan data format for specific files, create a file, named &amp;quot;16bit&amp;quot; or &amp;quot;32bit&amp;quot;, and place it in the data folder.&lt;br /&gt;
&lt;br /&gt;
'''ScaleAmplitudesForNNChannels=25''' Scale waveforms as if a fixed number of channels were displayed in the window (here: 25). A minimum of 10 channels can be used for the scaling. This parameter is superseded if the parameter &amp;quot;''ScaleAmplitudesFixedPixelHeight&amp;quot;'' is specified.&lt;br /&gt;
&lt;br /&gt;
'''ScaleAmplitudesFixedPixelHeight=70''' Set the scale bar for amplitudes to a fixed pixel height (here: 70). If this parameter is set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ini'''&amp;lt;/span&amp;gt; file, it supersedes the parameter &amp;quot;''ScaleAmplitudesForNNChannels''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
&lt;br /&gt;
Check the Menu descriptions for the various definitions of filters, montages etc. For montage preselection, use the labels as visible on the montage push-buttons.&lt;br /&gt;
&lt;br /&gt;
The additional channels file should contain all polygraphic channels (e.g. EKG, EOG, respiratory) that you want to view regularly along with the scalp channels. The entry AdditionalChannelFile must specify the full path pointing to the location of additional channel files (recommended: ''Montages\AdditionalChannels''). If no drive is specified, the installation drive of BESA is used.&lt;br /&gt;
&lt;br /&gt;
If BaselineCorrection is set to 'On', before displaying a screen of data, BESA subtracts for each channel the mean over its displayed time points. This optimizes viewing, because it ensures that the vertical position of each channel is not shifted upward or downward from the channel label at the left of the screen. There are some cases in which you will not want baseline correction, i.e. when the DC level in the data is already correctly defined. This is usually the case, for instance, when reading in files that have been processed by BESA. In this case, BaselineCorrection should be set to 'Off', because otherwise maps and source montage displays may be distorted.&lt;br /&gt;
&lt;br /&gt;
== Folders ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The [Folders] section defines where BESA Research places its files. In versions 5.1 and earlier, files were located in various subfolders of the program folder. This led to problems if the user did not have administrator rights, e.g. to create or write to a file. If you wish, you can also specify paths in the [Folders] section to use the previous locations. The previous location is given for each variable.'''&lt;br /&gt;
&lt;br /&gt;
These settings allow some flexibility that can be useful if you want to tune BESA Research for use by several users, or on a network. For instance, the Examples and Montages folders might be located on a network disk. For the current defaults, the database, Examples, Montages, and Scripts are set up for use by all users on the PC on which BESA Research is installed. The settings files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Besa.set'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Besa.cfg'''&amp;lt;/span&amp;gt;, etc.) are located in private folders so that each user retains his or her own settings.&lt;br /&gt;
&lt;br /&gt;
The '''default''' settings (i.e. settings that BESA Research uses if the entries are omitted in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ini'''&amp;lt;/span&amp;gt; file) are shown for each variable definition.&lt;br /&gt;
&lt;br /&gt;
The folder definitions can use '''placeholders''', labels enclosed by a % sign (e.g. %localapp%), to define paths that vary depending on the language version and on the Windows system. These are defined below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Variables'''&lt;br /&gt;
&lt;br /&gt;
'''Database=%localapp%''' The path of the BESA Research database folder (used to be ''%progdir%System\DB'' in BESA versions up to 5.1.x). Unless the provided path ends with ''\DB'' or ''\Database'', BESA Research will automatically create a folder named ''Database'' in the provided path.&lt;br /&gt;
&lt;br /&gt;
'''Settings=%privatprog%Settings''' The path of the BESA Research settings folder (used to be ''%progdir%System'' in BESA versions up to 5.1.x)&lt;br /&gt;
&lt;br /&gt;
'''Montages=%publicprog%Montages''' The path of the BESA Research montages folder (used to be ''%progdir%Montages'' in BESA versions up to 5.1.x)&lt;br /&gt;
&lt;br /&gt;
'''Scripts=%publicprog%Scripts''' The path of the BESA Research Scripts folder (used to be ''%progdir%Scripts'' in BESA versions up to 5.1.x)&lt;br /&gt;
&lt;br /&gt;
'''Examples=%publicprog%Examples''' The path of the BESA Research Examples folder (used to be ''%progdir%Examples'' in BESA versions up to 5.1.x)&lt;br /&gt;
&lt;br /&gt;
'''User=%privatprog%Settings''' The path for user defined settings (used to be ''%progdir%System\Userdirs'' in BESA versions up to 5.1.x)&lt;br /&gt;
&lt;br /&gt;
'''DataExport=%privateprog%Export''' The path for data to be exported for BESA Connectivity (not listed by default, but can be adjusted by the user)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Placeholders'''&lt;br /&gt;
&lt;br /&gt;
The strings enclosed by percent signs (%) are placeholders for the following folders in English-language versions of Windows. Folder names differ depending on Windows version, and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system and the system language:&lt;br /&gt;
&lt;br /&gt;
'''Windows 7, 8.1, and 10 (English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_7_0''&amp;quot;, where [user] is the logon name of the current user. This folder is directly accessible from the Desktop as &amp;quot;''Desktop\[user]\Documents\BESA\Research_7_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_7_0''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_7_0''&amp;quot;, where [user] is the logon name of the current user. This folder is directly accessible from the Windows Explorer as &amp;quot;''Desktop\[User]\Documents\BESA\Research_7_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program Files (x86)\BESA\Research_7_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This section allows for automatic relabeling of electrodes. For instance, the 10-20 label &amp;quot;T3&amp;quot; can be replaced by the 10-10 convention &amp;quot;T7&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Electrodes]:'''&lt;br /&gt;
&lt;br /&gt;
T7=T3&amp;amp;nbsp;replace 10-10 label with old 10-20 convention&lt;br /&gt;
&lt;br /&gt;
T8=T4&amp;amp;nbsp;replace 10-10 label with old 10-20 convention&lt;br /&gt;
&lt;br /&gt;
P7=T5&amp;amp;nbsp;replace 10-10 label with old 10-20 convention&lt;br /&gt;
&lt;br /&gt;
P8=T6&amp;amp;nbsp;replace 10-10 label with old 10-20 convention&lt;br /&gt;
&lt;br /&gt;
X1=ECG1&amp;amp;nbsp;define X1 channel to be ECG1&lt;br /&gt;
&lt;br /&gt;
X2=ECG2&amp;amp;nbsp;define X2 channel to be ECG2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other examples, depending on your electrode input box definition, could be:&lt;br /&gt;
&lt;br /&gt;
PG1=LO1&amp;amp;nbsp;define X3 as lateral orbital eye electrode left&lt;br /&gt;
&lt;br /&gt;
PG2=LO2&amp;amp;nbsp;bipolar LO1-LO2 defines horizontal EOG (additional channel)&lt;br /&gt;
&lt;br /&gt;
X3=IO1&amp;amp;nbsp;infraorbital, e.g. use with FP1 as additional channel for VEOG&lt;br /&gt;
&lt;br /&gt;
X9=Rsp&amp;amp;nbsp;define X9 channel to be a respiratory channel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Relabeling of channel names (as stored in the EEG file header) is helpful to predefine your standard sequence of channels and to avoid the need for reading and/or editing a Channel Configuration file for every EEG file.&lt;br /&gt;
&lt;br /&gt;
'''Note 1''': For polygraphic channels, or if your EKG has been recorded differentially, you should edit and define an ''Additional Channels Montage'' according to your recording channel configuration (e.g. Fp1-IO1=vertical EOG). The Additional Channels group permits to display these channels regularly below the scalp montages with individual scales.&lt;br /&gt;
&lt;br /&gt;
'''Note 2''': EOG channels record both eye and scalp activity. In digital EEG systems, EOG electrodes should be labeled according to their position in the 10-10 system (see &amp;quot;''Electrode Conventions''&amp;quot;). This permits use of these electrodes for mapping and suppression of eye artifacts. The standard definitions above give an example of how to relabel extra channels (X1...X10, PG1, PG2) for the use of EOG, EKG and respiratory (Rsp) channels. Use an ''Additional Channels'' file to define horizontal and vertical EOG channels by using the appropriate electrodes in a bipolar montage (an example is provided in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eog-ecg.mtg'''&amp;lt;/span&amp;gt; in ''Montages\AdditionalChannels''). Differentially recorded EKG and respiratory channel can be defined in the same file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Patterns ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Patterns]:'''&lt;br /&gt;
&lt;br /&gt;
These settings define labels for each of the five patterns. The labels are shown* in the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Tags'''&amp;lt;/span&amp;gt; menu,&lt;br /&gt;
* in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''TAG push-button'''&amp;lt;/span&amp;gt; popup menu, and&lt;br /&gt;
* when displaying tag info clicking with the right mouse on a tag at the bottom of the EEG or on the event bar.&lt;br /&gt;
&lt;br /&gt;
By default, no labels are defined. Define a label, e.g. for Pattern1 and Pattern2, as in the following example:&lt;br /&gt;
&lt;br /&gt;
Pattern1=Spike&lt;br /&gt;
&lt;br /&gt;
Pattern2=Sharp Wave&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Artifacts ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Artifact default settings:'''&lt;br /&gt;
&lt;br /&gt;
See the chapter &amp;quot;''Artifact Correction / Reference / Artifact settings in the BESA.ini file''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Search ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Default settings for pattern search.&lt;br /&gt;
&lt;br /&gt;
'''Default Settings for the ''Search/Options ''Dialog box:'''&lt;br /&gt;
&lt;br /&gt;
'''CorrelationThreshold''' = '''75%'''&lt;br /&gt;
&lt;br /&gt;
'''AmplitudeThreshold = 100 µV'''&lt;br /&gt;
&lt;br /&gt;
'''GradientThreshold = 25'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default Settings for the ''Search/Average/View'' (SAV) Dialog box:'''&lt;br /&gt;
&lt;br /&gt;
'''PreCursor = -250 ms'''&lt;br /&gt;
&lt;br /&gt;
'''PostCursor = 150 ms'''&lt;br /&gt;
&lt;br /&gt;
'''HighPassFreq =&amp;amp;nbsp;2 Hz'''&lt;br /&gt;
&lt;br /&gt;
'''HighPassSlope = 12 dB/Octave'''&lt;br /&gt;
&lt;br /&gt;
'''HighPassType = 0 (0 = zero phase, 1 = forward, 2 = backward'''&lt;br /&gt;
&lt;br /&gt;
'''LowPassFreq = 35 Hz'''&lt;br /&gt;
&lt;br /&gt;
'''LowPassSlope = 24 dB/Octave'''&lt;br /&gt;
&lt;br /&gt;
'''LowPassType = 0 (0 = zero phase, 1 = forward, 2 = backward)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''CorrelationThresholdNoMarked = 60%'''&lt;br /&gt;
&lt;br /&gt;
Default correlation threshold if no channel labels are marked when the SAV Dialog is opened.&lt;br /&gt;
&lt;br /&gt;
'''CorrelationThresholdOneMarked = 85%'''&lt;br /&gt;
&lt;br /&gt;
Default correlation threshold if one channel label is marked when the SAV Dialog is opened.&lt;br /&gt;
&lt;br /&gt;
'''CorrelationThresholdFourMarked = 65%'''&lt;br /&gt;
&lt;br /&gt;
Default correlation threshold if between two channel labels are marked when the SAV Dialog is opened.&lt;br /&gt;
&lt;br /&gt;
'''SelectedViewWindowWidthMultiplier = 300%'''&lt;br /&gt;
&lt;br /&gt;
'''WriteAfterSearch = No'''&lt;br /&gt;
&lt;br /&gt;
If set to &amp;quot;Yes&amp;quot;, a File Save dialog will open, to allow to save the search average to a file (as with the SAW function).&lt;br /&gt;
&lt;br /&gt;
'''WriteAfterSearchCheckBox = No'''&lt;br /&gt;
&lt;br /&gt;
If set to &amp;quot;Yes&amp;quot;, an additional checkbox &amp;quot;Write after search&amp;quot; is displayed at the bottom of the SAV Dialog, allowing to choose whether or not to write the search average after a search:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Besa ini (1).gif ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PreserveDefaults = Yes'''&lt;br /&gt;
&lt;br /&gt;
If set to &amp;quot;No&amp;quot;, the SAV Dialog will open with the same boxes checked as the last time the dialog was opened during the current session.&lt;br /&gt;
&lt;br /&gt;
If set to &amp;quot;Yes&amp;quot;, the default frequency, buffer width, selected view after search, and default threshold are always checked when the dialog is opened.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== KeyControls ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the [KeyControls] section you can specify functions that can be allocated to &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''function keys'''&amp;lt;/span&amp;gt; or to the ''Del'' key. Specify using the form:&lt;br /&gt;
&lt;br /&gt;
'''Fn=function''' or&lt;br /&gt;
&lt;br /&gt;
'''Del=function'''&lt;br /&gt;
&lt;br /&gt;
where &amp;quot;''n''&amp;quot; is a number between 2 and 12 (F1 is reserved for Help). For example:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F2 = Batch1&lt;br /&gt;
&lt;br /&gt;
Possible functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Setting or removing events:'''&lt;br /&gt;
&lt;br /&gt;
'''Pattern''n''''', where ''n''&amp;lt;nowiki&amp;gt;=1-5: Sets the tag number &amp;lt;/nowiki&amp;gt;''n'' at the cursor latency.&lt;br /&gt;
&lt;br /&gt;
'''Epochfast:''' sets one boundary of an epoch at the cursor latency, but does not open&amp;amp;nbsp;the epoch text box to define a label.&lt;br /&gt;
&lt;br /&gt;
'''Marker:'''&amp;amp;nbsp;&amp;amp;nbsp;sets a marker at the cursor latency.&lt;br /&gt;
&lt;br /&gt;
'''Comment:'''&amp;amp;nbsp;sets a comment at the cursor latency and opens the comment box to enter&amp;amp;nbsp;text.&lt;br /&gt;
&lt;br /&gt;
'''Epoch:'''&amp;amp;nbsp;sets one boundary of an epoch at the cursor latency and opens the epoch&amp;amp;nbsp;text box to enter a label.&lt;br /&gt;
&lt;br /&gt;
'''Artifact:'''&amp;amp;nbsp;sets one boundary of an artifact segment at the cursor latency.&lt;br /&gt;
&lt;br /&gt;
'''Delete:'''&amp;amp;nbsp;&amp;amp;nbsp;deletes a tag at the cursor latency&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Batches and Montages:'''&lt;br /&gt;
&lt;br /&gt;
'''Batch''n''''', where n=1-12: Runs a predefined batch file corresponding to the number ''n''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;gt;If a key has not yet been associated with a batch, pressing it will open a ''File Open Dialog'' to select a batch. The setting you have chosen will be retained across BESA Research sessions. Holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;shift&amp;gt;'''&amp;lt;/span&amp;gt; key while pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''function key'''&amp;lt;/span&amp;gt; will always open the dialog. Hold the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' &amp;lt;ctrl&amp;gt; '''&amp;lt;/span&amp;gt;key with the function key to open the associated batch in the batch edit dialog.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Montage''n''''', where n=1-12: Sets a montage corresponding to the number'' n''.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;gt;If a key has not yet been associated with a montage, pressing it will generate a message asking you to associate a montage as follows: Holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;shift&amp;gt; '''&amp;lt;/span&amp;gt;key while pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''function key'''&amp;lt;/span&amp;gt; will remove the current association, and substitute it with the current montage.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default settings after program installation are listed in the online help chapter ''Review / Reference / Controls / Mouse and Keyboard / Keyboard Controls''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FFT ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [FFT]:'''&lt;br /&gt;
&lt;br /&gt;
These settings define the setup in the Spectral Analysis section of the BESA Research program (FFT window, see the chapter &amp;quot;''Spectral Analysis / FFT''&amp;quot;). Up to 7 frequency bands may be defined. Five are defined by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''FFTBand1=On'''&amp;amp;nbsp;FFT Bands 1-5 are defined&lt;br /&gt;
&lt;br /&gt;
'''FFTBand2=On'''&lt;br /&gt;
&lt;br /&gt;
'''FFTBand3=On'''&lt;br /&gt;
&lt;br /&gt;
'''FFTBand4=On'''&lt;br /&gt;
&lt;br /&gt;
'''FFTBand5=On'''&lt;br /&gt;
&lt;br /&gt;
'''FFTBand6=Off'''&amp;amp;nbsp;FFT Bands 6-7 are not defined&lt;br /&gt;
&lt;br /&gt;
'''FFTBand7=Off'''&lt;br /&gt;
&lt;br /&gt;
'''FFTNameBand1=Delta'''&amp;amp;nbsp;Names of the defined bands&lt;br /&gt;
&lt;br /&gt;
'''FFTNameBand2=Theta'''&lt;br /&gt;
&lt;br /&gt;
'''FFTNameBand3=Alpha'''&lt;br /&gt;
&lt;br /&gt;
'''FFTNameBand4=Beta'''&lt;br /&gt;
&lt;br /&gt;
'''FFTNameBand5=Gamma'''&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand1=RGB(0,0,0)''' &amp;amp;nbsp;Default color of each band&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand2=RGB(0,128,64)'''&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand3=RGB(128,0,0)'''&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand4=RGB(255,0,0)'''&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand5=RGB(255,128,0)'''&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand6=RGB(255,192,0)'''&lt;br /&gt;
&lt;br /&gt;
'''FFTColorBand7=RGB(255,255,0)'''&lt;br /&gt;
&lt;br /&gt;
'''FFTLowBand1=1'''&amp;amp;nbsp;Delta from 1-4 Hz&lt;br /&gt;
&lt;br /&gt;
'''FFTHighBand1=4'''&lt;br /&gt;
&lt;br /&gt;
'''FFTLowBand2=4'''&amp;amp;nbsp;Theta from 4-8 Hz&lt;br /&gt;
&lt;br /&gt;
'''FFTHighBand2=8'''&lt;br /&gt;
&lt;br /&gt;
'''FFTLowBand3=8''' Alpha from 8-14 Hz&lt;br /&gt;
&lt;br /&gt;
'''FFTHighBand3=14'''&lt;br /&gt;
&lt;br /&gt;
'''FFTLowBand4=14'''&amp;amp;nbsp;Beta from 14-30 Hz&lt;br /&gt;
&lt;br /&gt;
'''FFTHighBand4=30'''&lt;br /&gt;
&lt;br /&gt;
'''FFTLowBand5=30'''&amp;amp;nbsp;Gamma from 30-50 Hz&lt;br /&gt;
&lt;br /&gt;
'''FFTHighBand5=50'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These values are best set from within BESA Research, using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options'''&amp;lt;/span&amp;gt; menu in the FFT window (see the chapter &amp;quot;''Spectral Analysis / FFT / FFT Options Menu''&amp;quot;). Current settings are stored after each session and retrieved in the next session.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Printer ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Printer]:'''&lt;br /&gt;
&lt;br /&gt;
'''PrinterMarginPercent=100'''&amp;amp;nbsp;controls size of printout&lt;br /&gt;
&lt;br /&gt;
'''PrinterColors=256'''&amp;amp;nbsp;set to 1/2 for black&amp;amp;white, 0/256 for color printers&lt;br /&gt;
&lt;br /&gt;
'''PrinterLineMode=1'''&amp;amp;nbsp;set to 2 for thicker lines and to save printer memory&lt;br /&gt;
&lt;br /&gt;
'''PrinterMapResolution=1'''&amp;amp;nbsp;set to 2, 3, 4 to save printer memory and increase speed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Calibration ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Calibration]:'''&lt;br /&gt;
&lt;br /&gt;
'''AutoCalibration=Off'''&amp;amp;nbsp;On: automatic calibration of signals &amp;gt;= 4 cycles&lt;br /&gt;
&lt;br /&gt;
'''MicrovoltCalibration=50'''&amp;amp;nbsp;peak voltage of calibration signal&lt;br /&gt;
&lt;br /&gt;
If calibration is set to'' On'', the menu item ''Calibration ''will appear in the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Process '''&amp;lt;/span&amp;gt;menu. Position your current screen at an epoch containing at least 4 regular cycles of the calibration signal (in all channels!) and select Calibration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Video ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Video]:'''&lt;br /&gt;
&lt;br /&gt;
'''DVCFilePath=C:\DVC\DVPlay.exe''' holds the path to the digital video player&lt;br /&gt;
&lt;br /&gt;
'''DVCCommandLineArguments=/S:3 /M:P /T:M''' &amp;amp;nbsp;arguments to be passed to the digital video player&lt;br /&gt;
&lt;br /&gt;
'''CursorPagingOffsetLeft=0.2 &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
'''CursorPagingOffsetRight=0.8'''&lt;br /&gt;
&lt;br /&gt;
'''CursorMinDistToBorderBeforePaging=0.02'''&lt;br /&gt;
&lt;br /&gt;
'''PageDisplayIfCursorIsBelowVideo=1'''&lt;br /&gt;
&lt;br /&gt;
'''MappingRepetitionRateWithVideoInMS=100''' &amp;amp;nbsp;gives the number of milliseconds between two maps if the mapping window is open while the video is running. If the graphics board encounters problems during the display, this value should be increased.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Mapping ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Mapping]:'''&lt;br /&gt;
&lt;br /&gt;
'''UseBitmapDrawing=Off'''&lt;br /&gt;
&lt;br /&gt;
Set this to &amp;quot;On&amp;quot; if 3D maps show a strange pattern of black triangular shapes (this is frequently observed with modern Intel On-Board graphics controllers, and is a result of inadequate drivers for OpenGL).&lt;br /&gt;
&lt;br /&gt;
'''Use3DVBlending=Auto'''&lt;br /&gt;
&lt;br /&gt;
Set this to &amp;quot;Off&amp;quot; if the 3D view in the Montage Editor or the Source Analysis window does not show up properly (this may happen with some older graphics cards).&lt;br /&gt;
&lt;br /&gt;
Set this to &amp;quot;On&amp;quot; if the 3D view in the Montage Editor or the Source Analysis window shows a ragged surface boundary.&lt;br /&gt;
&lt;br /&gt;
'''UseDoubleBuffering=On'''&lt;br /&gt;
&lt;br /&gt;
Set this to &amp;quot;Off&amp;quot; to disable double buffering mechanism that prevents the screen from flickering while paging through data and dragging window (''this feature requires BESA Research 7.1 or higher'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: '''MapSmoothing''', the default map smoothing parameter, can be specified in the '''[Defaults]''' section.&lt;br /&gt;
&lt;br /&gt;
== Matlab ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Default settings for the [Matlab] section:'''&lt;br /&gt;
&lt;br /&gt;
'''Platform=32'''&lt;br /&gt;
&lt;br /&gt;
Set '''Platform=64''' if you want to use the 64-bit version of MATLAB.&lt;br /&gt;
&lt;br /&gt;
== Updates ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section is not normally required, but the variables here can be altered or defined to determine how BESA Research checks for dongle and program updates.&lt;br /&gt;
&lt;br /&gt;
'''DaysBetweenUpdateChecks=7'''&lt;br /&gt;
&lt;br /&gt;
Sets the number of days between automatic checks for updates. Set the value to 0 to check every time BESA Research is started. Set to -1 to turn off automatic update checks.&lt;br /&gt;
&lt;br /&gt;
'''CheckNetworkDongle=Off'''&lt;br /&gt;
&lt;br /&gt;
For the network administrator: If set to &amp;quot;On&amp;quot;, BESA Research will check the dongle on the network for updates. Otherwise the state of the network dongle will be ignored.&lt;br /&gt;
&lt;br /&gt;
'''LocalPath'''&lt;br /&gt;
&lt;br /&gt;
For the network administrator. This can be set to a path on the local network to the BESA update files, so that users can obtain their updates locally. The path is given to the text file &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''UpdateVersions.txt'''&amp;lt;/span&amp;gt;&amp;quot; (e.g. ''LocalPath=\\transtec-sak\zarascratch\BESA\Updates\UpdateVersions.txt''), which contains further details for the program to obtain its updates. If you want to use this feature, please contact us at [mailto:support@besa.de support@besa.de].&lt;br /&gt;
&lt;br /&gt;
The following variables are not required, because BESA Research has the paths hardwired:&lt;br /&gt;
&lt;br /&gt;
'''FTP1 (also FTP2, FTP3)'''&lt;br /&gt;
&lt;br /&gt;
ftp download server&lt;br /&gt;
&lt;br /&gt;
'''Path1 (also Path2, Path3)'''&lt;br /&gt;
&lt;br /&gt;
Path on the server to UpdateVersions.txt.&lt;br /&gt;
&lt;br /&gt;
'''HaspPath1 (also HaspPath2, HaspPath3)'''&lt;br /&gt;
&lt;br /&gt;
Path on the server to HASP (dongle) update files.&lt;br /&gt;
&lt;br /&gt;
'''History'''&lt;br /&gt;
&lt;br /&gt;
Path on the server to general history file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FMRI ==&lt;br /&gt;
&lt;br /&gt;
''(requires Besa Research 7.0 or higher)''&lt;br /&gt;
&lt;br /&gt;
These settings define the default parameters for the fMRI artifact removal in the BESA Research (see [[BESA_Research_Artifact_Correction#fMRI_artifact_removal|fMRI artifact removal]] chapter for further details). For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
[FMRI]&lt;br /&gt;
FMRIRemovalMode=1&lt;br /&gt;
TRDelay=200&lt;br /&gt;
TRLength=800&lt;br /&gt;
NumberOfAverages=21&lt;br /&gt;
fMRImoveThreshold=0.15&lt;br /&gt;
FMRITRID=8015&lt;br /&gt;
ScansToSkip=0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These values indicate:&lt;br /&gt;
&lt;br /&gt;
* '''FMRIRemovalMode''': Removal method (0: Turned off; 1: Allen et al, 2000; 2: Allen et al., 2000 Modified; 3: Moosmann et al.,2003)&lt;br /&gt;
* '''TRDelay''': Delay between marker and start of volume acquisition [ms]&lt;br /&gt;
* '''NumberOfAverages''': Number of artifact occurrence averages&lt;br /&gt;
* '''fMRImoveThreshold''': Movement threshold [mm]&lt;br /&gt;
* '''FMRITRID''': fMRI Trigger code&lt;br /&gt;
* '''ScansToSkip''': Number of scans to skip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Montage ==&lt;br /&gt;
&lt;br /&gt;
This section allows to specify a source montage that is set the first time when the source montage button is pressed. For example,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
[Montage]&lt;br /&gt;
Source=FR_Frontal Region&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
specifies that when the ''Src'' button in the control ribbon is pressed for the first time, the source montage &amp;quot;FR_Frontal Region&amp;quot; will be selected. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; does not specify a montage, pressing the ''Src'' button opens the drop-down menu offering all the available source montages for the current file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reader-Specific Settings ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== BrainLab ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [BrainLab]:'''&lt;br /&gt;
&lt;br /&gt;
'''BrainLabFormat=New''' this entry ensures that the newer BrainLab file format can be read by BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Bio-Logic ===&lt;br /&gt;
&lt;br /&gt;
'''FileSelect=Yes'''&lt;br /&gt;
&lt;br /&gt;
If there are several Bio-Logic files in a data folder, the reader can check if the files have the same settings. There are three possible options:&lt;br /&gt;
&lt;br /&gt;
* Open a dialog to ask if the files should be treated as a single data set, or as individual, separate files. &lt;br /&gt;
&lt;br /&gt;
[[Image:ST Besa ini (2).jpg ‎]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;gt;in this case, use '''FileSelect=Yes''' (this is the default setting) Note that the choice made in the dialog will apply to the file(s) within a BESA Research session. For a given file and session, the dialog will only be opened once, even if the file is closed and reopened.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Always concatenate such files into a single data set. In this case use '''FileSelect=All'''&lt;br /&gt;
* Always open the files as single, separate files. In this case use '''FileSelect=Single'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== EDF+/BDF/Trackit ===&lt;br /&gt;
&lt;br /&gt;
'''TriggerScan=On'''&lt;br /&gt;
&lt;br /&gt;
Set '''TriggerScan=Off '''to prevent BESA Research from scanning the file for triggers. This is done separately for EDF+, BDF, and Trackit files in sections '''[EDF+], [BDF],''' and '''[Trackit]''' in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== EGI ===&lt;br /&gt;
&lt;br /&gt;
The treatment of DIN events can be modified in the''' [EGI] '''section:&lt;br /&gt;
&lt;br /&gt;
'''CombineDINevents'''&amp;lt;nowiki&amp;gt;=yes/no&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(default is “yes”)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set to “no” if you want to treat DIN events separately, and not generate combined values.&lt;br /&gt;
&lt;br /&gt;
'''SeparateDINevents'''&amp;lt;nowiki&amp;gt;=yes/no&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(default is “yes”)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set to “no” if you don’t want to treat DIN events separately. Thus, using the above two parameters, you can choose whether you want to treat DIN events as combined, separate, both, or completely ignored.&lt;br /&gt;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This defines the text preceding the number when DIN events are combined. The default is “dinComb”.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Harmonie ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Harmonie] (Stellate Harmonie systems):'''&lt;br /&gt;
&lt;br /&gt;
'''SeizurePreEpoch=60'''&amp;amp;nbsp;length of the epoch preceding a seizure detection in s&lt;br /&gt;
&lt;br /&gt;
'''SeizurePostEpoch=60'''&amp;amp;nbsp;length of the epoch following a seizure detection in s&lt;br /&gt;
&lt;br /&gt;
'''PushButtonPreEpoch=60'''&amp;amp;nbsp;length of the epoch preceding a push button detection&lt;br /&gt;
&lt;br /&gt;
'''PushButtonPostEpoch=60'''&amp;amp;nbsp;length of the epoch following a push button detection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When BESA Research encounters a seizure detection event or a push button detection event in a Stellate Harmonie file, it automatically sets an epoch around the event, which makes it convenient to view just those epochs for analysis. The length of the epochs preceding and following the events can be adjusted in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ini'''&amp;lt;/span&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Neuroscan Keys ===&lt;br /&gt;
&lt;br /&gt;
'''Note that there is a setting &amp;quot;NeuroScanDataNumberOfBits&amp;quot; in the [Defaults] section of BESA.ini that is used for distinguishing the data format of Neuroscan files (16 or 32-bit).'''&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [NeuroScan Keys] (NeuroScan systems):'''&lt;br /&gt;
&lt;br /&gt;
Event1=Movement&amp;amp;nbsp;Text corresponding to keyboard events 1 through 10&lt;br /&gt;
&lt;br /&gt;
Event2=Blink&lt;br /&gt;
&lt;br /&gt;
Event3=Talking&lt;br /&gt;
&lt;br /&gt;
Event4=Cough&lt;br /&gt;
&lt;br /&gt;
Event5=Muscle&lt;br /&gt;
&lt;br /&gt;
Event6=Jaw&lt;br /&gt;
&lt;br /&gt;
Event7=Sneeze&lt;br /&gt;
&lt;br /&gt;
Event8=Swallow&lt;br /&gt;
&lt;br /&gt;
Event9=Eye movement&lt;br /&gt;
&lt;br /&gt;
Event10=Hiccup&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== NKT2100 ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [NKT2100] (Nihon Kohden EEG 21xx systems):'''&lt;br /&gt;
&lt;br /&gt;
'''TriggerScan=On''' &amp;amp;nbsp;&amp;amp;nbsp;Set to &amp;quot;Off&amp;quot; to prevent a scan for trigger events.&lt;br /&gt;
&lt;br /&gt;
'''Country=NotKanji'''&amp;amp;nbsp;set to NotKanji for non-Kanji characters else to Kanji&lt;br /&gt;
&lt;br /&gt;
'''KanjiCharSize=16'''&amp;amp;nbsp;Kanji character size&lt;br /&gt;
&lt;br /&gt;
'''KanjiPrinterCharSize=32'''&amp;amp;nbsp;Kanji printer character size&lt;br /&gt;
&lt;br /&gt;
'''EEG_Sensitivity=50'''&amp;amp;nbsp;default sensitivity of Nihon Kohden EEG-2100 system&lt;br /&gt;
&lt;br /&gt;
'''DC_Sensitivity=50'''&amp;amp;nbsp;default sensitivity of Nihon Kohden DAE-2100 system&lt;br /&gt;
&lt;br /&gt;
'''QJ_Sensitivity=100''' default sensitivity of Nihon Kohden QJ-403 system&lt;br /&gt;
&lt;br /&gt;
'''Mark_Sensitivity=100'''&amp;amp;nbsp;default sensitivity of EEG-2100 marker channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These settings need to be changed only if the manufacturer has specified different gains for your system. Otherwise do not alter these settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vangard ===&lt;br /&gt;
&lt;br /&gt;
'''AlwaysOpenFileSelect=Yes'''&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;Yes&amp;quot; is selected, each time a Vangard file is opened, a dialog box will open, asking for a selection of the segment type to display.&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;No&amp;quot; is selected, the selection dialog is opened whenever a Vangard file is opened for the first time, or if the ''Channel and digitized head surface point information dialog box'' is opened (e.g. with &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt; or ''File/Head Surface Points and Sensors/Load Coordinate Files...'' ).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== XLTEK ===&lt;br /&gt;
&lt;br /&gt;
'''TriggerScan=Off '''Set to &amp;quot;On&amp;quot; to scan the data file for trigger events&lt;br /&gt;
&lt;br /&gt;
'''MontageNo=2''' Set to 1 or 2. If two montages for the data file are defined, this variable determines whether the first or the second alternative should be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Review</id>
		<title>Review</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Review"/>
				<updated>2021-05-05T11:07:01Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- =  BESA Research Review = --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Review Window ==&lt;br /&gt;
&lt;br /&gt;
BESA Research incorporates many features of the EEGFOCUS program. Therefore, it is a comprehensive EEG review program combining traditional EEG review with new and unmatched tools for digital EEG analysis. The user interface of BESA Research has been designed to allow for very efficient and quick EEG review. BESA Research can store information, i.e. file names, paths and settings of up to 20 EEGs, from one or several subjects. Once you have selected an EEG file, you can use the control push-buttons to:&lt;br /&gt;
&lt;br /&gt;
* switch back and forth between the different selected EEG files&lt;br /&gt;
* page forward and backward through the EEG, automatically or manually&lt;br /&gt;
* use the event or scroll bar to jump to any marked event or anywhere else in the EEG&lt;br /&gt;
* change instantaneously between recorded, virtual, source and user defined montages&lt;br /&gt;
* mark, tag, analyze and store any EEG event or segment&lt;br /&gt;
* change scales and timing rapidly using toolboxes&lt;br /&gt;
* select combinations of scalp, polygraphic, intracranial, and additional channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note that BESA Research can also work with MEG. Most of the functions described for EEG are also valid for the processing of MEG signals.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The review window is the main window in BESA Research. It provides access to all important review and analysis features with one or two mouse clicks. The main features are illustrated in the layout figure below. The central part of the window shows the EEG waveforms of the current montage. Around the central display, the menu bar and buttons are grouped for an easy access to the program features.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Screen_layout_klein.png]]&lt;br /&gt;
&lt;br /&gt;
''Overview of the review window''&lt;br /&gt;
&lt;br /&gt;
== Controls and Push Buttons  ==&lt;br /&gt;
&lt;br /&gt;
'''Menu bar: '''&lt;br /&gt;
&lt;br /&gt;
The menu bar is situated at the '''top''' of the window. All commands can be selected from one of the submenus which open when you click on one of the headings. Each heading summarizes a set of features for a specific aspect, e.g. artifact correction. All menu items and sub-items are explained in section &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Menus'''&amp;lt;/span&amp;gt; and in online help chapter ''&amp;quot;Review / Reference / Menus&amp;quot;''. &lt;br /&gt;
&lt;br /&gt;
'''Control ribbon: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;The push button controls '''below the menu bar''' allow for a fast selection of commands and settings which are often used. They are grouped in sections which feature file manipulation, mapping display, data analysis, remontaging, and filtering. The functions of the push buttons in the control ribbon are explained below and in online help chapter ''&amp;quot;Review / Reference / Menus&amp;quot;''. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:control_ribbon_shrunk.png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel group selection: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;The controls at the '''top right''' of the waveforms display enable showing or hiding channels which belong to a specific channel group. These can be scalp, polygraphic, or intracranial channels. Additional channels can be chosen for display below the current montage, e.g. EKG channels and/or virtual eye electrodes that are automatically calculated. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Scaling and channel selection controls: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;For each selected channel group, e.g. &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scp, Pgr'''&amp;lt;/span&amp;gt; etc., two push buttons and a scaling symbol are available on the '''righthand side''' of the window. By means of these buttons, a subset of channels can be selected for display, and the scaling of the channel group can be adjusted. For additional channels (the blue channels at the bottom of the display), the scaling can be adjusted individually. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Timing push button: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;The timing push button at the '''bottom right''' of the window adjusts the time resolution of the data segment which is displayed on the screen. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Event bar: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;The event bar at the '''bottom''' of the waveforms display summarizes the position of events within the data file. By clicking on an event, you can jump to the corresponding position in the data. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Scroll bar: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;By using the scroll bar which is situated '''just below''' the event bar, you can quickly move through the data file - either by clicking into the scroll bar, by dragging the scroll button, or by using the arrows for small adjustments. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Status bar: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;The status bar at the very '''bottom''' of the window provides information about the current settings. The information displayed depends on the context, e.g. on whether a cursor is set or not, or whether an average buffer or raw data are viewed. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Paging controls: '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;These push buttons are placed at the '''bottom left''' of the window. They enable fast forward and backward paging, either by using the arrows at the left for a whole page, or by using the arrows at the right for a half page. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Auto'''&amp;lt;/span&amp;gt; button is used for automatic paging and searching / averaging. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more details about controls and push buttons see online'' ''help chapter'' &amp;quot;Review / Reference / Controls&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Using the Mouse&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Easy to use mouse operations facilitate working with data files. You can mark specific items by a single click, initiate a map by a double click, or use a right click to open context-optimized menus. The figure below illustrates the main mouse functions. In this example (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG2.eeg'''&amp;lt;/span&amp;gt;), right temporal-basal seizure onset is shown using the source montage TR_Temporal Region. An automatic eye artifact correction was performed that added two virtual EEG channels for vertical and horizontal eye movements below the montage channels (more information on artifact correction is found in the chapter &amp;quot;''Artifact Correction''&amp;quot;). The source montage displays the signals from four aspects of the left and right temporal lobes (head symbols: basal, polar, antero-lateral, postero-lateral aspects) and 11 other brain regions (more information on remontaging is found in the chapter &amp;quot;''Montage Editor''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
The most important mouse functions in the different areas of the review window are:&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (3).jpg]]&lt;br /&gt;
&lt;br /&gt;
''Basic mouse functions in the review window.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel label area: '''&lt;br /&gt;
&lt;br /&gt;
* '''Left mouse click:''' Mark channels for analysis or pattern search (see figure below) &lt;br /&gt;
&lt;br /&gt;
* '''Right mouse click:''' &lt;br /&gt;
** In source montages, a click on the channel label (or head symbol) at the left of the display opens an image which shows the brain region corresponding to the source channel. Learn more about images in the chapter “''Mapping''”. &lt;br /&gt;
** In the original montage, the right click on the channel label opens a popup menu to define a channel as bad, or to interpolate its signal using the other channels. &lt;br /&gt;
&lt;br /&gt;
'''Waveform area: '''&lt;br /&gt;
&lt;br /&gt;
*'''Left mouse double click:''' Opens the mapping window and shows the voltage topography at the selected position. Maps can be displayed either as 2D or 3D whole head maps, or as top meridian projection maps. For more details see the chapter “''Mapping''”.&lt;br /&gt;
&lt;br /&gt;
*'''Left mouse click:''' Remove cursor and maps or images, if displayed.&lt;br /&gt;
&lt;br /&gt;
*'''Right mouse click:''' Opens a popup menu for marking, adding or deleting events and to start specific processes related to the selected position in the EEG. In the example shown here, a comment was added to indicate seizure onset.&lt;br /&gt;
&lt;br /&gt;
*'''Left mouse drag:''' Mark a block for analysis, e.g. FFT or correlation analysis. Right click into the marked block to obtain the special popup menu for processing of marked data blocks.&lt;br /&gt;
&lt;br /&gt;
*'''Right mouse drag:''' Measure peaks and frequency of marked channels segment (cf. figure below).&lt;br /&gt;
&lt;br /&gt;
'''Event bar: '''&lt;br /&gt;
&lt;br /&gt;
*'''Left mouse click:''' Jump to events.&lt;br /&gt;
&lt;br /&gt;
*'''Right mouse click:''' Display information about events.&lt;br /&gt;
&lt;br /&gt;
'''Control buttons: '''&lt;br /&gt;
&lt;br /&gt;
*'''Left mouse click:''' Use button.&lt;br /&gt;
&lt;br /&gt;
*'''Right mouse click:''' Display information on use of button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (4).jpg‎]]&lt;br /&gt;
&lt;br /&gt;
''Mouse drag functions in the review window.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The example above illustrates how amplitude peaks and frequencies can be measured using the right mouse drag, and how a block can be marked using the left mouse drag, e.g. for correlation analysis. Please refer to the sections “''Measuring Peaks and Frequency” ''and ''&amp;quot;Correlation&amp;quot; ''for detailed explanations.&lt;br /&gt;
&lt;br /&gt;
== Paging ==&lt;br /&gt;
&lt;br /&gt;
Paging through the EEG with BESA Research has several advantages over paging through paper EEG. For example, the default setting in BESA Research is paging with a 10% overlap, which ensures that events at the edge of a page are not overlooked. Larger or smaller paging steps are achieved by just two mouse clicks. You can also jump to any part of the EEG recording by a click into the event bar, switch among various montages using the push buttons, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Paging Using Buttons '''&lt;br /&gt;
&lt;br /&gt;
You can page through the data using the control push buttons at the bottom left of the review window, as illustrated in the figure below: &lt;br /&gt;
&lt;br /&gt;
[[Image:Review (5).jpg|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The arrows page forward or backward by a whole page. If ''Paging with Overlap'' is selected in the program options, paging occurs with a 10% overlap (maximum 1 second). To page through the display automatically, click on the automatic button between the arrow buttons. Then click on the page forward or page backward button, or press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Space&amp;gt;'''&amp;lt;/span&amp;gt; bar on the keyboard to start paging. Automatic paging may be stopped by clicking the Auto button again, or by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Space&amp;gt;'''&amp;lt;/span&amp;gt; bar or any key on the keyboard. You can speed up or slow down automatic paging using the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options / Paging / Timing of Auto-Page Mode'''&amp;lt;/span&amp;gt;''. ''The arrows at the right are used for paging half a page forward or backward.&lt;br /&gt;
&lt;br /&gt;
Press the arrows on the scrollbar at the bottom of the window (cf. figure below) to step forward or backward by just one second. Clicking into the scrollbar area pages forward or backward in whole page steps (this is also achieved by using the mouse wheel).&lt;br /&gt;
&lt;br /&gt;
[[Image:Review_(6)_01.png|700px]]&lt;br /&gt;
&amp;lt;!-- [[Image:Review (6).jpg]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These controls are described in more detail in online help chapter &amp;quot;''Review / Reference / Menus / Paging Controls''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Paging Using the Keyboard'''&lt;br /&gt;
&lt;br /&gt;
A useful and efficient way to work with BESA Research is to keep the left hand on the keyboard and the right hand on the mouse (see the figure below). You can page through the EEG using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Space&amp;gt;'''&amp;lt;/span&amp;gt; bar (left hand). Stop paging by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Space&amp;gt;'''&amp;lt;/span&amp;gt; bar again and press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''B' '''&amp;lt;/span&amp;gt;key to page back in half page steps, for example, until you see the pattern that made you stop paging. Use the right hand on the mouse to work on the displayed signals, e.g. view maps (left mouse double click), set tags or define epochs and artifacts (right click for popup menu), and perform FFT or linear correlation (drag to mark block and right click for popup menu), etc. To move back by a half page (useful e.g. if a pattern was detected during automatic paging), press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''B''''&amp;lt;/span&amp;gt; key. Move forward by a half page with the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''N' '''&amp;lt;/span&amp;gt;key.&lt;br /&gt;
&lt;br /&gt;
For detailed information on additional keyboard paging commands, please refer to online help Chapter &amp;quot;''Reference / Controls / Mouse and Keyboard / Keyboard Controls''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (9).jpg]]&lt;br /&gt;
&lt;br /&gt;
== Events and Tags ==&lt;br /&gt;
&lt;br /&gt;
Tagging of the EEG is like making notes on an EEG-printout. Tagged events in a digital EEG are more powerful, since they can be used, for example, for selected viewing of a group of similar events (see online help chapter'' &amp;quot;Review / Reference / Menus / View / Selected View&amp;quot;).'' &lt;br /&gt;
&lt;br /&gt;
Tags of different kinds can be used to mark time points or ranges of interest, add comments, and define artifact time ranges. All types of tag can be set using the popup menu that appears when the right mouse button is pressed. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Types of Events '''&lt;br /&gt;
&lt;br /&gt;
There are different types of events that can be tagged manually:&lt;br /&gt;
* '''Markers'''. These define time points that are used to divide the EEG into gross time ranges, for functions such as: FFT or average between markers. &lt;br /&gt;
* '''Comments.''' These are text notes that can be placed at any time point in the EEG. &lt;br /&gt;
* '''Epochs'''. Time ranges of interest with optional labels. These can be selectively viewed excluding all the remaining EEG. This allows for a fast overview over similar epochs. &lt;br /&gt;
* '''Artifacts'''. Time ranges containing artifacts. These are similar to epochs, with the additional property that they are excluded from averaging and FFT. &lt;br /&gt;
* '''Patterns'''. These define time points in one of five categories (Pattern 1-5). They may be used for averaging in 5 different buffers and can be defined by the pattern search. &lt;br /&gt;
* '''Triggers'''. These are defined by an external trigger input or are created from recorded channels by converting pattern tags into triggers from the ERP menu (see help chapter &amp;quot;''ERP / Functions... / Managing Triggers / Editing Triggers''&amp;quot;). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Event Bar '''&lt;br /&gt;
&lt;br /&gt;
The event bar is located at the bottom of the review window. It shows all events in the data file as vertical lines. Different event types are indicated by different colors. You can view an event description by right click on the corresponding line. Jump to any event by left click on the line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.042cm;margin-right:0.09cm;&amp;quot;&amp;gt;[[Image:Review (11).jpg]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Setting Events'''&lt;br /&gt;
&lt;br /&gt;
Most tags are defined at single time points by moving the mouse pointer over the position in the waveforms display, performing a right click, and selecting the tag type from the menu that appears.&lt;br /&gt;
&lt;br /&gt;
Epochs and artifacts are defined when a block has been marked by dragging over a portion of the EEG and pressing the right mouse button. Left and right borders of an epoch/artifact can also be defined at single times by pressing the right mouse button and selecting epoch or artifact. You can page and terminate the pending epoch/artifact by right clicking at another time to mark longer segments.&lt;br /&gt;
&lt;br /&gt;
You can also use the &lt;br /&gt;
&amp;lt;span title=&amp;quot;Outside the average buffer view, the numeric keys can be used to define tags if a cursor is set: 1-5: Set a tag of type 1-5. 6: Set a comment. 7: Set artifact epoch. 8: Set named epoch. &amp;quot;&amp;gt;'''&amp;lt;u&amp;gt;keyboard shortcuts&amp;lt;/u&amp;gt;'''&amp;lt;/span&amp;gt;&lt;br /&gt;
to set any event.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;ul&amp;gt; &lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Review (1).gif|thumb|180px|Popup menu after right click somewhere in the EEG.]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li style=&amp;quot;display: inline-block;&amp;quot;&amp;gt; [[File:Review (2).gif|thumb|250px|Popup menu after right click when a block is marked]] &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Viewing Events'''&lt;br /&gt;
&lt;br /&gt;
You can view the type and description of an event in two ways:&lt;br /&gt;
* Right click on the vertical line in the event bar which represents the event.&lt;br /&gt;
* Jump to the position of the event in the data file by a left click in the event bar (or by using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Goto'''&amp;lt;/span&amp;gt; menu). The event is indicated in the waveform display by a vertical line. Right click into the display just above the event bar with the mouse positioned at the latency of the event.&lt;br /&gt;
&lt;br /&gt;
== Remontaging ==&lt;br /&gt;
&lt;br /&gt;
BESA Research offers three types of montages:&lt;br /&gt;
&lt;br /&gt;
* '''Recorded (traditional) montages''' using combinations of the recorded channels&lt;br /&gt;
* '''Virtual (interpolated) montages''' using combinations of 27, 33 or 81 standard virtual&lt;br /&gt;
* '''Brain source montages''' using transformations onto virtual electrodes in the brain&lt;br /&gt;
&lt;br /&gt;
Remontaging in BESA Research is conveniently performed by pressing one of the push buttons &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Rec, Vir, Src or Usr'''&amp;lt;/span&amp;gt;, which provide a shortcut to the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Recorded&amp;lt;/span&amp;gt;,''' &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Virtual, Source '''&amp;lt;/span&amp;gt;and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''User-Defined&amp;lt;/span&amp;gt; '''submenus of the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage'''&amp;lt;/span&amp;gt; menu. The push buttons''''' ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Opt'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''EdM '''&amp;lt;/span&amp;gt;allow for setting montage options and editing of user-defined and additional montages.&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (7).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following standardized montages are provided in BESA Research and can be selected using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage'''&amp;lt;/span&amp;gt;'' ''menu or the montage push buttons:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Rec: Recorded (traditional) montages'''&lt;br /&gt;
&lt;br /&gt;
* Original EEG data: '''Original Recording'''.&lt;br /&gt;
* Average reference montages: '''Average Reference''', '''Original Average Reference'''.&lt;br /&gt;
* Longitudinal/horizontal bipolar montages: '''Double Banana''', '''Triple Banana''', '''Horizontal Bipolar'''.&lt;br /&gt;
* Montages with a single channel reference: '''A1/A2 Reference''', '''Referential'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vir: Virtual (interpolated) montages'''&lt;br /&gt;
&lt;br /&gt;
Spherical spline interpolation over the recorded electrodes is used to calculate the voltage at a standard set of 81 virtual electrodes of the 10-10 international electrode system. The average potential over these 81 electrodes is used as the 10-10 average. Combinations between these virtual electrodes are used to calculate standardized montages which are also available if some electrodes are missing or bad:&lt;br /&gt;
&lt;br /&gt;
* Average reference montage: '''10-10 Average'''.&lt;br /&gt;
* Longitudinal/horizontal bipolar montages: '''Double Banana''', '''Triple Banana, Horizontal Bipolar'''.&lt;br /&gt;
* Montages with a single channel reference: '''A1/A2 Reference''', '''Referential'''.&lt;br /&gt;
* Combined (=averaged) ears reference: '''Combined Ears'''.&lt;br /&gt;
* Reference-free montage: '''Reference Free''', '''Reference Free (10-10)'''.&lt;br /&gt;
* Current source density montage: '''CSD-Laplacian''', '''CSD-Laplacian (10-10)'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Src: Brain source montages'''&lt;br /&gt;
&lt;br /&gt;
* Standard brain source montages. See below for further explanation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Usr: User-defined montages'''&lt;br /&gt;
&lt;br /&gt;
* Specific user-defined montages created in the Montage Editor or the Source Analysis window. See below for further explanation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Opt: Montage Options'''&lt;br /&gt;
&lt;br /&gt;
Recorded, virtual and source montages can be arranged in different systematic orders and groupings using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Opt&amp;lt;/span&amp;gt;'' '''''push button, which provides a shortcut to the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage / Options'''&amp;lt;/span&amp;gt;'' ''menu (see the online help chapter ''&amp;quot;Review / Reference / Menu / Montage / Options&amp;quot;''). Montages can be ordered from:&lt;br /&gt;
&lt;br /&gt;
* '''left to right '''depicting lower left, intermediate left, midline, intermediate right and lower right rows of channels with a sequence from anterior to posterior.&lt;br /&gt;
* '''right to left '''depicting lower right, intermediate right, midline, intermediate left and lower left rows of channels with a sequence from anterior to posterior.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, montages can be grouped by hemisphere for easier '''hemispheric comparison''' or by regions for easier '''regional comparison'''.&lt;br /&gt;
&lt;br /&gt;
This allows for convenient comparison of lateralization and location of focal activity across the different montages. This systematic arrangement of traditional, virtual and brain source montages yields a completely new perspective that was not available previously during digital EEG review.&lt;br /&gt;
&lt;br /&gt;
More details on the montage options for regional sources see below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EdM: Edit Montage'''&lt;br /&gt;
&lt;br /&gt;
Press this button to open the montage editor. In the Montage Editor, the montage channels can be viewed, edited and combined to new user-defined montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' You can switch among montages quickly by clicking on the montage push-buttons &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Rec, Vir, Src, Usr'''&amp;lt;/span&amp;gt; at the top of the main window below the menus. Clicking on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Rec'''&amp;lt;/span&amp;gt;'' (''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Vir, Src, Usr'''&amp;lt;/span&amp;gt;'')'' button once switches to the last displayed montage of this category. Clicking again, the popup menu opens to select another montage of this category. BESA Research provides several predefined recorded, virtual and source montages and allows the user to define new montages. User-defined montages are created in the Montage Editor and are stored in binary files. User-defined montage files located in the program subfolder ''Montages\UserMontages ''or in the data directory are automatically available from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage / User-Defined'''&amp;lt;/span&amp;gt; menu. User-defined montage files located elsewhere can be loaded in the Montage Editor. After loading they are available from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr '''&amp;lt;/span&amp;gt;push button too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Montage menu ===&lt;br /&gt;
&lt;br /&gt;
The Montage menu provides the same functionality as the push buttons described above, plus the option to show additional channels below the current montage. A brief description of the available montages is given below. For more details see chapter Standard Montages in the help chapter &amp;quot;''Montage Editor''&amp;quot;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Recorded montages ===&lt;br /&gt;
&lt;br /&gt;
Press the push button''''' ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Rec'''&amp;lt;/span&amp;gt; twice or use the menu Montage/Recorded to select a recorded (traditional) montage.&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (3).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Average Reference'''&lt;br /&gt;
&lt;br /&gt;
In this traditional montage, the available channels of the Std-27 electrode set are displayed against average reference. The average reference is computed for each time&lt;br /&gt;
point as the mean voltage over the amplitudes of all scalp electrodes that are not bad. If the common reference used for recording is a single electrode and has been&lt;br /&gt;
specified, it will be included in the computation of the average reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Double Banana'''&lt;br /&gt;
&lt;br /&gt;
This is a longitudinal bipolar montage containing two left hemispheric, two right hemispheric and one midline longitudinal row of montage channels. Longitudinal rows&lt;br /&gt;
are arranged from front to back. Predefined montage channels are only displayed if both the channel and reference are available (i.e. recorded and not bad).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Triple Banana'''&lt;br /&gt;
&lt;br /&gt;
The Triple Banana montage is an extended longitudinal bipolar montage. It has an additional inferior row on each side as compared to the Double Banana montage. Predefined montage channels are only displayed if both the channel and reference are available (i.e. recorded and not bad). The Triple Banana montage is not available if less than 2 inferior electrodes are recorded or defined as ‘good’ on each side.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Bipolar'''&lt;br /&gt;
&lt;br /&gt;
The horizontal bipolar montage contains three transversal rows of montage channels. Transversal rows are arranged from left to right or right to left depending on the&lt;br /&gt;
settings in Options. Predefined montage channels are only displayed if both the channel and reference are available (i.e. recorded and not bad). In the Horizontal Bipolar&lt;br /&gt;
montage, available midline electrodes are always displayed even if ''Midline Channels'' is set to ''Off'' in ''Montage / Options.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A1/A2 Reference'''&lt;br /&gt;
&lt;br /&gt;
In this traditional montage, the available left-hemispheric channels of the Std-27 electrode set (except inferior electrodes F9, A1, P9) are displayed against the electrode&lt;br /&gt;
A1 (or, if A1 is not available, a close channel such as P9 -&amp;gt; T9 -&amp;gt; TP9 -&amp;gt; M1). The available right-hemispheric channels of the Std-27 electrode set (except inferior&lt;br /&gt;
electrodes F10, A2, P10) are displayed against the electrode A2 (or a close channel such as P10 -&amp;gt; T10 -&amp;gt; TP10 -&amp;gt; M2). The available midline electrodes of the Std-27&lt;br /&gt;
electrode set (except Fpz and Oz) are referenced to A1 and A2 (or a close channel), respectively. If neither A1 nor A2 nor any of the close channels are recorded or&lt;br /&gt;
defined as ‘good’, the A1/A2 Reference montage is not available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Referential'''&lt;br /&gt;
&lt;br /&gt;
In this traditional montage, the available channels of the Std-27 electrode set are displayed against a common ‘viewing reference’. The default viewing reference is&lt;br /&gt;
Cz. The viewing reference can be changed in the Montage Editor (which can be opened using the''''' ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;EdM&amp;lt;/span&amp;gt;'' '''''button in the control ribbon). Any of the electrodes in the EEG file may be used as viewing reference. Note that the common viewing reference is independent of the common reference used for recording.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Original Recording'''&lt;br /&gt;
&lt;br /&gt;
This montage displays the data as recorded. Note that channels defined as 'bad channels' are shown as a flat grey line. In the other recorded montages, bad channels are not displayed.&lt;br /&gt;
&lt;br /&gt;
If the common reference has been defined, it will be displayed as a flat line as well, since Com minus Com equals zero. The label of the common reference is appended to each channel label.&lt;br /&gt;
&lt;br /&gt;
In this montage, push buttons appear at the upper right of the EEG window for selecting '''''All '''''channel groups or one of the possible channel groups (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scp&amp;lt;/span&amp;gt;'' '''''&amp;lt;nowiki&amp;gt;= scalp EEG, &amp;lt;/nowiki&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Pgr&amp;lt;/span&amp;gt;'' '''''&amp;lt;nowiki&amp;gt;= polygraphic, &amp;lt;/nowiki&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Icr&amp;lt;/span&amp;gt;'' '''''&amp;lt;nowiki&amp;gt;= intracranial, &amp;lt;/nowiki&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''MEG&amp;lt;/span&amp;gt;'' '''''&amp;lt;nowiki&amp;gt;= magnetoencephalographic channels). These buttons and the group buttons above the calibration marks may be used to change conveniently between displays of a few selected channels of one group and all groups and channels.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Original Average Reference'''&lt;br /&gt;
&lt;br /&gt;
In this montage, the scalp electrodes are displayed in the recording sequence, versus common average reference. The average reference is computed for each time point as the mean voltage over the amplitudes of all scalp electrodes that are not bad.&lt;br /&gt;
&lt;br /&gt;
If the common reference is a known single electrode, it will be included in the computation of the average reference. The voltage at the common reference electrode against average reference will be displayed. Note that this is not a flat line!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ''Original Recording ''and ''Original Average Reference ''montage have the same sequence of electrodes as the original recorded data. The other recorded montages (as well as the virtual montages) are derived from predefined montage lists based on a standard set of 27 electrodes (Std-27) of the international 10-10 electrode system.&lt;br /&gt;
&lt;br /&gt;
If the common reference used for recording is a known single electrode and has been specified in ''Edit/ Channel Configuration'', the common reference electrode is regarded as part of the recording electrode set. Predefined montage channels using the common reference can be displayed. The common reference will be included in the computation of the average reference. This is not possible, however, for EEG systems using a combination of electrodes as the common reference. e.g. F3/F4.&lt;br /&gt;
&lt;br /&gt;
Note: A predefined recording montage channel is not displayed if either channel or reference are defined as bad in ''Edit / Bad Channels''. Due to missing or bad channels, a predefined recorded montage may be empty. If this is the case, the montage will not be available for selection in the menu. For more details see the help chapter ''&amp;quot;Montage Editor / Recorded Standard Montages''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Virtual montages ===&lt;br /&gt;
&lt;br /&gt;
Press the push button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Vir '''&amp;lt;/span&amp;gt;twice or use the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage/Virtual'''&amp;lt;/span&amp;gt; to select a virtual (interpolated) montage.&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (4).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Reference Free'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, the standard 27 interpolated channels are displayed against a computed zero reference. The reference is estimated as the mean voltage over 642 equidistant locations covering the whole head sphere. Voltages are calculated by spherical spline interpolation. According to physics, the voltage integral over the outer surface of the head is zero. By using the mean voltage over the whole head as the reference a close approximation of the true zero reference is obtained.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''10-10 Average'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, the standard 27 interpolated channels are displayed against a virtual average reference. The average reference is computed for each time point as the mean voltage over the interpolated amplitudes of the extended 81 standard virtual scalp electrodes. Since this standard covers inferior electrodes, the 10-10 virtual average reference is not much different from the reference-free montage.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CSD-Laplacian'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, current source density (Laplacian) for each of the standard 27 interpolated electrodes is displayed. The CSD waveforms and maps are computed as the second spatial derivative by spherical spline interpolation and are implicitly reference-free. Because this method intrinsically uses information from all electrodes, it provides a more accurate estimation of the source current leaving and entering the skull than source derivations using only 3 or 4 neighboring electrodes. This is particularly true for electrodes at the boundary of the electrode array.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Double Banana'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This is a longitudinal bipolar montage containing two left hemispheric, two right hemispheric and one midline longitudinal row of montage channels. Longitudinal rows are arranged from front to back. All channels are interpolated.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Triple Banana'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;The Triple Banana montage is an extended longitudinal bipolar montage. It has an additional inferior row on each side as compared to the Double Banana montage. All channels are interpolated.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Horizontal Bipolar'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;The horizontal bipolar montage contains three transversal rows of montage channels. Transversal rows are arranged from left to right. All channels are interpolated. In the Horizontal Bipolar montage, available midline electrodes are always displayed even if ''Midline Channels ''is set to Off in ''Montage/Options''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''A1/A2 Reference'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, the left-hemispheric channels of the standard 27 interpolated channels (except for the inferior electrodes F9, A1, P9) are displayed against the interpolated voltage at electrode A1. The right-hemispheric channels of the standard 27 interpolated channels (except inferior electrodes F10, A2, P10) are displayed against the interpolated voltage at electrode A2. The midline electrodes of the standard 27 interpolated channels (except Fpz and Oz) are displayed twice, referenced a) to the interpolated voltage at electrode A1 and b) to the interpolated voltage at electrode A2. The midline channels are only displayed if ''Midline Channels ''is set to On in ''Montage/Options''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Combined Ears'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, the standard 27 interpolated channels are referenced to a computed virtual linked ears reference. The reference is calculated as the mean voltage of the interpolated amplitudes at A1 and A2 determined by spherical spline interpolation. The calculation of the average potential at the ears balances both sides correctly in contrast to the unknown bias when linking the ears or mastoid electrodes directly.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Referential'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, the standard 27 interpolated channels are displayed against a common virtual ‘viewing reference’. The default viewing reference is Cz (virtual). The viewing reference can be changed in the Montage Editor (which can be opened using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''EdM'''&amp;lt;/span&amp;gt;'' ''button in the control ribbon). Any of the extended 81 standard virtual electrodes may be used as viewing reference.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Reference Free (10-10)'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, the extended standard 81 electrode channels are displayed using spherical spline interpolation and the reference-free mode. The reference is estimated as described for the Reference Free montage. This montage yields more detailed spatial information as compared to the reference free 27 channel montage described above.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CSD-Laplacian (10-10)'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;In this montage, current source density (Laplacian) for each of the standard 81 interpolated electrodes is displayed. The CSD is computed as described for the CSD-Laplacian montage. This montage may yield more spatial information than the 27 channel CSD-Laplacian montage described above.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual montages estimate the voltage at the idealized locations of the standard 27 (81) electrodes on a sphere using spherical spline interpolation. This method is described in Perrin et al. (Electroenceph. clin. Neurophysiol. 72:184-187, 1989); please see chapter “''Mapping/ Spherical Spline Maps''” for more details. Using this interpolation, EEG traces can also be displayed for missing or bad electrodes. The use of interpolation is indicated by the keyword ‘virtual’ displayed in the upper left corner of the waveform window above the montage channel labels. In principal, spherical spline interpolation is possible outside the area covered by the recording electrodes. Over the lower half of the head, interpolation benefits greatly from the presence of inferior lateral electrodes (F9, A1, P9, F10, A2, P10). Although only a minimum of 2 separate channels with lower lateral electrodes is required, for example A1/A2 or M1/M2, the use of 6 or 4 inferior lateral electrodes is recommended.&lt;br /&gt;
&lt;br /&gt;
For more details regarding virtual montages and virtual electrodes see help chapter [[BESA_Research_Montage_Editor#Virtual_Standard_Montages|Montage Editor / Virtual Standard Montages]].&lt;br /&gt;
&lt;br /&gt;
'''Note: If the number of scalp electrodes is less than 12, spline interpolation and interpolated montages cannot be computed.'''&lt;br /&gt;
&lt;br /&gt;
=== Source montages ===&lt;br /&gt;
&lt;br /&gt;
Press the push button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Src'''&amp;lt;/span&amp;gt; twice or use the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage/Source '''&amp;lt;/span&amp;gt;to select a pre-defined source montage. These source montages are available for EEG or MEG, except for the Evoked Potentials montages (EEG only).&lt;br /&gt;
&lt;br /&gt;
[[Image:Source_montages.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''25r and 25s''' ''(requires BESA Research 7.1 or higher)''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;The 25r and 25s source montages are based on sources below the standard 25 electrodes of the IFCN (International Federation of Clinical Neurophysiology). The sequence of channels is a reasonable compromise between transversal and longitudinal arrangements while an optimal separation of the major regions, i.e. frontal, central, temporal and parietal-occipital, has been achieved. At the same time, easy hemispheric comparison has been enabled.&lt;br /&gt;
&lt;br /&gt;
Source montage 25s depicts only the 25 inward radial activities of each region except for the temporal regions below F9/F10 and T9/T10, for which the first orientation of each underlying source was chosen to match the inward net orientations of the temporal polar and basal sublobar surfaces, respectively.&lt;br /&gt;
&lt;br /&gt;
Source montage 25r depicts the activity of each regional source after rotating the first dipole to the maximum of activity over the whole 3 displayed source trace.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''BR_Brain Regions'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This source montage uses a set of 15 regional sources covering lateral and midline frontal, central and parietal cortex, midline fronto-polar and occipito-polar cortex as well as anterior and posterior temporal lobes bilaterally. It separates the activities of the 15 different brain regions and provides for fast comparison and quantification of the different activities.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''CR_Central Region'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This source montage displays the radial and tangential activities of the central brain region bilaterally in the first 6 dipole traces. Head schemes illustrate location and orientation of each virtual electrode. The other 13 regional sources separate the source activities arising from the other brain regions.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''FR_Frontal Region'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This source montage displays the radial and tangential activities of the frontal brain region bilaterally in the first 6 dipole traces. Head schemes illustrate location and orientation of each virtual electrode. The other 13 regional sources separate the source activities arising from the other brain regions.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''PR_Parietal Region'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This source montage displays the radial and tangential activities of the parietal brain region bilaterally in the first 6 dipole traces. Head schemes illustrate location and orientation of each virtual electrode. The other 13 regional sources separate the source activities arising from the other brain regions.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''TA_Temporal Lobe'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This source montage displays the activities of four different aspects of the temporal lobe bilaterally and largely separates them from the radial activities in the other 11 brain regions. There are 4 equivalent dipole sources in each temporal lobe to reveal temporal-basal, polar, antero-lateral and postero-lateral source activities. The basal and polar sources are oriented tangentially, the lateral sources radially. Head schemes illustrate location and orientation of each virtual electrode. The montage TA_Temporal Lobe is equivalent to the montage T-A in previous versions of BESA Research. However, the use of the TR_Temporal Region source montage is more recommended because it provides a better separation of the activities of other brain regions.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''TR_Temporal Region'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This source montage displays the activities of four different aspects of the temporal lobe bilaterally in the first 8 dipole traces. There are 4 equivalent dipole sources in each temporal lobe to reveal temporal-basal, polar, antero-lateral and postero-lateral source activities. The basal and polar sources are oriented tangentially, the lateral sources radially. The montage TR_Temporal Region separates these 4 aspects of the temporal lobe from the source currents in the other 11 regions irrespective of their orientation.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''25_regional''' ''(requires BESA Research 7.1 or higher)'' &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;Source montages located in subfolder 25_regional are the sub selection of the 25r montage where source are limited only to fronto-central areas (25F), parieto-occipital areas (25P) and temporal areas (25T). In addition, the regional sources were converted to single dipoles (so for every regional source in 25r there are 3 corresponding sources – i.e. Fp1r, Fp1v and Fp1h in 25F correspond to Fp1 in 25r montage).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Atlas Montages''' ''(requires BESA Research 7.1 or higher)''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;Atlas-based montages are available for any dataset (with number of channels higher than 12).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Evoked Potentials'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This submenu contains three source montages designed specifically for use with auditory (AEP), somatosensory (SEP), and visual (VEP) evoked data. Brain regions that are specifically relevant for the auditory, somatosensory, and visual pathway, respectively, are modeled with equivalent current dipoles. Remaining brain regions are modeled with regional sources. The Evoked Potentials source montages are available for EEG only.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Resting State Montages'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;Source montages have been provided which cover the relevant brain regions involved during resting state.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research can transform the scalp EEG into signals of source activity which predominantly reflect the electrical activity of specific regions in the brain. These 'brain source montages' are calculated using specific weighted combinations of the recorded scalp EEG signals. The weights are selected on the basis of multiple dipole models to enhance the activity from one brain region while suppressing the contributions from other brain regions, for example from the contralateral hemisphere. Each new waveform is an optimized linear combination of the measured EEG channels in order to provide a focus onto a particular brain region of interest. On the scalp, the electrical activities of the different brain regions overlap. The brain source montages provide a substantial separation, or deconvolution, of this overlap. Due to the limited number of scalp electrodes, this separation can never be complete. However, separation can be strong enough to make focal activity in the brain visible, by depicting this activity predominantly in the source trace(s) associated with the brain region generating the focal electrical activity.&lt;br /&gt;
&lt;br /&gt;
Brain source montages are provided to facilitate the detection of focal source processes in the brain by reversing the overlap from different brain regions seen at the scalp. If brain activity is focal, i.e. represented predominantly in one source waveform, a large amount of the recorded scalp activity reflected in this trace will originate in the related brain region. If source activity is distributed over several traces, the origin is likely to be more widespread or in areas not precisely modeled by the combination of sources in the selected source montage. Each channel in a brain source montage can be viewed as a 'gross virtual electrode' placed onto a particular brain region.&lt;br /&gt;
&lt;br /&gt;
Standardized brain source montages are defined for the 81 standard 10-10 electrodes. Therefore, the recording montage is first interpolated onto the 81 standard electrodes. Then the source waveforms are calculated using the source montage file.&lt;br /&gt;
&lt;br /&gt;
The standardized source montages are optimized for different brain regions (central, frontal, parietal, temporal). The source montages are composed of dipoles, which predominantly model the activity of the different aspects of the selected brain region, and of regional sources, which largely suppress the source activity arising from other brain regions.&lt;br /&gt;
&lt;br /&gt;
The option ''Midline Channels ''in ''Montage/Options ''may be used to turn on/off midline source channels. A source channel is considered to be midline if abs(x)&amp;lt;0.2, i.e. if it is located at the midsagittal plane or left/right of the midsagittal plane within 20% of the head radius.&lt;br /&gt;
&lt;br /&gt;
The regional source display type can be changed in ''Montage/Options''. Note that dipoles are indicated by head symbols if ''Options/Display/Show Heads in Source Montage ''is selected while regional sources always have green channel labels.&lt;br /&gt;
&lt;br /&gt;
Use the 3D view in the Montage Editor (which can be opened using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''EdM'''&amp;lt;/span&amp;gt;'' ''button in the control ribbon) to visualize the locations of the dipoles and regional sources in the different source montages or right click on the head symbol/channel label of a source channel to view the brain region and its orientation associated with the selected dipole channel.&lt;br /&gt;
&lt;br /&gt;
For a more detailed description of brain source montages see help chapter [[BESA_Research_Montage_Editor#Standard_Source_Montages|Montage Editor / Standard Source Montages]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Brain source montages show a much better separation of focal brain activities than scalp montages. For example, if we remontage an EEG showing a temporal lobe seizure best in the horizontal bipolar montage (below left) to a brain source montage (below right, montage TR_Temporal Region), focal source activity is visible at the base and at the tip of the right temporal lobe. Due to the limited spatial resolution of the scalp EEG, a small amount of the activity also appears in other source channels. Nevertheless, the largest activity appears at the base and tip of the right temporal lobe as seen in the source channels. The activity is similar to the activity recorded at the sphenoidal electrodes (SP2-T3 &amp;amp; SP1-T4, below right), but the separation between right and left temporal lobe is larger in the source montage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (6).gif|600px]]&lt;br /&gt;
&lt;br /&gt;
''Left: Horizontal bipolar montage of the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;eeg2.eeg&amp;lt;/span&amp;gt;; Right: TR_Temporal Lobe source montage of the same data segment.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The patches of activity shown in color coding in the schematic head views reflect the brain regions onto which the source channels are focused. In other words, each source channel represents a gross 'virtual electrode' placed over the corresponding cortical surface. The size of the patches indicates that the location and extent of the source activity cannot be precisely determined because of the limited spatial resolution. However, the patches reflect a high probability that source activity exists in this brain region provided that one brain region is predominantly active. If multiple patches appear to be active, the distribution of source activity in the brain may be more complex, i.e. more distributed or multifocal, and the distribution has to be interpreted with care.&lt;br /&gt;
&lt;br /&gt;
'Brain source montages' are different from traditional 'source derivations', which subtract the amplitudes of the signal at the adjacent electrodes from the data at a given electrode. Thus, a 'source derivation' shows an approximation of the 'current source density (CSD)' flowing in and out from the skull below a given electrode. BESA Research provides improved 'source derivations' on the basis of 'Laplacian' or current source density montages: CSD-Laplacian and CSD-Laplacian (10-10) montages. In BESA Research, the Laplacian is calculated by spherical spline interpolation. This method provides a more accurate estimate of CSD at any given electrode than the subtraction method using 3-4 surrounding electrodes, especially at the outer electrodes of the scalp electrode array.&lt;br /&gt;
&lt;br /&gt;
'''Note: If the number of scalp electrodes is less than 12, brain source montages cannot be computed.'''&lt;br /&gt;
&lt;br /&gt;
=== User-Defined Montages ===&lt;br /&gt;
&lt;br /&gt;
Press the push button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr&amp;lt;/span&amp;gt;'' '''''twice or use the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage/User-Defined'''&amp;lt;/span&amp;gt;'' ''to select a user-defined source montage.&lt;br /&gt;
&lt;br /&gt;
User defined montages can be created, edited, saved and reopened in the Montage Editor. For more details see chapter “''Montage Editor''”.&lt;br /&gt;
&lt;br /&gt;
User montages may contain recorded, virtual and source channels, also in combination. The montage can be saved to file in the Montage Editor in binary format. When saving, the user can decide to put the montage into the folder ''Montages\UserMontages ''as a generally available montage or into the data folder as a file specific montage.&lt;br /&gt;
&lt;br /&gt;
Available user montages are displayed by filename in the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Montage/User-Defined '''&amp;lt;/span&amp;gt;popup menu. General user montages (stored in &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montages\UserMontages'''&amp;lt;/span&amp;gt;) are displayed above the separator in the menu. File specific user montages (stored in the data directory) are displayed below the separator. The latter montages are only displayed if the corresponding data file is currently displayed. It is recommended to use a naming convention similar to the standard brain source montages: &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''AB_Full Name.mtg'''&amp;lt;/span&amp;gt;. AB is abbreviation, which will appear after the label of each channels, e.g. source montage BR_Brain Regions, 1st montage channel = FL_BR.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Additional Channels ===&lt;br /&gt;
&lt;br /&gt;
Press the push button&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Add '''&amp;lt;/span&amp;gt;at upper right of the review window or use the menu ''Montage/Additional Channels ''to select an additional channel montage.&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (7).gif]]&lt;br /&gt;
&lt;br /&gt;
A set of additional channels can be displayed along with the current montage channels at the bottom of the screen. This is useful, for example, for displaying ECG and other polygraphic channels, and for comparing depth channels with the scalp EEG. Additional channels may be individually filtered (see online help chapter &amp;quot;''Review / Reference /Menus / Filters / Polygraphic / Additional Chns''&amp;quot;) and scaled.&lt;br /&gt;
&lt;br /&gt;
BESA Research ships with a predefined set of additional channel montages which can be selected from the drop-down menu. The corresponding files are stored in the folder ''Montages\AdditionalChannels''. Note that additional channel montages are only available if the labels of the (traditional) additional channels are available or if the (virtual) additional channels can be calculated for the current file.&lt;br /&gt;
&lt;br /&gt;
A detailed description of the predefined additional channel montages is given in the section Standard Montages in the help chapter &amp;quot;''Montage Editor''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Further additional channel montages may be defined and saved to a file in the Montage Editor. They can also be selected from this menu if they are available for the current file. Use this menu, too, to switch off the currently displayed additional channels.&lt;br /&gt;
&lt;br /&gt;
A commonly used additional channel file can be assigned in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; (entry AdditionalChannelFile in the section [Defaults]). The additional channels will be displayed automatically if they are available, if the entry AdditionalChannelStatus in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; is set to On and if there is no other additional channel file assigned via the entries in the program database.&lt;br /&gt;
&lt;br /&gt;
Note that this menu can also be conveniently reached from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Add'''&amp;lt;/span&amp;gt; button in the upper right corner of the main window or by a right mouse click on the label of an additional channel.&lt;br /&gt;
&lt;br /&gt;
=== Options ===&lt;br /&gt;
&lt;br /&gt;
Press the push button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Opt'''&amp;lt;/span&amp;gt; twice or use the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage / Options'''&amp;lt;/span&amp;gt; to&lt;br /&gt;
&lt;br /&gt;
* display montages in a sequence from left to right or right to left&lt;br /&gt;
* display montages in a sequence for regional comparison&lt;br /&gt;
* display montages in a sequence for hemispheric comparison&lt;br /&gt;
* switch on/off midline channels&lt;br /&gt;
* change the display type of regional source channels&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (8).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Left to Right'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This item selects the sequence of montage channels in recorded (except ''Original Recording ''and ''Original Average Reference ''montage), virtual and standard brain source montages. If ''Left to Right ''is selected (default), montage channels are displayed in a systematic order from left to right. If left to right is not selected, the sequence is reversed from right to left. This option can be combined with ''Regional Comparison ''or ''Hemispheric Comparison''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Regional Comparison'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This item selects the grouping of montage channels in recorded (except ''Original Recording ''and ''Original Average Reference ''montage), virtual and standard brain source montages. If ''Regional Comparison ''is selected, channels are grouped regionally to ease regional comparison. ''Regional Comparison ''is off by default. ''Regional Comparison ''and ''Hemispheric Comparison ''cannot be set together.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Hemispheric Comparison'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;This item selects the grouping of montage channels in recorded (except ''Original Recording ''and ''Original Average Reference ''montage), virtual and standard brain source montages. If ''Hemispheric Comparison ''is selected, channels are grouped pairwise by hemisphere to ease hemispheric comparison. ''Hemispheric Comparison ''is off by default. ''Hemispheric Comparison ''and ''Regional Comparison ''cannot be set together.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Midline Channels'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;The option ''Midline Channels ''decides if midline channels (recorded, virtual, source) are displayed or not. Note: for recorded and virtual horizontal bipolar montages, midline channels cannot be switched off. ''Midline Channels ''are displayed by default (tick marked).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Regional Sources Oriented'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;If this menu item is selected, the 3 waveforms of a regional source are combined to a single waveform by calculating the maximum PCA component of the 3 waveforms. With this option, the regional source is oriented such that the source waveform depicts most of the variance in the currently displayed data. When paging through the data, the orientation of the source waveform changes depending on the data. Note that this regional source display type also focused on high-amplitude artifacts like blinks and eye movements.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Regional Sources Radial'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;If this menu item is selected, only the radially oriented waveform of the 3 regional source waveforms is displayed. Note that source waveforms will be small if source activity in the associated brain region is not oriented radially. For MEG, this menu item is grayed.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Regional Sources First Trace'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;If this menu item is selected, only the first of the 3 regional source waveforms is displayed. This orientation can be user-defined if the montage has been created from a source model in the Source Analysis window that contains oriented regional sources. Otherwise, a default orientation is displayed (radial in EEG source montages, tangential towards the vertex in MEG source montages)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Regional Sources All Traces'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;If this menu item is selected, all 3 waveforms of a regional source are displayed, one below the other. The 1st waveform is oriented radially (pointing inwards), the 2nd waveform is oriented vertically (orthogonal to 1st, pointing upwards), the 3rd waveform is oriented horizontally (orthogonal to 1st and 2nd, pointing forward or from right to left if the source lies in the sagittal plane).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;For MEG, only 2 waveforms are displayed. Both depict activity in the plane tangential to the location of the regional source.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Regional Sources Magnitude'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.55cm;margin-right:0cm;&amp;quot;&amp;gt;If this menu item is selected, the 3 waveforms of the regional source are combined to a single waveform by calculating the root mean square magnitude of the 3 waveforms. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sequence of Channels in Montages ===&lt;br /&gt;
&lt;br /&gt;
All montages can be displayed in 6 different systematic orders: ''Left to Right, Right to Left, Left'' ''to Right (or Right to Left)'' + ''Hemispheric Comparison, Left to Right (or Right to Left) + Regional'' ''Comparison''. Select'' ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage / Options'''&amp;lt;/span&amp;gt;'' ''to set the montage order.&lt;br /&gt;
&lt;br /&gt;
If ''Midline Channels'' is On in &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage / Options'''&amp;lt;/span&amp;gt;, available midline electrodes are displayed (from Fpz to Oz) in the sequences ''Left to Right, Right to Left ''or ''Regional Comparison''. They are not displayed when ''Hemispheric Comparison'' is On. In the Horizontal Bipolar montage, available midline electrodes are always displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Color Coding of Montage Channels ===&lt;br /&gt;
&lt;br /&gt;
Montage channels are systematically colored in BESA Research. Left channels are displayed in dark blue, right channels in dark red. Midline channels are displayed in black. A recorded or virtual montage channel is considered to be midline if channel and reference are at the midline (e.g. Fz-Fcz) or if the reference has no side (e.g. Fz-avr). If the channel is midline but the reference is on the left (right) side, e.g. Fz-A1 (Fz-A2), the montage channel is considered as left (right)-sided, i.e. it is colored in dark blue (red). The same rule applies if the reference is midline but the channel is on the left (right) side, i.e. Fp1-Cz (Fp2-Cz) is displayed in dark blue (red).&lt;br /&gt;
&lt;br /&gt;
In source montages, left channels are displayed in dark blue, right channels in dark red. Midline channels are also displayed in black. A source channel is considered to be midline if abs(x)&amp;lt;0.2, i.e. if it is located in the sagittal plane or left/right of the sagittal plane within 20% of the head radius.&lt;br /&gt;
&lt;br /&gt;
== Scaling ==&lt;br /&gt;
&lt;br /&gt;
The scaling of amplitudes and time intervals is performed using the buttons which are grouped at the righthand side of the waveform display.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Time Scaling'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (9).gif]]&lt;br /&gt;
&lt;br /&gt;
The displayed time can be scaled by clicking the Timing button at the bottom right of the display. The button shows the time interval displayed on the screen. Pressing the button opens the Timing dialog box where epochs between 0.1 s and 60 s can be selected. Using the slider in the dialog, also longer epochs up to 1 hour are possible (depending on sampling rate).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel Group Selection'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (10).gif]]&lt;br /&gt;
&lt;br /&gt;
The controls at the top right of the window allow to display '''All '''channels of the recording montage or to toggle between subgroups of channels (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scp'''&amp;lt;/span&amp;gt; = scalp, &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Icr'''&amp;lt;/span&amp;gt;&amp;lt;nowiki&amp;gt; = intracranial,&amp;lt;/nowiki&amp;gt; &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Pgr'''&amp;lt;/span&amp;gt; = polygraphic, &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''MEG'''&amp;lt;/span&amp;gt;). Click on the '''Add '''button to display additional channels below the recorded channels. A popup menu appears from which you can choose sets of additional channels. For example, if you choose 'EOG_HV', two virtual eye channels, horizontal and vertical, are calculated from the data and displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel Selection and Amplitude Scaling'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (11).gif]]&lt;br /&gt;
&lt;br /&gt;
For each channel group, there are two controls at the right side of the window. The upper one controls the subset of channels which is displayed, the lower one controls the scaling. To select a subset of a channel group for display, click on the upper of the two buttons. It shows the number of channels which are currently shown, and the total number of channels in that channel group (e.g. Scp, 31/31). In the dialog box that appears, you can make a fast selection using one of the buttons, or make a precise selection using the rulers.&lt;br /&gt;
&lt;br /&gt;
The lower of the two buttons for each channel group controls the amplitude scaling. The scaling bar between the buttons shows the scale of the current value, which is shown on the button. The &amp;quot;+&amp;quot; and &amp;quot;-&amp;quot; signs indicate waveforms display polarity that can be changed using the ''View'' setting: ''Show Negativity Up''. Note that by default this setting is enabled and if it is disabled the signs are displayed in red color. &lt;br /&gt;
To change, for example, the scaling of the EEG channels to 100 µV, click on the lower button of the '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scp'''&amp;lt;/span&amp;gt;' channel group, and select 100 µV in the dialog box that appears.&lt;br /&gt;
&lt;br /&gt;
For more details about timing, scaling and channel selection controls see the online help chapter &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''&amp;quot;Review / Reference / Controls / Timing, Scaling, and Channel Selection&amp;quot;.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Filtering&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The digital filters in BESA Research are used in addition to the filters set during recording of the digital EEG. It is therefore useful to record the EEG with the largest bandwidth compatible with the sampling rate (e.g. 70 Hz high cutoff at 200 Hz sampling rate), and to use the digital filters in BESA Research to suppress unwanted low and high frequency noise during review, or to enhance the resolution of a periodic pattern by setting the band-pass filter around the frequency of interest.&lt;br /&gt;
&lt;br /&gt;
When a data file is first opened, the filter settings as defined in the initialization file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt;) are used.&lt;br /&gt;
&lt;br /&gt;
BESA Research supports 4 different filter types: low cutoff, high cutoff, band pass, and notch filter. Filters can conveniently be changed using the push buttons at the top of the waveform display:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (12).gif]]&lt;br /&gt;
&lt;br /&gt;
'''Low Filter Button'''&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''LF&amp;lt;/span&amp;gt; '''button opens a popup menu with the available settings for the '''low cutoff filter'''. You can choose between time-constant filters and variable filters, where different filter types can be selected (forward, backward, zero phase shift), as well as the slope.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''High Filter Button'''&lt;br /&gt;
&lt;br /&gt;
The popup menu for the''' &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;HF&amp;lt;/span&amp;gt; '''button provides a selection of frequently used '''high cutoff''' '''filters.''' Again, it is also possible to use the option 'Variable High Cutoff Filter', where frequency, type, and slope can be selected freely.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notch Filter Button'''&lt;br /&gt;
&lt;br /&gt;
A notch filter for suppression of noise in narrow frequency bands is available from the''' &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;NF '''&amp;lt;/span&amp;gt;button. Click the button to choose between 50 Hz or 60 Hz suppression.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Filters Button'''&lt;br /&gt;
&lt;br /&gt;
The&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' EdF'''&amp;lt;/span&amp;gt; button starts the dialog box to edit the variable filter settings and to select special band pass and notch filter settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Filter '''&amp;lt;/span&amp;gt;menu, further commands are available to view the filter response with the current settings, and to adjust baseline settings. In the Filter menu, it is also possible to apply special filtering to polygraphic and additional channels.&lt;br /&gt;
&lt;br /&gt;
For more details see the online help chapter &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Review / Reference / Menus / Filters&amp;quot;.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Measuring Peaks and Frequency ==&lt;br /&gt;
&lt;br /&gt;
Amplitude maxima, peak-to-peak differences and the frequency of oscillations of a channel can be measured simply by right clicking and dragging the mouse over the waveform and interval of interest:&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (13).gif|350px]]&lt;br /&gt;
&lt;br /&gt;
The red box indicates the dragging interval and selected channel. The popup window shows the channel label and the measured values for negative peak, positive peak, peak-to-peak amplitude difference, and frequency. If no frequency dominates inside the interval, the frequency is classified as undefined.&lt;br /&gt;
&lt;br /&gt;
To display the amplitude of a channel at a certain time point, place the mouse cursor over the point of interest. The corresponding amplitude will be displayed in the ''status bar'' at the bottom of the BESA Research main window.&lt;br /&gt;
&lt;br /&gt;
== Correlation Analysis ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (14).gif|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
Correlation analysis provides information about the similarity, relative amplitudes and time delays between one reference channel and the other concurrent waveforms. Using source montages, it can give valuable information about the relationships among the activities of different brain regions. For example, we may want to measure whether a certain pattern in one brain region appears with some time lag and a certain similarity in shape in a different brain region. We can measure the relationship by correlating a segment of interest in a selected channel with all the other channels. BESA Research provides linear and non-linear regression methods (Pijn 1990). These methods can be applied to any montage, but they are '''most meaningful with source or intracranial''' '''waveforms,''' since scalp waveforms can pick up activity from remote brain regions due to volume conduction effects. When a block of EEG data is marked, you can '''click the''' '''right mouse button''' and select '''Linear Correlation''' from the popup menu. By selecting the menu item &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process / Nonlinear Regression'''&amp;lt;/span&amp;gt;, the non-linear regression is calculated for the marked block. &lt;br /&gt;
&lt;br /&gt;
When Linear Correlation is selected, BESA Research computes a correlation function between a reference channel and all the displayed channels, including the reference channel (= autocorrelation). If no specific channel is selected, the channel with the largest signal over the marked block is used as the reference for computing the correlation functions. You may select a different reference channel by clicking on the label or head symbol at the left of the desired reference channel waveform. The correlation window is immediately updated if a new channel is selected as reference. &lt;br /&gt;
&lt;br /&gt;
Correlation is calculated by shifting the reference channel by 30 data sampling points in both directions relative to the other channels. At each shifted point (total 61 points) one value of the correlation function is computed. The squared correlation functions are displayed as waveforms in the correlation window, and their maxima are used to define the time lag or lead of each channel with respect to the reference channel.&lt;br /&gt;
&lt;br /&gt;
A block is marked by holding the''' left mouse button down '''to''' drag''' over a portion of the EEG in order to mark a specific pattern, or by right-clicking on a '''peak latency''' of interest, and selecting ''“Default block”'' from the popup menu that appears. If you use the right-click, the default epoch will be marked around the current cursor. The default epoch can be set using the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit / Default Block Epoch'''&amp;lt;/span&amp;gt;. To compute '''non-linear''' correlation, use the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process / Nonlinear Correlation'''&amp;lt;/span&amp;gt;. The computation of non-linear regression may be slow if the marked epoch is long. You may type''' any''' '''key''' to stop computing.&lt;br /&gt;
&lt;br /&gt;
Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Space&amp;gt;'''&amp;lt;/span&amp;gt; to remove the block marking or the cursor. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Space&amp;gt;'''&amp;lt;/span&amp;gt; again to continue paging through the EEG.&lt;br /&gt;
&lt;br /&gt;
In the correlation window the following values are displayed (See figure below):&lt;br /&gt;
&lt;br /&gt;
* The squared linear correlation function r², or the non-linear regression coefficient h². The pattern of the marked/largest channel is shifted forward and backward by 30 samples (corresponding to a time lag of ± 150 ms at a sampling rate of 200 Hz).&lt;br /&gt;
&lt;br /&gt;
* The relative value of the maximum signal amplitude in the various channels (amp). 100% is assigned to the amplitude of the largest scalp/source montage channel. Normally, 100% is assigned to the reference channel unless a polygraphic or intracranial channel was used as reference.&lt;br /&gt;
&lt;br /&gt;
* The maximum of the squared correlation coefficient r² or h² (c[%]; 0 - 100%).&lt;br /&gt;
&lt;br /&gt;
* The time lag (positive) or lead (negative) of the maximum of the correlation function relative to the reference channel in milliseconds (lag).&lt;br /&gt;
&lt;br /&gt;
== Pattern Search and Averaging ==&lt;br /&gt;
&lt;br /&gt;
BESA Research offers several possibilities to search for similar events or patterns in the EEG and to average them. Pattern search is initiated by marking a specific block, e.g. from 200 ms before a sharp wave until the following trough, to define a template over one or more selected channels or all displayed channels (spatio-temporal search). Then you decide over which range (whole EEG, between markers etc.) the search will be conducted and which of the pattern tags shall be used. Patterns are detected and tagged automatically, if their correlation with the template exceeds a predefined threshold and if the amplitudes are below artifact threshold or if artifact detection is set to off during search. The correlation threshold and the rejection threshold for artifacts can be adjusted in the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search/Options '''&amp;lt;/span&amp;gt;(for more details, see online help chapter'' &amp;quot;Review / Reference / Menus / Search&amp;quot;).''&lt;br /&gt;
&lt;br /&gt;
Tags, defined by pattern search or manually, as well as triggers can be used for averaging. Tagged segments or epochs around triggers can be averaged repeatedly while setting different artifact detection thresholds and filters. Search and average can be set to automatic or manual, thus enabling visual inspection of segments prior to tagging or averaging. Search and average offers the following choices:&lt;br /&gt;
&lt;br /&gt;
* Pattern search: uses the signal pattern template in a selected channel or the spatio-temporal pattern over the marked epoch and several marked channels or all displayed channels to search for similar events.&lt;br /&gt;
&lt;br /&gt;
* Tagged event search: used to average similar patterns tagged manually or by pattern&lt;br /&gt;
&lt;br /&gt;
* Trigger events: used to average epochs around external triggers or internally created triggers stored in a separate event file or in the EEG data file&lt;br /&gt;
&lt;br /&gt;
If you want to perform a pattern search, you should mark an epoch first to be used as template. The search can be performed in two ways:&lt;br /&gt;
&lt;br /&gt;
* Spatio-temporal search over all channels: This search type is the default. All channels which are displayed on the screen are used.&lt;br /&gt;
&lt;br /&gt;
* Search for the pattern of one or several specific channels: Mark the channel(s) to be used for the template with a left mouse click on its label (hold down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl'''&amp;lt;/span&amp;gt;-key to mark more than one channel; cf. section ''&amp;quot;Using the Mouse&amp;quot;).''&lt;br /&gt;
&lt;br /&gt;
Before you start searching, you should&lt;br /&gt;
&lt;br /&gt;
* select the type of search –'' Pattern'', ''Tagged Events'', or'' Triggers ''– in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search '''&amp;lt;/span&amp;gt;menu,&lt;br /&gt;
&lt;br /&gt;
* define the '''Buffer''' number either in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Tags'''&amp;lt;/span&amp;gt; menu, or more simply by typing the buffer&lt;br /&gt;
&lt;br /&gt;
* set the toggle items in the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Search'''&amp;lt;/span&amp;gt; menu (query search, artifact rejection), and the range in the data file which is searched&lt;br /&gt;
&lt;br /&gt;
* for '''Pattern Search''' set correlation threshold in &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search / Options'''&amp;lt;/span&amp;gt; to approx. 80-85%, if using a single channel template, and to 70-75%, if using a spatio-temporal template with several channels.&lt;br /&gt;
&lt;br /&gt;
Note that even though the search is performed with the template data block size, BESA Research always uses the settings of the ''Default Block Epoch'' (set using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; menu) to define the length of the average buffer.&lt;br /&gt;
&lt;br /&gt;
The search and/or average starts when a range is selected in the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Search'''&amp;lt;/span&amp;gt; menu, or&lt;br /&gt;
&lt;br /&gt;
the button&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' SAW'''&amp;lt;/span&amp;gt; ('''S'''earch-'''A'''verage-'''W'''rite) on the control ribbon is pressed.&lt;br /&gt;
&lt;br /&gt;
== Selecting Data Files ==&lt;br /&gt;
&lt;br /&gt;
If you start reviewing from a patient data base that connects to BESA Research, simply select the recordings you want to review and press the BESA Research icon to open the files.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you may open a data file directly from the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Open'''&amp;lt;/span&amp;gt;. This uses a standard Windows File Open dialog that is enhanced by an extra selection box for fast switching between frequently used data folders.&lt;br /&gt;
&lt;br /&gt;
The only special aspect to note is the name extension of the type of data that your own EEG system generates: files are displayed using filters that only show names with particular extensions. These are selected using the dropdown list under &amp;quot;Files of type:&amp;quot;. The most commonly used file extensions are summarized under the file type &amp;quot;EEG files&amp;quot;. Depending on your EEG system, you may have to switch to a different file type (by selecting one of the entries in the list) the first time you use BESA Research. Your file type setting is remembered for the next time you open a data file.&lt;br /&gt;
&lt;br /&gt;
By holding down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift'''&amp;lt;/span&amp;gt; or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl'''&amp;lt;/span&amp;gt; key you can select several files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (15).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research allows to open several data files at once. You can switch among the opened files using the file list in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;Menu or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''F+'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''-F'''&amp;lt;/span&amp;gt; buttons. When a file is closed, the most recently used display settings (filter, no. of secs in the display, etc.) are saved in the database, and restored the next time the file is opened. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recent Files'''&lt;br /&gt;
&lt;br /&gt;
The Recent File List (Menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File/Recent Files'''&amp;lt;/span&amp;gt;...) can be used to open recent files. Note also that the files from the previous session can be opened using &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File/Recent'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Files.../Open All Files'''&amp;lt;/span&amp;gt; from Previous Session. A keyboard short-cut for this operation is to hold down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl'''&amp;lt;/span&amp;gt; key and press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''-F'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
When BESA Research is started, and no data files have been opened, pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''-F'''&amp;lt;/span&amp;gt; will open the most recent file. If only one file is open, pressing the button again will open the second most recent file. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''Data Readers'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Data comes in a variety of file formats. Several data formats are controlled by Reader Dlls that are located in the ''System \ Readers'' subdirectory of the BESA Research installation. Some readers, although supported, are not installed by default. They can be installed by navigating to the ''Utilities \ Additional Readers'' subdirectory of the BESA Research installation with the Windows Explorer, and double-clicking on '''Install Additional Readers.htm'''. Here you will find a list of additional readers, and a link to install each reader.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Defining the Channel Configuration ==&lt;br /&gt;
&lt;br /&gt;
In order to map the data, for source analysis or to transform to virtual montages or source montages, the correct electrode labels or the electrode positions on the head must be known. In the case of MEG, fiducials and, preferentially, additional surface points on the head must be digitized. This information is often not supplied or is incomplete in the original data, although it is strongly recommended to define the correct names and electrode labels to all recording channels during acquisition.&lt;br /&gt;
&lt;br /&gt;
For the case that the channel information is not provided adequately or erroneous, different mechanisms are supplied to enable you to redefine the channel assignment or to read in the required information.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode locations is in terms of the international 10-20 or 10-10 electrode naming system. BESA Research uses a location table to specify where these locations are on a spherical head (see help chapter ''&amp;quot;Special'' ''Topics / Working with Electrodes&amp;quot;).'' For electrodes at locations deviating from this standard, you can define specific spherical coordinates using the menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit / Channel'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Configuration / Advanced'''&amp;lt;/span&amp;gt;. Make sure that you check the correct relative location of deviating electrodes using the 3D whole head maps.&lt;br /&gt;
&lt;br /&gt;
More advanced electrode location information is provided with a 3D digitizer. &amp;amp;nbsp;See online help chapter ''&amp;quot;Special Topics / Working with Electrodes&amp;quot; ''for a more detailed description how to read digitizer coordinates and other 3D locations (e.g. for MEG).&lt;br /&gt;
&lt;br /&gt;
The following three menu entries can be used to define channel configurations and electrode names and locations:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit / Channel Configuration '''&amp;lt;/span&amp;gt;: Opens a dialog allowing to name channels, define their type (e.g. EEG, Polygraphic, Intracranial), and assign an electrode label or to specify spherical coordinates for EEG electrodes deviating from standard. Channels are listed in the order in which they were recorded. If standard names are supplied for scalp channels, spherical coordinates are assigned automatically by BESA Research &lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Load Channel Configuration'''&amp;lt;/span&amp;gt;: Loads a file containing a predefined configuration.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Head Surface Points and Sensors / Load Coordinate Files (CTRL-L)'''&amp;lt;/span&amp;gt;: Opens a dialog allowing to select channel configurations and digitized coordinates. This dialog is opened automatically when you open a file for the first time and important information is missing. For more details, see help chapter ''&amp;quot;Special Topics / Working with Electrodes ... / Working with Auxiliary Files&amp;quot;.'' For the rules about when this dialog is opened automatically, see help chapter ''&amp;quot;Special Topics / Working with Electrodes... / General Reading Rules for Data Files and Auxiliary Files&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Caveat:''' It is important to check the labels and sequence of channels in the original recorded montage (''Montage/Recorded/Original Recording'') to make sure that the recording electrode configuration has been correctly protocoled and read from the file header. There may be EEG systems which do not provide this information correctly. Errors may also occur if this information has been entered incorrectly into the recording software. In these cases, you may want to read an electrode file from disk containing your standard or some specific electrode configuration. Such configurations can be edited and stored on disk using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit / Channel Configuration'''&amp;lt;/span&amp;gt; menu. It is strongly recommended that you read the '''[[Electrodes_and_Surface_Locations#Electrodes|Electrodes]]''' section in the help chapter &amp;quot;''Special Topics&amp;quot;'' carefully, to make sure that each EEG is associated with the correct labels and sequence of channels, and that the common reference is correctly defined. Otherwise, maps, source images and source montages may be incorrect, and source analysis cannot work properly.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Analyzing_Electrocorticography_Data</id>
		<title>Analyzing Electrocorticography Data</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Analyzing_Electrocorticography_Data"/>
				<updated>2021-05-05T10:59:42Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 5.2 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
There is increasing interest in using ECoG data in a quantitative manner. BESA Research offers a variety of tools for the processing of intracranial channels, which can prove extremely useful when analysing these data.&lt;br /&gt;
Intracranial channels are assigned to a specific channel group (either PGR – polygraphic, or ICR – intracranial). It is then possible to perform the following types of analysis (and more).&lt;br /&gt;
&lt;br /&gt;
*'''Pattern search.''' This can be very useful in order to identify similar events that happen either in one or in several channels. Simply select one or several channel labels using the CTRL key and the mouse button, mark a block over a pattern of interest, and press the “SAW” button (or “SAV” button if your are using the BESA Research options for EEG review) to start the pattern search. At the end of the search, you will have all similar events marked by tags, which can be converted to triggers, too, if further event-related processing is to take place. &lt;br /&gt;
&lt;br /&gt;
*'''Trigger generation.''' Another way of finding and tagging similar events is the Schmitt trigger dialog which is reached from “ERP | Create triggers from EMG/EEG”. You are best to mark an event of interest first. Then open the dialog, select the channel of interest from the dropdown, and play around with additional filter settings, viewing the results with the “View Current Settings” button until the channel signal rises over a threshold (you can manually adjust the threshold in the viewing window). Pressing the “Search Selected” button in the dialog will find all events with similar spiking and tag them with a trigger code for further analysis like averaging, or time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
*'''FFT analysis.''' FFT analysis can be performed on all types of channel data, and ECoG is no exception. It can give you great insights into the frequencies at play in your intracranial recording. Simply mark a block over the interval of interest, and press the “F” button to invoke FFT. Note that frequency bands can be freely adjusted in the FFT result window.&lt;br /&gt;
[[File:ScreenShot_ICR_FFT.png|600px|thumb|c|none|FFT analysis of intracranial EEG data]]&lt;br /&gt;
&lt;br /&gt;
*'''Time-frequency analysis.''' This feature requires a source coherence module. It is quite straight forward once you have created some triggers marking your events as mentioned above. You should create a montage that contains just the intracranial channels you are interested in (using the Montage Editor). Then, open the ERP paradigm editor to define trigger values to average over, epochs, and filters, and use the Coherence tab to perform the analysis.&lt;br /&gt;
[[File:ScreenShot_ICR_TF2.jpg|600px|thumb|c|none|Time-frequency analysis of intracranial EEG data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:ERP/ERF]]&lt;br /&gt;
[[Category:Epilepsy]]&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Advanced_Top_Viewer_Features</id>
		<title>Advanced Top Viewer Features</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Advanced_Top_Viewer_Features"/>
				<updated>2021-05-05T10:38:51Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = BESA Research 5.2 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
The BESA Top Viewer, which is part of the BESA Research Basic package, offers many interesting features to view and analyze your ERP data. Let us just point out some of the lesser known features here:&lt;br /&gt;
&lt;br /&gt;
=== Window background colour ===&lt;br /&gt;
Change the background color for using Top Viewer in illustrations by selecting “View | Preferences” from the menu. In the dialog box that appears, use the dropdown list in section “Colors” to select “Background” and then press the “Choose Color” button in that section. You can save the Top Viewer display as bitmap or eps file from the File menu.&lt;br /&gt;
&lt;br /&gt;
[[File:TopView_Preferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
=== Channel overplot ===&lt;br /&gt;
Show an overplot of all channels by using the “View &amp;amp;rarr; Show Overplot Window” menu entry. You can select which channels will be plotted in “View &amp;amp;rarr; Select Overplot Channels”.&lt;br /&gt;
&lt;br /&gt;
[[File:TopView_Overplot.png|750px]]&lt;br /&gt;
&lt;br /&gt;
=== Condition overplot ===&lt;br /&gt;
Show an overplot of several conditions by simply clicking on the condition label on the top left and holding down CTRL or SHIFT keys to select several conditions. The last condition clicked (bold print) is the relevant one for amplitude displays and mapping.&lt;br /&gt;
&lt;br /&gt;
[[File:TopView_Overplotcnds.png|750px]]&lt;br /&gt;
&lt;br /&gt;
=== Additional channel plot ===&lt;br /&gt;
Show polygraphic, myographic, or virtual channels beside the Top Viewer montage display by using the Additional Channels option (see example screen shot below from a recording with additional FDI channels):&lt;br /&gt;
* In “Montage &amp;amp;rarr; Additional Channels”, select the set of additional channels from the list that appears. &lt;br /&gt;
* Should your channel set not appear, then go back to the Montage Editor and create an Additional Channels montage by pressing the ‘N’ key to create a new ''Edit Montage'', dragging your channels over to the channel list, and saving it as a user montage (select Montage type “Additional Channel montage” in the Save dialog box). Then your channel set will be available in the Top Viewer.&lt;br /&gt;
&lt;br /&gt;
[[File:Top_Viewer.jpg|750px]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
[[Category:ERP/ERF]]&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:54:13Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2_vv1.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:3_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:4_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:5_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
[[File:6_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
[[File:7_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
[[File:8_vv.jpg]]&lt;br /&gt;
[[File:9_vv.jpg]] &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
[[Category:Methods]]&lt;br /&gt;
[[Category:Mathematical]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:9_vv.jpg</id>
		<title>File:9 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:9_vv.jpg"/>
				<updated>2021-02-02T11:51:15Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Vibhin uploaded a new version of &amp;amp;quot;File:9 vv.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:8_vv.jpg</id>
		<title>File:8 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:8_vv.jpg"/>
				<updated>2021-02-02T11:50:30Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Vibhin uploaded a new version of &amp;amp;quot;File:8 vv.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:6_vv.jpg</id>
		<title>File:6 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:6_vv.jpg"/>
				<updated>2021-02-02T11:50:00Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Vibhin uploaded a new version of &amp;amp;quot;File:6 vv.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:5_vv.jpg</id>
		<title>File:5 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:5_vv.jpg"/>
				<updated>2021-02-02T11:49:18Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Vibhin uploaded a new version of &amp;amp;quot;File:5 vv.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:2_vv1.jpg</id>
		<title>File:2 vv1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:2_vv1.jpg"/>
				<updated>2021-02-02T11:48:30Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:41:40Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2_vv1.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:3_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:4_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:5_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
[[File:6_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
[[File:7_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
[[File:8_vv.jpg]]&lt;br /&gt;
[[File:9_vv.jpg]] &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
[[Category:Methods]]&lt;br /&gt;
[[Category:Mathematical]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:4_vv.jpg</id>
		<title>File:4 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:4_vv.jpg"/>
				<updated>2021-02-02T11:40:50Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Vibhin uploaded a new version of &amp;amp;quot;File:4 vv.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:4_vv.jpg</id>
		<title>File:4 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:4_vv.jpg"/>
				<updated>2021-02-02T11:36:35Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Vibhin uploaded a new version of &amp;amp;quot;File:4 vv.jpg&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:34:16Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2_vv1.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:3_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:4_vv1.jpg]]&lt;br /&gt;
 &lt;br /&gt;
	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:5_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
[[File:6_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
[[File:7_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
[[File:8_vv.jpg]]&lt;br /&gt;
[[File:9_vv.jpg]] &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
[[Category:Methods]]&lt;br /&gt;
[[Category:Mathematical]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:32:03Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:3_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:4_vv1.jpg]]&lt;br /&gt;
 &lt;br /&gt;
	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:5_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
[[File:6_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
[[File:7_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
[[File:8_vv.jpg]]&lt;br /&gt;
[[File:9_vv.jpg]] &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
[[Category:Methods]]&lt;br /&gt;
[[Category:Mathematical]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:22:31Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:3_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:4_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:5_vv.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
[[File:6_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
[[File:7_vv.jpg]]&lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
[[File:8_vv.jpg]]&lt;br /&gt;
[[File:9_vv.jpg]] &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
[[Category:Methods]]&lt;br /&gt;
[[Category:Mathematical]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:17:34Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:3.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:4.jpg]]&lt;br /&gt;
 &lt;br /&gt;
	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:5.jpg]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
[[File:6.jpg]]&lt;br /&gt;
&lt;br /&gt;
	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
[[File:7.jpg]]&lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
[[File:8.jpg]]&lt;br /&gt;
[[File:9.jpg]] &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:9_vv.jpg</id>
		<title>File:9 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:9_vv.jpg"/>
				<updated>2021-02-02T11:13:33Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:8_vv.jpg</id>
		<title>File:8 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:8_vv.jpg"/>
				<updated>2021-02-02T11:13:12Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:7_vv.jpg</id>
		<title>File:7 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:7_vv.jpg"/>
				<updated>2021-02-02T11:12:56Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:6_vv.jpg</id>
		<title>File:6 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:6_vv.jpg"/>
				<updated>2021-02-02T11:12:38Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:5_vv.jpg</id>
		<title>File:5 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:5_vv.jpg"/>
				<updated>2021-02-02T11:12:21Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:4_vv.jpg</id>
		<title>File:4 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:4_vv.jpg"/>
				<updated>2021-02-02T11:12:06Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:3_vv.jpg</id>
		<title>File:3 vv.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:3_vv.jpg"/>
				<updated>2021-02-02T11:11:52Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:2.jpg</id>
		<title>File:2.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:2.jpg"/>
				<updated>2021-02-02T11:10:13Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.1.	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2.	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3.	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.4.	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
 &lt;br /&gt;
2.5.	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.6.	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.7.	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:07:38Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.1.	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2.	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
&lt;br /&gt;
[[File:2.jpg]] &lt;br /&gt;
&lt;br /&gt;
2.3.	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.4.	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
 &lt;br /&gt;
2.5.	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.6.	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.7.	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:06:24Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Basic or higher&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.1.	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2.	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.3.	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.4.	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
 &lt;br /&gt;
2.5.	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.6.	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.7.	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:04:48Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.1.	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:Example.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2.	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.3.	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.4.	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
 &lt;br /&gt;
2.5.	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.6.	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.7.	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T11:00:10Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.1.	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
[[File:1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2.	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.3.	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.4.	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
 &lt;br /&gt;
2.5.	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.6.	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.7.	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:1.jpg</id>
		<title>File:1.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:1.jpg"/>
				<updated>2021-02-02T10:57:43Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels</id>
		<title>Artifact correction with intracranial channels</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Artifact_correction_with_intracranial_channels"/>
				<updated>2021-02-02T10:55:50Z</updated>
		
		<summary type="html">&lt;p&gt;Vibhin: Created page with &amp;quot;  == Introduction to artifacts correction with intracranial channels ==  Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction to artifacts correction with intracranial channels ==&lt;br /&gt;
&lt;br /&gt;
Intracranial channels may contain artifacts, e.g. if a stimulation is applied. These can be corrected using ICA. However, ICA is only available for scalp channels. Thus, for the purpose of artifact correction, it is necessary to re-label these channels as scalp channels. &lt;br /&gt;
&lt;br /&gt;
•	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
•	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
•	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
•	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
•	Export the file without the ICA artifact components&lt;br /&gt;
•	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
•	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
&lt;br /&gt;
Caution: Any operation that requires coordinates (like mapping, source analysis, virtual channel montaging, source montaging, PCA-based artifact correction that models brain activity) is discouraged, as coordinates are wrong, and as the underlying assumption that the channels are on the scalp is invalid!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step-by-step explanation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.1.	Create an *.ela file that lists the channel labels as EEG channels&lt;br /&gt;
Simply list the channel labels that should be used in the analysis in a text file like in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2.	Create an *.sfp file with hypothetical coordinates for the EEG channels&lt;br /&gt;
For the channels in the *.ela file, provide fictitious coordinates. It is probably best to vary coordinates somewhat.&lt;br /&gt;
The first 3 lines need to contain fiducials – then the channels are listed. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.3.	Load these files into BESA using the channel and digitized head surface point dialog&lt;br /&gt;
After opening the file, use CTRL-L to specify these files as shown in the example below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.4.	Perform an ICA over a screen that shows the artifact&lt;br /&gt;
The ICA will disentangle the components and show the artifact. Please note that the screen needs to contain one or more artifacts – adjust time scaling and position accordingly.&lt;br /&gt;
 &lt;br /&gt;
2.5.	Export the file without the ICA artifact components&lt;br /&gt;
Mark the ICA components which carry the artifact by clicking on the labels (hold down the CTRL key if more than one), and right-click to select the export option for the whole file as shown below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.6.	Optional: Use the stimulus component to create tags via pattern search, and export the tags for later use as averaging trigger&lt;br /&gt;
This step is optional and makes sense if you want to use the stimulus artifact as a trigger event for averaging or time-frequency analysis. Mark the pattern of interest, select the ICA component where it shows the clearest signal, and press “SAW” to find this pattern in the file, and tag with the “Pattern 1” tag.&lt;br /&gt;
 &lt;br /&gt;
Then export the event file that contains this tag with the menu “ERP-&amp;gt;Save Events As”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.7.	Load the exported file, and (optionally) import the tags, average over the tags, and analyse the averaged data&lt;br /&gt;
To import the tags, use the menu “ERP-&amp;gt;Open Event File”.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To average over the events, select “Tags-&amp;gt;Pattern 1”, “Search-&amp;gt;Tagged Events”, and press “SAW”. You may want to adjust the default block epoch in “Edit-&amp;gt;Default Block Epoch” before starting the average in order to adjust the width of the average buffer. The example below shows an average buffer of 2 seconds before and after the stimulus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Note that it is also possible to perform time-frequency analysis on these data. To do this, you will need to convert the tags into triggers first using ERP-&amp;gt;Edit Triggers. Then use the ERP-&amp;gt;Coherence to define the condition and run time-frequency analysis.&lt;/div&gt;</summary>
		<author><name>Vibhin</name></author>	</entry>

	</feed>