<?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=Alexa</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=Alexa"/>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Special:Contributions/Alexa"/>
		<updated>2026-05-02T07:10:59Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.10</generator>

	<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>2017-04-07T13:14:55Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
== Working with Additional Files  ==&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. 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;
'''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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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;
&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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
''TimePoints= 200 Channels= 27 BeginSweep[ms]= -500.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 SegmentName=Condition1''&lt;br /&gt;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (1).gif]]&lt;br /&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;
&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;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; 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 (*.ela)'''&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;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) file.&lt;br /&gt;
&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;
(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;
&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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/Data reading rules for MEG''”. &lt;br /&gt;
&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 “''3D Coordinates for Precise Analysis / Data reading rules for EEG”.''&lt;br /&gt;
&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;
'''What you have to do'''&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;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&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;
&lt;br /&gt;
'''''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;
'''''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;
'''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;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
'''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;
&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;
&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;
1. latency (units specified by the header, can be µs, ms, s)&lt;br /&gt;
&lt;br /&gt;
2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&lt;br /&gt;
&lt;br /&gt;
3. parameter (depends on the event type, e.g. trigger code)&lt;br /&gt;
&lt;br /&gt;
4. 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;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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. '''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;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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>Alexa</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>2017-04-07T13:14:38Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
== The Initialization File: BESA.ini  ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
&lt;br /&gt;
=== Defaults ===&lt;br /&gt;
&lt;br /&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''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='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&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;
&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 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;
&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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). 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;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&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;
&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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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;
* 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;
&lt;br /&gt;
[[Image:ST Besa ini (2).jpg ‎]]&lt;br /&gt;
&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;
* 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;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&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;
&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;
&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;
&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;
&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>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T13:14:18Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.&lt;br /&gt;
* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for&lt;br /&gt;
* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by&lt;br /&gt;
* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if&lt;br /&gt;
* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]] [[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus'' of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
1. Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
&lt;br /&gt;
2. Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
3. Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
&lt;br /&gt;
4. Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
&lt;br /&gt;
5. Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
&lt;br /&gt;
6. Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
&lt;br /&gt;
7. '''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&lt;br /&gt;
&lt;br /&gt;
8. Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
&lt;br /&gt;
10. Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
&lt;br /&gt;
11. After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using the ''Selected Channels'' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:&lt;br /&gt;
* Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:&lt;br /&gt;
* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''&lt;br /&gt;
* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''&lt;br /&gt;
* The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:&lt;br /&gt;
* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either&lt;br /&gt;
* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''&lt;br /&gt;
* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''&lt;br /&gt;
* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects&lt;br /&gt;
* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.&lt;br /&gt;
&lt;br /&gt;
* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;&lt;br /&gt;
* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:&lt;br /&gt;
* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=MATLAB_Interface</id>
		<title>MATLAB Interface</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=MATLAB_Interface"/>
				<updated>2017-04-07T13:14:01Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= MATLAB Interface =&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
BESA Research has menu items ''&amp;quot;Send to MATLAB...&amp;quot;'' at various locations that allow to send data as structures to Matlab. After sending the data, BESA Research starts a Matlab script that can be used to start further data analysis on the data structure. These scripts, located in the ''Scripts\Matlab'' folder in the BESA Research installation, can be edited by the user to perform further data analysis in Matlab. For example, if &amp;quot;''Send to MATLAB''&amp;quot; is selected in the ''File Export Dialog'', a data structure &amp;quot;''besa_channels''&amp;quot; will be created. After filling the structure, the script &amp;quot;''besa_action_channels.m''&amp;quot; will be started.&lt;br /&gt;
&lt;br /&gt;
All the Matlab export functions are batchable. Thus, a complete data analysis can be performed, in which BESA Research does the preprocessing, and passes the data on to Matlab for a statistical analysis of the results.&lt;br /&gt;
&lt;br /&gt;
An example for the application of the MATLAB interface is demonstrated in the BESA Research Tutorial on Batch Scripts, Multiple Subjects &amp;amp; Conditions, MATLAB-Interface. You can download this tutorial from our website at http://www.besa.de/tutorials/hands_on.&lt;br /&gt;
&lt;br /&gt;
Some MATLAB scripts that can be used in conjunction with the BESA Research MATLAB interface are also available on our website at http://www.besa.de/updates/matlab. You are invited to send your own scripts for data analysis or to submit any questions or feedback here: http://besa.de/contact/support/form.php.&lt;br /&gt;
&lt;br /&gt;
'''Important! Please follow the instructions in the “''Installation” ''chapter! Then read the “''How the interface'' ''works” ''section to get started.'''&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
In order for the BESA-Matlab interface to work, please follow the instructions below. If you start BESA Research, and the file menu does not display the &amp;quot;''Send to MATLAB''&amp;quot; item, the interface is not installed correctly!&lt;br /&gt;
&lt;br /&gt;
'''1'''. '''Matlab must be installed.'''&lt;br /&gt;
&lt;br /&gt;
For step 2 (required for MATLAB versions 2009b and over), we need to know whether the 32-bit or 64-bit version of Matlab is installed. We also need to know the path to the Matlab installation (e.g. ''c:\Program'' ''Files\MATLAB\2009b\)''.&lt;br /&gt;
&lt;br /&gt;
'''2'''. '''PATH environment variable:'''&lt;br /&gt;
&lt;br /&gt;
For versions 2009b and over, make sure that the path to the Win32 or Win64 folder in the Matlab installation to the PATH environment variable is defined:&lt;br /&gt;
&lt;br /&gt;
* The path for the 64-bit version for Matlab 2009b is typically ''c:\Program'' ''Files\MATLAB\2009b\bin\win64''. For the 32-bit version, the path is typically ''c:\Program Files\MATLAB\2009b\bin\win32''.&lt;br /&gt;
* Open the &amp;quot;System Properties&amp;quot; Dialog by holding down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Windows'''&amp;lt;/span&amp;gt; key and pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Pause '''&amp;lt;/span&amp;gt;button. In XP, the dialog is opened directly. In Vista and Window 7, the key combination opens the System Display. Click on the link &amp;quot;Change Settings&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (1) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Select the &amp;quot;Advanced&amp;quot; tab.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (2) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Environment Variables'''&amp;lt;/span&amp;gt;&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (3) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Under &amp;quot;System variables&amp;quot; click on the &amp;quot;Path&amp;quot; variable and press &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt;&amp;quot;. In the resulting dialog, enter a semicolon (;) at the end of the path string, and add the path after the semicolon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (4) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Press &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;&amp;quot; to close and save the path variable. Press &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;&amp;quot; to close the &amp;quot;System Properties&amp;quot; Dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''3. Additional configuration''' (only required after a change of your MATLAB configuration after installation of BESA Research):&lt;br /&gt;
&lt;br /&gt;
During the installation process of BESA Research, the program &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''SetupBesaMatlabInterface.exe''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;quot; in the BESA Research root folder was executed. Run this program again when your MATLAB configuration has changed, e.g. after updating your MATLAB version.&lt;br /&gt;
&lt;br /&gt;
In the dropdown list, select the Matlab version that you are using. &lt;br /&gt;
&lt;br /&gt;
This program does two operations: &lt;br /&gt;
&lt;br /&gt;
1. it copies the appropriate interface Dll to the BESA Research root folder and renames it to &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BesaMatlab.dll'''&amp;lt;/span&amp;gt;&amp;quot; (32-bit version) or &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BesaMatlab64.dll'''&amp;lt;/span&amp;gt;&amp;quot; (64-bit version), and &lt;br /&gt;
&lt;br /&gt;
2. if you are using a 64-bit version it creates an entry in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
[Matlab]&lt;br /&gt;
&lt;br /&gt;
Platform=64&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''4. Testing:'''&lt;br /&gt;
&lt;br /&gt;
Start BESA Research and check if ''Send to MATLAB ''is displayed in the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' File '''&amp;lt;/span&amp;gt;menu. If it is, the interface is set up correctly. (Note that the item will be grayed if no file is open in BESA Research.)&lt;br /&gt;
&lt;br /&gt;
Test the interface: open a data file, mark a short (e.g. 1 s) time range, and select ''File / Send to Matlab'' to open the ''Export Dialog'':&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (5) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Matlab window should open, and BESA Research will display a progress bar:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (6) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the window closes, open the Matlab window, and type &amp;quot;''Workspace''&amp;quot; to open the workspace window, or &amp;quot;''Desktop''&amp;quot; to open the standard Matlab desktop.&lt;br /&gt;
&lt;br /&gt;
Examine the &amp;quot;besa_channels&amp;quot; variable, which contains the data for the marked data segment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Matlab (7) .gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting if the interface is not working after the above steps'''&lt;br /&gt;
&lt;br /&gt;
If the ''File / Send to MATLAB''... menu item is not shown, this means that either the path (step 2 above) is not defined properly, or that the interface Dll &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BesaMatlab.dll'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BesaMatlab64.dll'''&amp;lt;/span&amp;gt; is not compatible with the currently installed version of Matlab.&lt;br /&gt;
&lt;br /&gt;
If the path is correct, then please contact our support team here: [http://besa.de/contact/support/form.php http://besa.de/contact/support/form.php], including the following information:&lt;br /&gt;
* Which Matlab version are you using?&lt;br /&gt;
* Specify also if you are using the 32-bit or 64-bit version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How the interface works ==&lt;br /&gt;
&lt;br /&gt;
'''The interface'''&lt;br /&gt;
&lt;br /&gt;
The interface uses libraries supplied by Matlab. Their descriptions can be found in Matlab Help under the keywords &amp;quot;Engine Library&amp;quot;. The Matlab libraries are incorporated into the interface Dll (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BesaMatlab.dll'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BesaMatlab64.dll'''&amp;lt;/span&amp;gt;) that provides the interface between BESA Research and Matlab. As newer versions of Matlab are released, it may be necessary to generate new versions of the dll to match the new library versions.&lt;br /&gt;
&lt;br /&gt;
'''Matlab automation window'''&lt;br /&gt;
&lt;br /&gt;
On the first call to one of the Matlab routines, the Matlab Automation Window is opened. This is not the same as the window that is normally opened when Matlab is started directly in Windows (the window can also be opened by typing &amp;quot;Matlab /automation&amp;quot; from the command line). From the Automation Window one can run normal Matlab scripts. It is also possible to type &amp;quot;desktop&amp;quot; in the Automation Window to open the standard Matlab desktop. All variables that have been sent from BESA Research are then visible there.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research &amp;quot;Send to MATLAB&amp;quot; commands and scripts'''&lt;br /&gt;
&lt;br /&gt;
Send to MATLAB commands generate data structures that differ depending on the type of data that are sent. After each export the corresponding script is executed. They are available at the following locations in BESA Research:&lt;br /&gt;
* From the Main program window (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File'''&amp;lt;/span&amp;gt; Menu), as part of the ''Export Dialog''. Structure name ''besa_channels''. Script name ''besa_action_channels.m''.&lt;br /&gt;
* From the FFT analysis (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File'''&amp;lt;/span&amp;gt; Menu). Structure name ''besa_fft''. Script name ''besa_action_fft.m''.&lt;br /&gt;
* From Combine Conditions (''Run Scripts Tab''), in the export of peaks and mean amplitudes. Structure name ''besa_peak''. Script name ''besa_action_peak.m''.&lt;br /&gt;
* From Source Analysis (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File'''&amp;lt;/span&amp;gt; Menu), for exporting source waveforms (''besa_sourcewaveforms''), source models (''besa_sourcemodel''), data, residual and model waveforms (''besa_sa_channels''), and 3D images (''besa_image''). Script names ''besa_action_sourcewaveforms.m'', ''besa_action_sourcemodel.m'', ''besa_action_sa_channels.m'', and ''besa_action_image.m''.&lt;br /&gt;
* From Time-Frequency/Coherence Analysis (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File'''&amp;lt;/span&amp;gt; Menu). Structure names ''besa_tfc'', and ''besa_tfc_trials'' (for single-trial time-frequency data). Script names ''besa_action_tfc.m'' and ''besa_action_tfc_trials.m''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some additional scripts are used for specific data types. For example, when exporting raw data, two scripts, ''besa_helper_channels_event.m'' and ''besa_helper_channels_continuousdata.m'' are used to collect events from each data block and to combine the exported data blocks into a single matrix.&lt;br /&gt;
&lt;br /&gt;
'''Command script path'''&lt;br /&gt;
&lt;br /&gt;
When the commands are executed, BESA Research automatically executes an &amp;quot;addpath&amp;quot; command in Matlab to add the ''Scripts\MATLAB'' folder (in Windows 7 typically ''C:\Users\Public\Public'' ''Documents\BESA\Research_6_0\Scripts\MATLAB'') and its first-level subfolders to the Matlab search path.&lt;br /&gt;
&lt;br /&gt;
'''Units'''&lt;br /&gt;
&lt;br /&gt;
Unless otherwise stated, distances are in meters, times are in seconds, and the head-frame (fiducial-based) coordinate system is 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>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Export</id>
		<title>Export</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Export"/>
				<updated>2017-04-07T13:13:03Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
= Export =&lt;br /&gt;
&lt;br /&gt;
== Exporting files from BESA ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Data can be exported from BESA Research in the following formats:&lt;br /&gt;
* BESA's own binary format (compressed or uncompressed)&lt;br /&gt;
* ASCII multiplexed&lt;br /&gt;
* ASCII vectorized (short files only)&lt;br /&gt;
* EDF+&lt;br /&gt;
* simple floating point matrix (e.g. for exporting data to MatLab)&lt;br /&gt;
* Send the data directly to Matlab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can export&lt;br /&gt;
* The entire data set or between markers&lt;br /&gt;
* The currently marked segment&lt;br /&gt;
* Epochs around triggers&lt;br /&gt;
* Standard deviations from binary average files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.fsg)&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Export is allowed to various montages:&lt;br /&gt;
* filtered or unfiltered data&lt;br /&gt;
* original data&lt;br /&gt;
* current montage (including artifact correction if applied)&lt;br /&gt;
* standard 81-electrode montage.&lt;br /&gt;
&lt;br /&gt;
On export, you can choose to change the sampling rate.&lt;br /&gt;
&lt;br /&gt;
If exporting to BESA's binary format, you can optionally append the data to a preexisting data set, if sampling rates and the number of channels match. Therefore, please use the Combine Conditions module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Export is started either&lt;br /&gt;
* select File / Export...&lt;br /&gt;
* press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''WrS '''&amp;lt;/span&amp;gt;button.&lt;br /&gt;
* In both cases, you are taken to the ''Export Dialog''.&lt;br /&gt;
* for Send to Matlab only: select File / Send To MATLAB... This also opens the Export Dialog, but only the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send To Matlab radio'''&amp;lt;/span&amp;gt; button is enabled as target format in the dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Export Dialog ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Export (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog is started when you select'' File / Export...'' or press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''WrS'''&amp;lt;/span&amp;gt; button or select '''Write Segment''' in the right click context menu when a segment has been highlighted.&lt;br /&gt;
&lt;br /&gt;
The dialog is divided into four sections. Please read the following chapters for more details:&lt;br /&gt;
* ''Data to export''. Describes which data are to be exported.&lt;br /&gt;
* ''Montage and Filters.'' Which montage is to be exported, and whether or not filters are used.&lt;br /&gt;
* ''Target data formats''. Specify the format of the exported data.&lt;br /&gt;
* ''Resampling.'' Specify a new sampling rate in the exported data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Type of data to export ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Export (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The types of data to export are:&lt;br /&gt;
* '''Continuous data'''. The whole data set or the data between markers are exported.&lt;br /&gt;
* '''Marked segment.''' If a segment of data is highlighted, this radio button is enabled. Select Marked segment to export just this segment.&lt;br /&gt;
* '''Epochs around triggers.''' Export data segments around triggers. If this item is selected, the two buttons &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Interval'''&amp;lt;/span&amp;gt;... and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Triggers'''&amp;lt;/span&amp;gt;... are enabled. They allow to select the interval (cf ''Edit / Default'' ''Block Epoch''...), and choose among the available triggers (see ''Edit / Trigger Values''...). Note that the default block epoch values are persistent across BESA Research sessions. The trigger selection is not persistent!&lt;br /&gt;
* '''Standard Deviations (from fsg file only).''' If the average file was generated using the BESA Research ERP module, standard deviations are saved in the file. Check this item to export these values to an ASCII file.&lt;br /&gt;
&lt;br /&gt;
'''Between markers.''' If there are markers in the file, and '''Marked segment''' is not selected, selecting '''Between markers''' will result in the export of data between markers relative to the current position in the file (as defined by the middle of the current display), either:&lt;br /&gt;
* if there is no previous marker, from the beginning of the file to the next marker, or&lt;br /&gt;
* from the previous to the next marker, or&lt;br /&gt;
* if there is no next marker, from the previous marker to the end of the file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Montages and Filters ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Export (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The data can be exported either&lt;br /&gt;
* '''Original data.''' The data are exported using the original montage&lt;br /&gt;
* '''Current montage.''' The currently selected montage is exported. If extra channels, e.g. selected channels or artifact waveforms are displayed, these are exported as well. Notes:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;When 'Current Montage' is selected, no auxiliary files are exported. When re-importing the data into BESA Research, all channels will be defined as polygraphic.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;If the current data is artifact-corrected, the artifact-corrected data will be exported when 'Current Montage' is selected.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Standard 81 electrode locations.''' EEG data are interpolated to a set of 81 electrodes on a standard head (average over 24 mainly Caucasian heads).&lt;br /&gt;
&lt;br /&gt;
Export can be performed either with or without the currently selected filters. Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Filters'''&amp;lt;/span&amp;gt;... button to change the current filter settings (see also ''Filters / Edit Filter Settings''...).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Target Data Formats ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Export (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following target formats are available:&lt;br /&gt;
* '''BESA binary'''. Data are saved with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.foc'''&amp;lt;/span&amp;gt;&amp;quot; or &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.fsg'''&amp;lt;/span&amp;gt;&amp;quot;. You can select whether to export with no compression (recommended for averages), or compressed (recommended for raw data). Note that compression can result in loss of resolution in averaged data. See ''Data Compression.''&lt;br /&gt;
* '''ASCII multiplexed.''' Data are normally saved as text with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.mul'''&amp;lt;/span&amp;gt;&amp;quot;. See ''ASCII multiplexed format'' for a description of the data format. If the type of data to export is '''Epochs''' '''around triggers''', one file is exported for each trigger, and the file extension is a number, starting with &amp;quot;.000&amp;quot;, and continuing &amp;quot;.001&amp;quot;, &amp;quot;.002&amp;quot;, etc.&lt;br /&gt;
* '''ASCII vectorized'''. Data are normally saved as text with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.avr'''&amp;lt;/span&amp;gt;&amp;quot;. See ''ASCII Multiplexed format ''for a description of the data format. If the type of data to export is '''Epochs around triggers''', one file is exported for each trigger, and the file extension is a number, starting with &amp;quot;.000&amp;quot;, and continuing &amp;quot;.001&amp;quot;, &amp;quot;.002&amp;quot;, etc. The data are not average referenced before saving. They will only be average referenced if the data are exported using an average referenced '''Current montage'''. You are only allowed to export small segments in vectorized format. If you have selected '''Continuous data''', this item will be disabled if the data are longer than 20 s in duration.&lt;br /&gt;
* '''European Data Format (EDF+).''' Data are saved with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.edf'''&amp;lt;/span&amp;gt;&amp;quot;. Export of '''Epochs around triggers''' to EDF+ is currently not possible.&lt;br /&gt;
* '''Simple binary matrix.''' Data are written to a floating point binary matrix with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.da'''&amp;lt;/span&amp;gt;t&amp;quot;. The matrix has the dimension no of samples x no of channels. In addition, a header file with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.generic'''&amp;lt;/span&amp;gt;&amp;quot; is also written. The header file is a text file contains information about the number of channels, sampling rate, and number of samples. These follow the specifications of the Generic File Format that can also be read by BESA Research if the Generic Reader is installed. This data format can be useful as a means of transferring data to other programs (e.g. '''MATLAB''') in a relatively compact form. If the type of data to export is '''Epochs around triggers''', the epochs are concatenated in the same target file. In this case, the header file contains a line specifying the number of epochs (cf. ''Generic File Format''). The number of samples in each epoch is the total number of samples, divided by the number of epochs.&lt;br /&gt;
* '''Send To MATLAB'''. The data are exported directly to MATLAB into the struct variable besa_channels. For more information on the data transfer from BESA Research to MATLAB, please refer to Help chapter ''The MATLAB interface''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resampling ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Export (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check '''Resample data''' to change the sampling rate of the target data. The edit box is enabled, and you specify a sampling rate.&lt;br /&gt;
&lt;br /&gt;
Data are resampled using splines. Thus, the new sampling rate is not limited to fractions or multiples of the original rate.&lt;br /&gt;
&lt;br /&gt;
Note that if '''Resample data''' is not checked, the sampling rate of the source data is displayed.&lt;br /&gt;
&lt;br /&gt;
'''Resampling and aliasing'''. If you want to reduce the sampling rate it is important to avoid aliasing! It is recommended that a low-pass filter with a boundary frequency of not more than 1/3 of the original sampling rate is used. When you set a new sampling rate, BESA Research checks the current filter settings. If export without filters is selected, or if the current low-pass filter is set to a value that is higher than 1/3 of the sampling rate, BESA Research sets the filter, and opens a message box with a warning:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Export (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may adjust the filters by pressing the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Filter'''&amp;lt;/span&amp;gt; button, e.g. if the original data were already recorded with a sufficiently low low-pass filter setting, so that additional filtering is unnecessary.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Data Compression ==&lt;br /&gt;
&lt;br /&gt;
When exporting to BESA binary format, you can compress the data to save space. Here we describe properties and pitfalls of the compression algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''How compression works'''&lt;br /&gt;
&lt;br /&gt;
The compression algorithm works on two principals:&lt;br /&gt;
* '''Data resolution can often be reduced without losing data quality.''' For instance, a data resolution of 0.1µV or higher is unnecessary for viewing normal EEG -- 0.5µV or 1 µV steps are sufficient. Similarly for event-related potentials: the raw data only require a resolution of 0.5µV or 1 µV to achieve a much higher resolution after averaging.&lt;br /&gt;
* '''Differences between successive data samples '''on a signal are generally much smaller than''' '''the absolute values of the data'''.''' Thus, one start value, and then a series of subsequent differences can be stored in a much smaller space than an equivalent series of absolute values. A consequence of this principle is that smoothed signals (with high frequencies removed) can be compressed into a smaller space than signals with a lot of high frequency noise.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Compression parameter'''&lt;br /&gt;
&lt;br /&gt;
The parameter you need to choose is the data resolution, or step size. Steps smaller than this size will no longer be represented in the compressed data. The BESA Research Export Module allows the following steps for the compression of EEG signals:&lt;br /&gt;
&lt;br /&gt;
0.1µV, 0.2µV, 0.5µV, 1µV&lt;br /&gt;
&lt;br /&gt;
For raw EEG data, we recommend using a step size of 0.5µV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Different compression parameters for different data types (pitfalls!)'''&lt;br /&gt;
&lt;br /&gt;
As described above, the step sizes make sense for EEG signals. For other types of data, other step sizes make more sense. In addition, a polygraphic signal can have the same order of signal magnitude as the EEG (e.g. an EOG or EKG signal), but it might have a completely different scale, e.g. a voice signal, recorded in mV or V. To help accommodate different orders of signal magnitude, BESA Research applies the following rules:&lt;br /&gt;
* '''MEG data:''' Step sizes (in units of fT) are 20 x the step size in µV. Thus, a step size of 0.5 µV will lead to a step size of 10fT for MEG data.&lt;br /&gt;
* '''Polygraphic and ICR data''': The step size depends on the current amplitude scaling factor in BESA Research. A multiplication factor is used that is the current scaling factor, divided by 100. Thus, if the scale is set to 1V, the factor is 10 mV. If you have chosen an EEG step size of 0.5µV, the resulting step size will be 10 x 0.5 = 5 mV.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;A pitfall in compression is that if the current amplitude scaling for polygraphic or ICR data does not display the signal sensibly, compression may lead to complete loss of the signal. Note that this only applies to polygraphic and ICR channel types.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Averages:''' We recommend that averaged ERPs are not compressed. Since the signals are generally much smaller than the raw data, compression will lead to unacceptable loss of data resolution.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Integration_with_MRI_and_fMRI</id>
		<title>Integration with MRI and fMRI</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Integration_with_MRI_and_fMRI"/>
				<updated>2017-04-07T13:11:22Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 and BESA MRI&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
= BESA Research Integration with MRI and fMRI =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Both for developing and evaluating dipole source models of EEG or MEG activity, it is useful to have access to structural MRI or fMRI data.&lt;br /&gt;
&lt;br /&gt;
The BESA MRI software allows to preprocess structural MRI data so that the individual anatomical information contained in the MRI can be utilized in BESA Research. BESA MRI makes it possible ...&lt;br /&gt;
* ... to align the EEG and MEG sensors with the structural MRI data.&lt;br /&gt;
* ... to read and display the aligned, individual Talairach structural MRIs directly in the BESA Research Source Analysis module. In this way, source analysis results can be presented on top of the aligned MRIs, which allows us to evaluate the anatomical regions to which the reconstructed sources may correspond.&lt;br /&gt;
* ... to use an individual, realistically shaped FEM head model for source analysis in BESA Research. FEM head models take into account the individual volume conduction properties of the subject's head derived from the structural MRI data. This allows for more accurate source analysis (Yvert 1997, Lanfer 2012).&lt;br /&gt;
&lt;br /&gt;
To offer an easy integration with fMRI data we have, in collaboration with Rainer Goebel, optimized the interface between BESA Research and BrainVoyagerQX. &lt;br /&gt;
&lt;br /&gt;
With these tools, we can ...&lt;br /&gt;
* ... use fMRI BOLD regions or MRI structures to initialize dipole models.&lt;br /&gt;
* ... visualize dipoles from BESA Research models together with the structural MRI in BrainVoyager in order to evaluate the regions to which the dipoles may correspond.&lt;br /&gt;
* ... combine the localization advantages of (f)MRI with the high temporal resolution of EEG and MEG, for instance by using (f)MRI to place the sources, and the source waveforms of BESA Research to provide feedback about the time course of the source activity.&lt;br /&gt;
* ... overlay source analysis results obtained in BESA Research with fMRI data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' For simpler coregistration, we recommend to use BrainVoyagerQX rather than the older BrainVoyager, but BESA Research will work with both program versions.&lt;br /&gt;
&lt;br /&gt;
The chapters below describe the steps necessary to integrate the MRI and fMRI data with BESA Research. Detailed instructions on (f)MRI import and processing in Brain Voyager is provided by the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website (http://brainvoyager.com/Downloads.html).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Aligning Coordinate Systems'''&lt;br /&gt;
&lt;br /&gt;
* For a given BESA data set, the electrode and other head surface points need to be aligned to the MRI coordinates.&lt;br /&gt;
* The basic steps necessary to align the EEG electrode locations, the MEG sensors and the MRI are described in Section “''How Coregistration is done”''.&lt;br /&gt;
* Detailed instructions on how to align EEG / MEG and MRI data using BESA MRI can be found in the coregistration quick guide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
* Detailed instructions on how to align EEG / MEG and MRI data using BrainVoyager are described in Section “''How To set up Coregistration between BESA and BrainVoyager”.''&lt;br /&gt;
* In BESA Research all necessary settings with regard to the alignment are made in the ''Coregistration Dialog.''&lt;br /&gt;
* Requirements with respect to the MRI data for a good coregistration can be found in Section “''MRI Requirements for Good Coregistration”.''&lt;br /&gt;
* Requirements with respect to EEG and MEG data for a good coregistration can be found in Section “''EEG/MEG Data Requirements for Good Coregistration”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Generating an individual, realistically shaped FEM head model'''&lt;br /&gt;
&lt;br /&gt;
* The generation of a FEM head model that can be used in BESA Research is done in BESA MRI as an additional step following the EEG / MEG to MRI coregistration.&lt;br /&gt;
* Detailed instructions on how to generate the FEM head model can be found in the coregistration quick guide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Co-locating dipoles and MRI locations'''&lt;br /&gt;
&lt;br /&gt;
* After aligning the EEG / MEG and the MRI data it is possible to co-locate dipoles and MRI locations. This means, it is possible to visualize the dipoles and to specify the dipole parameters in the MRI coordinate system.&lt;br /&gt;
* ''“How to Co-locate sources'' ''and MRI”'' in the BESA Research Source Module describes how in the BESA Research Source Analysis module dipoles can directly be visualized in the space of the individual MRI.&lt;br /&gt;
* ''“How to Send a Dipole from BESA Research to BrainVoyager”'' describes how to send a source model from BESA Research to BrainVoyager for further inspection.&lt;br /&gt;
* ''“How to Define a Dipole in BESA Research at a Location Defined in the MRI”'' describes how to insert a dipole at a location defined in the MRI in BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''References'''&lt;br /&gt;
&lt;br /&gt;
Lanfer, B., I. Paul-Jordanov, M. Scherg, and C. H. Wolters. “Influence of Interior Cerebrospinal Fluid Compartments on EEG Source Analysis.” In Proceedings BMT 2012, Vol. 57. Jena: De Gruyter, 2012. doi:10.1515/bmt-2012-4020.&lt;br /&gt;
&lt;br /&gt;
Yvert, B., O. Bertrand, M. Thévenet, J. F. Echallier, and J. Pernier. “A Systematic Evaluation of the Spherical Model Accuracy in EEG Dipole Localization.” Electroencephalography and Clinical Neurophysiology 102, no. 5 (May 1997): 452–59. doi:16/S0921-884X(97)96611-X.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How Coregistration is done ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the basic steps to coregister the EEG / MEG data to an individual MRI. These steps are necessary to load an individual MRI into BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What happens:'''&lt;br /&gt;
&lt;br /&gt;
* EEG / MEG sensor locations and the MRI data are defined in different coordinate systems. Setting up coregistration is the process of aligning the two coordinate systems.&lt;br /&gt;
* BESA Research uses the ''Coregistration Dialog'' to coordinate the alignment procedure.&lt;br /&gt;
* Alignment is done with the ''AC-PC-transformed MRI''.&lt;br /&gt;
* BESA Research displays the ''Talairach-transformed MRI'' in the source analysis module.&lt;br /&gt;
* A coregistration file (with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfh'''&amp;lt;/span&amp;gt;&amp;quot;) is used to mediate between BESA Research and BESA MRI (or BrainVoyagerQX):&lt;br /&gt;
* BESA Research writes the coregistration file which contains the coordinates of head surface points (fiducials, electrodes, other digitized surface points).&lt;br /&gt;
* The coordinates are read into BESA MRI (or BrainVoyager), and aligned with the AC-PC-transformed MRI. The alignment information is then appended to the ''coregistration file''. The names of the AC-PC MRI (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.vmr&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the surface mesh (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.srf&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;), and, if available, the Talairach transformation, are also appended.&lt;br /&gt;
* BESA Research reads the coregistration file and appends the name of the Talairach-transformed MRI and head surface. If a brain surface has been created, this is also appended.&lt;br /&gt;
* Subsequently, BESA Research reads the coregistration file automatically when loading the data file.&lt;br /&gt;
* In the BESA Research source module, the individual MRI is displayed instead of the standard MRI. Talairach coordinates of dipoles are the &amp;quot;real&amp;quot; Talairach coordinates as defined, e.g., in BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The steps you have to take (once for each data set):'''&lt;br /&gt;
&lt;br /&gt;
* From the BESA Research ''Coregistration Dialog'', write a coregistration file. Switch to BESA MRI (or BrainVoyagerQX).&lt;br /&gt;
* If BESA MRI is used follow the steps in the coregistration quickguide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
* If BrainVoyager is used follow the steps in Section “''How to set up coregistration between BESA and BrainVoyager”.''&lt;br /&gt;
* Back in BESA Research, reload the altered '''coregistration file'''. When using BESA MRI the file names of the generated surface and volume data files will be automatically filled in. When using BrainVoyager file names are only filled in automatically when the files are named according to the file naming conventions. Otherwise, file names have to be set manually.&lt;br /&gt;
* The coregistration file is now associated with the data file in the BESA Research database and will be used automatically the next time the file is opened in BESA Research. If the database entry is cleared, and the data are reloaded, you must make sure the coregistration file is also loaded (either using the ''Coregistration Dialog'' or the ''Channel and digitized head surface point information Dialog'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Alignment of BESA and MRICoordinate Systems  ==&lt;br /&gt;
&lt;br /&gt;
=== The Coregistration Dialog ===&lt;br /&gt;
&lt;br /&gt;
The dialog is opened either from the ''Channel and digitized head surface point information'' (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-L'''&amp;lt;/span&amp;gt;) ''dialog ''by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit/Coreg'''&amp;lt;/span&amp;gt; button, or from the main menu (&amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File/MRI&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Coregistration...'''&amp;lt;/span&amp;gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the coregistration dialog is invoked from an EEG data set in which no digitized electrode coordinates are available (i.e. standard electrode positions located on a sphere are assumed), BESA Research presents a warning message, saying that for MRI coregistration realistic electrode coordinates produce better results. BESA Research has a list of such realistic standard coordinates (i.e. located on a pre-defined standard head surface) for various electrodes available in file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Default.sfp'''&amp;lt;/span&amp;gt;, which is located in the Standard Electrode folder. If all electrodes in the dataset are listed in this file, a dialog window suggests to apply this file to the current data set, i.e. to switch from standard sphere coordinates to the standard realistic electrode coordinates in file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Default.sfp'''&amp;lt;/span&amp;gt;. If the suggestion is accepted, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; is assigned to the dataset (see Channel and digitized head surface point information (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-L'''&amp;lt;/span&amp;gt;) dialog).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Dialog:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (1).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Select MRI prog'''&amp;lt;/span&amp;gt; button to select your preferred MRI program. The current choice is between ''BESA MRI.exe'' and ''BrainVoyagerQX.exe''. The path to the MRI program is saved (in ''System\BESA.set'') and will be remembered by BESA Research. The top right hand button (now showing '''BESA MRI''') shows the current selection.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BESA MRI'''&amp;lt;/span&amp;gt; button to start the process of aligning the BESA Research and MRI coordinate systems. If no coregistration (&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;) file is defined in the dialog (empty ''Surface coregistration file edit box''), BESA Research will first prompt for a file name. We recommend saving this file to the folder where the MRIs are kept. The MRI program will then be started. When you return to the ''Coregistration Dialog'', BESA Research checks if the ''Coregistration File'' has changed. If so, the dialog is updated with the new information.&lt;br /&gt;
* Press the top &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse... '''&amp;lt;/span&amp;gt;button to select a preexisting ''Coregistration File''.&lt;br /&gt;
* The entries in the edit boxes below show the files that will be used in the BESA Research Source Analysis module when the individual MRI is loaded. When using BESA MRI the file names will be automatically filled in. If you are using BrainVoagerQX and you are following our (and the BrainVoyagerQX) recommended naming conventions for files, and the files exist, then the names will be filled in automatically after you have completed the alignment procedure in BrainVoyagerQX. Otherwise you may have to browse for the files.&lt;br /&gt;
* Below the edit boxes the FEM field states whether all necessary information for the individual FEM head model were found in the coregistration file. If the field says ''Individual FEM for EEG'' ''defined!'' then all necessary data was found and the individual FEM EEG head model can be used in the BESA Research Source Analysis module. A similar message indicates whether the FEM MEG head model is available.&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note that the MRI and the surfaces are Talairach-transformed! Alignment between BESA Research and the individual MRI is done with the MRI transformed to the AC-PC coordinate system, but the BESA Research Source Analysis module uses the Talairach-transformed image data and surfaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Setting Up Coregistration Using BrainVoyager ===&lt;br /&gt;
&lt;br /&gt;
It is assumed that you know how to load an MRI as a 3D data set into BrainVoyagerQX, and how to clean the image so that regions outside the head are black. We also assume knowledge of how to create AC-PC-aligned and Talairach-transformed MRIs.&lt;br /&gt;
&lt;br /&gt;
Perform the following steps:&lt;br /&gt;
&lt;br /&gt;
* BESA Research. Start the ''Coregistration Dialog''. Export the Coregistration File (head surface points) from your data by pressing the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' BrainVoyagerQX'''&amp;lt;/span&amp;gt; button in the dialog. Save the file to the directory where your MRI is located. BrainVoyagerQX is started.&lt;br /&gt;
* BrainVoyagerQX. Load the MRI corresponding to the EEG/MEG data. For optimal performance, the MRI should be cleaned so that regions outside the head are black. Prepare an AC-PC-transformed MRI and a Talairach MRI. For each, generate a surface mesh. Save these files following our recommended naming conventions (see chapter “''MRI File Name Conventions''”). Save the Talairach coordinate file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.tal&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If these steps have already been performed, load the ACPC MRI and load the ACPC mesh. If you want to generate a brain surface mesh, see chapter “''How to Generate a Brain Surface Mesh''”.&lt;br /&gt;
* BrainVoyagerQX. Load the Coregistration File (''EEG-MEG BESA/Load Surface Points''). The points will be displayed, but they are not aligned to the head:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (2).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Define fiducial points on the head surface. Right click on the 3D head display and select the ''Fiducials Dialog'' in the drop-down menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (3).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;[[Image:MRI Integration (4).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Rotate the head (by holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift '''&amp;lt;/span&amp;gt;button down and clicking and dragging with the mouse) so that the Nasion is clearly visible. Move the mouse to the Nasion, and press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl+Left Click'''&amp;lt;/span&amp;gt;. The coordinates of the Nasion are inserted into the dialog. Repeat for the left preauricular point, and then for the right preauricular point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (5).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: if you have defined your fiducials differently in your BESA Research data (e.g. ear holes), click on the corresponding points in the MRI. If you have additional head surface points (step 8), accuracy in pinpointing the fiducials is not critical.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. In the Fiducials Dialog, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit fiducials'''&amp;lt;/span&amp;gt; button. The head surface points are now more or less aligned to the head.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (6).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Now select '''''EEG-MEG BESA/Fit Surface Points...'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (7).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do not see the right half of the dialog, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Advanced &amp;gt;&amp;gt;'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Specify the distances of the digitization points from the skin. In the illustration above, the digitization points for electrodes are estimated to be 8 mm from the surface of the head. For the purpose of accurate alignment, the distance of digitization points from skin section of the dialog needs to be filled in correctly. We recommend that &amp;quot;Restrain solution around fiducials&amp;quot; is checked, and a reasonable limit (here 3 mm) of the restraint is defined. Then press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (8).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BrainVoyager fits the points to the head, stretching x, y, and z coordinates to obtain a better fit than before.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: The fit performed during this step accounts for scaling inequalities between the x, y, and z axes in the MRI. Coregistration gains in accuracy over the use of fiducials alone a) because more head surface points are used, and b) because the scaling inequalities are accounted for.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Alignment is now completed. If you only want to display the structural MRI in the BESA Source Module, you can return to the BESA Coregistration Dialog.&lt;br /&gt;
* BESA Research. When you switch back to the Coregistration Dialog, BESA Research will try to fill in the names of the Talairach MRI and surface meshes. If the names are not filled in, use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse...'''&amp;lt;/span&amp;gt; buttons to select the MRI and surface meshes. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to save the Coregistration File. Alignment is completed!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alignment steps need only be performed once for a given MRI and EEG/MEG data set. Otherwise, after starting BrainVoyager, just load the MRI, the surface mesh, and the surface points (see “''How to Set Up Coregistration with BrainVoyager after Alignment'' ''has been Done”''). Now the following actions are possible: see chapters “''How to Co-Locate Sources and MRI in the BESA Research Source Module”, '' ''“How to Send a Dipole from BESA Research to BrainVoyager”, “How to Define a Dipole in BESA Research at a Location Defined in the MRI”). ''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== MRI file Name Conventions ===&lt;br /&gt;
&lt;br /&gt;
If you follow the naming conventions for file names as described here, BESA Research detects the file names it requires, and the ''Coregistration Dialog'' is filled in automatically.&lt;br /&gt;
&lt;br /&gt;
Please note that BESA MRI automatically uses these naming conventions for the generated files.&lt;br /&gt;
&lt;br /&gt;
* '''The AC-PC MRI file name''' should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, and the corresponding surface mesh name should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.srf'''&amp;lt;/span&amp;gt;&amp;quot;. After alignment, BrainVoyagerQX writes these names to the Coregistration File.&lt;br /&gt;
* '''The Talairach MRI file name '''should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, and the corresponding surface mesh name should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL.srf'''&amp;lt;/span&amp;gt;&amp;quot;. If defined, the brain surface mesh should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot; ('''WM''' = '''w'''hite '''m'''atter).&lt;br /&gt;
* '''How BESA Research finds the Talairach files.''' When BESA Research rereads the Coregistration File after alignment of the coordinate systems, it finds the ACPC file names and defines the corresponding TAL file names. If these files exist, the names are entered into the Coregistration Dialog. For instance, if the Coregistration File contains the name &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PB_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, BESA Research will look for the files &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL.srf'''&amp;lt;/span&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot;. If these files exist, they are entered into the dialog.&lt;br /&gt;
* '''Older BrainVoyager version.''' If you use BrainVoyager.exe to align coordinate systems, the file names are not saved with the Coregistration File. In this case, browse for the Talairach or the ACPC MRI from the Coregistration Dialog. BESA Research will use the rules as described above to insert the correct file names into the dialog.&lt;br /&gt;
* '''Missing Talairach coordinates.''' If, after aligning coordinate systems, the Talairach coordinates are missing from the Coregistration File (you forgot to load the Talairach coordinates in BrainVoyagerQX, or you used BrainVoyager.exe), BESA Research will look for a file ending with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.tal'''&amp;lt;/span&amp;gt;&amp;quot;, and read the coordinates from this file. You can also browse for a &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.tal&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; file in the Coregistration Dialog. For instance, if the MRI file is named &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot; or &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MR_'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, BESA Research will look for &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_ACPC.tal'''&amp;lt;/span&amp;gt;&amp;quot; to find the Talairach coordinates.&lt;br /&gt;
* '''File names in the Coregistration File are saved relative to the Coregistration File location, if they are in the same folder.''' If the MRIs are in the same folder as the Coregistration File they will be recorded as &amp;quot;.\filename&amp;quot; (e.g. &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.\MRI PB_tal.vmr'''&amp;lt;/span&amp;gt;&amp;quot;). This means that you can copy the Coregistration File together with the MRIs and meshes to a different folder, and BESA Research will be able to locate the files when the Coregistration File is opened. If the MRIs are saved in a different folder from the Coregistration File, the absolute paths are saved in the file. If the files are moved to new locations, you will have to restart the Coregistration Dialog and redefine the file locations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== How to Generate a Brain Surface Mesh ===&lt;br /&gt;
&lt;br /&gt;
BESA Research is able to compute surface images, such as (Cortical LORETA, Cortical CLARA, Minimum Norm) using an individual cortex surface as the source space. A suitable cortex surface for this purpose can be effortlessly created using BESA MRI. Alternatively, BrainVoyager can be used for the creation of the brain surface mesh.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA MRI'''&lt;br /&gt;
* The brain surface generation is performed as one work step of the BESA MRI segmentation workflow.&lt;br /&gt;
* The cortex surface reconstruction is done using a robust and accurate automatic segmentation procedure.&lt;br /&gt;
* Details on how to generate the brain surface mesh in BESA MRI can be found in the coregistration quickguide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainVoyager'''&lt;br /&gt;
* BrainVoyagerQX provides a semiautomatic procedure to generate meshes for the brain surface of the Talairach MRI. Please refer to the BrainVoyager Help to find out how to do this.&lt;br /&gt;
* The result of the BrainVoyager procedure is two meshes, one for the left and one for the right hemisphere.&lt;br /&gt;
* BESA Research requires a single mesh. Therefore, load first one mesh (''Meshes/Load Mesh..''.), and append the other mesh (''Meshes/Add Mesh...''). Merge these two meshes (''Meshes/Merge'' ''meshes in surface window'') and then save the result (''Meshes/Save Mesh...''). If possible, use the recommended name conventions for the resulting file (file name ends in &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL_WM.srf&amp;quot;). '''&amp;lt;/span&amp;gt;For instance, if the Talairach MRI is named &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, name the brain surface mesh &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI PB_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot;.&lt;br /&gt;
* See also the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website (http://brainvoyager.com/Downloads.html).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Co-locating Dipoles and MRI Locations ==&lt;br /&gt;
&lt;br /&gt;
=== Co-locating Sources and MRI in the BESA Research Source Module ===&lt;br /&gt;
&lt;br /&gt;
If the alignment procedure using BESA MRI (or BrainVoyager) has been completed then you can load the individual structural MRI in the Source Module by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''A''''&amp;lt;/span&amp;gt; or using a mouse right click and selecting '''''Display MRI'''''.&lt;br /&gt;
&lt;br /&gt;
Sources in the current model are then overlayed onto the individual MRI.&lt;br /&gt;
&lt;br /&gt;
A double-click at any location in the MRI will define a new source at the corresponding location in the BESA Research head model.&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (9).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
=== Coregistration with BrainVoyager after Alignment has been Done ===&lt;br /&gt;
&lt;br /&gt;
Alignment between BESA Research and BrainVoyager is only required once for a given BESA Research data set and the corresponding MRI. At a later time, if you want to Co-locate sources between BESA Research and BrainVoyager, perform the following steps in BrainVoyager:&lt;br /&gt;
* Load the MRI.&lt;br /&gt;
* Load the head surface mesh (''Meshes/Load Mesh..''.).&lt;br /&gt;
* Load the Coregistration File (''EEG-MEG BESA/Load Surface Points..''.).&lt;br /&gt;
&lt;br /&gt;
BrainVoyager is now ready for Co-location.&lt;br /&gt;
&lt;br /&gt;
=== Send a Dipole from BESA Research to BrainVoyager ===&lt;br /&gt;
&lt;br /&gt;
First, start BrainVoyager(QX). This can be done from the BESA Research Source Module by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager '''&amp;lt;/span&amp;gt;button. Note that in the Source Module, the ''Options / Preferences / BrainVoyager'' tab allows to define the path to BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
In BrainVoyager, set up coregistration.&lt;br /&gt;
&lt;br /&gt;
In the BESA Research Source Module, highlight the dipole of interest.&lt;br /&gt;
&lt;br /&gt;
In the BESA Research Source Module, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
Program control will automatically switch to BrainVoyager. The head will be cut at the section corresponding to the dipole of interest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (10).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all dipoles in the current model are sent to BrainVoyager. The highlighted dipole (here, the red dipole) determines the plane at which the head will be cut.&lt;br /&gt;
&lt;br /&gt;
Note that the dipoles are visible in both the surface module and in the 2D view:&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (11).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Define a Dipole in BESA Research at a Location Defined in the MRI ===&lt;br /&gt;
&lt;br /&gt;
First set up coregistration (see chapter ''“Coregistration with BrainVoyager after Alignment has been'' ''Done”'').&lt;br /&gt;
&lt;br /&gt;
In the BrainVoyager 2D MRI view, place the mouse over the point at which you would like to define a dipole. Right click at this point. If this point lies within an fRMI cluster, BrainVoyager will automatically determine its center and use it as a seeding point instead. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send Seed Point To BESA....'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (12).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
The following Dialog is opened:&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (13).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send to BESA'''&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;&lt;br /&gt;
&lt;br /&gt;
The BESA Source Analysis window appears. The new dipole or regional source (depending on the setting in the ‘Options’ dialog in the Source Analysis window is now displayed at the corresponding location. If a dipole is seeded, BESA automatically fits its orientation. For further adjustment of the model, you may need to refit the orientation, e.g. at a certain time range, or in the presence of other sources.&lt;br /&gt;
&lt;br /&gt;
Detailed instructions on (f)MRI import and processing in Brain Voyager is provided by the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website ([http://brainvoyager.com/Downloads.html http://brainvoyager.com/Downloads.html]).&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Coherence_How_to...</id>
		<title>Source Coherence How to...</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Coherence_How_to..."/>
				<updated>2017-04-07T13:10:26Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Complete&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Source Coherence: How to... =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Start the Beamformer from the Time-Frequency Window ==&lt;br /&gt;
&lt;br /&gt;
This chapter shows how to start the BESA Multiple Source Beamformer from the time-frequency window. The displayed screenshots are taken using the file '''BESA5/Examples/Learn-by-Simulations/AC''-''Coherence/AC-Osc20.foc''' (see BESA Tutorial 6: &amp;quot;''Tutorial on source coherence''&amp;quot; on our website http://www.besa.de).&lt;br /&gt;
&lt;br /&gt;
The time-frequency beamformer is especially useful to image induced oscillatory activity in- or decrease. Induced activity cannot be observed in the averaged data, but shows up as enhanced averaged power in the TSE (Temporal-Spectral Evolution) plot.&lt;br /&gt;
&lt;br /&gt;
In the time-frequency diagram of any channel, left-drag to mark a time-frequency region of interest, e.g. a region of power increase. When the left mouse button is released, select '''Image' ''from the popup menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image001.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The current montage and the type of time-frequency plot currently displayed (TSE, amplitude/power, Coherence) does not affect the output of the beamformer image, because the image is always based on the complex single-trial spectral density of the original recording montage. The status of the 'subtract average signal' button is considered, however. This allows to image either evoked and induced activity or induced activity only.&lt;br /&gt;
&lt;br /&gt;
The 'Image' edit window is displayed. It allows for adjusting the time-frequency range of the target interval and for a re-definition of the baseline interval. If a control condition has been specified, you can choose to reference the power in the target time-frequency interval to the corresponding interval in the control condition instead of the baseline interval by checking 'Compare Conditions'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image002.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: The text within the window emphasizes that it is recommended to use the same duration for the Baseline Interval and the Target Interval to obtain a reliable beamformer image. The reason is the dependence on the noise estimate on the number of trials that enter the covariance matrix computation. The same recommendation holds if two conditions are compared: It is recommended to define conditions such that they contain approximately the same number of trials. If the baseline interval defined in the Time-Frequency window (the red bar on the x-axis) is larger than the target time interval specified by the dragged rectangle, the baseline interval in the'' 'Image' ''dialog window is automatically shortened to match the duration of the Target Interval. If for some reason these requirements cannot be met, it is recommended to compute a beamformer image with regularization. This is achieved by adjusting the SVD cutoff in the Source Analysis window using the menu entry '''Image/Settings'.''&lt;br /&gt;
&lt;br /&gt;
Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Go' '''&amp;lt;/span&amp;gt;button to start the beamformer computation.&lt;br /&gt;
&lt;br /&gt;
BESA Research now computes mean time-frequency covariance matrices for the target and the reference interval. The source analysis window opens with an enlarged 3D imaging display that compares the power in the target and the reference interval as computed with a bilateral beamformer. The result is superimposed onto the individual or standard MRI.&lt;br /&gt;
&lt;br /&gt;
For more information on the multiple-source beamformer (MSBF), please refer to chapter ''&amp;quot;Source'' ''Analysis&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image003.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Start DICS computation from the Time-Frequency Window ==&lt;br /&gt;
&lt;br /&gt;
How to create DICS images you will find in the chapter “''Source Analysis / 3D Imaging / Dynamic Imaging of Coherent Sources (DICS)”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Compute Time Lags between oscillations using Phase Diagrams ==&lt;br /&gt;
&lt;br /&gt;
The phase diagram option is used to analyze phase differences between coherent channels. This can give an insight into a possible coupling of brain regions which may be necessary e.g. to integrate input from various specialized neurons to a common perception. However, the measured coupling is also influenced by volume conduction effects (scalp coherence) or the modeling parameters (source coherence).&lt;br /&gt;
&lt;br /&gt;
If brain regions show oscillatory coupling in the same frequency range, the phase relationship should be constant over some time:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image005.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since we cannot obtain an ideal frequency resolution using a time-frequency transform, any oscillation frequency is smeared out over several sampling frequencies in the transformed signal. If the delay between the two oscillations is constant, the phase shift between the signals rises linearly with the frequency. We can get a precise estimate of the delay if we use several neighboring frequencies for the calculation. Practically, you can achieve this by the following steps:&lt;br /&gt;
&lt;br /&gt;
1. Enter '''coherence''' mode, either by '''double-clicking''' on the channel of interest, or by right-clicking on it and selecting coherence from the popup menu.&lt;br /&gt;
&lt;br /&gt;
2. In a coherence plot, '''drag''' over an area of interest which comprises the time interval where the oscillation occurs and the relevant frequency range. The left-mouse popup menu appears (see the leftmost channel termed ACsL in the example below):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image006.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Select the menu entry ''''''View Phase Diagram''''''. In all channels where coherence was shown previously, the plot changes to display the phase diagram. Inside the marked time-frequency region, the mean phase difference ϕ&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; within the time window is calculated for each frequency ν&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;, and the values are plotted. The phase is calculated from the cross-spectral matrices of the single trials. The error bars shown in the display are the standard deviations of the phase over the time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The time lag is calculated from a regression fit to the values. The fitting procedure takes phase shifts of π into account, which can occur due to volume currents, or due to dipole orientations. First, a straight line is fitted to the data. Then, one of two different approaches are used to compute the time lag, depending on the characteristics of the values.&lt;br /&gt;
* If extrapolation of the line to ν= 0 Hz yields a phase difference of approximately 0 or approximately π, or if a zero crossing at the origin is within the error margins of the fit, the delay can be calculated directly from the data values. For each data value, the relationship ∆t&amp;lt;sub&amp;gt;i &amp;lt;/sub&amp;gt;&amp;lt;nowiki&amp;gt;= ϕ&amp;lt;/nowiki&amp;gt;&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;/ (2π ν&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;) holds. The time lag is calculated as the weighted mean, where the weights are given by the individual errors of fi (the errors are given by the standard deviation over the time samples).&lt;br /&gt;
* If the regression line does not cross the origin, the gradient of the fit is used to calculate the time lag as ∆t=grad(f(ν)) / 2π&lt;br /&gt;
&lt;br /&gt;
'''Note:''' In both cases, any frequency only enters the calculation if the coherence value reaches or exceeds 70% of the current color map maximum for at least one time sample inside the selected time-frequency window. At least 3 valid values are required for the estimation. Channels with less than 3 valid values are not evaluated.&lt;br /&gt;
&lt;br /&gt;
Phase values and fitted lines are only displayed for the channels where the above condition is satisfied. In the example below, the condition was only fulfilled for one channel (ACsL) due to the good separation of activities by the source montage. The calculated delay is displayed beside the channel label (in this case: 5 milliseconds).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image009.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get back to coherence, '''right-click '''into the reference channel and select ''''Coherence'''' from the popup menu that appears.&lt;br /&gt;
&lt;br /&gt;
== How to Compute a Probability Map ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistical testing with one condition'''&lt;br /&gt;
&lt;br /&gt;
This example uses the simulated data set in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Examples/Learn-by-Simulations/AC-Coherence/AC-Osc20.foc''''&amp;lt;/span&amp;gt; (see also BESA Research Tutorial on source coherence on www.besa.de).&lt;br /&gt;
&lt;br /&gt;
After the data file is loaded, start coherence analysis by&lt;br /&gt;
# selecting the montage &amp;quot;RC0&amp;quot; from the user montages (toolbar button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# loading the paradigm (menu &amp;quot;''ERP/Open Paradigm''&amp;quot;, select paradigm file &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Auditory/AC_Osc.pdg'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# performing an artifact scan (paradigm tab &amp;quot;'''Artifact'''&amp;quot;, press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scan'''&amp;lt;/span&amp;gt;...&amp;quot; button and adjust the amplitude threshold to about 135µV)&lt;br /&gt;
# starting analysis (paradigm tab &amp;quot;Coherence&amp;quot;, press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Go'''&amp;lt;/span&amp;gt;&amp;quot; button)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The progress bar runs through, and the temporal-spectral evolution (TSE) display is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on TSE'''&lt;br /&gt;
&lt;br /&gt;
In the TSE display, press the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Current Condition''&amp;quot; from the dropdown menu that appears. Alternatively, select &amp;quot;''Statistics/Current Condition&amp;quot;'' from the menu. This starts the bootstrap test. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image012.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example for p map of TSE, correction on p=0.05 level. Both significant synchronization and desynchronization is shown (red and blue colors; negative p values indicate desynchronization). The correction yields significant results only at the modelled time-frequency spots, with the exception of the frequency edges in channel PrM, FrR, and the occipital channels. The baseline interval is not tested.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, the results are corrected for multiple testing, and only values with a significance of p &amp;lt; 0.05 after correction are kept. Correction can be switched off using statistics options (''Statistics/Options ''from the menu, or use the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Options''&amp;quot; from the dropdown menu). This &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options '''&amp;lt;/span&amp;gt;menu also enables correcting on the significance level p &amp;lt; 0.01. The text at the bottom left of the window indicates that a correction took place to find the significant sampling points, but the remaining p values were not corrected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on Coherence and phase coherence'''&lt;br /&gt;
&lt;br /&gt;
Double-click on a channel (e.g. ACsL) to display its coherence with the other channels. Then press the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Current Condition''&amp;quot; from the dropdown menu (or select &amp;quot;''Statistics/Current'' ''Condition''&amp;quot; from the menu). This starts the permutation test, which is quite time-consuming. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image013.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example for the p map of source coherence; correction on p=0.05 level. In all channels, alpha band coherence is significant. Furthermore, significant noise coherence can be observed in the proximate source channels, which only recedes where signal is present which is modelled by the reference channel. The oscillatory coupling between ACsL and ACsR is also significant.''&lt;br /&gt;
&lt;br /&gt;
The same procedure applies for a phase coherence analysis. To switch to the p map for phase coherence, simply press the toolbar button [[Image:Image015.gif]] . If statistics mode is already active, the new p map will be computed automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistical testing comparing conditions'''&lt;br /&gt;
&lt;br /&gt;
This example uses the error-related negativity data set in the file&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Examples/TFC-Error-Related'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Negativity/Correct+Error.foc''''&amp;lt;/span&amp;gt; (see also BESA Research Tutorial on source coherence on [http://www.besa.de www.besa.de]).&lt;br /&gt;
&lt;br /&gt;
After the data file is loaded, start coherence analysis by&lt;br /&gt;
# selecting the user montage &amp;quot;ERN9&amp;quot; from the user montages (toolbar button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# Loading the paradigm (menu &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Open Paradigm'''&amp;lt;/span&amp;gt;&amp;quot;, select paradigm file &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Cognitive/ERN.pdg'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# performing an artifact scan (paradigm tab &amp;quot;''Artifact''&amp;quot;, press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scan'''&amp;lt;/span&amp;gt;...&amp;quot; button and adjust the amplitude and gradient thresholds to about 180 µV and 75 µV)&lt;br /&gt;
# select the conditions with error and correct response for analysis, triggered on the stimulus (tab &amp;quot;''Coherence''&amp;quot;, select &amp;quot;''StErr''&amp;quot; as target condition, check the tick mark &amp;quot;''Use Control Condition''&amp;quot;, and select &amp;quot;''StCor''&amp;quot; as control condition (see figure below). Press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Go'''&amp;lt;/span&amp;gt;&amp;quot; button. The progress bar is displayed, followed by the temporal-spectral evolution (TSE) display for the target condition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image017.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Settings for comparing conditions in the time-frequency analysis.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on TSE'''&lt;br /&gt;
&lt;br /&gt;
Press the [[Image:Image018.gif]] toolbar button to see the difference between target and control condition.&lt;br /&gt;
&lt;br /&gt;
Then press the toolbar button &amp;quot;&amp;quot; and select &amp;quot;''Compare Conditions''&amp;quot; from the dropdown menu that appears. Alternatively, select &amp;quot;''Statistics/Compare Conditions''&amp;quot; from the menu. This starts the permutation test. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image019.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example of TSE p map when comparing conditions; correction on p=0.05 level. Both significant increase and decrease of TSE in target condition with respect to control condition is shown (red and blue colors; negative p values indicate decrease). The baseline interval is not tested.''&lt;br /&gt;
&lt;br /&gt;
As in the case of one condition, the statistics options can be used to switch correction on or off, and to correct on two different significance levels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on Coherence and phase coherence'''&lt;br /&gt;
&lt;br /&gt;
Double-click on a channel (e.g. CgA) to display its coherence with the other channels. Then press the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Current Condition''&amp;quot; from the dropdown menu (or select &amp;quot;''Statistics/Current Condition''&amp;quot; from the menu). This starts the permutation test, which is quite time-consuming. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image021.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example for p-map of coherence comparing conditions; correction on p=0.05 level. The regions where coherence differs significantly between conditions are depicted in red. The main coherent regions are seen in channels CgP and TbR at low frequencies.''&lt;br /&gt;
&lt;br /&gt;
Please note that the problems with noise coherence, which arise when testing within one condition, do not arise when comparing conditions. Computation is also much faster, since a different approach is used.&lt;br /&gt;
&lt;br /&gt;
The same procedure applies for a phase coherence analysis. To switch to the p map for phase coherence, simply press the toolbar button [[Image:Image015.gif]] . If statistics mode is already active, the new p map will be computed automatically.&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Coherence_Introduction_and_Concepts</id>
		<title>Source Coherence Introduction and Concepts</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Coherence_Introduction_and_Concepts"/>
				<updated>2017-04-07T13:10:02Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{BESAInfobox&lt;br /&gt;
|title = Module information&lt;br /&gt;
|module = BESA Research Complete&lt;br /&gt;
|version = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
=  Source Coherence  =&lt;br /&gt;
&lt;br /&gt;
== Source Coherence Module - Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Source Coherence Module provides new insights into interaction between brain regions using brain source montages. These are derived from multiple source models of the data. Transforming the scalp surface into the brain signals using source montages greatly enhances the spatial resolution and largely removes one of the major drawbacks of traditional coherence analysis, the widespread overlap at the scalp due to volume conduction.&lt;br /&gt;
&lt;br /&gt;
The Source Coherence Module provides a variety of tools for time-frequency based event-related data analysis.&lt;br /&gt;
* Time-frequency diagrams based on brain source or surface channels&lt;br /&gt;
* Display of temporal-spectral evolution (TSE) in percent&lt;br /&gt;
* Separation of evoked and induced activity &amp;amp;nbsp;&lt;br /&gt;
* Joint display of time-frequency or coherence plots with the evoked potential of individual channels&lt;br /&gt;
* Coherence estimate between any combination of surface or source channels (coherence or phase coherence)&lt;br /&gt;
* Computation and display of phase delay and latency difference between channels in a graphically defined time and frequency window&lt;br /&gt;
* Display of the inter-trial phase locking (ITPL)&lt;br /&gt;
* Comparison of two conditions&lt;br /&gt;
* Probability plots transforming all time-frequency parameters into statistical p-values&lt;br /&gt;
* Export of analysis results into ASCII text files&lt;br /&gt;
* Time-frequency transforms are obtained in a very fast implementation based on complex demodulation. Apart from source channels, intracranial channels, and scalp channels, also other polygraphic channels, e.g. rectified EMG, can be included into the analysis.&lt;br /&gt;
* A highly optimized graphical user interaction enables a fast testing of hypotheses, and quick focusing onto the features of interest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For an introduction and an outline of the underlying concepts of source coherence, please continue with the next topic, &amp;quot;''Concepts of Source Coherence''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For more details check the following topics:&lt;br /&gt;
* Layout of the Source Coherence Window&lt;br /&gt;
* Reference (in the online help)&lt;br /&gt;
&lt;br /&gt;
Please also refer to our website at http://www.besa.de for the latest tutorial on source coherence and related topics.&lt;br /&gt;
&lt;br /&gt;
== Concepts of Source Coherence ==&lt;br /&gt;
&lt;br /&gt;
Recently, an increasing number of papers on oscillatory coupling between brain regions in animal studies and on time-frequency analysis of human EEG and MEG data has been published. BESA Research introduces several tools for fast and user-friendly time-frequency analysis including source and scalp coherence.&lt;br /&gt;
&lt;br /&gt;
First, let us introduce some terminology in order to clarify the concepts:&lt;br /&gt;
* Surface waveform: a time signal recorded from EEG-electrodes or MEG sensors&lt;br /&gt;
* Source waveform: a time signal calculated for a specified brain region or cortical surface&lt;br /&gt;
* Source montage: transformation of the on-going EEG into the estimated contributions or source waveforms of a set of brain regions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Time-frequency analysis: analysis or display of the event-related time-locked or induced activity in the time-frequency domain&lt;br /&gt;
* Time-locked activity: event-related signal with similar wave shape over trials&lt;br /&gt;
* Induced activity: oscillatory activity occurring in a certain event-related time window with varying time lag and phase&lt;br /&gt;
* Oscillatory activity: activity occurring with several oscillations in a narrow frequency band; can be time-locked and/or induced&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* TSE: temporal spectral evolution, change in amplitude or power over time relative to the baseline interval&lt;br /&gt;
* ERD/ERS: event-related (de)-synchronization, used as a synonym for TSE&lt;br /&gt;
* ERSP: event-related spectral perturbations, change in power or amplitude over time. This is the more general term and comprises ERD/ERS/TSE that are related to baseline.&lt;br /&gt;
* Correlation: correlation between two time signals, i.e. scalar product of normalized signals in time domain&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Spectral-temporal density function S(f,t) = A(f,t)*e&amp;lt;sup&amp;gt;i*ϕ(f,t)&amp;lt;/sup&amp;gt;: quantifies amplitude A and phase ϕ of a signal at a certain frequency f and latency t relative to an event&lt;br /&gt;
* Coherence: squared correlation of two spectral density functions S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, i.e. squared scalar product of S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, normalized across all trials&lt;br /&gt;
* Phase coherence: correlation of two normalized spectral density functions S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, quantified by the phase locking value (PLV)&lt;br /&gt;
* Phase locking value (PLV): scalar product of S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, where S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) are normalized, i.e. they become unit vectors in the complex plane&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase coherence uses only the phase relationships between channels for the coherence estimate, not the amplitudes. The method implemented here was described by Lachaux et al. (1999). Phase coherence is described by the so-called &amp;quot;phase locking value&amp;quot; (PLV).&lt;br /&gt;
&lt;br /&gt;
Comparison of the formulae for coherence and PLV illustrates that for constant amplitudes, PLV is equivalent to the square root of coherence.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scalp Coherence'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When coherence is calculated at the surface between 2 EEG channels or 2 MEG sensors, activity from various brain regions is picked up in each of the surface channels. Oscillatory activity in one brain region can already lead to a strong coherence between 2 surface channels because of the wide distribution of focal brain activity at the surface. This is due to the nature of the dipole fields when recording remotely and due to the smearing effect of the volume conduction in EEG. As a consequence, a coherence measure between surface channels cannot distinguish between coherence due to propagation and real coherence between the oscillatory activities in two coupled brain regions.&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
Whether true coherence can be detected at the scalp, depends mainly on the relative orientation of the source currents in the underlying brain regions and, to a lesser extent, on their distance in location. In the case of the auditory cortex, for example, both the left and right temporal planes produce vertical activity with strong bilateral contributions centrally (e.g. at C3/C4 and F3/F4). The spatial correlation of the radial activities at the lateral surfaces of the superior temporal gyrus is also very large between right and left scalp electrodes, e.g. at T3/T4. A current-source density montage (CSD or Laplacian) can reduce the effects of propagation on scalp coherence to a certain extent, because it enhances the radial current from the underlying cortex relative to more remote sources to some extent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Source Coherence'''&lt;br /&gt;
&lt;br /&gt;
An optimal separation is obtained by a source montage derived from a multiple source model. The model is used to create an inverse spatial filter, i.e. a source montage that separates the different brain activities. Activities that are not accounted for by the model, e.g. from background noise or EEG, are distributed amongst the sources and may therefore lead to 'noise coherence' between source channels. This 'noise coherence' can be large for sources which have very similar spatial topographies. It can be reduced by increasing the regularization constant of the inverse at the expense of a larger cross-talk between the sources or by including specific sources accounting for the 'noise'.&lt;br /&gt;
&lt;br /&gt;
The principal steps to calculate a time-frequency diagram and source coherence are illustrated in the figure below for the real data example of error-related negativity (ERN). A multiple source model is created from averaged ERP data and/or sources in brain regions known to contribute from fMRI/PET studies using a similar task. The source model is then used to calculate a source montage and the source waveforms of the single trials. Next, each single trial is transformed into the time-frequency domain by selecting a certain temporal resolution using complex demodulation (a principle similar to FM radio). From the single trials, time-frequency displays are generated by averaging spectral density amplitude or power over trials. Source coherence is calculated by averaging the cross-spectral density of one reference channel with all other channels over trials and normalizing by the averaged auto-spectral densities (cf. figure above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this figure, you can see the separation of the occipital alpha rhythm (top 3 source waveforms) from the frontal midline ERN components (lowest 2 traces) which become prominent in most single trials after transforming from the 128 scalp electrodes onto 9 source areas in the brain. The time-frequency display shows a strong evoked ERN activity in the anterior and posterior cingulate gyrus (CG) sources and an induced suppression and rebound of ~20 Hz activity in the sensori-motor cortex bilaterally. Alpha suppression is most prominent in the midline occipital source. A double click onto the TF display of a selected channel leads to the rapid calculation of the coherence between this channel and all other channels.&lt;br /&gt;
&lt;br /&gt;
For more information, see the following sections ''(Layout of the Source Coherence Window'' and ''Tutorial)''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Layout of the Source Coherence Window ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source coherence window consists of&lt;br /&gt;
* title bar with information on the current display mode and the data file name&lt;br /&gt;
* menu bar where the display mode and analysis options are selected&lt;br /&gt;
* toolbar for quick access to the menu functions&lt;br /&gt;
* display area where time-frequency diagrams of all channels are shown&lt;br /&gt;
* information text about the current display mode and units (e.g. Power, Amplitude,&lt;br /&gt;
* color map with minimum and maximum normalization values at the center bottom. Any value higher or lower than the normalization value is assigned the color of the normalization value&lt;br /&gt;
* information text about the condition which is analyzed at the bottom right&lt;br /&gt;
* status bar with information about the channel, frequency, latency, and signal amplitude&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Coherence (1).gif]]&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>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Analysis_3D_Imaging</id>
		<title>Source Analysis 3D Imaging</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Analysis_3D_Imaging"/>
				<updated>2017-04-07T13:09:18Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
== 3D Imaging ==&lt;br /&gt;
&lt;br /&gt;
BESA Research features a set of new functions that provide 3D images that are displayed superimposed to the individual subject's anatomy. This chapter introduces these different images and describe their properties and applications.&lt;br /&gt;
&lt;br /&gt;
The 3D images can be divided into three categories:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Volume images:'''&lt;br /&gt;
* '''The Multiple Source Beamformer (MSBF)''' is a tool for imaging brain activity. It is applied in the time-frequency domain and based on single-trial data. Therefore, it can image not only evoked, but also induced activity, which is not visible in time-domain averages of the data.&lt;br /&gt;
* '''Dynamic Imaging of Coherent Sources (DICS)''' can find coherence between any two pairs of voxels in the brain or between an external source and brain voxels. DICS requires time-frequency-transformed data and can find coherence for evoked and induced activity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following imaging methods provide an image of brain activity based on a distributed multiple source model:&lt;br /&gt;
* '''CLARA''' is an iterative application of LORETA images, focusing the obtained 3D image in each iteration step.&lt;br /&gt;
* '''LAURA '''uses a spatial weighting function that has the form of a local autoregressive function.&lt;br /&gt;
* '''LORETA''' has the 3D Laplacian operator implemented as spatial weighting prior.&lt;br /&gt;
* '''sLORETA''' is an unweighted minimum norm that is standardized by the resolution matrix.&lt;br /&gt;
* '''swLORETA '''is equivalent to sLORETA, except for an additional depth weighting.&lt;br /&gt;
* '''SSLOFO '''is an iterative application of standardized minimum norm images with consecutive shrinkage of the source space.&lt;br /&gt;
* '''A User-defined volume image''' allows to experiment with the different imaging techniques. It is possible to specify user-defined parameters for the family of distributed source images to create a new imaging technique.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Surface image:'''&lt;br /&gt;
* The '''Surface Minimum Norm Image'''. If no individual MRI is available, the minimum norm image is displayed on a standard brain surface and computed for standard source locations. If available, an individual brain surface is used to construct the distributed source model and to image the brain activity.&lt;br /&gt;
* '''Cortical LORETA'''. Unlike classical LORETA, cortical LORETA is not computed in a 3D volume, but on the cortical surface.&lt;br /&gt;
* '''Cortical CLARA'''. Unlike classical CLARA, cortical CLARA is not computed in a 3D volume, but on the cortical surface.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Discrete model probing:'''&lt;br /&gt;
&lt;br /&gt;
These images do not visualize source activity. Rather, they visualize properties of the currently applied discrete source model:&lt;br /&gt;
* The '''Multiple Source Probe Scan (MSPS)''' is a tool for the validation of a discrete multiple source model.&lt;br /&gt;
* The''' Source Sensitivity image''' displays the sensitivity of a selected source in the current discrete source model and is therefore data independent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multiple Source Beamformer (MSBF) ===&lt;br /&gt;
&lt;br /&gt;
'''Short mathematical introduction'''&lt;br /&gt;
&lt;br /&gt;
The BESA beamformer is a modified version of the linearly constrained minimum variance vector beamformer in the time-frequency domain as described in Gross et al., &amp;quot;Dynamic imaging of coherent sources: Studying neural interactions in the human brain&amp;quot;, PNAS 98, 696-699, 2001. It allows to image evoked and induced oscillatory activity in a user-defined time-frequency range, where time is taken relative to a triggered event.&lt;br /&gt;
&lt;br /&gt;
The computation is based on a transformation of each channel's single trial data from the time domain into the time-frequency domain. This transformation is performed by the BESA Research Source Coherence module and leads to the complex spectral density S&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; (f,t), where i is the channel index and f and t denote frequency and time, respectively. Complex cross spectral density matrices C are computed for each trial:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (1).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The output power P of the beamformer for a specific brain region at location r is then computed by the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (2).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, C&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; is the inverse of the SVD-regularized average of C&amp;lt;sub&amp;gt;ij&amp;lt;/sub&amp;gt;(f,t) over trials and the time-frequency range of interest; L is the leadfield matrix of the model containing a regional source at target location r and, optionally, additional sources whose interference with the target source is to be minimized; tr'[] is the trace of the [3x3] (MEG:[2x2]) submatrix of the bracketed expression that corresponds to the source at target location r.&lt;br /&gt;
&lt;br /&gt;
In BESA Research, the output power P(r) is normalized with the output power in a reference time-frequency interval P&amp;lt;sub&amp;gt;ref&amp;lt;/sub&amp;gt;(r). A value q ist defined as follows: &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (3).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
P&amp;lt;sub&amp;gt;ref &amp;lt;/sub&amp;gt;can be computed either from the corresponding frequency range in the baseline of the same condition (i.e. the beamformer images event-related power increase or decrease) or from the corresponding time-frequency range in a control condition (i.e. the beamformer images differences between two conditions). The beamformer image is constructed from values q(r) computed for all locations on a grid specified in the '''General Settings tab'''. For MEG data, the innermost grid points within a sphere of approx. 12% of the head diameter are assigned interpolated rather than calculated values).&lt;br /&gt;
&lt;br /&gt;
q-values are shown in %, where q[%] = q*100. Alternatively to the definition above, q can also be displayed in units of dB:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (4).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A beamformer operator is designed to pass signals from the brain region of interest r without attenuation, while minimizing interference from activity in all other brain regions. Traditional single-source beamformers are known to mislocalize sources if several brain regions have highly correlated activity. Therefore, the BESA beamformer extends the traditional single-source beamformer in order to implicitly suppress activity from possibly correlated brain regions. This is achieved by using a multiple source beamformer calculation that contains not only the leadfields of the source at the location of interest r, but also those of possibly interfering sources. As a default, BESA Research uses a bilateral beamformer, where specifically contributions from the homologue source in the opposite hemisphere are taken into account (the matrix L thus being of dimension Nx6 for EEG and Nx4 for MEG, respectively, where N is the number of sensors). This allows for imaging of highly correlated bilateral activity in the two hemispheres that commonly occurs during processing of external stimuli.&lt;br /&gt;
&lt;br /&gt;
In addition, the beamformer computation can take into account possibly correlated sources at arbitrary locations that are specified in the current solution. This is achieved by adding their leadfield vectors to the matrix L in the equation above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Applying the Beamformer'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This chapter illustrates the usage of the BESA beamformer. The displayed figures are generated using the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Examples/Learn-by-Simulations/AC-Coherence/AC-Osc20.foc''''&amp;lt;/span&amp;gt; (see BESA Tutorial 6: &amp;quot;''Tutorial on source coherence''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Starting the beamformer from the time-frequency window'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The BESA beamformer is applied in the time-frequency domain and therefore requires the Source Coherence module to be enabled. The time-frequency beamformer is especially useful to image in- or decrease of induced oscillatory activity. Induced activity cannot be observed in the averaged data, but shows up as enhanced averaged power in the TSE (Temporal-Spectral Evolution) plot. For instructions on how to initiate a beamformer computation in the time-frequency window, please refer to Chapter &amp;quot;''How''&lt;br /&gt;
&lt;br /&gt;
''to Create Beamformer Images&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
After the beamformer computation has been initiated in the time-frequency window, the source analysis window opens with an enlarged 3D image of the q-value computed with a '''bilateral beamformer'''. The result is superimposed onto the MR image assigned to the data set (individual or standard).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (5).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Beamformer image after starting the computation in the Time-Frequency window. A bilateral pair of sources in the auditory cortex accounts for the highly correlated oscillatory induced activity. Only the bilateral beamformer manages to separate these activities; a traditional single-source beamformer would merge the two sources into one image maximum in the head center instead.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiple source beamformer in the Source Analysis window'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 3D imaging display is part of the source analysis window. If you press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Restore'''&amp;lt;/span&amp;gt; button at the right end of the title bar of the 3D window, the window appears at the bottom right of the source analysis window. In the channel box, the averaged (evoked) data of the selected condition is shown. When a control condition was selected, its average is appended to the average of the target condition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (6).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Source Analysis window with beamformer image. The two sources have been added using the ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch to'''&amp;lt;/span&amp;gt;'' ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Maximum'''&amp;lt;/span&amp;gt;'' and ''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Source '''&amp;lt;/span&amp;gt;''toolbar buttons (see below). Source waveforms are computed from the displayed averaged data. Therefore, they do not represent the activity displayed in the beamformer image, which in this simulation example is induced (i.e. not phase-locked to the trigger)!''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When starting the beamformer from the time-frequency window, a bilateral beamformer scan is performed. In the source analysis window, the beamformer computation can be repeated taking into account possibly correlated sources that are specified in the current solution. Interfering activities generated by all sources in the current solution that are in the 'On' state are specifically suppressed (they enter the matrix L in the beamformer calculation, see Chapter ''Short mathematical description'' above). The computation can be started from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image selector button&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;dropdown'''&amp;lt;/span&amp;gt; menu. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu can be evoked either from the menu bar or by right-clicking anywhere in the source analysis window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (7).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Multiple source beamformer image calculated in the presence of a source in the left hemisphere. A single source scan has been performed. The source set in the current solution accounts for the left-hemispheric q-maximum in the data. Accordingly, the beamformer scan reveals only the as yet unmodeled additional activity in the right hemisphere (note the radiological convention in the 3D image display).''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The beamformer scan can be performed with a single or a bilateral source scan. The default scan type depends on the current solution:&lt;br /&gt;
* When the beamformer is started from the Time-Frequency window, the Source Analysis window opens with a new solution and a bilateral beamformer scan is performed.&lt;br /&gt;
* When the beamformer is started within the Source Analysis window, the default is&lt;br /&gt;
 &lt;br /&gt;
* a scan with a single source in addition to the sources in the current solution, if at least one source is active.&lt;br /&gt;
* a bilateral scan if no source in the current solution is active.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default scan type is the multiple source beamformer. The non-default scan type can be enforced using the corresponding ''Volume Image / Beamformer'' entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Inserting Sources out of the Beamformer Image'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The beamformer image can be used to add sources to the current solution. A simple double-click anywhere in the 2D- or 3D view will generate a non-oriented regional source at the corresponding location. However, a better and easier way to create sources at image maxima and minima is to use the toolbar buttons &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch to Maximum'''&amp;lt;/span&amp;gt; [[Image:SA 3Dimaging (8).gif]] and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Source'''&amp;lt;/span&amp;gt; [[Image:SA 3Dimaging (9).gif]].&lt;br /&gt;
&lt;br /&gt;
Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch to Maximum'''&amp;lt;/span&amp;gt; button to place the red crosshair of the 3D window onto a local image maximum or minimum. Hitting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Source'''&amp;lt;/span&amp;gt; button creates a regional source at the location of the crosshair and therefore ensures the exact placement of the source at the image extremum. Moreover, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Source'''&amp;lt;/span&amp;gt; button generates an oriented regional source. BESA Research automatically estimates the source orientation that contributes most to the power in the target time-frequency interval (or the reference time-frequency interval, if its power is larger than that in the target interval). The accuracy of this orientation estimate depends largely on the noise content of the data. The smaller the signal-to-noise ratio of the data, the lower is the accuracy of the orientation estimate. This feature allows to use the beamformer as a tool to create a source montage for source coherence analysis, where it is of advantage to work with oriented sources.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&lt;br /&gt;
* You can hide or re-display the last computed image by selecting the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image '''&amp;lt;/span&amp;gt;menu.&lt;br /&gt;
* The current image can be exported to ASCII or BrainVoyager vmp-format from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu.&lt;br /&gt;
* For scaling options, use the [[Image:SA 3Dimaging (10).gif]] and [[Image:SA 3Dimaging (11).gif]] &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Scale toolbar'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
* Parameters used for the beamformer calculations can be set in the '''General Settings tab''' of the ''Image Settings dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dynamic Imaging of Coherent Sources (DICS) ===&lt;br /&gt;
&lt;br /&gt;
'''Short mathematical introduction'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dynamic Imaging of Coherent Sources (DICS) is a sophisticated method for imaging cortico-cortical coherence in the brain, or coherence between an external reference (e.g. EMG channel) and cortical structures. DICS can be applied to localize evoked as well as induced coherent cortical activity in a user-defined time-frequency range.&lt;br /&gt;
&lt;br /&gt;
DICS was implemented in BESA closely following Gross et al., &amp;quot;Dynamic imaging of coherent sources: Studying neural interactions in the human brain&amp;quot;, PNAS 98, 696-699, 2001.&lt;br /&gt;
&lt;br /&gt;
The computation is based on a transformation of each channel's single trial data from the time domain into the frequency domain. This transformation is performed by the BESA Research Coherence module and results in the complex spectral density matrix that is used for constructing the spatial filter similar to beamforming.&lt;br /&gt;
&lt;br /&gt;
DICS computation yields a 3-D image, each voxel being assigned a coherence value. Coherence values can be described as a neural activity index and do not have a unit. The neural activity index contrasts coherence in a target time-frequency bin with coherence of the same time-frequency bin in a baseline.&lt;br /&gt;
&lt;br /&gt;
'''DICS for cortico-cortical coherence is computed as follows:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let L(r) be the leadfield in voxel r in the brain and C the complex cross-spectral density matrix. The spatial filter W(r) for the voxel r in the head is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (12).gif]]&lt;br /&gt;
&lt;br /&gt;
The cross-spectrum between two locations (voxels) r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and r&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; in the head are calculated with the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (13).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;sup&amp;gt;&amp;lt;nowiki&amp;gt;*T&amp;lt;/nowiki&amp;gt;&amp;lt;/sup&amp;gt; means the transposed complex conjugate of a matrix. The cross-spectral density can then be calculated from the cross spectrum as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (14).gif]]&lt;br /&gt;
&lt;br /&gt;
where λ&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;{} indicates the largest singular value of the cross spectrum. Once the cross spectral density is estimated, the connectivity¹(CON) between the two brain regions r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and r&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; are calculated as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (15).gif]]&lt;br /&gt;
&lt;br /&gt;
where c&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;sig&amp;lt;/sup&amp;gt; is the cross-spectral density for the signal of interest between the two brain regions r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and r&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;, and c&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;bl&amp;lt;/sup&amp;gt; is the corresponding cross spectral density for the baseline or the control condition, respectively. In the case DICS is computed with a cortical reference, r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; is the reference region (voxel) and remains constant while r&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; scans all the grid points within the brain sequentially. In that way, the connectivity between the reference brain region and all other brain regions is estimated. The value of CON(r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, r&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;) falls in the interval [-1 1]. If the cross-spectral density for the baseline is 0 the connectivity value will be 1. If the cross-spectral density for the signal is 0 the connectivity value will be -1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DICS for cortico-muscular coherence is computed as follows:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When using an external reference, the equation for coherence calculation is slightly different compared to the equation for cortico-cortical coherence. First of all, the cross-spectral density matrix is not only computed for the MEG/EEG channels, but the external reference channel is added. This resulting matrix is C&amp;lt;sub&amp;gt;all&amp;lt;/sub&amp;gt;. In this case, the cross-spectral density between the reference signal and all other MEG/EEG&lt;br /&gt;
&lt;br /&gt;
channels is called c&amp;lt;sub&amp;gt;ref&amp;lt;/sub&amp;gt;. It is only one column of C&amp;lt;sub&amp;gt;all&amp;lt;/sub&amp;gt;. Hence, the cross-spectrum in voxel r is calculated with the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (16).gif]]&lt;br /&gt;
&lt;br /&gt;
and the corresponding cross-spectral density is calculated as the sum of squares of C&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (17).gif]]&lt;br /&gt;
&lt;br /&gt;
where n is 2 for MEG and 3 for EEG. This equation can also be described as the squared Euclidean norm of the cross-spectrum:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (18).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power in voxel r is calculated as in the cortico-cortical case:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (19).gif]]&lt;br /&gt;
&lt;br /&gt;
At last, coherence between the external reference and cortical activity is calculated with the equation:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (20).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where C&amp;lt;sub&amp;gt;all&amp;lt;/sub&amp;gt;(k, k) is the (k,k)-th diagonal element of the matrix C&amp;lt;sub&amp;gt;all&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DICS is particularly useful, if coherence is to be calculated without an a-priory source model (in contrast to source coherence based on pre-defined source montages). However, the recommended analysis strategy for DICS is to use a brain source as a starting point for coherence calculation that is known to contribute to the EEG/MEG signal of interest. For example, one might first run a beamformer on the time-frequency range of interest and use the voxel with the strongest oscillatory activity as a starting point for DICS. The resulting coherence image will again lead to several maxima (ordered by magnitude), which in turn can serve as starting points for DICS calculation. This way, it is possible to detect even weak sources that show coherent activity in the given time-frequency range.&lt;br /&gt;
&lt;br /&gt;
The other significant application for DICS is estimating coherence between an external source and voxels in the brain. For example, an external source can be muscle activity recoded by an electrode placed over the according peripheral region. This way, the direct relationship between muscle activity and brain activation can be measured.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Starting DICS computation from the Time-Frequency Window'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DICS is particularly useful, if coherence in a user-defined time-frequency bin (evoked or induced) is to be calculated between any two brain regions or between an external reference and the brain. DICS runs only on time-frequency decomposed data, so time-frequency analysis needs to be run before starting DICS computation.&lt;br /&gt;
&lt;br /&gt;
To start the DICS computation, left-drag a window over a selected time-frequency bin in the Time-Frequency Window. Right-click and select “Image”. A dialogue will open (see fig. 1) prompting you to specify time and frequency settings as well as the baseline period. It is recommended to use a baseline period of equal length as the data period of interest. Make sure to select “DICS” in the top row and press&lt;br /&gt;
&lt;br /&gt;
“&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Go”.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (21).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Fig. 1: Time and frequency settings for DICS and MSBF''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, a window will appear allowing you to specify the reference source for coherence calculation (see fig. 2). It is possible to select a channel (e.g. EMG) or a brain source. If a brain source is chosen and no source analysis was computed beforehand, the option “Use current cross-hair position” must be chosen. In case discrete source analysis was computed previously, the selected source can be chosen as the reference for DICS. Please note that DICS can be re-computed with any cross-hair or source position at a later stage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (1).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Fig. 2: Possible options for choosing the reference''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Confirming with “&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;” will start computation of coherence between the selected channel/voxel and all other brain voxels. In case DICS is computed for a reference source in the brain, it can be advantageous to run a beamforming analysis in the selected time-frequency window first and use one of the beamforming maxima as reference for DICS. Fig. 3 shows an example for DICS calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (22).gif]]&lt;br /&gt;
&lt;br /&gt;
''Fig. 3: Coherence between left-hemispheric auditory areas and the selected voxel in the right auditory cortex.''&lt;br /&gt;
&lt;br /&gt;
Coherence values range between -1 and 1. If coherence in the signal is much larger than coherence in the baseline (control condition) then the DICS value is going to approach 1. Contrary, if coherence in the baseline is much larger than coherence in the signal, then the DICS value is going to approach -1. At last, if coherence in the signal is equal to coherence in the baseline, then the DICS value is 0.&lt;br /&gt;
&lt;br /&gt;
In case DICS is to be re-computed with a different reference, simply mark the desired reference position by placing the cross-hair in the anatomical view and select “DICS” in the middle panel of the source analysis window (see Fig. 4). In case an external reference is to be selected, click on “DICS” in the middle panel to bring up the DICS dialogue (see. Fig. 2) and select the desired channel. Please note that DICS computation will only be available after running time-frequency analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Fig. 4: Integration of DICS in the Source Analysis window''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;--------------------------------------------------------------------------------&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
¹Here, the term connectivity is used rather than coherence, as strictly speaking the coherence equation is defined slightly differently. For simplicity reasons the rest of the tutorial uses the term coherence.&lt;br /&gt;
&lt;br /&gt;
=== CLARA ===&lt;br /&gt;
&lt;br /&gt;
CLARA ('Classical LORETA Analysis Recursively Applied') is an iterative application of weighted LORETA images with a reduced source space in each iteration.&lt;br /&gt;
&lt;br /&gt;
In an initialization step, a LORETA image is calculated. Then in each iteration the following steps are performed:&lt;br /&gt;
&lt;br /&gt;
# The obtained image is spatially smoothed (this step is left out in the first iteration).&lt;br /&gt;
# All grid points with amplitudes below a threshold of 1% of the maximum activity are set to zero, thus being effectively eliminated from the source space in the following step.&lt;br /&gt;
# The resulting image defines a spatial weighting term (for each voxel the corresponding image amplitude).&lt;br /&gt;
# A LORETA image is computed with an additional spatial weighting term for each voxel as computed in step 3. &amp;amp;nbsp;By the default settings in BESA Research, the regularization values used in the iteration steps are slightly higher than that of the initialization LORETA image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The procedure stops after 2 iterations, and the image computed in the last iteration is displayed. Please note that you can change all parameters by creating a user-defined volume image.&lt;br /&gt;
&lt;br /&gt;
The advantage of CLARA over non-focusing distributed imaging methods is visualized by the figure below. Both images are computed from the N100 response in an auditory oddball experiment (file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Oddball.fsg'''&amp;lt;/span&amp;gt; in subfolder ''fMRI+EEG-RT-Experiment'' of the ''Examples'' folder). The CLARA image (right) is much more focal than the sLORETA image, making it easier to determine the location of the image maxima.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'' sLORETA image''&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (24).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''CLARA image''&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&lt;br /&gt;
* Starting CLARA: CLARA can be started from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to ''Chapter Regularization of distributed volume images'' for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LAURA ===&lt;br /&gt;
&lt;br /&gt;
LAURA (&amp;quot;Local Auto Regressive Average&amp;quot;) belongs to the distributed inverse method of the family of weighted minimum norm methods (R. Grave de Peralta Menendez 2001, BrainTopography 14(2), 131-137). LAURA uses a spatial weighting function that includes depth weighting and that term has the form of a local autoregressive function.&lt;br /&gt;
&lt;br /&gt;
The source activity is estimated by applying the general formula for a weighted minimum norm:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (26).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, L is the leadfield matrix of the distributed source model with regional sources distributed on a regular cubic grid. D(t) is the data at time point t. The term in parentheses is generally regularized. Regularization parameters can be specified in the ''Image Settings.''&lt;br /&gt;
&lt;br /&gt;
In LAURA, V contains both a depth weighting term W and a representation of a local autoregressive function A. V is computed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, &amp;quot;x&amp;quot; denotes the Kronecker product. I&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; is the [3x3] identity matrix. W is an [sxs] diagonal matrix (with s the number of source locations on the grid), where each diagonal element is the inverse of the maximum singular value of the corresponding regional source's leadfields. The formula for the diagonal components A&amp;lt;sub&amp;gt;ii&amp;lt;/sub&amp;gt; and the off-diagonal components A&amp;lt;sub&amp;gt;ik&amp;lt;/sub&amp;gt; are as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (29).gif]]&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (30).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, V&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; is the vicinity around grid point i that includes the 26 direct neighbors.&lt;br /&gt;
&lt;br /&gt;
The LAURA image in BESA Research displays the norm of the 3 components of S at each location r. Using the menu function ''Image / Export Image As... ''you have the option to save this norm of S or alternatively all components separately to disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&lt;br /&gt;
* '''Grid spacing:''' Due to memory limitations, LAURA images require a grid spacing of 7 mm or more.&lt;br /&gt;
* '''Computation time:''' Computation speed during the first LAURA image calculation depends on the grid spacing (computation is faster with larger grid spacing). After the first computation of a LAURA image, a &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.laura&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; file is stored in the data folder, containing intermediate results of the LAURA inverse. This file is used during all subsequent LAURA image computations. Thereby, the time needed to obtain the image is substantially reduced.&lt;br /&gt;
* '''MEG:''' In the case of MEG data, an additional constraint is implemented in the LAURA algorithm that prevents solutions from containing radial source currents (compare Pascual-Marqui, ISBET Newsletter 1995, 22-29). In MEG, an additional source space regularization is necessary in the inverse matrix operation required compute V&lt;br /&gt;
* '''Starting LAURA:''' LAURA can be started from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* '''Regularization:''' Please refer to Chapter'' “Regularization of distributed volume images” ''for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LORETA ===&lt;br /&gt;
&lt;br /&gt;
LORETA (&amp;quot;Low Resolution Electromagnetic Tomography&amp;quot;) is a distributed inverse method of the family of ''weighted minimum norm'' methods. LORETA was suggested by R.D. Pascual-Marqui (International Journal of Psychophysiology. 1994, 18:49-65). LORETA is characterized by a smoothness constraint, represented by a discrete 3D Laplacian.&lt;br /&gt;
&lt;br /&gt;
The source activity is estimated by applying the general formula for a weighted minimum norm:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (26).gif]]&lt;br /&gt;
&lt;br /&gt;
Here, L is the leadfield matrix of the distributed source model with regional sources distributed on a regular cubic grid. D(t) is the data at time point t. The term in parentheses is generally regularized. Regularization parameters can be specified in the ''Image Settings.''&lt;br /&gt;
&lt;br /&gt;
In LORETA, V contains both a depth weighting term and a representation of the 3D Laplacian matrix. V is computed as:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (27).gif]]&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (28).gif]]&lt;br /&gt;
&lt;br /&gt;
Here, &amp;quot;x&amp;quot; denotes the Kronecker product. I&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; is the [3x3] identity matrix. W is an [sxs] diagonal matrix (with s the number of source locations on the grid), where each diagonal element is the inverse of the maximum singular value of the corresponding regional source's leadfields. A contains the 3D Laplacian and is computed as&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (31).gif]]&lt;br /&gt;
&lt;br /&gt;
with I&amp;lt;sub&amp;gt;s&amp;lt;/sub&amp;gt; the [sxs] identity matrix, where s is the number of sources (= three times the number of grid points) and&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (32).gif]]&lt;br /&gt;
&lt;br /&gt;
Where&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (33).gif]]&lt;br /&gt;
&lt;br /&gt;
The LORETA image in BESA Research displays the norm of the 3 components of S at each location r. Using the menu function ''Image / Export Image As... ''you have the option to save this norm of S or alternatively all components separately to disk.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* '''Grid spacing:''' Due to memory limitations, LORETA images require a grid spacing of 5 mm or more.&lt;br /&gt;
* '''Computation time:''' Computation speed during the first LORETA image calculation depends on the grid spacing (computation is faster with larger grid spacing). After the first computation of a LORETA image, a &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.loreta&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; file is stored in the data folder, containing intermediate results of the LORETA inverse. This file is used during all subsequent LORETA image computations. Thereby, the time needed to obtain the image is substantially reduced. &lt;br /&gt;
* '''MEG''': In the case of MEG data, an additional constraint is implemented in the LORETA algorithm that prevents solutions from containing radial source currents (Pascual-Marqui, ISBET Newsletter 1995, 22-29). In MEG, an additional source space regularization is necessary in the inverse matrix operation required compute V.&lt;br /&gt;
* '''Starting LORETA:''' LORETA can be started from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection '''&amp;lt;/span&amp;gt;button.&lt;br /&gt;
* '''Regularization:''' Please refer to Chapter “''Regularization of distributed volume images”'' for important information on regularization of distributed source models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== sLORETA ===&lt;br /&gt;
&lt;br /&gt;
This distributed inverse method consists of a ''standardized, unweighted minimum norm''. The method was originally suggested by R.D. Pascual-Marqui (Methods &amp;amp; Findings in Experimental &amp;amp; Clinical Pharmacology 2002, 24D:5-12) Starting point is an unweighted minimum norm computation:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (34).gif]]&lt;br /&gt;
&lt;br /&gt;
Here, L is the leadfield matrix of the distributed source model with regional sources distributed on a regular cubic grid. D(t) is the data at time point t. The term in parentheses is generally regularized. Regularization parameters can be specified in the ''Image Settings''.&lt;br /&gt;
&lt;br /&gt;
This minimum norm estimate is now standardized to produce the sLORETA activity at a certain brain location r:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (35).gif]]&lt;br /&gt;
&lt;br /&gt;
S&amp;lt;sub&amp;gt;sMN,r &amp;lt;/sub&amp;gt;is the [3x1] (MEG: [2x1]) minimum norm estimate of the 3 (MEG: 2) dipoles at location r. R&amp;lt;sub&amp;gt;rr&amp;lt;/sub&amp;gt; is the [3x3] (MEG: [2x2]) diagonal block of the resolution matrix R that corresponds to the source components at the target location r. The resolution matrix is defined as:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (36).gif]]&lt;br /&gt;
&lt;br /&gt;
The sLORETA image in BESA Research displays the norm of S&amp;lt;sub&amp;gt;sLORETA&amp;lt;/sub&amp;gt;, r at each location r. Using the menu function ''Image / Export Image As...'' you have the option to save this norm of S&amp;lt;sub&amp;gt;sLORETA&amp;lt;/sub&amp;gt;, r or alternatively all components separately to disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&lt;br /&gt;
* sLORETA can be started from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to Chapter “''Regularization of distributed volume images”'' for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== swLORETA ===&lt;br /&gt;
&lt;br /&gt;
This distributed inverse method is a ''standardized, depth-weighted minimum norm'' (E. Palmero-Soler et al 2007 Phys. Med. Biol. 52 1783-1800). It differs from sLORETA only by an additional depth weighting.&lt;br /&gt;
&lt;br /&gt;
Starting point is a depth-weighted minimum norm computation:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (37).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, L is the leadfield matrix of the distributed source model with regional sources distributed on a regular cubic grid. D(t) is the data at time point t. The term in parentheses is generally regularized. Regularization parameters can be specified in the ''Image Settings''.&lt;br /&gt;
&lt;br /&gt;
V is the diagonal depth weighting matrix. For s grid locations, V is of dimension [3s x 3s] (MEG: [2s x 2s]). Each diagonal element of V is the inverse of the first singular value of the leadfield of the corresponding regional source. Hence, the first 3 (MEG: 2) diagonal elements equal the inverse of the largest eigenvalue of the leadfield matrix of regional source 1, and so on.&lt;br /&gt;
&lt;br /&gt;
This minimum norm estimate is now standardized to produce the swLORETA activity at a certain brain location r:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (38).gif]]&lt;br /&gt;
&lt;br /&gt;
S&amp;lt;sub&amp;gt;sMN,r&amp;lt;/sub&amp;gt; is the [3x1] (MEG: [2x1]) depth-weighted minimum norm estimate of the regional source at location r. R&amp;lt;sub&amp;gt;rr&amp;lt;/sub&amp;gt; is the [3x3] (MEG: [2x2]) diagonal block of the resolution matrix R that corresponds to the source components at the target location r. The resolution matrix is defined as:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (39).gif]]&lt;br /&gt;
&lt;br /&gt;
The swLORETA image in BESA Research displays the norm of S&amp;lt;sub&amp;gt;swLORETA&amp;lt;/sub&amp;gt;, r at each location r. Using the menu function ''Image / Export Image As...'' you have the option to save this norm of S&amp;lt;sub&amp;gt;swLORETA&amp;lt;/sub&amp;gt;, r or alternatively all components separately to disk.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&lt;br /&gt;
* sLORETA can be started from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to Chapter “''Regularization of distributed volume images”'' for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== sSLOFO ===&lt;br /&gt;
&lt;br /&gt;
SSLOFO ('standardized shrinking LORETA-FOCUSS') is an iterative application of weighted distributed source images with a reduced source space in each iteration (H. Liu et al. 2005, IEEE Transactions on Biomedical Engineering 52(10), 1681-1691).&lt;br /&gt;
&lt;br /&gt;
In an initialization step, an sLORETA image is calculated. Then in each iteration the following steps are performed:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# A weighted minimum norm solution is computed according to the formula  [[Image:SA 3Dimaging (40).gif]]. Here, L is the leadfield matrix of the distributed source model with regional sources distributed on a regular cubic grid. D is the data at the time point under consideration. V is a diagonal spatial weighting matrix that is computed in the previous iteration step. In the first iteration, the elements of V contain the magnitudes of the initially computed LORETA image. &amp;amp;nbsp;&lt;br /&gt;
# Standardization of this weighted minimum norm image is performed with the resolution matrix as in sLORETA.&lt;br /&gt;
# The obtained standardized weighted minimum norm image is being smoothed to get S&amp;lt;sub&amp;gt;smooth&amp;lt;/sub&amp;gt;.&lt;br /&gt;
# All voxels with amplitudes below a threshold of 1% of the maximum activity get a weight of zero in the next iteration step, thus being effectively eliminated from the source space in the next iteration step.&lt;br /&gt;
# For all other voxels, compute the elements of the spatial weighting matrix V to be used in the next iteration as follows: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (41).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The procedure stops after 3 iterations. Please note that you can change all parameters by creating a user-defined volume image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* '''Starting sSLOFO''': sSLOFO can be started from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to Chapter “''Regularization of distributed volume images”'' for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== User-Defined Volume Image ===&lt;br /&gt;
&lt;br /&gt;
In addition to the predefined 3D imaging methods in BESA Research, it is possible to create user-defined imaging methods based on the general formula for distributed inverses:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (26).gif ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, L is the leadfield matrix of the distributed source model with regional sources distributed on a regular cubic grid. D(t) is the data at time point t. Custom-defined parameters are:* The spatial weighting matrix V: This may include depth weighting, image weighting, or cross-voxel weighting with a 3D Laplacian (as in LORETA) or an autoregressive function (as in LAURA).&lt;br /&gt;
* Regularization: The term in parentheses is generally regularized. Note that regularization has a strong effect on the obtained results. Please refer to chapter “''Regularization of Distributed Volume Images” ''for more information.&lt;br /&gt;
* Standardization: Optionally, the result of the distributed inverse can be standardized with the resolution matrix (as in sLORETA).&lt;br /&gt;
* Iterations: Inverse computations can be applied iteratively. Each iteration is weighted with the image obtained in the previous iteration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All parameters for the user-defined volume image are specified in the User-Defined Volume Tab of the Image Settings dialog box. Please refer to chapter “''User-Defined Volume Tab”'' for details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* Starting the user-defined volume image: the image calculation can be started from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to Chapter “''Regularization of distributed volume images”'' for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Regularization of distributed volume images ===&lt;br /&gt;
&lt;br /&gt;
Distributed source images require the inversion of a term of the form L V L&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;. This term is generally regularized before its inversion. In BESA Research, selection can be made between two different regularization approaches (parameters are defined in the ''Image Settings dialog box''):&lt;br /&gt;
&lt;br /&gt;
* '''Tikhonov regularization''': In Tikhonov regularization, the term L V L&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt; is inverted as (L V L&amp;lt;sup&amp;gt;T &amp;lt;/sup&amp;gt;+λ I)&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt;. Here, l is the regularization constant, and I is the identity matrix.&lt;br /&gt;
* One way of determining the optimum regularization constant is by minimizing the ''generalized cross'' ''validation error'' (CVE).&lt;br /&gt;
* Alternatively, the regularization constant can be specified manually as a percentage of the trace of the matrix L V L&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;.&lt;br /&gt;
* '''TSVD''': In the truncated singular value decomposition (TSVD) approach, an SVD decomposition of L V L&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt; is computed as &amp;amp;nbsp;L V L&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt; = U S U&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;, where the diagonal matrix S contains the singular values. All singular values smaller than the specified percentage of the maximum singular values are set to zero. The inverse is computed as U S&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; U&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;, where the diagonal elements of S&amp;lt;sup&amp;gt;-1 &amp;lt;/sup&amp;gt;are the inverse of the corresponding non-zero diagonal elements of S.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regularization has a critical effect on the obtained distributed source images. The results may differ completely with different choices of the regularization parameter (see examples below). Therefore, it is important to evaluate the generated image critically with respect to the regularization constant, and to keep in mind the uncertainties resulting from this fact when interpreting the results. The default setting in BESA Research is a TSVD regularization with a 0.03% threshold. However, this value might need to be adjusted to the specific data set at hand.&lt;br /&gt;
&lt;br /&gt;
The following example illustrates the influence of the regularization parameter on the obtained images. The data used here is condition &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''St-Cor of dataset Examples \ TFC-Error-Related-Negativity'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''\&amp;amp;nbsp;Correct+Error.fsg'''&amp;lt;/span&amp;gt; at 176ms following the visual stimulus. Discrete dipole analysis reveals the main activity in the left and right lateral visual cortex at this latency.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (42).gif ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Discrete source model at 176ms: Main activity in the left and right lateral visual cortex, no visual midline activity.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LORETA images computed at this latency depend critically on the choice of the regularization constant. The following 3D images are created with TSVD regularization with SVD cutoffs of 0.1%, 0.005%, and 0.0001%, respectively. The volume grid size was 9mm. The example demonstrates the dramatic effect of regularization and demonstrates the typical tradeoff between too strong regularization (leading to too smeared 3D images that tend to show blurred maxima) and too small regularization (resulting in too superficial 3D images with multiple maxima).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (43).gif ‎ ]] ''SVD cutoff 0.1%: Regularization too strong. No separation between sources, mislocalization towards the middle of the brain.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (44).gif ‎ ]] ''SVD cutoff 0.005%: Appropriate regularization. Separation of the bilateral activities. Location in agreement with the discrete multiple source model.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (45).gif ‎ ]]. ''SVD cutoff 0.0001%: Too small regularization. Mislocalization, too superficial 3D image''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The automatic determination of the regularization constant using the CVE approach does not necessarily result in the optimum regularization parameter either. In this example, the unscaled CVE approach rather resembles the TSVD image with a cutoff of 0.0001%, i.e. regularization is too small. Therefore, it is advisable to compare different settings of the regularization parameter and make the final choice based on the above-mentioned considerations.&lt;br /&gt;
&lt;br /&gt;
=== Cortical LORETA ===&lt;br /&gt;
&lt;br /&gt;
Cortical LORETA is principally the same technique as LORETA, however, Cortical LORETA is not computed in a 3D volume, but on the cortical surface.&lt;br /&gt;
&lt;br /&gt;
The cortical reconstruction in BESA Research fed from BESA MRI is a closed 2D surface with no boundaries and a very close approximation of the actual cortical form. It consists of an irregular triangulated grid.&lt;br /&gt;
&lt;br /&gt;
The Laplace operator that is used for identifying a smooth solution in a three-dimensional space is exchanged with a Laplace operator that runs on the two-dimensional cortical surface.&lt;br /&gt;
&lt;br /&gt;
There is a wide variety of 2D Laplace operators with different characteristics. &lt;br /&gt;
&lt;br /&gt;
The general form of the discrete Laplace operator is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (2).jpg ‎ ]]&lt;br /&gt;
&lt;br /&gt;
where '''p&amp;lt;sub&amp;gt;i'''&amp;lt;/sub&amp;gt; is the '''i-th''' node of the triangular mesh, '''f(p&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;) '''is the value of a function f defined on the cortical mesh at the node '''p&amp;lt;sub&amp;gt;i'''&amp;lt;/sub&amp;gt;, '''w&amp;lt;sub&amp;gt;ij'''&amp;lt;/sub&amp;gt; is the weight for the connection between the nodes '''p&amp;lt;sub&amp;gt;i''' &amp;lt;/sub&amp;gt;and '''p&amp;lt;sub&amp;gt;j'''&amp;lt;/sub&amp;gt; and '''d&amp;lt;sub&amp;gt;i''' &amp;lt;/sub&amp;gt;is a normalization factor for the '''i-th''' row of the operator. Furthermore, '''N(i)''' is the set of indices corresponding to the direct (also called &amp;quot;1-ring&amp;quot;) neighbors of&amp;amp;nbsp;'''p&amp;lt;sub&amp;gt;i'''&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
BESA offers the choice of three Laplace operators with slightly different characteristics.&lt;br /&gt;
&lt;br /&gt;
* '''Unweighted Graph Laplacian''': This is the simplest operator. It takes into account only the adjacency of the nodes and not the geometry of the mesh:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (3).jpg ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (4).jpg ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Weighted Graph Laplacian:''' This operator is similar to the unweighted graph Laplacian but with different weights for the different connections. The connections between nearby nodes get larger weights than the connections between farther nodes: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (5).jpg ‎]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;Where '''dist''' ('''p&amp;lt;sub&amp;gt;i'''&amp;lt;/sub&amp;gt; , '''p&amp;lt;sub&amp;gt;j'''&amp;lt;/sub&amp;gt;) is the distance between the nodes '''p&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; '''and '''p&amp;lt;sub&amp;gt;j'''&amp;lt;/sub&amp;gt;.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (6).jpg ‎]]&lt;br /&gt;
&lt;br /&gt;
* '''Geometric Laplacian with mixed area weights''': This operator takes into account the angles in the corresponding triangles into account as well as the area around the nodes in order to determine the connection weights:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (7).jpg ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;where '''α&amp;lt;sub&amp;gt;ij''' &amp;lt;/sub&amp;gt;and '''β&amp;lt;sub&amp;gt;ij'''&amp;lt;/sub&amp;gt; denote the two angles opposite to the edge ('''i , j''') and '''A&amp;lt;sub&amp;gt;mixed&amp;lt;/sub&amp;gt; '''is either the Voronoi area, or 1/2 of the triangle area or 1/4 of the triangle area depending on the type of the triangle.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (8).jpg ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Regularization and other parameters.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (46).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SVD cutoff:''' The regularization for the inverse operator as a percent of the largest singular value.&lt;br /&gt;
&lt;br /&gt;
'''Depth weighting:''' Turn depth weighting on or off. &lt;br /&gt;
&lt;br /&gt;
'''Laplacian type:''' Selection of Laplacian operators (see above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* '''Starting Cortical LORETA''': Cortical LORETA can be started from the sub-menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Surface &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Image'''&amp;lt;/span&amp;gt; of the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to Chapter “''Regularization of distributed volume images” ''for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cortical CLARA ===&lt;br /&gt;
&lt;br /&gt;
Cortical CLARA is principally the same technique as CLARA, but Cortical CLARA is not computed in a 3D volume, but on the cortical surface. Instead of using a LORETA image as the basis for the iterative application, cortical CLARA uses cortical LORETA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Regularization and other parameters.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (47).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''SVD cutoff:''' The regularization for the inverse operator as a percent of the largest singular value.&lt;br /&gt;
&lt;br /&gt;
'''Depth weighting:''' Turn depth weighting on or off.&lt;br /&gt;
&lt;br /&gt;
'''Laplacian type:''' Selection of Laplacian operators (see Cortical LORETA).&lt;br /&gt;
&lt;br /&gt;
'''No of iterations''': Number of iterations for CLARA. The more iterations are used, the sparser becomes the solution.&lt;br /&gt;
&lt;br /&gt;
'''Automatic''': The algorithm tries to determine the number of iterations automatically. The goodness of fit (GOF) is calculated after every iteration and if there is a big jump in the GOF then the algorithm will stop. If no jumps appear during the calculations then CLARA iterates until the specified number of iterations is reached.&lt;br /&gt;
&lt;br /&gt;
'''Regularize iterations:''' If one wants to use different regularization for the CLARA iterations than the value specified as &amp;quot;SVD cutoff&amp;quot;, this option should be selected.&lt;br /&gt;
&lt;br /&gt;
'''Amount to clip from img (%):''' Cortical CLARA uses the solution from the previous iteration as an additional weighting matrix for the current iteration. That weighting matrix is constructed by cutting the &amp;quot;low&amp;quot; activity from the solution. This number specifies how much of the activity should be cut from the previous solution in order to construct the weighting matrix. This value is given as a percentage of the maximal activity. Default value is 10%.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* '''Starting Cortical CLARA:''' Cortical CLARA can be started from the sub-menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Surface Image'''&amp;lt;/span&amp;gt; of the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image Selection'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
* Please refer to Chapter “''Regularization of distributed volume images”'' for important information on regularization of distributed inverses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cortex Inflation ===&lt;br /&gt;
&lt;br /&gt;
The inflated cortex (fig. 1) is a smoothened version of the individual cortical surface with minimal metric distortions (Fischl, B. et al. (1999). Cortical Surface-Based Analysis: II: Inflation, Flattening, and a Surface-Based Coordinate System. ''NeuroImage, ''9(2), 195–207). &lt;br /&gt;
&lt;br /&gt;
Gyri and sulci are smoothened out. The original distances between each point on the cortex and its neighbors are, however, mostly preserved.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (48).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Figure 1 Cortical LORETA map overlaid on top of the inflated cortical surface.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A lighter gray color overlaid on top of the surface image indicates the location of a gyrus of the individual cortex surface, while a darker gray color indicates the location of a sulcus. The inflated cortical surface can be computed in BESA MRI 2.0. For more details please refer to the BESA MRI 2.0 help.&lt;br /&gt;
&lt;br /&gt;
=== Surface Minimum Norm Image ===&lt;br /&gt;
&lt;br /&gt;
'''Introduction'''&lt;br /&gt;
&lt;br /&gt;
The minimum norm approach is a common method to estimate a distributed electrical current image in the brain at each time sample (Hämäläinen &amp;amp; Ilmoniemi 1984). The source activities of a large number of regional sources are computed. The sources are evenly distributed using 1500 standard locations 10% and 30% below the smoothed standard brain surface (when using the standard MRI) or using between 3000-4000 locations on the individual brain surface defined by the gray-white-matter boundary.&lt;br /&gt;
&lt;br /&gt;
Since the number of sources is much larger than the number of sensors in a minimum norm solution, the inverse problem is highly underdetermined and must be stabilized by a mathematical constraint, the minimum norm. Out of the many current distributions that can account for the recorded sensor data, the solution with the minimum L2 norm, i.e. the minimum total power of the current distribution is displayed in BESA Research.&lt;br /&gt;
&lt;br /&gt;
First, the forward solution (leadfield matrix L) of all sources is calculated in the current head model. Then, the source activities S(t) of all source components are computed from the data matrix D(t) using an inverse regularized by the estimated noise covariance matrix:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (49).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here, L is the leadfield matrix of the distributed regional source model, C&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt; denotes the noise correlation matrix in sensor space, and R is a weighting matrix in source space. R and C&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt; can be designed in different ways in order to optimize the minimum norm result. The total activity of each regional source is computed as the root mean square of the source activities S(t) of its 3 (MEG:2) components. This total source activity is transformed to a color-coded image of the brain surface. (When the standard brain is used, two sources are assigned to each surface location, located 10% and 30% below the surface, respectively. The color that is displayed on the standard brain surface is the larger of the two corresponding source activities.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Weighting options'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The minimum norm current imaging techniques of BESA Research provide different weighting strategies. Two weighting approaches are available: Depth weighting and spatio-temporal approaches.&lt;br /&gt;
* '''Depth weighting:''' Without depth weighting, deep sources appear very smeared in a minimum-norm reconstruction. With depth weighting, both deep and superficial sources produce a similar, more focal result. If this weighting method is selected, the leadfield of each regional source is scaled with the largest singular value of the SVD (singular value decomposition) of the source's leadfield.&lt;br /&gt;
* '''Spatio-temporal weighting''': Spatio-temporal weighting tries to assign large weight to sources that are assumed to be more likely to contribute to the recorded data.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.9cm;margin-right:0cm;&amp;quot;&amp;gt;'''Subspace correlation after single source scan''': This method divides the signal into a signal and a noise subspace. The correlation of the leadfield of a regional source i with the signal subspace (p&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;) is computed to find out if the source location contributes to the measured data. The weighting matrix R becomes a diagonal matrix. Each of the three (MEG: 2) components of a regional source get the same weighting value p&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. This approach is based on the signal subspace correlation measure introduced by J.C. Mosher, R. M. Leahy (Recursive MUSIC: A Framework for EEG and MEG Source Localization, IEEE Trans. On Biomed. Eng. Vol. 45, No. 11, November 1998)&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.9cm;margin-right:0cm;&amp;quot;&amp;gt;'''Dale &amp;amp; Sereno 1993:''' In the approach of Dale and Sereno (J Cogn Neurosci, 1993, 5: 162-176) a signal subspace needs not be defined. The correlation p&amp;lt;sub&amp;gt;i &amp;lt;/sub&amp;gt;of the leadfield of regional source i with the inverse of the data covariance matrix is computed along with the largest singular value λ&amp;lt;sub&amp;gt;max &amp;lt;/sub&amp;gt;of the data covariance matrix. The weighting matrix R is a diagonal matrix with weights:&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.905cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:SA 3Dimaging (50).gif]]Each of the three (MEG: 2) components of a regional source receives the same weighting value.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Noise regularization'''&lt;br /&gt;
&lt;br /&gt;
Two methods to estimate the channel noise correlation matrix CN are provided by the program:&lt;br /&gt;
* '''Use baseline:''' Select this option to estimate the noise from the user-definable baseline. The signal is computed from the data at non-baseline latencies.&lt;br /&gt;
* '''Use 15% lowest values:''' The baseline activity is computed from the data at those 15% of all displayed latencies that have the lowest global field power. The signal is computed from all displayed latencies.&lt;br /&gt;
&lt;br /&gt;
In each case, the activity (noise or signal, respectively) is defined as root-mean-square across all respective latencies for each channel.&lt;br /&gt;
&lt;br /&gt;
The noise covariance matrix C&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt; is constructed as a diagonal matrix. The entries in the main diagonal are proportional to the noise activity of the individual channels (if selected) or are all equally proportional to the average noise activity over all channels. The noise covariance matrix C&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt; is then scaled such that the ratio of the Frobenius norms of the weighted leadfield projector matrix (LRL&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;) and the noise covariance matrix C&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt; equals the Signal-to-Noise ratio. This scaling can be multiplied by an additional factor (default=1) to sharpen (&amp;lt;1) or smoothen (&amp;gt;1) the minimum norm image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Applying the Minimum Norm Image'''&lt;br /&gt;
&lt;br /&gt;
The minimum-norm algorithm is started via the ''Surface minimum norm image dialog box'', which is opened from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu, or by typing the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-M'''&amp;lt;/span&amp;gt;: Please refer to Chapter ''“Surface'' ''Minimum Norm Tab”'' for more details.&lt;br /&gt;
&lt;br /&gt;
As opposed to the other 3D images available from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image '''&amp;lt;/span&amp;gt;menu, the surface minimum norm image is not computed on a volumetric grid, but rather for locations on the brain surface. Accordingly, the results of the minimum norm image are displayed superimposed to the brain surface mesh rather than to the volumetric MR image.&lt;br /&gt;
&lt;br /&gt;
The figure below shows a minimum norm image computed from the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Examples\Epilepsy\Spikes\Spikes-Child4_EEG+MEG_averaged.fsg'''&amp;lt;/span&amp;gt;. The EEG spike peak was imaged using the individual brain surface of the subject. A baseline from -300 to -70 ms was used. Minimum norm was computed with depth weighting, Spatio-temporal weighting according to Dale &amp;amp; Sereno 1993 and individual noise weighting with a noise scale factor of 0.01. The minimum norm image reveals the location of the spike generator in the close vicinity of the frontal left-hemispheric lesion in this subject.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (51).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Multiple Source Probe Scan (MSPS) ===&lt;br /&gt;
&lt;br /&gt;
'''Introduction'''&lt;br /&gt;
&lt;br /&gt;
The MSPS function provides a tool for the validation of a given solution. It is based on the following theoretical consideration: If the recorded EEG/MEG data has been modeled adequately, i.e. all active brain regions are represented by a source in the current solution, then any additional probe source added to the solution will not show any activity apart from noise. The only exception occurs if this probe source is placed in close vicinity to one of the sources in the current solution. In that case, the solution's source and the probe source will share the activity of the corresponding brain area. The MSPS applies these considerations by scanning the brain on a pre-defined grid with a regional probe added to the current solution. Grid extent and density can be specified in the Image settings. The power P of the probe source at location r in the signal interval is compared with the power of the probe source in a reference interval, defining a value q:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (52).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MSPS can be computed on time domain or time-frequency domain data:&lt;br /&gt;
* In the time domain, q(r) is computed from the source waveform of the probe source. Here, P(r) is the mean power of the probe source at location r in the marked latency range, and P&amp;lt;sub&amp;gt;ref&amp;lt;/sub&amp;gt;(r) is the mean probe source power in the user-definable baseline interval.&lt;br /&gt;
* In the time-frequency domain, an MSPS image can be computed from the complex cross spectral density matrices. By applying the inverse operator for a source configuration consisting of the current solution and the probe source, the power of the probe source can be computed for the target interval [P(r)] and the reference time-frequency interval [P&amp;lt;sub&amp;gt;ref&amp;lt;/sub&amp;gt;(r)]. In the resulting MSPS image, q-values are shown in %, where q[%] = q*100.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The inverse operator used to determine the probe source power uses different regularization constants for the probe source and the sources in the current solution. The regularization constant of the sources in the current solution can be specified in the Image settings (default 4%). The regularization constant of the probe source is internally set to 0%.&lt;br /&gt;
&lt;br /&gt;
Alternatively to the definition above, q can also be displayed in units of dB:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (4).gif]]&lt;br /&gt;
&lt;br /&gt;
Values of q smaller than zero are not shown in the MSPS image.&lt;br /&gt;
&lt;br /&gt;
According to the considerations above, an MSPS of a correct source model should optimally yield image maxima around the sources in the current solution only. If the MSPS image is blurred or shows maxima at locations different from the modeled sources, this indicates a non-sufficient or incorrect solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Applying the MSPS'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This chapter illustrates the application of the Multiple Source Probe Scan. The figures are generated with data from file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Examples/Epilepsy/Spikes/Rolandic-Spike-Child.fsg'''&amp;lt;/span&amp;gt; (-300 : +200 ms, filtered from 3 Hz [forward] to 40 Hz [zero-phase]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Time domain versus time-frequency domain MSPS'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The multiple source probe scan can be computed in the time domain or the time-frequency domain. The latter is possible only when time-frequency domain data is available for the current condition, i.e. if the condition has been created by starting a multiple source beamformer (MSBF) computation from the source coherence window. In this case, evoking the MSPS calculation from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Imaging '''&amp;lt;/span&amp;gt;button or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu will bring up the following dialog window that allows to choose between time- or time-frequency MSPS. If only time domain data is available, this dialog window will not appear and MSPS will be computed in the time domain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (53).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a time-frequency domain MSPS, the target and the reference time-frequency interval have been specified already in the Time-Frequency window (see Chapter &amp;quot;''How To Create Beamformer Images''&amp;quot;). For a time-domain MSPS, the target and the reference epoch have to be specified in the Source Analysis window as described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Time domain MSPS'''&lt;br /&gt;
&lt;br /&gt;
The time-domain MSPS image displays the ratio of the power of a regional probe source in the signal and the baseline interval. The currently set baseline is indicated by a horizontal line in the upper left corner of the channel box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (54).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''The black horizontal bar in the upper part of the channel box (here circled in red) indicates the baseline interval.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, BESA Research defines the pre-stimulus interval of the current data segment as baseline. The baseline should represent a latency range in which no event-related activity is present in the data. There are several possibilities to modify the baseline interval: by clicking on the horizontal line with the left mouse button or by using the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Condition '''&amp;lt;/span&amp;gt;menu or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit Interval'''&amp;lt;/span&amp;gt; popup menu.&lt;br /&gt;
&lt;br /&gt;
Mark an interval to define the target epoch, i.e. the time-interval for which the current solution is to be tested. Start the MSPS by selecting it from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image selection&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;button or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu to start the probe source scan. The&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image '''&amp;lt;/span&amp;gt;menu can be evoked either from the menu bar or by right-clicking anywhere in the source analysis window. The 3D window opens and displays the scan result.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (55).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''This figure shows the MSPS image applied on the three left-hemispheric sources in the solution &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Rolandic-Spike-Child-RS2.bsa''''&amp;lt;/span&amp;gt;. The baseline is set from -300ms to -50 ms. The right-hemispheric sources have been switched off. The fit interval is set to the latency range of large overall activity in the data (-43 ms : 117 ms). A realistic FEM model appropriate for the subject's age (12 years, cr 50) is applied. The MSPS image does not show maxima at the modeled source locations and rather shows a spread q-value distribution.''&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (56).gif]]&lt;br /&gt;
&lt;br /&gt;
''The MSPS image for the same latency range when the right-hemispheric sources have been included. The MSPS image appears more focal and shows maxima around the modeled brain regions. This indicates the substantial improvement of the solution by adding the right-hemispheric sources that model the propagation of the epileptic spike from the left to the right hemisphere (note the radiological side convention in the 3D window).''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Time-Resolved MSPS'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the MSPS has been computed on time domain data, the image can be shown separately for each latency in the selected interval. After the MSPS has been computed for the marked epoch, double-click anywhere within this epoch to display the ratio of the probe source magnitude at the selected latency and the mean probe source magnitude in the baseline. Scanning the latency range by moving the cursor (e.g. with the left and right arrow cursor keys) provides a time-resolved MSPS image.&lt;br /&gt;
&lt;br /&gt;
Time-resolved MSPS images are not available if the MSPS has been computed on data in the time-frequency domain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (57).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''MSPS image of the spike peak activity at 0ms. The activity mainly occurs in the left hemisphere. This fact is illustrated by the source waveforms and confirmed in the MSPS image, which shows a focal maximum around the location of the red sources.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (58).gif]]&lt;br /&gt;
&lt;br /&gt;
''Around +27 ms, the spike has propagated to the right hemisphere. This becomes evident from the waveforms of the blue sources, which show a significant latency lag with respect to the first three sources, and from the MSPS image, which shows the maximum around blue sources at this latency.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* You can hide or re-display the last computed image by selecting the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu.&lt;br /&gt;
* The current image can be exported to ASCII or BrainVoyager vmp-format from the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Image'''&amp;lt;/span&amp;gt; menu.&lt;br /&gt;
* For scaling options, please refer to the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scaling buttons'''&amp;lt;/span&amp;gt; popup menu [Link!].&lt;br /&gt;
* Parameters used for the MSPS calculations can be set in the ''General Settings tab'' of the ''Image Settings dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Source Sensitivity ===&lt;br /&gt;
&lt;br /&gt;
'''Introduction'''&lt;br /&gt;
&lt;br /&gt;
The 'Source sensitivity' function displays the sensitivity of the selected source in the current source model to activity in other brain regions. Sensitivity is defined as the fraction of power at the scanned brain location that is mapped onto the selected source.&lt;br /&gt;
&lt;br /&gt;
To compute the source sensitivity, unit brain activity is modeled at different locations (probe source) throughout the brain. To this data, the current source model is applied to compute the source waveforms S&amp;lt;sub&amp;gt;CM&amp;lt;/sub&amp;gt; of all modeled sources:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
S&amp;lt;sub&amp;gt;CM&amp;lt;/sub&amp;gt; = L&amp;lt;sub&amp;gt;CM&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;-1&amp;lt;/sup&amp;gt; * L&amp;lt;sub&amp;gt;PS &amp;lt;/sub&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here L&amp;lt;sub&amp;gt;CM&amp;lt;/sub&amp;gt;-&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt; is the regularized inverse operator for the current model and L&amp;lt;sub&amp;gt;PS&amp;lt;/sub&amp;gt; is the leadfield of the regional probe source (dimension [Nx3] for EEG and [Nx2] for MEG, respectively, where N is the number of sensors). The source amplitude S&amp;lt;sub&amp;gt;SS &amp;lt;/sub&amp;gt;of the selected source in the model is a 3x3 (MEG: 2x2) sub-matrix of S&amp;lt;sub&amp;gt;CM&amp;lt;/sub&amp;gt; (if the selected source is a regional source) or a 1x3-matrix (MEG: 1x2) (if the selected source is a dipole). The root mean square of the singular values of S&amp;lt;sub&amp;gt;CM&amp;lt;/sub&amp;gt; is defined as the source sensitivity.&lt;br /&gt;
&lt;br /&gt;
The 3D source sensitivity image displays this value for all locations on a grid specified under '''Image/Settings'''. Grid density can be specified in the Image Settings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Applying the Source Sensitivity Image'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Source Sensitivity image is evoked from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu or by pressing the corresponding hot key (default: &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''V'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
This function is enabled only when a solution with an active selected source is present in the Source Analysis window. The source sensitivity image then displays the sensitivity of the selected source to activity in other brain regions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA 3Dimaging (59).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Source Sensitivity image for the selected frontal source (green) in model ''&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''High_Intensity_3RS.bsa''''&amp;lt;/span&amp;gt;'' in folder 'Examples/ERP_Auditory_Intensity'. The data displayed is the '100dB' condition in file ''&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''All_Subjects_cc.fsg''''&amp;lt;/span&amp;gt;''. The selected source is sensitive to activity in the frontal brain region (yellow/white), while it is not influenced by activity in the vicinity of the left and right auditory cortex areas, which are modeled by the red and blue source in the model (transparent/gray).''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* The sensitivity image is independent of the recorded sensor signals. It only depends on the current source model, the sensor configuration, the head model, and the regularization constant.&lt;br /&gt;
* If the regularization constant is set to zero, each source has a sensitivity of 100% to activity around its own location. With increasing regularization, the spatial filter becomes less focused, and the sensitivity of a source to activity at its location decreases.&lt;br /&gt;
* You can hide or re-display the last computed image by selecting the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu.&lt;br /&gt;
* The current image can be exported to ASCII or BrainVoyager vmp-format from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image'''&amp;lt;/span&amp;gt; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Analysis_Head_Models</id>
		<title>Source Analysis Head Models</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Analysis_Head_Models"/>
				<updated>2017-04-07T13:08:47Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
== Head Models ==&lt;br /&gt;
&lt;br /&gt;
BESA Research provides head models that are based either on multi-shell spherical head models, standardized realistic head models using finite elements (FEM), or individual realistic FEM models that were created in BESA MRI. Standard FEM models are currently only available for EEG.&lt;br /&gt;
&lt;br /&gt;
It is highly recommended that you carefully read the specifications of the different head models below to understand what assumptions you are making in your data analysis when selecting a particular head model.&lt;br /&gt;
&lt;br /&gt;
The ''Head Model'' chapter is subdivided into four sections:* '''Individual FEM model''': Realistic head model for EEG and MEG &lt;br /&gt;
* '''Standardized FEM model''': Realistic approximation for EEG&lt;br /&gt;
* '''Age-appropriate template models:''' Realistic head models from infancy to adulthood&lt;br /&gt;
* '''Spherical and Ellipsoidal Head Models for EEG'''&lt;br /&gt;
* '''Spherical Head Model for MEG'''&lt;br /&gt;
&lt;br /&gt;
To select a different head model, use the ''Head Model Selection'' list in the ''parameter box''. If you right click onto the ''Head Model dropdown list in'' the ''parameter box'' or on the EEG/MEG button in the ''channel box'', a special &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Head Model Selection'''&amp;lt;/span&amp;gt; popup menu will appear.&lt;br /&gt;
&lt;br /&gt;
=== Individual FEM Model ===&lt;br /&gt;
&lt;br /&gt;
The head model is the link between the dipole sources and the EEG / MEG signals. It describes the electrical conductivity distribution inside of the head. By segmenting the different tissues having different conductivities based on the subject's MRI an individual head model can be constructed which takes into account anatomical differences between subjects. Using the finite element method (FEM) it is then possible to accurately simulate the EEG / MEG signal generated by a given source distribution.&lt;br /&gt;
&lt;br /&gt;
By using an individual FEM model the inverse solution can become more precise (Vanrumste et al. 2002, Roth et al. 1993, Cuffin 1996, Haueisen 1997). This is especially true (a) for sources in brain regions that are not described well by a spherical head model (e.g. basal temporal lobe); (b) when individual heads show deviations from the norm (e.g. lesions). Thus, if the research target is to achieve maximal localization precision, an individual realistic head model is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
BESA MRI creates four-layer FEM models which differentiate between the tissues scalp, skull, cerebrospinal fluid (CSF), and brain, and which allow arbitrarily complex geometries. Default conductivity values of 0.33 S/m for scalp and brain tissue, 0.0042 S/m for skull tissue, and 1.79 S/m for CSF tissue are used. Different conductivity values can be chosen by the user when creating the models in BESA MRI. &lt;br /&gt;
&lt;br /&gt;
In contrast to three-layer realistic head models, four-layer FEM models gain additional precision as the CSF layer is associated with yet another conductivity value than the other head tissues (Baumann et al. 1997). Neglecting CSF for EEG forward modeling can lead to larger localization errors (Ramon et al. 2003, Wendel et al. 2008, Lanfer et al. 2012).&lt;br /&gt;
&lt;br /&gt;
The FEM modeling in BESA MRI was developed in cooperation with the research group around Dr. Carsten Wolters (Münster).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using Individual FEM Models in BESA Research'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Individual FEM models can be used in BESA Research after coregistration has been performed in BESA MRI. Detailed instructions on how to perform the coregistration can be found in the ''BESA help'' or in the quick guide which is available on the BESA homepage (www.besa.de/tutorials/quickguides).&lt;br /&gt;
&lt;br /&gt;
In the coregistration process BESA MRI will generate a leadfield table, and a description of the source space. The leadfield table contains the simulated EEG potentials or MEG signals for sources in x-, y-, and z-direction distributed on a regular grid covering the entire source space. The source space specifies the locations where BESA Research is allowed to place dipole sources. &lt;br /&gt;
&lt;br /&gt;
After successfully running the coregistration the coregistration dialog in BESA Research indicates that an individual FEM model is defined. The model can now be used in the Source Analysis module. To do so select the entry Individual FEM from the head model selection dropdown list. BESA Research will now load the leadfield table and the source space definitions. During dipole fitting BESA Research computes the EEG potentials or MEG signals for any given dipole source employing cubic Bezier-spline interpolation. This way, the individual FEM model can be used for the source analysis like any of the other head models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''References:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Baumann, S.B., D.R. Wozny, S.K. Kelly, and F.M. Meno. “The Electrical Conductivity of Human Cerebrospinal Fluid at Body Temperature.” IEEE Transactions on Biomedical Engineering 44, no. 3 (March 1997): 220–223. doi:10.1109/10.554770.&lt;br /&gt;
&lt;br /&gt;
Cuffin, B. N. “EEG Localization Accuracy Improvements Using Realistically Shaped Head Models.” IEEE Transactions on Biomedical Engineering 43, no. 3 (March 1996): 299–303. doi:10.1109/10.486287.&lt;br /&gt;
&lt;br /&gt;
Haueisen, J., C. Ramon, M. Eiselt, H. Brauer, and H. Nowak. “Influence of Tissue Resistivities on Neuromagnetic Fields and Electric Potentials Studied with a Finite Element Model of the Head.” Biomedical Engineering, IEEE Transactions on 44, no. 8 (1997): 727–35. doi:10.1109/10.605429.&lt;br /&gt;
&lt;br /&gt;
Lanfer, B., I. Paul-Jordanov, M. Scherg, and C. H. Wolters. “Influence of Interior Cerebrospinal Fluid Compartments on EEG Source Analysis.” In Proceedings BMT 2012. Vol. 57. Jena: De Gruyter, 2012. doi:10.1515/bmt-2012-4020.&lt;br /&gt;
&lt;br /&gt;
Ramon, Ceon, P. Schimpf, J. Haueisen, M. Holmes, and A. Ishimaru. “Role of Soft Bone, CSF and Gray Matter in EEG Simulations.” Brain Topography 16 (2003): 245–248. doi:10.1023/B:BRAT.0000032859.68959.76.&lt;br /&gt;
&lt;br /&gt;
Roth, Bradley J., Marshall Balish, Alexander Gorbach, and Susumu Sato. “How Well Does a Three-sphere Model Predict Positions of Dipoles in a Realistically Shaped&lt;br /&gt;
&lt;br /&gt;
Head?” Electroencephalography and Clinical Neurophysiology 87, no. 4 (October 1993): 175–184. doi:10.1016/0013-4694(93)90017-P.&lt;br /&gt;
&lt;br /&gt;
Vanrumste, Bart, Gert Van Hoey, Rik Van de Walle, Michel R. P. D’Havé, Ignace A. Lemahieu, and Paul A. J. M. Boon. “Comparison of Performance of Spherical and Realistic Head Models in Dipole Localization from Noisy EEG.” Medical Engineering &amp;amp; Physics 24, no. 6 (July 2002): 403–418. doi:16/S1350-4533(02)00036-X.&lt;br /&gt;
&lt;br /&gt;
Wendel, K, N G Narra, M Hannula, P Kauppinen, and J Malmivuo. “The Influence of CSF on EEG Sensitivity Distributions of Multilayered Head Models.” IEEE Transactions on Bio-Medical Engineering 55, no. 4 (April 2008): 1454–1456. doi:10.1109/TBME.2007.912427.&lt;br /&gt;
&lt;br /&gt;
=== Standardized FEM Model: Realistic Approximation for EEG ===&lt;br /&gt;
&lt;br /&gt;
The standardized FEM model has been created from an averaged head using 50 individual MRIs in Talairach space. The averaged head is used for the standard MRI displays and shows a smoothed brain. Major sulci can be identified. In the 3D mapping window, the averaged skin surface is used for the voltage and CSD maps and the smoothed averaged cortical surface is used for the surface image maps.&lt;br /&gt;
&lt;br /&gt;
The standardized FEM model provides a realistic approximation to the averaged head in Talairach space and uses three compartments: brain/CSF, skull, scalp. The interfaces between the compartments brain, skull and scalp were segmented from the average MRI employing threshold segmentation, manual segmentation and smoothing steps. The skull thickness was modeled to be approximately half of the distance between the brain and the scalp surface, at maximum 6 mm.&lt;br /&gt;
&lt;br /&gt;
It is a common feature to all realistic head models that little is known about the different brain tissues, their conductivities and anisotropies. Especially at the lower parts of the brain, it is extremely difficult to segment bone, CSF and cavities from structural MRI scans. Therefore, all so-called realistic head models&lt;br /&gt;
&lt;br /&gt;
make simplifying assumptions on these tissues and round off and smooth their geometries. For numerical reasons, the BESA Research standardized FEM model does not explicitly model the CSF layer. However, the smoothing effect of the CSF layer is partly compensated for by assuming an anisotropic skull conductivity: The tangential conductivity within the skull is modeled to be 3 times larger than the radial conductivity across the skull.&lt;br /&gt;
&lt;br /&gt;
Bone conductivities are age dependent, with children having higher bone conductivities as compared to adults. For that reason, BESA Research provides several standardized head models with different conductivity ratios (cr) of radial skull conductivity and brain conductivity. The adult FEM model with a cr of 80 produces comparable locations in depth to the 4-shell ellipsoidal model with default parameters. Precise conductivity values are generally not known. Rough estimates have been obtained by comparing the depth of sources in subjects of different age groups. For that purpose, in combined EEG/MEG recordings of SEP/SEFs and epileptic spikes, the dipole fit results to the EEG and the MEG data were compared and matched. This resulted in the approximate age recommendations given in the ''Head Model'' ''Selection list'' for the different FEM models:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:4.992cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| '''Age'''&lt;br /&gt;
|| '''Recommended cr'''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| &lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 3-4&lt;br /&gt;
|| 10&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 4-6&lt;br /&gt;
|| 15&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 6-8&lt;br /&gt;
|| 20&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 8-10&lt;br /&gt;
|| 30&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 10-12&lt;br /&gt;
|| 40&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 12-14&lt;br /&gt;
|| 50&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 14-16&lt;br /&gt;
|| 60&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| 16-20&lt;br /&gt;
|| 70&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| adult&lt;br /&gt;
|| 80 (default)&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Practical implementation of the FEM model'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When selecting a realistic approximation model from the ''Head Model Selection list'' or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Head'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Model Selection'''&amp;lt;/span&amp;gt; popup menu, a precalculated leadfield table is loaded. Each table contains the forward solution for a standard set of electrode locations and orthogonal dipoles at fixed grid points in the brain. Different tables have been precalculated for the various conductivity ratios using the same standard MRI average of 50 subjects. &amp;amp;nbsp;Individual realistic models will simply need separate tables and MRI volume and surface files.&lt;br /&gt;
&lt;br /&gt;
The standardized FEM model currently uses 81 standard electrodes of the 10-10 electrode system. The locations of these electrodes have been obtained by projecting the default spherical coordinates of these electrodes (cf. Default.ecd) onto the averaged skin surface. These locations are very similar to the averaged locations obtained using the individual landmarks to construct the 10-10 electrode system on each individual MRI surface according to the distance rules. The center of the equivalent sphere is at Talairach location (0, -17.6, -1.0). It is located approximately 5 mm anterior to the posterior commissure.&lt;br /&gt;
&lt;br /&gt;
The leadfield of a given dipole inside the head is computed by first interpolating the pre-calculated leadfields of the neighboring grid points using a second order Bezier interpolation. This leadfield, obtained for the 81 standard electrodes, is then interpolated to the actual electrode positions of the data set under analysis.&lt;br /&gt;
&lt;br /&gt;
=== Age-appropriate template models: Realistic head models from infancy to adulthood ===&lt;br /&gt;
&lt;br /&gt;
It is often not possible to record MRI images from all subjects, especially so if the subjects are children or infants. Therefore, BESA Research provides the possibility to use age-appropriate realistic templates for source analysis. The templates were derived by non-linear averaging across real brains in according age-ranges from infancy to adulthood.&lt;br /&gt;
&lt;br /&gt;
Template brains used for age-appropriate models were kindly provided by John E. Richards, University of South Carolina, USA. &lt;br /&gt;
&lt;br /&gt;
If you would like to publish results obtained with the use of the age-specific models, please reference the publications below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:2.529cm;margin-right:0cm;&amp;quot;&amp;gt;Richards, J.E., &amp;amp; Xie, W. (2015). Brains for all the ages: Structural neurodevelopment in infants and children from a life-span perspective. In J. Bensen (Ed.), Advances in Child Development and Behavior (Vol 48, Chapter 1, pps 1-52)&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;Richards, J.E., Sanchez, C., Phillips-Meek, M., &amp;amp; Xie, W. (2015). A database of age-appropriate average MRI templates. Neuroimage,doi:10.1016/j.neuroimage.2015.04.055.&amp;amp;nbsp;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In detail, the template brains used are described in the following publications:&lt;br /&gt;
&lt;br /&gt;
*0-4 years:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* NIH Pediatric MRI Database (NIHPD; Almli, C. R., Rivkin, M. J., &amp;amp; McKinstry, R. C. (2007). The NIH MRI study of normal brain development (objective-2): Newborns, infants, toddlers, and preschoolers. ''Neuroimage'', 35(1), 308-325) &lt;br /&gt;
* Sanchez, C.E., Richards, J.E., &amp;amp; Almli, C.R. (2011). Neurodevelopmental MRI brain templates for children from 2 weeks to 4 years of age, ''Developmental Psychobiology'' &lt;br /&gt;
* Richards, J.E. (2009). Attention in the brain and early infancy. In S.P. Johnson (Ed.), ''Neoconstructism: The new science of cognitive development'' &lt;br /&gt;
* Richards, J.E. (2010). What's inside a baby's head? Structural and functional brain development in infants. International Conference on Infant Studies, Baltimore, MD, March, 2010. &lt;br /&gt;
* Richards, J.E., &amp;amp; Xie, W. (2015). Brains for all the ages: Structural neurodevelopment in infants and children from a life-span perspective. In J. Bensen (Ed.), ''Advances in Child Development and Behavior'' (Vol 48, Chapter 1, pps 1-52).; &lt;br /&gt;
* Richards, J.E., Sanchez, C., Phillips-Meek, M., &amp;amp; Xie, W. (2015). A database of age-appropriate average MRI templates, ''Neuroimage'', doi:10.1016/j.neuroimage.2015.04.055 &lt;br /&gt;
* Fillmore, P.T., Richards, J.E., Phillips-Meek, M.C., Cryer, A., &amp;amp; Stevens, M. (2015). Stereotaxic MRI brain atlases for infants from 3 to 12 months of age. ''Developmental Neuroscience'', doi:10.1156/000438749 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 6-18 years:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* NIHPD (Evans, A. C. (2006). The NIH MRI study of normal brain development. ''Neuroimage'', 30(1), 184-202.) &lt;br /&gt;
* Sanchez, C.E., Richards, J.E., &amp;amp; Almli, C.R. (2010). Age-specific MRI brain templates for healthy brain development from 4 to 24 years, Unpublished ms. &lt;br /&gt;
* Sanchez, C.E., Richards, J.E., &amp;amp; Almli, C.R. (2012). Age-specific MRI templates for pediatric neuroimaging. ''Developmental Neuropsychology'', 37, 379-399. &lt;br /&gt;
* Richards, J.E., &amp;amp; Xie, W. (2015). Brains for all the ages: Structural neurodevelopment in infants and children from a life-span perspective. In J. Bensen (Ed.), ''Advances in Child Development and Behavior'' (Vol 48, Chapter 1, pps 1-52) &lt;br /&gt;
* Richards, J.E., Sanchez, C., Phillips-Meek, M., &amp;amp; Xie, W. (2015). A database of age-appropriate average MRI templates. ''Neuroimage'', doi:10.1016/j.neuroimage.2015.04.055. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* 20-24 years:&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* Sanchez, C.E., Richards, J.E., &amp;amp; Almli, C.R. (2012). Age-specific MRI templates for pediatric neuroimaging. ''Developmental Neuropsychology'', 37, 379-399. Fillmore, P.T., Phillips-Meek, M.C., and Richards, J.E. (2013), Age-specific MRI brain and head templates for healthy adults from 20 through 89 years of age. ''Frontiers in Aging Neuroscience.''6, doi: 10.3389/fnagi.2015.00044 &lt;br /&gt;
* Richards, J.E., &amp;amp; Xie, W. (2015). Brains for all the ages: Structural neurodevelopment in infants and children from a life-span perspective. In J. Bensen (Ed.), ''Advances in Child Development and Behavior'' (Vol 48, Chapter 1, pps 1-52), &lt;br /&gt;
* Richards, J.E., Sanchez, C., Phillips-Meek, M., &amp;amp; Xie, W. (2015). A database of age-appropriate average MRI templates. ''Neuroimage'', doi:10.1016/j.neuroimage.2015.04.055. &lt;br /&gt;
* Work from the IXF and OASIS MRI projects &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Spherical and Ellipsoidal Head Models for EEG ===&lt;br /&gt;
&lt;br /&gt;
'''4 shell ellipsoidal'''&lt;br /&gt;
&lt;br /&gt;
The basis of this model is the multi-shell spherical head model with the fast algorithm by P. Berg and M. Scherg (A fast method for forward computation of multiple-shell spherical head models. Electroenceph. clin. Neurophysiol., 1994: 90, 58-64). The 4 homogeneous shells are the brain, the CSF, the bone and the skin. You can modify the thicknesses of the shells and their conductivities in the parameter box. The center of the sphere is determined from the 3D electrode locations. If you use standard electrodes without 3D coordinates (see chapter [Special-Topics.chm::/Electrode_conventions.htm Electrodes].), the multi-shell model is spherical. If 3D electrode coordinates have been defined, the spherical shells are distorted into an ellipsoid that best fits the 3D electrode cloud. The transformation from spherical to ellipsoidal is achieved via a 3*3 distortion-rotation matrix calculated by a least squares fit of the true 3D electrodes with their projection onto the best fitting sphere. Bone thickness and conductivity is age dependent, with children having higher bone conductivities as compared to adults. Precise conductivity values are generally not known. Rough estimates have been obtained by comparing the depth of sources in subjects of different age groups. For that purpose, in combined EEG/MEG recordings of SEP/SEFs and epileptic spikes, the dipole fit results to the EEG and the MEG data were compared and matched. This resulted in the following recommendations for bone thickness and conductivity depending on the subject's age:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:8.363cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| '''Age'''&lt;br /&gt;
|| '''Bone thickness'''&lt;br /&gt;
|| '''Bone Conductivity'''&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| &amp;amp;nbsp;&lt;br /&gt;
|| &amp;amp;nbsp;&lt;br /&gt;
|| &amp;amp;nbsp;&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 3&lt;br /&gt;
|| 4.7 mm&lt;br /&gt;
|| 0.040&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 4&lt;br /&gt;
|| 4.8 mm&lt;br /&gt;
|| 0.030&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 5&lt;br /&gt;
|| 4.9 mm&lt;br /&gt;
|| 0.022&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 6&lt;br /&gt;
|| 5.0 mm&lt;br /&gt;
|| 0.018&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 7&lt;br /&gt;
|| 5.2 mm&lt;br /&gt;
|| 0.016&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 8&lt;br /&gt;
|| 5.4 mm&lt;br /&gt;
|| 0.014&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 9-10&lt;br /&gt;
|| 5.7 mm&lt;br /&gt;
|| 0.012&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 11-12&lt;br /&gt;
|| 6.0 mm&lt;br /&gt;
|| 0.010&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 13-14&lt;br /&gt;
|| 6.3 mm&lt;br /&gt;
|| 0.008&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| 15-16&lt;br /&gt;
|| 6.7 mm&lt;br /&gt;
|| 0.006&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| adult&lt;br /&gt;
|| 7.0 mm (default)&lt;br /&gt;
|| 0.0042 (default)&lt;br /&gt;
|- style=&amp;quot;border:none;padding-top:0.026cm;padding-bottom:0.026cm;padding-left:0.265cm;padding-right:0.265cm;&amp;quot;&lt;br /&gt;
|| &lt;br /&gt;
|| &lt;br /&gt;
|| &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
'''3 shell Ary approximation'''&lt;br /&gt;
&lt;br /&gt;
The forward solution is calculated using a homogeneous head model after transforming the eccentricity of the dipole according to a non-linear equation (Scherg 1990; Ary 1981). Essentially, this model uses the similarity of the voltage topography of a dipole within a homogeneous sphere at a deeper location (e.g. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
60% eccentricity) with the topography of a dipole in a 3-shell spherical model at a shallower location (e.g. 84% eccentricity).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
'''Homogenous sphere'''&lt;br /&gt;
&lt;br /&gt;
This model uses a dipole in a sphere with homogeneous conductivity. The homogeneous model is most suitable for the calculation of epicortical potentials.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
'''Polynomial 4 shells'''&lt;br /&gt;
&lt;br /&gt;
This model employs the widely-used polynomial expansion to calculate an iterative forward model using multiple spherical shells. This model is much slower than the fast 4-shell ellipsoidal head model, but has been provided for the purpose of comparison.&lt;br /&gt;
&lt;br /&gt;
=== Spherical Head Model for MEG ===&lt;br /&gt;
&lt;br /&gt;
BESA Research currently uses the spherical head model by Sarvas (1987). If no coregistration with the individual MRI has been performed in BESA Research (i.e. no individual MRI has been specified, see chapter ''Integration with MRI and fMRI''), you can define the center for the sphere using the individual MRI by seeding a dipole at the assumed center using BrainVoyager. Then perform the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Write Sphere Center'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''File (*.cot)'''&amp;lt;/span&amp;gt; entry of the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Head Box'''&amp;lt;/span&amp;gt; popup menu. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
For additional information please see the BrainVoyager help system at [http://www.brainvoyager.com www.brainvoyager.com].&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>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Analysis_Functions_of_the_Window</id>
		<title>Source Analysis Functions of the Window</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Analysis_Functions_of_the_Window"/>
				<updated>2017-04-07T13:07:53Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Functions of the Source Analysis Window ==&lt;br /&gt;
&lt;br /&gt;
The Source Analysis module window is subdivided into six main parts (boxes) which will be explained briefly in the following sections:* The Channel Box (left)&lt;br /&gt;
* The Variance Box (top center)&lt;br /&gt;
* The Source Box (bottom center)&lt;br /&gt;
* The Parameter Box (top right)&lt;br /&gt;
* The Head Box (mid right)&lt;br /&gt;
* The 3D Window (bottom right)&lt;br /&gt;
&lt;br /&gt;
Note that the 3D window will not normally appear automatically (unless specified in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options/Preferences'''&amp;lt;/span&amp;gt; menu), and the head box will take up more space if the 3D window is not displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to jump to the associated section. Use the Back button of the Windows® help to jump back to this page.)''&lt;br /&gt;
&lt;br /&gt;
The '''title bar''' contains information about the data file, the filename, the condition name, the filter settings, and the selected time interval.&lt;br /&gt;
&lt;br /&gt;
Most of the functions and commands can be chosen from the main '''menu bar''' below the title bar. However, all important commands are also available via a right mouse click. Whenever you right-click, a context-sensitive popup menu will appear containing the available commands.&lt;br /&gt;
&lt;br /&gt;
A detailed description of the commands of the '''menu bar''' and the different popup menus is given in the online help ''Reference ''chapter.&lt;br /&gt;
&lt;br /&gt;
At the bottom, you will notice the '''status bar''', which gives information about the current mouse position (latency or 3D position) and the current cursor location or the fit interval(s). (See the section on the '''status bar''' in the online help ''Reference ''chapter).&lt;br /&gt;
&lt;br /&gt;
The individual size of the boxes can be modified: Try placing the mouse over the vertical double line that separates the source box and the head box. The horizontal arrow that appears indicates that you can move this separator by dragging with the left mouse button.&lt;br /&gt;
&lt;br /&gt;
The same is possible for the horizontal double line bounding the variance box.&lt;br /&gt;
&lt;br /&gt;
=== Channel Box ===&lt;br /&gt;
&lt;br /&gt;
The channel box normally shows the signals at each channel. The display depends on the state of the push buttons at the top of the channel box.&lt;br /&gt;
&lt;br /&gt;
The figure below shows an example with the display of the measured data waveforms (violet) and the residual waveforms (red) at each channel. The channel labels are displayed to the left of each waveform.&lt;br /&gt;
&lt;br /&gt;
An overplot of all waveforms is displayed above the single waveforms (labeled ''All'').&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (2).gif]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)''&lt;br /&gt;
&lt;br /&gt;
Below the first row of buttons, there is a '''description of the current condition''' containing the condition name, the filter settings and the condition epoch. Below the condition epoch, the baseline of the current condition is displayed as horizontal black line.&lt;br /&gt;
&lt;br /&gt;
At the bottom, you see the''' figure legend '''describing the used colors and the number of displayed channels (or PCA components).&lt;br /&gt;
&lt;br /&gt;
The '''Channel buttons''' at the top of the channels box specify which waveforms are displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Data'''&amp;lt;/span&amp;gt; button toggles the display of the data (measured signals) of the visible channels (violet waveforms). If you double click on this button the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Model '''&amp;lt;/span&amp;gt;and&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Residual'''&amp;lt;/span&amp;gt; buttons are released and the channels are re-sorted by the amplitude of the measured data.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Model'''&amp;lt;/span&amp;gt; button to toggle the display of the modeled data (blue waveforms). The modeled data are calculated from the waveforms of the active sources in the current solution using the currently chosen head model. (The source waveforms are displayed in the source box, the head model is set and displayed in the parameter box.) Pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Model '''&amp;lt;/span&amp;gt;button toggles between the display of all active sources (button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''M-A'''&amp;lt;/span&amp;gt;) and the display of the model waveforms which result from the contributions of all sources whose Fit/No fit button is pressed (button is labeled M-F). Note that the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Residual'''&amp;lt;/span&amp;gt; button is released if the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Model'''&amp;lt;/span&amp;gt; button is pressed without holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Press the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Residual'''&amp;lt;/span&amp;gt; button to toggle the residual (unexplained) signal (red waveforms), i.e. the difference between measured and modeled data. If you double click on this button the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Data'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Model'''&amp;lt;/span&amp;gt; buttons are released and the channels are re-sorted by the amplitude of the residual. Note that the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Model'''&amp;lt;/span&amp;gt; button is released if the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Residual'''&amp;lt;/span&amp;gt; button is pressed without holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Sort'''&amp;lt;/span&amp;gt; button (fourth button from the left) changes the ordering of the channels. Pushing this button switches between original order (button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Order'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ord'''&amp;lt;/span&amp;gt;.), sorting by the amplitude of the measured data (||Data|| or ||D||), and sorting by the amplitude of the residual (||Res.|| or ||R||). In practice, by using one of the sorting modes ||Data|| or ||Residual||, you will only have to display the first few channels during the fitting procedure, since the channels with the largest signals are shown at the top.&lt;br /&gt;
* Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''P.C.A.'''&amp;lt;/span&amp;gt; button to start a Principal Components Analysis (PCA) over the marked fit interval(s) (if no fit interval is set the PCA is computed over the whole epoch). The percentage variance accounted for by each component is shown at the left of each waveform. When the PCA is displayed, data, model, and residual waveforms are not visible. Note that if the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Residual '''&amp;lt;/span&amp;gt;button is down and the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Data'''&amp;lt;/span&amp;gt; button is up, the PCA is computed for the residual data and not the measured data.&lt;br /&gt;
* The button at the far right is the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''EEG/MEG'''&amp;lt;/span&amp;gt; button. Pushing this button toggles between the data sets (EEG and MEG) of the current condition, if combined EEG and MEG have been recorded. The label of the button shows which data set is currently displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the top left below the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Data'''&amp;lt;/span&amp;gt; button, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch Condition'''&amp;lt;/span&amp;gt; buttons (labeled with two arrows) enable fast switching between different conditions. They are enabled only if at least two conditions have been loaded.&lt;br /&gt;
&lt;br /&gt;
Below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch Condition'''&amp;lt;/span&amp;gt; buttons, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Toggle Electrode Configuration'''&amp;lt;/span&amp;gt; button toggles between using the original channels (button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Org'''&amp;lt;/span&amp;gt;) or using an interpolated montage of 81 electrodes at standard locations (button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Std'''&amp;lt;/span&amp;gt;). This montage allows comparison of different subjects at standard electrode locations. Note: If MEG channels are displayed this button is not available.&lt;br /&gt;
&lt;br /&gt;
The channel box is bounded at the right by three scroll bars. Use the topmost one to change the number of displayed channels. The scroll bar below ('''select displayed channels''') can be used to scroll through the channels. The bottom one, consisting only of two arrows, changes the amplitude scaling of the displayed signals ('''scale waveforms''').&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''MAG '''&amp;lt;/span&amp;gt;and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''GRD'''&amp;lt;/span&amp;gt; buttons at the bottom of the channel box appear only if an MEG data set containing both magnetometer and gradiometer sensors is displayed. The buttons are used to toggle the display of the magnetometer and gradiometer channels.&lt;br /&gt;
&lt;br /&gt;
In the figure above you see one '''fit interval''', shown in a darker color. The fit interval is used for fitting, computing the PCA, and more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Mouse'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the channel box, it is possible to set the cursor or a fit interval with the left mouse button. If you click on the text in the top left corner, you may change the condition name. By clicking on the baseline, a new baseline interval can be specified.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button somewhere in the channel box, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Channel Box'''&amp;lt;/span&amp;gt; popup menu appears with commands specific to this box.&lt;br /&gt;
&lt;br /&gt;
=== Variance Box ===&lt;br /&gt;
&lt;br /&gt;
The variance box shows the global field power (blue) and the residual variance (red) in logarithmic scaling, relative to the maximum global field power. The global field power is the sum of squares of the activity over all channels of the current data set, the residual variance is the sum of squares of the unexplained signal. Note that the global field power is scaled from bottom to top, whereas the residual variance is scaled from top to bottom. The corresponding waveform scales at the left of the variance box are given in percent.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (3).gif]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description or jump to the associated chapter.)''&lt;br /&gt;
&lt;br /&gt;
At the top left the '''residual variance''' (RV) over all samples inside the fit interval(s) is displayed (labeled ''R.V''.). Below, the minimum residual variance inside the fit intervals (labeled ''Best'') is shown. If no fit interval is selected, values for the whole epoch are given. If a cursor is set, the RV over the whole epoch and the value of the RV at the cursor sample are displayed (labeled ''Curs''.).&lt;br /&gt;
&lt;br /&gt;
At the top right, second row, you see the current value of the '''regularization constant''', a parameter used to reduce the interaction between sources. (You can set the regularization constant with the '''Regularization''' '''Constant: X%''' menu entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options'''&amp;lt;/span&amp;gt; menu or by clicking on the current value.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit Criterion'''&amp;lt;/span&amp;gt; buttons at the top of the variance box toggle the corresponding fit criteria on and off. Starting from the left the buttons represent the residual variance criterion, the energy criterion, the minimum distance criterion, and the residual variance - q value (S/N) criterion. You will find additional information in the section &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit Criterion'''&amp;lt;/span&amp;gt; Buttons in the online help ''Reference'' chapter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Mouse'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the variance box, it is possible to set the cursor or a fit interval with the left mouse button. If you click on the regularization constant (''RC''), you may set a new value.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button somewhere in the variance box, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Variance Box'''&amp;lt;/span&amp;gt; popup menu appears with commands specific to this box.&lt;br /&gt;
&lt;br /&gt;
=== Source Box ===&lt;br /&gt;
&lt;br /&gt;
The source box shows the source waveforms of the current solution. The source waveforms are computed over the whole epoch of the current data set using the currently chosen head model. (The head model is set and displayed in the parameter box.) If no solution is available the source box is empty.&lt;br /&gt;
&lt;br /&gt;
A single dipole or a spatial component has one source waveform, a regional source has three waveforms for EEG and two for MEG (one waveform for each component). A spatial component is labeled SC just below its waveform.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (4).gif]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the top of the source box you will find the following buttons:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''All on'''&amp;lt;/span&amp;gt; button activates or deactivates all sources (switches all sources on or off). Spatial components whose principal vector does not match with the current data set cannot be activated.&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''All fit'''&amp;lt;/span&amp;gt; button enables all active sources (not spatial components) for fitting.&lt;br /&gt;
* The&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Start fit '''&amp;lt;/span&amp;gt;button fits the enabled sources within the specified fit interval(s). If no fit interval is set the sources the whole epoch is used for fitting, if a cursor is set they are fitted only at the cursor sample. Another way to start fitting is given by the ''Fit Enabled Sources''... entry in the standard popup menu.&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Image selection'''&amp;lt;/span&amp;gt; button allows for a quick computation of a 3D image. The type of the image to be computed is shown in the button label. By default, this is the previously computed 3D image. For details on the available image types in BESA Research, please refer to chapter 3D imaging.&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager '''&amp;lt;/span&amp;gt;button will start the BrainVoyager program. If the BrainVoyager path has not been set correctly the BrainVoyager tab of the ''Preferences ''dialog box is displayed to allow you to set the valid path. If the BrainVoyager program is already running the current solution is sent to BrainVoyager for display in the structural MRT image (c.f. ''Integration with MRI/fMRI'').&lt;br /&gt;
&lt;br /&gt;
Each source waveform has two push buttons assigned to it:&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''On/Off'''&amp;lt;/span&amp;gt; buttons to the left of the source waveforms activate or deactivate the associated sources. Spatial components whose principal vector does not match with the current data set cannot be activated. If a source is inactive, it does not contribute to the model.&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit '''&amp;lt;/span&amp;gt;buttons below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''On/Off'''&amp;lt;/span&amp;gt; buttons enable or disable the associated source for fitting. If a source is selected, it is enabled for fitting automatically. On the other hand, a source is automatically selected if you push the corresponding &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; button. Note that spatial components have no &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; button since they cannot be enabled for fitting. You can enable several sources for fitting by keeping the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; on your keyboard pressed and pushing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; buttons of the sources you would like to fit simultaneously. If the model waveforms of fit enabled sources are displayed in the channel box (the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Model'''&amp;lt;/span&amp;gt; button in the channel box shows ''M-F''), or if the model data of fit enabled sources are mapped in the 3D window, only sources whose &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; button is down are taken into account for the waveform or map display. Otherwise the associated source will not contribute to the model waveforms or model map.&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map/No map'''&amp;lt;/span&amp;gt; buttons are visible only if the model waveforms of fit enabled sources are displayed in the channel box (the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Model'''&amp;lt;/span&amp;gt; button in the channel box shows ''M-F'') or if the model data of fit enabled sources are mapped in the 3D window. They are available for spatial components only, since other sources use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; buttons to enable/disable the source for mapping or to display the model waveforms. Only spatial components whose &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map/No map'''&amp;lt;/span&amp;gt; button is down are taken into account in the waveform or map display. Otherwise the associated source will not contribute to the model waveforms or model map. You can enable several sources for mapping by keeping the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; on your keyboard pressed and pushing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map/No map '''&amp;lt;/span&amp;gt;buttons (for spatial components) or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; buttons (for other source types) of the sources you would like to contribute to the model waveforms or model map.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Waveform Scale'''&amp;lt;/span&amp;gt; buttons (labeled with two arrows) at the bottom right of the source box to adjust the waveform amplitude scale. If you hold the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; in combination, the scale is reset to default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Mouse'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click on a source waveform if you want to select the associated source. The selected source is marked by a colored rectangle around its &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''On/Off'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit/No fit'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
If the current solution contains more than one sources you can change the source order by dragging the baseline of the source waveform up and down.&lt;br /&gt;
&lt;br /&gt;
As in the Channel Box, you can set the cursor or a fit interval with the left mouse button.&lt;br /&gt;
&lt;br /&gt;
You may double click on the '''source label''' to specify a new label.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button somewhere in the source box, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Source Box'''&amp;lt;/span&amp;gt; popup menu appears with commands specific to this box.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button on a source label or source number at the right-hand side of the source waveforms, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Source Label'''&amp;lt;/span&amp;gt; popup menu is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Parameter Box ===&lt;br /&gt;
&lt;br /&gt;
The parameter box shows either the parameters of the current head model or of the selected source.&lt;br /&gt;
&lt;br /&gt;
If no source is selected the parameter box looks like the figure below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (5).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The top row shows the currently selected head model. The default model for EEG is the 4-shell ellipsoidal model. Different EEG models can be selected using the ''Head Model Selection'' list.&lt;br /&gt;
&lt;br /&gt;
For EEG, you can select a standardized Realistic Head Model Approximation based on finite elements (FEM) with different conductivity ratios of brain to skull and anisotropies. For a detailed description of the different head models see chapter ''Head Models''.&lt;br /&gt;
&lt;br /&gt;
If the current channel type is MEG (as indicated by the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''EEG/MEG'''&amp;lt;/span&amp;gt; button in the '''channel box'''), the spherical MEG head model (Sarvas, 1987) and the individual FEM head model are available. Please note, that the individual FEM head model first has to be created in BESA MRI.&lt;br /&gt;
&lt;br /&gt;
The '''head radius''' in millimeters which is used in the head models is given in the first text field labeled head. If the head radius is computed from the individual head it cannot be modified.&lt;br /&gt;
&lt;br /&gt;
The '''head model parameters '''of the different head compartments are given in the text fields: The thicknesses of the scalp, of the bone, and of the cerebral spinal fluid (csf) are displayed in the second, third and fourth text fields of the upper row. The relative conductivities of brain, scalp, bone, and csf are displayed in the bottom row. Click onto the text fields to edit the current value.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button on a text filed while at least one head model parameter differs from its default value, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Head Model Text Field'''&amp;lt;/span&amp;gt; popup menu appears which allows to reset values to the default.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The head model parameters are used in the ''4 shell ellipsoidal'' and ''Polynomial'' ''4 shells'' head models only.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a source is selected, the parameter box looks like this:&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (6).gif]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)''&lt;br /&gt;
&lt;br /&gt;
The coordinate system which is used to display or modify the source coordinates can be switched with the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Coordinate System'''&amp;lt;/span&amp;gt; button at the top left. The following coordinate systems are available:&lt;br /&gt;
* ''(Cartesian) head coordinates'': Defined by three reference points on the head known as ''fiducials''. The unit is millimeter. The button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cart./HC'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* ''Talairach coordinates'': &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;1) Talairach coordinates calculated using the individual MRI information of the current condition. The button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Talairach'''&amp;lt;/span&amp;gt;. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;2) Approximate ''Talairach coordinates'' estimated by a default transformation to the BESA Research standard brain that is used for the 3D anatomical view if an individual MRI is not available for the current condition. The button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Tal.'''&amp;lt;/span&amp;gt; (''appr''.). For additional information, please see the chapter ''Integration with MRI and fMRI''),&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* (''Cartesian) unit sphere coordinates'' (BESA coordinates): Defined by the best fit sphere. The button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cart./US'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* ''Polar unit sphere coordinates'' (polar BESA coordinates): Same coordinate system as above, but the coordinates are given in'' polar coordinates''. The button is labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Polar/US'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Note: A detailed description of the coordinate systems is given in the chapter ''Working with Electrodes'' ''and Surface Locations''.&lt;br /&gt;
&lt;br /&gt;
To the left of the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Coordinate System'''&amp;lt;/span&amp;gt; button the location and orientation coordinates of the selected source are given in the text fields labeled as follows:* '''x-loc''', '''y-loc''', and '''z-loc''': Location of the selected source in cartesian coordinates.&lt;br /&gt;
* '''x-ori''', '''y-ori''', and '''z-ori''': Orientation of the selected source in cartesian coordinates (the length of the vector specified by the three orientation coordinates is 1)&lt;br /&gt;
* '''ecc''', '''theta''', and '''phi''': Location of the selected source in polar coordinates (eccentricity, azimuth, and polar angle), visible only if polar coordinates are displayed.&lt;br /&gt;
* '''o-the''' and '''o-phi''': Orientation of the selected source in polar coordinates (azimuth and polar angle). These text fields are visible only if polar coordinates are displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The second and third row shows the '''current location and orientation constraints''' for the selected source. Four states are possible:* '''Free:''' No constraint is set. The source location/orientation can be fitted.&lt;br /&gt;
* '''Fixed''': The source location/orientation is fixed during the next fit and will not be modified.&lt;br /&gt;
* '''Symmetric to''' (available for the source location only): The source location is set symmetric (mirrored into the other hemisphere) to the referenced source which is specified in the middle text field. The offsets to the symmetric location of the referenced source are given in the text field to the right.&lt;br /&gt;
* '''Bound to''' (available for the source location only): The source location is bound to the referenced source which is specified in the middle text field. The offsets to the location of the specified source are given in the text field to the right.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you click onto the middle text field of the referenced source or the text field containing the location offset, the ''Set source constraint ''dialog box will open which allows to modify the referenced source and the location offset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Mouse'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A left mouse click in the ''parameter ''box will toggle the display of the selected source parameters and the display of the head model parameters.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button somewhere in the parameter box, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Parameter &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Box'''&amp;lt;/span&amp;gt; popup menu appears with specific commands to this box.&lt;br /&gt;
&lt;br /&gt;
Click on the '''source label''' to specify a new label.&lt;br /&gt;
&lt;br /&gt;
=== Head Box ===&lt;br /&gt;
&lt;br /&gt;
The Head Box shows six head schemes with the sources of the current solution. Each of the three standard views is displayed twice from opposite directions: First row sagittal view from left (left scheme) and from right (right scheme), second row transversal top view (left) and transversal view from bottom (right), and third row coronal view from behind (left) and frontal coronal view (right).&lt;br /&gt;
&lt;br /&gt;
Note: If the ''3D window'' is open the appearance of the head box is different. Only two head schemes are displayed. You will find more information at the end of this page.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (7).gif]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A source is plotted in one view only if it is located in the forward hemisphere or slightly in the back hemisphere, so that, e.g. for the sagittal view (first row), a source is plotted only in the left head scheme if it is located in the left hemisphere, and not in the right top head scheme (in the figure below all sources except for the green one).&lt;br /&gt;
&lt;br /&gt;
Note: You can specify the depth up to which sources are plotted in the back hemisphere (the so-called ''source transparency'') in the'' Boxes'' Tab of the ''Preferences ''dialog box.&lt;br /&gt;
&lt;br /&gt;
If the cursor is set, the size of the source plot depends on the strength of the source (the amplitude of the source waveform) at the cursor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''description and filename''' of the current solution is given at the top of the head box. If the solution has not been stored yet the text ''New solution...'' is displayed. If any modifications of the solution have not yet been saved, this is indicated by appending the text ''&amp;quot;modified&amp;quot;'' to the filename. Set a new description by clicking on the text with the left mouse button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch Solution'''&amp;lt;/span&amp;gt; buttons at the top left corner, marked with small arrows, allow to switch between solutions. They are enabled only if there are at least two solutions. If you right click on these buttons while they are enabled the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch Solution '''&amp;lt;/span&amp;gt;popup menu opens which allows for changing to a specified solution.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Hold'''&amp;lt;/span&amp;gt; button below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Switch Solution'''&amp;lt;/span&amp;gt; buttons becomes important if more than one condition has been uploaded or the condition has more than one data set. It toggles between two settings:&lt;br /&gt;
* '''Up:''' When the user switches between data sets or conditions, it will also be switched to the solution which was last modified when the new data set was active.&lt;br /&gt;
* '''Down:''' When the user switches between conditions, the current solution will not be changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clicking on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''+' '''&amp;lt;/span&amp;gt;button at the top right creates a new solution and copies the current solution to the new one. If the solution which was copied already has a file path (i.e. has been loaded or saved before), the file path of the new solution is modified such that it does not specify an existing file.&lt;br /&gt;
&lt;br /&gt;
The button is disabled if no solution is available.&lt;br /&gt;
&lt;br /&gt;
Note: The entry ''New Copy of Displayed Solution'' in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Solution'''&amp;lt;/span&amp;gt; menu provides the same functionality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Source Plot Scale'''&amp;lt;/span&amp;gt; buttons at the bottom right of the head box are used to adjust the size of the source plots. Note that two different settings are stored: One for the source display if the cursor has been set, one for the display without cursor. If you hold the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; in combination, the scale is reset to default. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Mouse'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A double-click on one of the head schemes creates a new source at that location. The type of the new source can be specified using the menu entry &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options/Default Source Type'''&amp;lt;/span&amp;gt;. A double click on an existing source deletes it.&lt;br /&gt;
&lt;br /&gt;
If a source is under the mouse the mouse changes to [[Image:|top]]. A single click with the left button turns the source under the mouse into the selected source. A double click deletes the source.&lt;br /&gt;
&lt;br /&gt;
If the source under the mouse can be moved the mouse changes to [[Image:|top]]. You can move the source by dragging with the left mouse button (spatial components may not be moved). The source location is bound to the limits which have been set in the ''Limit of source location section'' in the'' Preferences'' dialog box.&lt;br /&gt;
&lt;br /&gt;
If the orientation of a source can be modified the mouse changes to [[Image:|top]]( single dipoles only). Drag the vertex of the orientation to rotate the dipole. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift-key'''&amp;lt;/span&amp;gt; in combination if you want to rotate the orientation in the specified view only.&lt;br /&gt;
&lt;br /&gt;
Note: If you want to drag the orientation even if it is hidden use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; in combination.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you double click on the filename of the solution, which is given at the top of the head box, a text box is displayed in which you may enter a description. If a solution description has been set, it is displayed instead of the filename. This description will be stored when the solution is saved.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button somewhere in the head box, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Head Box'''&amp;lt;/span&amp;gt; popup menu appears with commands specific to this box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Head box display if the 3D window is open'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the ''3D window'' is open the appearance of the head box is different. Only two head schemes are displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (11).gif]]&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)'' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Flip Head Scheme'''&amp;lt;/span&amp;gt; buttons (labeled &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Flp'''&amp;lt;/span&amp;gt;) at the bottom right and left of the window flip the associated head scheme. E.g. clicking onto the left &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Flp'''&amp;lt;/span&amp;gt; button in this image would switch the sagittal view from the left to the sagittal view from the right.&lt;br /&gt;
&lt;br /&gt;
Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift Head Scheme'''&amp;lt;/span&amp;gt; buttons (second and third button to the left, marked with small arrows) to scroll the head schemes until you see your desired view.&lt;br /&gt;
&lt;br /&gt;
The '''Transparency scroll bar '''in the mid bottom changes the source transparency. A source is plotted in one view only if it is located in the forward hemisphere or as far in the back hemisphere as set by the transparency value - the depth up to which sources are plotted in the back hemisphere. Please see additional information in the section ''Source Transparency'', (''Preferences'' dialog box), use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Back'''&amp;lt;/span&amp;gt; button&lt;br /&gt;
&lt;br /&gt;
of the Windows® help to jump back to this page.&lt;br /&gt;
&lt;br /&gt;
=== 3D Window ===&lt;br /&gt;
&lt;br /&gt;
The 3D window is opened if a 3D map (fig. 1) or the anatomical view of an individual MRI or the BESA Research standard Brain (fig. 2) is displayed. It also opens if any of the 3D volume imaging or 3D surface imaging methods are used. (Use the popup menu entries &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Display MRI'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Display 3D Maps'''&amp;lt;/span&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (12).gif]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (13).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''(Click on the region of interest to view a description.)''&lt;br /&gt;
&lt;br /&gt;
The sources of the current solution are displayed in the anatomical view (fig. 2), or in the cortical imaging view if this is activated via the popup menu using the right mouse button. The selected source is displayed with a golden halo around the source body.&lt;br /&gt;
&lt;br /&gt;
The '''3D window toolbar''' is explained in details in the ''3D Window Toolbar'' section in the online help ''Reference'' chapter.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Keyboard'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A number of key combinations are useful for navigation/display in the 3D window if the 3D window is active (the title bar is blue). The most important commands with their default keys are listed here. Note that you can change the default keys in the ''Define hot keys'' dialog box, which also allows to specify additional key commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Command&amp;amp;nbsp;default key(s) and effects&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Decrement/Increment scale'''&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Num-, Num+:'''&amp;lt;/span&amp;gt; Decrements/Increments the map scale in the 3D map or the source plot size in the anatomical view.&lt;br /&gt;
* '''Move down/left/right/up'''&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Numpad-2, Numpad-4, Numpad-6, Numpad-8'''&amp;lt;/span&amp;gt;: If a source is selected, the source is moved within the current slice in steps of one millimeter in the corresponding direction. If no source is selected, the slicing center is moved instead. This only applies to the anatomical view.&lt;br /&gt;
* '''Slice backwards/forward'''&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Down, Up'''&amp;lt;/span&amp;gt;: If a source is selected the source is moved into the next slice, one millimeter out of or into the current anatomical view. If no source is selected the slicing center is sliced down or up instead. This only applies to the anatomical view.&lt;br /&gt;
* '''Switch to specific slice'''&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift-C, Shift-S, Shift-T'''&amp;lt;/span&amp;gt;: Switches to the coronal, sagittal, or transversal slice (anatomical view only).&lt;br /&gt;
* '''Display 3D maps'''&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''M'''&amp;lt;/span&amp;gt;: Switches from the anatomical view to the 3D map. Works only if the cursor has been set.&lt;br /&gt;
* '''Display standard MRI'''&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''A'''&amp;lt;/span&amp;gt;: Switches from the 3D map to the anatomical view.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Using the Mouse'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Whenever an action with the left mouse button is possible the mouse cursor will change from the standard arrow to a special icon. The following mouse actions are possible:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''New source'''&lt;br /&gt;
&lt;br /&gt;
A double click on a surface (skin or brain) or inside an anatomical view will insert a new source at the associated 3D location. The type of the new source can be specified using the menu entry &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options/Default Source Type'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Delete source'''&lt;br /&gt;
&lt;br /&gt;
A double click on an existing source will delete the source after a confirmation box is closed with ''Yes''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (14).gif]]'''Rotate'''&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will rotate the current view. This action is available on a 3D map or on the 3D view of the anatomical view. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Rotation Mode'''&amp;lt;/span&amp;gt; button of the '''3D window toolbar '''or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift-key'''&amp;lt;/span&amp;gt; have to be pressed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (15).gif]]'''Zoom'''&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will zoom the current view. This action is available on a 3D map or on the 3D view of the anatomical view. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Zoom Mode '''&amp;lt;/span&amp;gt;button of the '''3D window toolbar''' or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift-'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; have to be pressed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (16).gif]]'''Move'''&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will rotate the current view. This action is available on a 3D map or on the 3D view of the anatomical view. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Move Mode'''&amp;lt;/span&amp;gt; button of the''' 3D window toolbar '''or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; have to be pressed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (17).gif]]'''Slice Vertically'''&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will slice the current slicing center up and down. This action is available on the anatomical view only. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Slice Mode '''&amp;lt;/span&amp;gt;button of the '''3D window toolbar''' or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alternate-key'''&amp;lt;/span&amp;gt; have to be pressed in combination.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (18).gif]]'''Slice Horizontally'''&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will slice the current slicing center horizontally. This action is available on the 2D anatomical views only. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Slice Mode '''&amp;lt;/span&amp;gt;button of the '''3D window toolbar''' or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alternate-key'''&amp;lt;/span&amp;gt; must not be pressed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (19).gif]]'''Set Slicing Center to Source Location'''&lt;br /&gt;
&lt;br /&gt;
A single click with the left mouse button will select the source under the mouse (if not already selected) and set the current slicing center to the source location. A double click will delete the source.&lt;br /&gt;
&lt;br /&gt;
This action is available on the anatomical view only if a source is under the mouse and this source must not be moved (e.g. a spatial component).&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (9).gif]]'''Move Source'''&lt;br /&gt;
&lt;br /&gt;
A single click with the left mouse button will select the source under the mouse (if not already selected). A double click will delete the source.&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will move the source horizontally to the displayed slice.&lt;br /&gt;
&lt;br /&gt;
This action is available only if a source is under the mouse, this source may be moved (no spatial component), and the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Move Mode'''&amp;lt;/span&amp;gt; button of the '''3D window toolbar''' or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-key'''&amp;lt;/span&amp;gt; are pressed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (20).gif]]'''Move Source and Slice Horizontally'''&lt;br /&gt;
&lt;br /&gt;
A single click with the left mouse button will select the source under the mouse (if not already selected) and set the current slicing center to the source location. A double click will delete the source.&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will move the source horizontally to the displayed slice and set the current slicing center to the new source location.&lt;br /&gt;
&lt;br /&gt;
This action is available only if a source is under the mouse, this source may be moved (no spatial component) and the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Move Mode'''&amp;lt;/span&amp;gt; button, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Slice Mode '''&amp;lt;/span&amp;gt;button (of the '''3D window toolbar'''), the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alternate-key'''&amp;lt;/span&amp;gt; are not pressed.&lt;br /&gt;
&lt;br /&gt;
[[Image:Functions SAwindow (21).gif]]'''Move Source and Slice Vertically'''&lt;br /&gt;
&lt;br /&gt;
A single click with the left mouse button will select the source under the mouse (if not already selected) and set the current slicing center to the source location. A double click will delete the source.&lt;br /&gt;
&lt;br /&gt;
Dragging with the left mouse button will move the source vertically to the displayed slice and set the current slicing center to the new source location.&lt;br /&gt;
&lt;br /&gt;
This action is available only if a source is under the mouse, this source may be moved (no spatial component) and the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Slice Mode'''&amp;lt;/span&amp;gt; button of the '''3D window toolbar''' or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alternate-key'''&amp;lt;/span&amp;gt; are pressed.&lt;br /&gt;
&lt;br /&gt;
If you click the right mouse button somewhere in the 3D window, the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D Window'''&amp;lt;/span&amp;gt; popup menu appears with commands specific to this window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Analysis_Introduction</id>
		<title>Source Analysis Introduction</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Analysis_Introduction"/>
				<updated>2017-04-07T13:07:22Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
= Source Analysis =&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Source Analysis module provides a highly interactive environment for analyzing the sources of electric or magnetic brain activity.&lt;br /&gt;
&lt;br /&gt;
The following chapters will guide you through the most important features of the Source Analysis module in chronological order of data processing. For a thorough introduction to source analysis, we also recommend that you work through the tutorials that are available for download on our website.&lt;br /&gt;
&lt;br /&gt;
The ''Reference'' chapter in our online help offers a detailed description of the available features. It is subdivided into the following sections: ''Menu Bar, Popup Menus, Special Controls, Dialog Boxes.''&lt;br /&gt;
&lt;br /&gt;
==  Starting the Source Analysis Module ==&lt;br /&gt;
&lt;br /&gt;
Once you have opened a file for source analysis, you can decide which part of the averaged data will be analyzed. The BESA format for file segments (fsg-format) separates different averaged conditions by segment boundaries, as in the example file shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:SA-Introduction (1).gif|top]]&lt;br /&gt;
&lt;br /&gt;
To mark the entire condition on the left, simply click the right mouse button somewhere in the condition and select the popup menu entry &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Whole Segment'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To mark a part of the condition, create a block somewhere within the left condition by dragging with the left mouse button. Then press the right mouse button to obtain a popup menu containing the following entries:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA-Introduction (2).gif |top]]&lt;br /&gt;
&lt;br /&gt;
Choosing ''Source Analysis'' opens the following dialog box:&lt;br /&gt;
&lt;br /&gt;
[[Image:SA-Introduction (3).gif |top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The left-hand '''Block Size and Position''' section controls the time interval which is sent to the Source Analysis module. The predefined setting is to make a custom definition of the block size. You can change the settings to mark the whole segment. If you choose ''Custom Definition'', the bottom part of the section becomes active, and you can enter the exact time range you wish to analyze. If you choose ''All Conditions'', all conditions in the current data set are sent to the Source Analysis module. [[Image:SA-Introduction (4).gif|top]]&lt;br /&gt;
* In the '''Filter Settings''' section, high frequency cutoff filters or low frequency cutoff filters can be quickly switched on and off using the'' Enabled'' tick mark. [[Image:SA-Introduction (4).gif|top]]&lt;br /&gt;
* The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Source Analysis'''&amp;lt;/span&amp;gt; button applies the settings and immediately starts the Source Analysis module. [[Image:SA-Introduction (4).gif|top]]&lt;br /&gt;
* You can apply the settings to the data block using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Set Block'''&amp;lt;/span&amp;gt; button. [[Image:SA-Introduction (4).gif |top]]&lt;br /&gt;
* The&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Cancel'''&amp;lt;/span&amp;gt; button closes the dialog box without modifications. [[Image:SA-Introduction (4).gif|top]]&lt;br /&gt;
* If the option ''All Conditions'' is selected while the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Sou&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;rce Analysis'''&amp;lt;/span&amp;gt; button is pressed, all conditions of the current data file (instead of only the selected c condition) are sent into the Source Analysis window simultaneously using the specified parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Tip:'''&lt;br /&gt;
&lt;br /&gt;
If you want to analyze a second data block with the same settings as before, mark an arbitrary block within the other data segment and click the right mouse button. The settings that you chose previously are displayed in the popup menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SA-Introduction (5).gif |top]]&lt;br /&gt;
&lt;br /&gt;
Selecting the entry at the bottom automatically reproduces the settings and starts the Source Analysis module with the specified data block.&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Batch_Processing</id>
		<title>BESA Research Batch Processing</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Batch_Processing"/>
				<updated>2017-04-07T13:06:38Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&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;Batch Processing and Combining Conditions&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&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;Combine Conditions and Batch Module: Introduction&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;Functions of this module are started by selecting the menu operations &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Combine Conditions...&amp;quot;'''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Process / Batch Scripts...&amp;quot;.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Combine Condition Scripts'''&amp;lt;/span&amp;gt;&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; provides various operations on BESA averages.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''Batch Scripts'''&amp;lt;/span&amp;gt;&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; provides batch operations on all data files.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Note that a batch script can also be performed on the current file by selecting &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process / Run'''&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;'''Batch...'''&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; or by typing the shortcut key &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;R'''&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;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;File List Tab&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;Define a list of files on which the operations will be performed. The tab is the same for Combine Conditions Scripts and for Batch Scripts. Combine Conditions Scripts only allows you to open BESA average files (e.g. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.fsg&amp;lt;/nowiki&amp;gt;'''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.avr&amp;lt;/nowiki&amp;gt;'''&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;, but also &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.mul'''&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:#ff9c00;&amp;quot;&amp;gt;'''.raw'''&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:#ff9c00;&amp;quot;&amp;gt;'''.swf'''&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;, and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.foc'''&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; if the files have a defined pre-stimulus interval), whereas Batch Scripts allows you to open any data file whose format is known to BESA Research.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;When the Combine-Conditions or the Batch module is started, all currently opened (Combine-Conditions: averages only) files are displayed in the list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To the right of each file name, the number of electrodes, total number of channels, and the sampling rate used in the file are displayed. In the Combine-Conditions module, the number of Epochs (segments) and the number of differently-named conditions are also shown.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Add files to the list'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add File '''&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;button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Drag one or more files from Windows Explorer onto the window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Remove files from the list'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Right click on the file name and confirm the delete operation in the resulting dialog.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Mark one or more file names in the list (e.g. hold down the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Ctrl'''&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; key to mark multiple files). Right click to obtain the context menu and select &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete'''&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;quot;, or just press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Del '''&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;key.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Reorder files within the current file list'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Right click on the file name and select &amp;quot;&amp;lt;/span&amp;gt;&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;'''''Move Up'''''&amp;lt;/span&amp;gt;&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;quot; or &amp;quot;&amp;lt;/span&amp;gt;&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;'''''Move Down'''''&amp;lt;/span&amp;gt;&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;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Mark one or more file names in the list (e.g. hold down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctr'''&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;l key to mark multiple files). Right click to obtain the context menu and select &amp;quot;&amp;lt;/span&amp;gt;&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;'''''Move Up'''''&amp;lt;/span&amp;gt;&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;quot; or &amp;quot;&amp;lt;/span&amp;gt;&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;'''''Move Down'''''&amp;lt;/span&amp;gt;&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;quot;, or hold down the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Ctrl'''&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; key &amp;lt;/span&amp;gt;&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;'''and '''&amp;lt;/span&amp;gt;&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;press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Up'''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Down arrows'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Sort the current file list alphabetically'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Click on the File bar above the list&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Save the current file list'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save File List'''&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; button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Load a file list'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load File List'''&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;amp;nbsp;button, or the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Previous'''&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; button to load the most recently used file list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Which conditions are read from a source file? (Combine-Conditions module only)'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Normally, all conditions are read from a source file. To exclude one or more segments from operations in the Combine Conditions module, mark the segments as artifacts in the main program display. It is sufficient for the beginning or the end of an artifact interval to be within the segment for the segment to be excluded.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''File list from Combine Conditions:'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (1).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Don't try to open here... (Batch only)'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;By default, this checkbox is unchecked.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the checked state, BESA Research doesn't check if it can open the file. Use this function &amp;lt;/span&amp;gt;&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;'''only'''&amp;lt;/span&amp;gt;&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; if the file is ASCII and you want to use the &amp;lt;/span&amp;gt;&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;'''ImportASCII '''&amp;lt;/span&amp;gt;&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;batch command.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''File List from Batch Scripts'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (2).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Batch Processing &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;Batch Processing Scripts&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;With Batch Scripts, you can define a set of operations (e.g. Artifact Scan, Average) and apply these to several data files.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;These operations include&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Load Paradigm&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Artifact Scan&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Average&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Export (and Merge)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;File Open (switch to another data file)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Set filters&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Specify a montage (used, for example, for export to current montage)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Run automatic eye and EKG artifact correction&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Turn artifact correction and view on and off&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Read and write events&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Edit default block epoch (for export around triggers)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Edit triggers (for export around triggers)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Mark a block for export, or send the block to Source Analysis or Top View&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Convert patterns to triggers&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Attach auxiliary files (e.g. elp, sfp) to the data file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Send to MATLAB&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Specify display configurations for the BESA Research Main, SA, and Top View windows&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;An additional set of commands are available for operations in the &amp;lt;/span&amp;gt;&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;'''Source Analysis Module'''&amp;lt;/span&amp;gt;&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;, allowing to load, create and fit dipole models, and save the results.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A further set of commands apply to &amp;lt;/span&amp;gt;&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;'''Time-Frequency Analysis'''&amp;lt;/span&amp;gt;&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;, allowing to start TFC, change the display, save results, and run the beamformer or DICS analyses on a selected time-frequency range.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (3).png]]&lt;br /&gt;
&lt;br /&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;These operations will be extended in future program releases.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The module includes two tabbed windows:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''File List'''&amp;lt;/span&amp;gt;&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;: Define a list of files on which the operations will be performed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''Batch'''&amp;lt;/span&amp;gt;&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;: Define or load &amp;lt;/span&amp;gt;&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;'''batch commands'''&amp;lt;/span&amp;gt;&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;. Run the batch.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Batch Tab&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;Load or define batch commands, and then apply them to the files in the File List.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (4).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Add Command'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Command'''&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; to add a new command to the batch. The following dialog is opened, showing the available commands:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (3).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Select the desired command and press&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' OK '''&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;or double-click on the command. A dialog box is opened, allowing to specify individual command parameters.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;If you click on &amp;quot;Apply at beginning of batch&amp;quot; or &amp;quot;Apply at end of batch&amp;quot;, the command will only be run at the beginning or the end of a batch. You can use this, for example, at the end of a batch to start a Matlab script to perform statistics on the results of the batch.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Load and Save Batch'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Batch'''&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; to load a previously defined batch or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Batch'''&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; to save the current batch to a file (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.bbat&amp;lt;/nowiki&amp;gt;'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Load Previous'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Previous'''&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; to load the most recently used batch file. Whenever a batch is run, the current set of commands is written to the file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Previous.bbat in'''&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; the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scripts/Batch'''&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; subdirectory. This file is loaded when you press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Previous'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Clear All'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Clears all commands from the window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''View Log File'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Each time a batch is run, BESA Research adds information about the batch to a log file, with headings showing the date and time the batch was started. The file is opened automatically in Internet Explorer if errors occurred during processing. Otherwise you may open the file by &amp;lt;/span&amp;gt;&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;pressing the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Log File'''&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; button here or in the dialog that is displayed at the end of batch processing. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The log file is saved in xml format, and a JavaScript is used to format the display in Internet Explorer or Netscape family browsers. JavaScript should be enabled in the browser to obtain an optimal display of the results. If JavaScript is enabled, the log file is displayed as a list of headings for each batch. Click on a heading to display the results of the corresponding batch.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;To open the log file in NotePad, hold the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Shift '''&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;key down when pressing the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Log File'''&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; button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Batch Command List'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Double-click on a command to edit it. See chapter “&amp;lt;/span&amp;gt;&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;''Batch Commands”''&amp;lt;/span&amp;gt;&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; for descriptions of the dialogs that are opened to edit each command.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Right click on a command to open a context menu allowing more options.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (5).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Delete'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Move Up'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''and Move Down'''&amp;lt;/span&amp;gt;&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; can also be applied to multiple selections.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;If you have made a multiple selection, the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Del '''&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;button will delete all the marked commands. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl '''&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;plus &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Up'''&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; or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Down'''&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;'''cursor keys'''&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; will move the marked commands up or down.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''Toggle Comment'''&amp;lt;/span&amp;gt;&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; will add or remove a semicolon (;) in front of the command, to deactivate or reactivate the command.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''Toggle Command Only at Start/End'''&amp;lt;/span&amp;gt;&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; will add or remove the text &amp;quot;Start_&amp;quot; or &amp;quot;End_&amp;quot; in front of the command. With these prefixes, the command will only be performed when the first file (&amp;quot;Start_&amp;quot;) or the last file (&amp;quot;End_&amp;quot;) in the file list is being processed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Single Step Mode'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Check this item to step through the batch, one command at a time. A dialog is opened after each command, allowing to run the next command, continue the batch without single steps, or stop running the batch. See the&amp;lt;/span&amp;gt;&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;'' “Pause''&amp;lt;/span&amp;gt;&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;” command for further details.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;During a batch, press and hold down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Pause'''&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; or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete'''&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; key to interrupt the batch and enter Single Step Mode. Press and hold down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Esc'''&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; key to cancel the batch.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Changes in batch written to database'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Checked by default. If this item is unchecked, file display settings, such as Montage setting and Artifact correction display, are not written to the database. When the file is next opened in BESA Research, the settings made in the batch are not retained.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Leave files in the file list open after running the batch'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If this item is checked, files in the file list will remain open after the batch. This is useful, for instance, if you want to open a set of files, specifying the same montage and/or filter settings for each file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to start running the batch. Each command is then applied in succession to each file in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;File List.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note that, while a batch is running press and hold down the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Pause'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; key to interrupt the batch and enter Single Step Mode. Press and hold down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Esc'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; key to cancel the batch.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The log file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;A protocol of each batch is written to the log file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Scripts/Log/Batch.xml.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;When you press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Log File '''&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;button, the file is opened in your default browser for xml files. The file will be opened automatically if there was an error during batch processing, unless you have used the &amp;lt;/span&amp;gt;&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;''BatchError''&amp;lt;/span&amp;gt;&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; batch command to suppress this behavior.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''DHTML formatting of the log file'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The xml file is formatted using JavaScript (Dynamic HTML). If JavaScript is enabled in your browser, you will first see a list of batch protocol titles, labeled by the date and time at which the batch was started. The most recent batch is at the top of the list.:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (6).png]]&lt;br /&gt;
&lt;br /&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;Click on the title to view the protocol for the corresponding batch:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (7).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''JavaScript and XP Service Pack 2'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;By default, if the log file is opened in Internet Explorer after XP Service Pack 2 has been installed, IE will warn you with the message: &amp;quot;&amp;lt;/span&amp;gt;&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;''To help protect your security, Internet Explorer has restricted this file from''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''showing active content that could access your computer&amp;quot;.''&amp;lt;/span&amp;gt;&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; All the protocols in the log file are displayed. You may safely click on the options to allow active content in the log file, if you want to display the file as described above.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Backup of the log file'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;When the log file is written, a backup of the previous version is written to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''batch.xml.bak'''&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;&lt;br /&gt;
&lt;br /&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;If the size of the log file exceeds 200 KB, it is renamed to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''batch.xml_date_time'''&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; (e.g. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Batch.xml_2004-10-08_10-53-32'''&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;), and a new version of &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''batch.xml'''&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; is created.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Placeholders&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;A powerful feature of the batch commands is the ability to define file names and specify standard paths using placeholders. These are text strings enclosed by percentage (%) signs. They can be used in all batch commands where file names are specified.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Basename'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%basename%'''&amp;lt;/span&amp;gt;&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; -- replaced by the basename of the data file in the File List. For example, if the data file is named &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''f-spike.fsg'''&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;quot;, &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''%basename%-export.fsg'''&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;quot; will be interpreted as &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''f-spike-export.fsg'''&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;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%basename-n%'''&amp;lt;/span&amp;gt;&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; -- replaced by the basename of the data file in the File List, but removing the last &amp;quot;n&amp;quot; characters from the name. For example, if the data file is named &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''dongle-BB.fsg'''&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;quot;, &amp;quot;%basename-3%&amp;quot; will be replaced by &amp;quot;dongle&amp;quot;, because the last 3 characters of the basename have been removed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%-nbasename%'''&amp;lt;/span&amp;gt;&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; -- replaced by the basename of the data file in the File List, but removing the first &amp;quot;n&amp;quot; characters from the name. For example, if the data file is named &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BB-dongle.fsg'''&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;quot;, &amp;quot;%-3basename%&amp;quot; will be replaced by &amp;quot;dongle&amp;quot;, because the first 3 characters of the basename have been removed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%scripts%'''&amp;lt;/span&amp;gt;&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; -- replaced by the path to the Scripts folder (e,g, &amp;quot;%scripts%Batch&amp;quot; is where batches are saved by default; &amp;quot;%scripts%MATLAB&amp;quot; is the location of the standard Matlab scripts used by BESA Research).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%montages%'''&amp;lt;/span&amp;gt;&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; --replaced by the path to the Montages folder.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%examples%'''&amp;lt;/span&amp;gt;&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; -- replaced by the path to the Examples folder.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Placeholders for folders'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The following placeholders are the same as those used in the [Folders] section of &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Besa.ini'''&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;&lt;br /&gt;
&lt;br /&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;The strings enclosed by percent signs (%) are placeholders for the following folders in English-language versions of Windows. Folder names are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Windows 7 (English)'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%localapp%'''&amp;lt;/span&amp;gt;&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;quot;C:\Users\[user]\AppData\Local\BESA\Research_5_3&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]\AppData\Local\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%publicprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Users\Public\Public Documents\BESA\Research_5_3&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;Libraries\Documents\Public Documents\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%privateprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Users\[user]\Documents\BESA\Research_5_3&amp;quot;, where [user] is the logon name of the current user. This folder is directly accessible from the Windows Explorer as &amp;quot;Libraries\Documents\My Documents\Research_5_3&amp;quot; or &amp;quot;Desktop\[User]\My Documents\BESA\Research_5_3.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%progdir%'''&amp;lt;/span&amp;gt;&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; = the BESA Research root folder. In a default installation, this is &amp;quot;C:\Program Files\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%besaroot%'''&amp;lt;/span&amp;gt;&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; is the same as&amp;lt;/span&amp;gt;&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;''' %progdir%'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Windows Vista (English):'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%localapp%'''&amp;lt;/span&amp;gt;&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;quot;C:\Users\[user]\AppData\Local\BESA\Research_5_3&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]\AppData\Local\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%publicprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Users\Public\Public Documents\BESA\Research_5_3&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;Desktop\Public\Public Documents\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%privateprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Users\[user]\Documents\BESA\Research_5_3&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_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%progdir%'''&amp;lt;/span&amp;gt;&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; = the BESA Research root folder. In a default installation, this is &amp;quot;C:\Program Files\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%besaroot%'''&amp;lt;/span&amp;gt;&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; is the same as&amp;lt;/span&amp;gt;&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;''' %progdir% &amp;amp;nbsp;'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Windows XP (English):'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%localapp%'''&amp;lt;/span&amp;gt;&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;quot;C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_5_3&amp;quot;, where [user] is the logon name of the current user.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%publicprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Documents and Settings\All Users\Documents\BESA\Research_5_3&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;Desktop\Shared Documents\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%privateprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Documents and Settings\[user]\My Documents\BESA\Research_5_3&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\My Documents\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%progdir%'''&amp;lt;/span&amp;gt;&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; = the BESA Research root folder. In a default installation, this is &amp;quot;C:\Program Files\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%besaroot%'''&amp;lt;/span&amp;gt;&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; is the same as &amp;lt;/span&amp;gt;&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;'''%progdir%'''&amp;lt;/span&amp;gt;&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;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Windows 2000 (English):'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%localapp%'''&amp;lt;/span&amp;gt;&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;quot;C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_5_3&amp;quot;, where [user] is the logon name of the current user.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%publicprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Documents and Settings\All Users\Documents\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%privateprog%'''&amp;lt;/span&amp;gt;&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;quot;C:\Documents and Settings\[user]\My Documents\BESA\Research_5_3&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\My Documents\BESA\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%progdir%'''&amp;lt;/span&amp;gt;&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; = the BESA Research root folder. In a default installation, this is &amp;quot;C:\Program Files\BESA\\Research_5_3&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;'''%besaroot%'''&amp;lt;/span&amp;gt;&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; is the same as &amp;lt;/span&amp;gt;&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;'''%progdir%'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Batch Commands&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Batch commands are selected when the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Command'''&amp;lt;/span&amp;gt;&amp;quot; button is pressed in the Batch Tab. The commands are subdivided into five categories: General commands, commands for the Main module, for the Source Analysis module, imaging commands in the Source Analysis module, and commands for Time-Frequency Analysis. The commands have prefixes,''' GEN''', '''MAIN''',''' SA''', '''SAIMAGE''', and''' TFC'''), which identify the category. For compatibility with older program versions, old batches without the prefixes are accepted.&lt;br /&gt;
&lt;br /&gt;
Detailed descriptions of each batch command are available in the electronic help chapter “''Batch Processing and Combining Conditions / Batch Processing / Batch Commands”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''General commands''' -- prefixed with &amp;quot;'''GEN'''&amp;quot; (can be used anywhere):* GENBatchError -- used to change program behavior when errors occur.&lt;br /&gt;
* GENComment -- comment in the batch script: no batch functionality&lt;br /&gt;
* GENMATLABcommand -- send a command string to Matlab.&lt;br /&gt;
* GENMATLABwaitForVariable -- tells BESA to wait until Matlab has created a variable with the specified name.&lt;br /&gt;
* GENPause -- pause batch operations, allowing step-by-step operations&lt;br /&gt;
* GENFor/GENEndFor -- a programming language-like FOR loop&lt;br /&gt;
* GENRunProcess -- runs a command line process, e.g. an external program to perform part of the data analysis in the batch&lt;br /&gt;
* GENWindowPosition -- set window size and positions to a selection of standard settings, e.g. for bitmap export&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Commands for the Main Module''' -- prefixed with &amp;quot;'''MAIN'''&amp;quot;:&lt;br /&gt;
* MAINArtifactCorrect -- run automatic artifact correction&lt;br /&gt;
* MAINArtifactMethod -- specify the method for artifact correction&lt;br /&gt;
* MAINArtifactOn -- turn artifact correction an artifact view on or off&lt;br /&gt;
* MAINArtifact Scan -- run an artifact scan as from the Paradigm Dialog&lt;br /&gt;
* MAINAuxiliaryFiles -- associate auxiliary files (e.g. *.''ela'', *.''sfp'') with the data file&lt;br /&gt;
* MAINAverage -- average the data&lt;br /&gt;
* MAINBaseline -- specify the parameters for baseline correction&lt;br /&gt;
* MAINEditDefaultEpoch -- edit the default block epoch&lt;br /&gt;
* MAINEventRead -- read events from an ASCII event file&lt;br /&gt;
* MAINEventWrite -- write events to an ASCII event file&lt;br /&gt;
* MAINExport -- export or append data in the selected target format&lt;br /&gt;
* MAINFFT -- calculates the FFT spectrum of the marked data interval&lt;br /&gt;
* MAINFFTmean -- starts an averaging procedure which calculates the mean spectral properties in pre-defined regions&lt;br /&gt;
* MAINFFTsave -- saves FFT data (generated using the ''FFT Average option'' in the ''Average ''command) to disk (*.''fma)''&lt;br /&gt;
* MAINFileOpen -- close the current file and open a new file to which the remaining batch commands will be applied&lt;br /&gt;
* MAINFilter -- set filters&lt;br /&gt;
* MAINGoTo -- jumps with the cursor to the specified time point&lt;br /&gt;
* MAINICA -- starts ICA decomposition of data on the current screen &lt;br /&gt;
* MAINICAsave -- saves selected ICA components as topographies in a file&lt;br /&gt;
* MAINICAselect -- opens component selection dialog for managing ICA components&lt;br /&gt;
* MAINImportASCII -- import an ASCII file into a ''&amp;lt;nowiki&amp;gt;*.fsg&amp;lt;/nowiki&amp;gt;'' file.&lt;br /&gt;
* MAINMarkBlock -- mark a data block (optionally send to Source Analysis)&lt;br /&gt;
* MAINMontage -- change the montage (used by the Export command when saving to current montage)&lt;br /&gt;
* MAINParadigm -- load a paradigm file&lt;br /&gt;
* MAINPatternToTrigger -- convert a tag into a trigger&lt;br /&gt;
* MAINSendToMATLAB -- send data to Matlab&lt;br /&gt;
* MAINTriggerSelect -- edit the trigger list (cf. ''Edit / Trigger Values''...)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''General commands for Source Analysis''' -- prefixed with &amp;quot;'''SA'''&amp;quot; (but see also ''MarkBlock'', which is used to send a block of data to SA and open the SA window):&lt;br /&gt;
* SAAddSource -- add a dipole or regional source to a model&lt;br /&gt;
* SAChannelTypeForFit -- switch between EEG, magnetometers or axial gradiometers, and planar gradiometers&lt;br /&gt;
* SAConvertSource -- convert a source from dipole to regional source, or from regional source to dipole&lt;br /&gt;
* SAcorticalClara -- run Cortical CLARA&lt;br /&gt;
* SAcorticalLoreta -- run Cortical LORETA&lt;br /&gt;
* SADelete -- delete current solution or all solutions, or remove current fit interval or cursor&lt;br /&gt;
* SADICS -- start DICS computation (if DICS has been precomputed in the time-frequency image command)&lt;br /&gt;
* SADisplayMRI -- switch MRI display on/off and select small or large window&lt;br /&gt;
* SAExit -- close Source Module&lt;br /&gt;
* SAFit -- start fit&lt;br /&gt;
* SAFitConstraint -- set fit constraints, e.g. Residual Variance, Energy, Maximum Distance, Image Weighting, and their weights.&lt;br /&gt;
* SAFitInterval -- set fit or baseline interval&lt;br /&gt;
* SAMinimumNorm -- run a minimum norm analysis&lt;br /&gt;
* SANewSolution -- open a new solution&lt;br /&gt;
* SAOpenSolution -- open a solution from a file&lt;br /&gt;
* SAPCA -- toggle PCA display of data or residual, and transfer a selected number of components to the source model&lt;br /&gt;
* SARegularization -- set the regularization values both for discrete and distributed source images&lt;br /&gt;
* SASaveBitmap -- save a screenshot of the Source Analysis or the 3D window&lt;br /&gt;
* SASaveLeadfields -- save the leadfields of the current source model&lt;br /&gt;
* SASaveModelWaveforms -- save model waveforms&lt;br /&gt;
* SASaveResidualWaveforms -- save residual waveforms&lt;br /&gt;
* SASaveRVandGFPWaveforms -- save residual variance and global field power waveforms&lt;br /&gt;
* SASaveSolution -- save the current solution&lt;br /&gt;
* SASaveSourceMontage -- save a source montage&lt;br /&gt;
* SASaveSourceWaveforms -- save source waveforms&lt;br /&gt;
* SASendToMATLAB -- send data, model, source waveforms, images, etc. to Matlab&lt;br /&gt;
* SASetCursor -- set the cursor&lt;br /&gt;
* SASetDefaultSourceType -- set the default source type (dipole or regional source)&lt;br /&gt;
* SASetOrActivateSource -- Turn specified source on or off, or enable/disable source for fitting&lt;br /&gt;
* SASetOrientation -- set orientation (of regional source)&lt;br /&gt;
* SASwitchCondition -- switch to a specified condition&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Commands for Distributed 3D Volume Images'''&lt;br /&gt;
* SAIMAGEBeamformer -- switch between Single Source and Bilateral Beamformer image&lt;br /&gt;
* SAIMAGECLARA -- generate CLARA image&lt;br /&gt;
* SAIMAGEExport -- save the results of minimum norm or 3D imaging method&lt;br /&gt;
* SAIMAGEGotoMax -- set the crosshair cursor at the nth maximum in the image&lt;br /&gt;
* SAIMAGEImport -- load a 3D volume image from file&lt;br /&gt;
* SAIMAGELAURA -- create LAURA image&lt;br /&gt;
* SAIMAGELORETA -- create LORETA image&lt;br /&gt;
* SAIMAGESLoreta -- create sLORETA image&lt;br /&gt;
* SAIMAGESSLOFO -- create SSLOFO image&lt;br /&gt;
* SAIMAGEUser-Defined -- create user-defined image&lt;br /&gt;
* SAIMAGESaveLeadfields -- save the leadfields of all the voxel sources in a 3D image&lt;br /&gt;
* SAIMAGEClip -- clip current 3D image&lt;br /&gt;
* SAIMAGESmooth -- smooth current 3D image&lt;br /&gt;
* SAIMAGESetCrosshair -- set the position of the crosshair in the 3D image&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Commands for Time-Frequency Analysis''' ('''TFC''')&lt;br /&gt;
* TFCStartTFAnalysis --(previously TFCgo) start TFC analysis using the current paradigm settings&lt;br /&gt;
* TFCdisplay -- change the TFC display (e.g. power/amplitude, coherence)&lt;br /&gt;
* TFCsave -- save numerical results to an ASCII file, or save a screenshot of the TFC window&lt;br /&gt;
* TFCimage -- start beamformer analysis on a selected time-frequency range&lt;br /&gt;
* TFCSendToMATLAB -- send TF results or single-trial data to Matlab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Average Your Data in a Batch  ====&lt;br /&gt;
&lt;br /&gt;
Using batch processing, several files from an experiment can be averaged at a time.&lt;br /&gt;
&lt;br /&gt;
Here we summarize the steps required:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Before running the batch'''&lt;br /&gt;
&lt;br /&gt;
* Create the paradigm, and save the paradigm file.&lt;br /&gt;
* Open each individual data file to check the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Make sure auxiliary files are defined and loaded properly, and the data are displayed correctly.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Eyeball the data.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Define bad (and interpolated) channels.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Mark artifact time ranges.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;If required, set up artifact correction for the file.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;The data file can be closed again after this step.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Preparing the batch'''&lt;br /&gt;
&lt;br /&gt;
* Open at least one&amp;amp;nbsp;file and select ''Process / Batch Scripts''.... The file(s) should be displayed in the file list. Alternatively, just select ''Process / Batch Scripts...,'' and add the files by&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add File'''&amp;lt;/span&amp;gt; button&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;dragging the files from Windows Explorer&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Opening a previously saved&amp;amp;nbsp;list with ''Load File List''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* You can delete files from the list (press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Del'''&amp;lt;/span&amp;gt;) or edit the file sequence using the right click context menu.&lt;br /&gt;
* Select the ''Batch Tab''.&lt;br /&gt;
* Add commands to your script. For averaging, these would normally be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Paradigm''' -- to load the paradigm file&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Artifact Scan''' -- to run the artifact scan&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Average''' -- to perform the average&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Save these commands (press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Batch'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
* Test the commands on the files in the current file list: press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;&lt;br /&gt;
* Look at the log file (press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Log File'''&amp;lt;/span&amp;gt;) to check the results of averaging.&lt;br /&gt;
* Look at the data averages to make sure they have been done correctly.&lt;br /&gt;
* Repeat these steps until averaging is working properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Running the batch'''&lt;br /&gt;
&lt;br /&gt;
* Select ''Process / Batch Scripts''....&lt;br /&gt;
* Open the files you want to average in the batch in the file list:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Any files that were open in BESA are included in the list&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Files can be added using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add File'''&amp;lt;/span&amp;gt; button&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;You may drag one or more files from Windows Explorer to the file list&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Alternatively, load a previously saved file list.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Edit the file list, e.g. delete unwanted files (use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Del'''&amp;lt;/span&amp;gt; key or the right click context menu), or reorder the files (use &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl + cursor keys'''&amp;lt;/span&amp;gt; or context menu).&lt;br /&gt;
* Note that the order of files in the list specifies the order in which they will be processed in the batch script. This order will be important if all results are saved to the same target file. Otherwise the file sequence is not important.&lt;br /&gt;
* Optionally, save the file list (press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Batch'''&amp;lt;/span&amp;gt;&lt;br /&gt;
* Select the ''Batch Tab'', and load the previously defined batch script with ''Load Batch''.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to run the batch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Merge and Compress raw data  ====&lt;br /&gt;
&lt;br /&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;Using the Export command in a batch, several data files can be merged into a single data file in BESA's data format (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&amp;lt;/nowiki&amp;gt;'''&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;&lt;br /&gt;
&lt;br /&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;This can be useful if data from one subject have been collected in several data blocks, and you want to analyze all data blocks together.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Optionally, to save space, data can be saved in compressed format.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Files can be merged:'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;if they have identical channel configurations, or&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;there are at least 16 EEG channels, and the export format is Standard 81 (i.e. EEG channels are interpolated to 81 standard locations). &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''How to merge files:'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select Process / Batch Scripts...&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Add all the files that are to be merged to the file list:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;Any files that were open in BESA Research are included in the list&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;Files can be added using the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Add File '''&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;button&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;You may drag one or more files from Windows Explorer to the file list&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;Alternatively, load a previously saved file list (&amp;lt;/span&amp;gt;&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;''Load File List''&amp;lt;/span&amp;gt;&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;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Rearrange the files in the file list to the sequence in which they should be merged.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select the &amp;lt;/span&amp;gt;&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;''Batch Tab ''&amp;lt;/span&amp;gt;&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;and insert an &amp;quot;&amp;lt;/span&amp;gt;&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;''Export&amp;quot;''&amp;lt;/span&amp;gt;&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; command, as described below.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The following dialog shows a possible configuration of the &amp;lt;/span&amp;gt;&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;''Export''&amp;lt;/span&amp;gt;&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; command:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Batch processing (4).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The parameters shown in the Information box are the settings chosen in the &amp;lt;/span&amp;gt;&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;''Export Dialog''&amp;lt;/span&amp;gt;&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; when the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Select Options'''&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; button has been pressed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''Append if file already exists'''&amp;lt;/span&amp;gt;&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; must be checked in order to merge the files.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The &amp;lt;/span&amp;gt;&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;'''target file name'''&amp;lt;/span&amp;gt;&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; must be fixed, i.e. don't use the &amp;lt;/span&amp;gt;&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;'''%basename%'''&amp;lt;/span&amp;gt;&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; variable, because that will result in a different target file name for each source file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;There are two variables that can be used for the segment label:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''%filename%'''&amp;lt;/span&amp;gt;&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; will insert the basename of the source file into the segment label.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''%c%'''&amp;lt;/span&amp;gt;&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; will insert the file number into the segment label. The number gives&amp;amp;nbsp;the position of the file in the file list. For instance, &amp;quot;File %c%&amp;quot; will generate the label &amp;quot;File 2&amp;quot; for the second file in the list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Example: Data averaging in the auditory intensity experiment&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;In this example, two raw data files, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s1.cnt'''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s2.cnt'''&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;, from the auditory intensity experiment will be batch averaged.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Please note that there are further tutorials covering this experiment. The first file is contaminated by many eyeblinks, and more epochs would be averaged if eye correction were used (see Viewlet demonstration on artifact correction on the BESA website). However, in this tutorial we will just use artifact rejection.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''A. Various ways of creating a File List'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''1. Files that were open in BESA Research are automatically added to the File List'''&amp;lt;/span&amp;gt;&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;. Start BESA Research and open the files &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s1.cnt '''&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;and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s2.cnt '''&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;in the directory &amp;lt;/span&amp;gt;&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;''Examples\ERP-Auditory-Intensity''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;2. Select &amp;lt;/span&amp;gt;&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;''Process / Batch Scripts''&amp;lt;/span&amp;gt;&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;.... You should see the file names in the &amp;lt;/span&amp;gt;&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;'''''File List Tab'''''&amp;lt;/span&amp;gt;&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; something like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (5).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;3. You can resort the files in the file list alphabetically by clicking onto the &amp;lt;/span&amp;gt;&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;'''''File List column header'''''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (6).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Alternatively, you can mark any file, hold down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl '''&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;key and press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Up'''&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; or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Down arrow '''&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;to move the file name up or down the list. This is the sequence in which files will be processed in the batch.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (7).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;4. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save File List'''&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; and save the list you have created to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ERP-Aud-Ex1.flist'''&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;&lt;br /&gt;
&lt;br /&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;5. Highlight both names and press the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Del '''&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;button to remove them from the list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;6. '''Files can be dragged from Windows Explorer'''&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;. Start Windows Explorer and navigate to the ''ERP-Auditory-Intensity'' subdirectory of your BESA Research examples folder (located in the ''Public Documents'' folder of your computer). Click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s1.cnt'''&amp;lt;/span&amp;gt; and drag it with the mouse onto the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''''File List Tab'''''&amp;lt;/span&amp;gt;&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;. Let go of the mouse. BESA Research opens the file, and displays the name in the File List. Repeat for &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s2.cnt.'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;7. Highlight both names and press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Del '''&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;button to remove them from the list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;8. '''Files can be added using the'''&amp;lt;/span&amp;gt;&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;'''Add File &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;button'''&amp;lt;/span&amp;gt;&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;. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add File'''&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; and navigate to the &amp;lt;/span&amp;gt;&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;''Examples\ERP-Auditory-Intensity''&amp;lt;/span&amp;gt;&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; subdirectory. Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s1.cnt'''&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;. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl'''&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; and select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s2.cnt'''&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;. Both names should then be displayed in the &amp;lt;/span&amp;gt;&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;''File Open''&amp;lt;/span&amp;gt;&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; dialog. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to add the files to the file list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;9. Highlight both names and press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Del'''&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; button to remove them from the list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;10. '''Files can be loaded from a previously saved file list'''&amp;lt;/span&amp;gt;&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;. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load File List '''&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;and select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ERP-Aud-Ex1.flist'''&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;, the list you saved in step 6 above.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''B. Setting up the batch'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;1. We will add three commands, &amp;lt;/span&amp;gt;&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;'''Paradigm'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Artifact Scan'''&amp;lt;/span&amp;gt;&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;, and &amp;lt;/span&amp;gt;&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;'''Average'''&amp;lt;/span&amp;gt;&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;, to create a batch that will be applied to the two files in the file list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;2. Click on the&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Batch Tab'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (8).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;3. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Command'''&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; button to obtain the &amp;lt;/span&amp;gt;&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;''Select Command''&amp;lt;/span&amp;gt;&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; window:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (9).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;4. Click on &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Paradigm'''&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; and then on &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; (alternatively, double-click on &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Paradigm'''&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;). Hit &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&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;, navigate to the &amp;lt;/span&amp;gt;&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;''Auditory''&amp;lt;/span&amp;gt;&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; folder, and select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''AEP_Intensity.pdg'''&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;, the paradigm for the auditory intensity experiment.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (10).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;5. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK '''&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;to obtain the &amp;lt;/span&amp;gt;&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;''Load Paradigm Task''&amp;lt;/span&amp;gt;&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; window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (11).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;6. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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;, and the first task in the batch is ready, and listed in the Batch Command window. If you want to modify the command, double-click on it to open the above window, that allows to browse for a different paradigm file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (12).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;7. Next, we add the &amp;lt;/span&amp;gt;&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;'''Artifact Scan'''&amp;lt;/span&amp;gt;&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; command. Click on the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Command'''&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; button, and select &amp;lt;/span&amp;gt;&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;''Artifact Scan.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (13).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;8. Press&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' OK'''&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; to open the &amp;lt;/span&amp;gt;&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;''Artifact Scan Task''&amp;lt;/span&amp;gt;&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; window. We want to be able to view the results of the scan, and adjust thresholds and bad channels if necessary. Therefore, check the &amp;lt;/span&amp;gt;&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;''Wait after scan''&amp;lt;/span&amp;gt;&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; checkbox.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.136cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (14).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;9. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to close the &amp;lt;/span&amp;gt;&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;''Artifact Scan Task''&amp;lt;/span&amp;gt;&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; window. Our batch now contains two commands.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (15).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;10. Finally, we will add an &amp;lt;/span&amp;gt;&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;'''Average'''&amp;lt;/span&amp;gt;&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; command. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Command'''&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; button and select &amp;lt;/span&amp;gt;&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;''Average''&amp;lt;/span&amp;gt;&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;. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to open the &amp;lt;/span&amp;gt;&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;''Average Task ''&amp;lt;/span&amp;gt;&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;window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (16).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;11. With the default settings, the average would be saved to the same directory as the data. The file name mask is set by default so that in this example the two averages would be saved to &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s1-av.fsg '''&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;and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s2-av.fsg'''&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;. We will save the averaged files to subdirectory &amp;lt;/span&amp;gt;&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;quot;Averages''&amp;lt;/span&amp;gt;&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;quot; of the data directory. Uncheck the &amp;lt;/span&amp;gt;&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;''Use default target''&amp;lt;/span&amp;gt;&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; check box, change the File name mask to &amp;lt;/span&amp;gt;&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;'''%basename%_av-test'''&amp;lt;/span&amp;gt;&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; in order not to overwrite the predefined files.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.136cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.136cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (17).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;12. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK '''&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;to close the &amp;lt;/span&amp;gt;&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;''Average Task''&amp;lt;/span&amp;gt;&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; window. Our batch is now complete. &amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (18).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;13. We will now save the batch so that it can be used again. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Batch'''&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; button, and save to the file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ERP-Aud-ex1.bbat'''&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;. Note that an easy way to generate new averaging batches is to load a previously save batch and edit the commands -- it may only be necessary to edit the &amp;lt;/span&amp;gt;&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;'''Paradigm'''&amp;lt;/span&amp;gt;&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; command to select the relevant paradigm file, and maybe to adjust the target directory in the &amp;lt;/span&amp;gt;&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;'''Average'''&amp;lt;/span&amp;gt;&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; command.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;14. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; in the &amp;lt;/span&amp;gt;&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;''Batch''&amp;lt;/span&amp;gt;&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; Window to start the batch running. As requested, the batch pauses after the artifact scan:. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (19).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;You may now adjust the number of rejected trials, e.g. by moving the vertical red bar to the left, or exclude bad channels. &amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;15. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to continue with averaging.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.136cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (20).gif]]&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;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;16. Note that, in the background, the &amp;lt;/span&amp;gt;&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;''Batch Running''&amp;lt;/span&amp;gt;&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; window is providing feedback about the current file and current task. &amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (6).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;17. The batch will stop again after the next artifact scan. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to allow the batch to run to the end. &amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (21).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;18. Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Log'''&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; to view the batch protocol. If you are using Internet Explorer or Netscape family (Mozilla, Firefox) browsers, and JavaScript is enabled, you will first see just batch titles defined by the date and time the batch was started. The most recent title is at the top of the list. For other browsers, or if JavaScript was not enabled, all protocol texts are expanded as in 19 (below).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.136cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (22).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;19. Click on the first title to expand its protocol. Here, for example, the protocol gives feedback about the number of epochs that were averaged for each file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;20. Finally, press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to return to the main BESA Research display. Open the averages in the &amp;lt;/span&amp;gt;&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;''Averages''&amp;lt;/span&amp;gt;&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; subdirectory to confirm that they were generated properly.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example: Merging files using the Export Command ====&lt;br /&gt;
&lt;br /&gt;
Here we will demonstrate the use of the '''Export '''command to merge two files. We will combine the two averages from the previous example (Data averaging in the auditory intensity experiment) into one target file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A. Generate the file list'''&lt;br /&gt;
&lt;br /&gt;
# Start BESA Research and load the two data files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S1_av-test.fsg'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S2_av-test.fsg'''&amp;lt;/span&amp;gt; that were saved in the previous example.&lt;br /&gt;
# Select ''Process / Batch Scripts....''The two file names should be displayed in the file list.&lt;br /&gt;
# In the file list, make sure that &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''s1_av-test.fsg '''&amp;lt;/span&amp;gt;is the first file in the list. If it is not, highlight the file, and move it up using &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl+up'''&amp;lt;/span&amp;gt;, or right click and select ''Move Up'' in the context menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''B. Generate the batch'''&lt;br /&gt;
&lt;br /&gt;
1. Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add Command'''&amp;lt;/span&amp;gt; button, and select the '''Export''' command.&lt;br /&gt;
&lt;br /&gt;
2. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to open the ''Export Task'' window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (24).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Select Options'''&amp;lt;/span&amp;gt;... button to open the ''Export Dialog''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Since we are combining averages, select ''Hires (no compression)'' in the '''Target data format''' drop-down list (If we were merging raw data files, it is better to select compression. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK '''&amp;lt;/span&amp;gt;to close the dialog. Check'' Append if file already exists'', so that the files will be merged. Enter '''s1+s2''' in the target file name mask edit box. This ensures that both files will be saved to the same target: &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S1+S2.fsg'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (26).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK '''&amp;lt;/span&amp;gt;to close the ''Export Task'' window. The '''Export '''command is displayed. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Optionally, you may save the batch file by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Batch'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
7. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to run the batch, and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; in the ''Batch Completed'' window to return to the BESA main window.&lt;br /&gt;
&lt;br /&gt;
8. Finally, open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S1+S2.fsg'''&amp;lt;/span&amp;gt; to confirm that it contains the two merged files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''C. Merge raw data'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Repeat the above task to merge the two raw data files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S1.cnt'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S2.cnt'''&amp;lt;/span&amp;gt; into a single target file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S1+S2.foc'''&amp;lt;/span&amp;gt;. In this case, select one of the compression options as the target data format. Note that you would not normally want to merge two files from different subjects. However, several data blocks from the same subject can conveniently be merged using this method.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note that &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''&amp;lt;nowiki&amp;gt;*.fsg&amp;lt;/nowiki&amp;gt;''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; files can also be merged using the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''Combine Conditions''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; dialog. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Combine Conditions, Channels ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Combine Condition Scripts ====&lt;br /&gt;
&lt;br /&gt;
With the Combine-Conditions module you can do a variety of operations on BESA averages (files with the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;, and other segment files, such as &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.mul&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;*.avr&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;*.swf&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Create grand averages&lt;br /&gt;
* Combine averages (add, subtract, weighted/unweighted)&lt;br /&gt;
* Merge files&lt;br /&gt;
* Exclude unwanted averages&lt;br /&gt;
* Rename conditions&lt;br /&gt;
* Rename or resort channels&lt;br /&gt;
* Generate averages or differences over selected channels&lt;br /&gt;
* Transform the data: standard interpolated 81 electrodes, change sampling rate, change interval&lt;br /&gt;
* Determine peaks, mean amplitudes, or integrals on data averages&lt;br /&gt;
* These operations can be performed on one or more files simultaneously. Results of an operation are stored in a single target file.&lt;br /&gt;
&lt;br /&gt;
The module includes four tabbed windows:&lt;br /&gt;
&lt;br /&gt;
* File List: Define a list of files on which the operations will be performed.&lt;br /&gt;
* Condition List: List the condition names, define target condition names, and how input conditions are combined into target conditions.&lt;br /&gt;
* Channel List: List the channel names, define target channel names, and how input channels are combined into target channels.&lt;br /&gt;
* Run Scripts: Define global options for the output (e.g. spatial interpolation, resampling, copy/merge or average, peak analysis). Start the operation.&lt;br /&gt;
* Note that in all four tabs, configurations can be saved for future use, and the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Previous'''&amp;lt;/span&amp;gt; button restores the most recently used configuration.&lt;br /&gt;
&lt;br /&gt;
==== Condition List Tab ====&lt;br /&gt;
&lt;br /&gt;
List the condition names, define target condition names, and how input conditions are combined into target conditions.&lt;br /&gt;
&lt;br /&gt;
The first column of the&amp;amp;nbsp;list box shows a list of all the condition names found in the source files.&lt;br /&gt;
&lt;br /&gt;
Rows of the list box define the source conditions. Columns define the target conditions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Initial setting'''&lt;br /&gt;
&lt;br /&gt;
When first selecting the tab, each column shows each condition name found in the source files (as in the example below). In the list box, there is a &amp;quot;+1&amp;quot; along the diagonal. The result of this selection is that target conditions will have the same name as source conditions. Right click on source condition labels to view properties (e.g. no. of samples, time range, sampling rate).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Editing the condition list'''&lt;br /&gt;
&lt;br /&gt;
* Target condition names can be edited, inserted or deleted by clicking on the label at the top of each column.&lt;br /&gt;
* Click on a box within the list to toggle between &amp;quot;+1&amp;quot;, &amp;quot;-1&amp;quot; and blank. These correspond to the operations:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt; &amp;quot;+1&amp;quot; = add&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;quot;-1&amp;quot; = subtract&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;blank = do nothing&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Right click on a box for further operations: conditions can be weighted by a given factor other than 1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Divide result by sum of PLUS factors'''&lt;br /&gt;
&lt;br /&gt;
* Normally, when creating an average over conditions, the sum is divided by the number of conditions, or a weighted average is generated (see below). &amp;amp;nbsp;If &amp;quot;''Divide result by sum of PLUS factors''&amp;quot; is unchecked, the conditions will be summed rather than averaged.&lt;br /&gt;
* Note that, when making differences between conditions, no such division is required. BESA Research will uncheck the checkbox automatically if subtraction (&amp;quot;-1&amp;quot;) is specified somewhere in the condition list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Weighting of averages'''&lt;br /&gt;
&lt;br /&gt;
* Below the list, click on the ''Weighted Average'' row to toggle &amp;quot;YES&amp;quot; and &amp;quot;NO&amp;quot;. &amp;quot;YES&amp;quot; means that averages will be weighted by the number of epochs contributing to the average. For instance, if average A contained 100 epochs and average B contained 200 epochs, the weighted average will be computed as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;(100 * A + &amp;amp;nbsp;200 * B) / (100 + 200)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;Select &amp;quot;NO&amp;quot; for an unweighted average. For the above example, the average is computed as&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;(A + B) / 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;Weighted averages are not permitted if one of the boxes contains a negative value.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Values other than +1 or -1 in the boxes apply a different kind of weighting. For instance, we want to compute the difference between the means of conditions A, B, C and D, E. Use a right click to specify the fraction 1/3 for each of A, B, and C, and -1/2 for each of D and E (see example below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Save the current condition list'''&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Condition List'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Load a condition list'''&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Condition List'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Load previous settings'''&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Previous'''&amp;lt;/span&amp;gt; button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Feedback'''&lt;br /&gt;
&lt;br /&gt;
* Conditions that have different numbers of electrodes (averaging across different files) can only be combined if channels are interpolated to a standard set of electrodes.&lt;br /&gt;
* Conditions that have different durations or sampling rates can only be combined if the sampling rate and durations are made the same.&lt;br /&gt;
* Feedback about the above situations is displayed by the presence of tick marks above the list box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Channel List Tab ====&lt;br /&gt;
&lt;br /&gt;
List the channel names, define target channel names, and how input channels are combined into target channels.&lt;br /&gt;
&lt;br /&gt;
Note that this tab is very similar in usage to the '''Condition List Tab'''. Note also that some of the functions performed in this tab could also be done in the Montage Editor. It may be a matter of convenience whether you choose to perform these operations here or in the Montage Editor.&lt;br /&gt;
&lt;br /&gt;
The first column of the list box shows a list of all the channel names found in the source files.&lt;br /&gt;
&lt;br /&gt;
Rows of the list box define the ''source'' channel. Columns define the'' target'' channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Initial setting'''&lt;br /&gt;
&lt;br /&gt;
When first selecting the tab, each column shows each channel name found in the source files (as in the example below). In the list box, there is a &amp;quot;+1&amp;quot; along the diagonal. The result of this selection is that target channel will have the same name as source channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Combining files'''&lt;br /&gt;
&lt;br /&gt;
If files with different channel configurations are included in the File List, the rows and columns of the Channel List Tab will only contain the labels for the channels that are in common among the files.&lt;br /&gt;
&lt;br /&gt;
If the files in the File List have a different sequence of channels, the sequence of the first file in the list will be adopted in the Channel List.&lt;br /&gt;
&lt;br /&gt;
Thus, for the initial setting, unless the &amp;quot;''Ignore Settings in this Tab''&amp;quot; checkbox is checked, the target grand average or peak/amplitude analysis, etc. will be applied using only channels that are in common among the input files, and using the channel sequence of the first file in the File List. By changing the target channels or by changing the entries in the Channel List, new channels consisting of averages or differences can be generated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What can the Channel List be used for?'''&lt;br /&gt;
&lt;br /&gt;
Some examples:&lt;br /&gt;
&lt;br /&gt;
* Reorder or relabel channels&lt;br /&gt;
* Create channel differences&lt;br /&gt;
* Create averages over channel groups, e.g. for peak analysis&lt;br /&gt;
* Extract a selection of channels for peak analysis or mean amplitudes&lt;br /&gt;
* Create grand averages across files with different channel configurations, just using channels in common among the files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (30).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Editing the channel list'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Target channel names can be edited, inserted or deleted by clicking on the label at the top of each column.&lt;br /&gt;
* Click on a box within the list to toggle between &amp;quot;+1&amp;quot;, &amp;quot;-1&amp;quot; and blank. These correspond to the operations:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;quot;+1&amp;quot; = add&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;quot;-1&amp;quot; = subtract&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;blank = do nothing&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Right click on a box for further operations: channels can be weighted by a given factor other than 1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Divide result by sum of PLUS factors'''&lt;br /&gt;
&lt;br /&gt;
* Normally, when creating an average over channels, the sum is divided by the number of channels, or a weighted average is generated (see below). &amp;amp;nbsp;If &amp;quot;Divide result by sum of PLUS factors&amp;quot; is unchecked, the channels will be summed rather than averaged.&lt;br /&gt;
* Note that, when making differences between channels, no such division is required. BESA Research will uncheck the checkbox automatically if subtraction (&amp;quot;-1&amp;quot;) is specified somewhere in the channel list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Save the current channel list'''&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Channel List'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Load a channel list'''&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Channel List&amp;amp;nbsp;'''&amp;lt;/span&amp;gt;button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Load previous settings'''&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Previous'''&amp;lt;/span&amp;gt; button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Run Scripts Tab ====&lt;br /&gt;
&lt;br /&gt;
Define global options for the output (e.g. spatial interpolation, resampling, copy/merge or average, peak detection. Start the operation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (7).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Load or Save Settings'''&lt;br /&gt;
&lt;br /&gt;
* You can save the current settings of this tab to a file (*.run) which can be loaded later.&lt;br /&gt;
* When you run the script, the current settings are saved automatically to a file &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PreviousSettings.run'''&amp;lt;/span&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Load Previous'''&lt;br /&gt;
&lt;br /&gt;
* Press this button to load the previous settings (from &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PreviousSettings.run'''&amp;lt;/span&amp;gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Averages to Generate'''&lt;br /&gt;
&lt;br /&gt;
* '''Generate separate averages for each source file'''. Averages are performed over conditions within the source file, and are then appended to the target file.&lt;br /&gt;
* '''Combine data from source files'''. Conditions are combined over all source files into a single target average.&lt;br /&gt;
* '''No averages, just copy'''. Files are copied and merged to the target file. Use this option for renaming conditions, merging files, removing unwanted averages (see below), changing the sampling rate and interval.&lt;br /&gt;
* '''Peaks and mean amplitudes'''. Specify time ranges for peaks, mean amplitudes, or integrals (areas).&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: When generating or copying averages (first three options), filters and baseline settings are turned off. For Peaks and mean amplitudes, filters and baseline settings are specified in the dialog.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Spatial Interpolation'''&lt;br /&gt;
&lt;br /&gt;
* '''Interpolate to Standard 81 electrodes'''. The target file will contain only electrodes (other channels are omitted), using the Standard 81 configuration (as in other export functions within BESA Research). This cannot be selected if the source data contain less than 16 EEG channels.&lt;br /&gt;
* '''Interpolate Bad Channels'''. Bad electrode channels in the source file will be interpolated. If the above option is deselected and bad channels exist in one or more of the source files, this option is always on.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;BESA Research can interpolate EEG, and MEG if the sensors are axial gradiometers or magnetometers. If other channels are marked as bad in one or more of the source files, these will be defined as bad in the target file. This applies to MEG planar gradiometers, to polygraphic data, and to ICR channels.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Temporal Interpolation'''&lt;br /&gt;
&lt;br /&gt;
* '''Spline to New Sampling Rate and Interval'''. Data can be converted to a new sampling rate, and the interval can be changed.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;If the sampling rate is reduced, the data will be low-pass filtered at 1/3 sampling frequency before reduction.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;If the sampling interval is changed, the prestimulus and poststimulus intervals are limited by the smallest intervals in the conditions contributing to the averages. These limits are shown below the edit boxes.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Peaks and Mean Amplitudes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (31).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Peaks:'''&lt;br /&gt;
&lt;br /&gt;
* Select the time range between which peaks are to be determined.&lt;br /&gt;
* Select the montage on which the peaks are to be determined.&lt;br /&gt;
* Define the filter settings.&lt;br /&gt;
* Define the baseline settings.&lt;br /&gt;
* Specify whether peaks are to be defined at one latency: if so, select the channel on which peaks are to be detected.&lt;br /&gt;
* Specify whether you want to find positive or negative peaks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Mean amplitudes and areas:'''&lt;br /&gt;
&lt;br /&gt;
* Select the time range over which the mean amplitudes or areas are to be determined.&lt;br /&gt;
* Select the montage on which the mean amplitudes or areas are to be determined.&lt;br /&gt;
* Define the filter settings.&lt;br /&gt;
* Note that when computing areas, data are first rectified (made positive) and then summed over the time range.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output options of the analysis:'''&lt;br /&gt;
&lt;br /&gt;
* A single ASCII file that contains the result of the analysis for all data sets, conditions, and channels including header and information lines.&lt;br /&gt;
* A sparse output suitable for import in SPSS. Each variable (e.g. a latency, a channel amplitude) constitutes one column of the output file.&lt;br /&gt;
* Direct transfer to MATLAB into a struct besa_peak. For more information on the data transfer from BESA Research to MATLAB, please refer to help chapter ''“The MATLAB interface”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Starting the Operation'''&lt;br /&gt;
&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;to start the operation. After the operation is completed, and the &amp;quot;Open target file in BESA&amp;quot; box is checked, BESA Research will open the target file. &amp;amp;nbsp;&amp;quot;Open target file in BESA&amp;quot; cannot be checked if &amp;quot;Peaks and mean amplitudes&amp;quot; was selected - then the result of the operation will be an ASCII file or a MATLAB transfer.&lt;br /&gt;
* You will be asked for the name of the target file (unless a MATLAB transfer of peak data has been performed).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Restrictions'''&lt;br /&gt;
&lt;br /&gt;
* Depending on source file configurations, not all options above are selectable. For instance, if two files contain different numbers of electrodes, and the &amp;quot;''Ignore Settings in this Tab''&amp;quot; checkbox is checked in the '''''Channel List''''' Tab, spatial interpolation to Standard 81 is enforced in the target. Similarly, if different sampling rates are used in different files, temporal interpolation is enforced.&lt;br /&gt;
* You are not allowed to add files to the file list if the channel configuration is different, and the data cannot be combined with Standard 81 interpolation. Since Standard 81 interpolation is only possible for EEG, multiple files without EEG can only be loaded if they have the same number of channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Create Grand Averages ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the files you want to average in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions...).''&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions. To average across different conditions, click in the list boxes to obtain &amp;quot;+1&amp;quot; for each source condition to combine, and rename the target condition to define a meaningful name for the average.&lt;br /&gt;
* Click on the '''Run Scripts Tab'''.&lt;br /&gt;
* If you have more than one file, specify whether averages should be generated across files ('''Combine data from source files''') or within files ('''Generate separate averages for each source file''').&lt;br /&gt;
* Select other options if required (spatial or temporal resampling).&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Generate Differences Between Conditions ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the files you want to operate on in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions...).''&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions. To create differences, click in the list boxes to obtain &amp;quot;+1&amp;quot; for one of the source conditions, and &amp;quot;-1&amp;quot; for the source condition to subtract, and rename the target condition to define a meaningful name for the difference.&lt;br /&gt;
* Click on the '''Run Scripts Tab'''.&lt;br /&gt;
* If you have more than one file, specify whether averages should be generated across files ('''Combine data from source files''') or within files ('''Generate separate averages for each source file''').&lt;br /&gt;
* Select other options if required (spatial or temporal resampling).&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;. An average of the differences is generated. If only one example of each condition exists, e.g. in a grand average file, the result is the difference between conditions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Merge Files ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the files you want to merge in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions''...).&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions.&lt;br /&gt;
* Click on the '''Run Scripts Tab'''. Select &amp;quot;''No averages, just copy''&amp;quot;.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
&lt;br /&gt;
* If the source files have different electrode configurations, use the Standard 81 configuration for the target.&lt;br /&gt;
* If the source files have different sampling rates or intervals, use Temporal Interpolation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Remove Unwanted Averages ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Removing one or more unwanted segments'''&lt;br /&gt;
&lt;br /&gt;
* Normally, all conditions are read from a source file. To exclude one or more segments from operations in the Combine Conditions module, mark the segments as artifacts in the main program display. It is sufficient for the beginning or the end of an artifact interval to be within the segment for the segment to be excluded.&lt;br /&gt;
* Open the file you want to operate on in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions...).''&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions.&lt;br /&gt;
* Click on the '''Run Scripts Tab'''. Select &amp;quot;''No averages, just copy''&amp;quot;.&lt;br /&gt;
* Press&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The target file contains the copied data without the conditions that were marked as averages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Removing one or more unwanted conditions (by label)'''&lt;br /&gt;
&lt;br /&gt;
* Open the file you want to operate on in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions...).''&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions.&lt;br /&gt;
* Deselect the target conditions you want to omit (replace the &amp;quot;+1&amp;quot; by a blank).&lt;br /&gt;
* Click on the '''Run Scripts Tab'''. Select &amp;quot;''No averages, just copy''&amp;quot;.&lt;br /&gt;
* Press&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The target file contains the copied data without the conditions that were marked as artifacts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Rename Conditions ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the file you want to operate on in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions''...).&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions. Click on column headings to rename the target conditions.&lt;br /&gt;
* Click on the''' Run Scripts Tab'''. Select &amp;quot;''No averages, just copy''&amp;quot;.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The target file contains the copied data with the renamed conditions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== How to Change the Sampling Rate ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the file(s) you want to change in BESA Research.&lt;br /&gt;
* Start the Combine Conditions Module (''ERP / Combine Conditions...'').&lt;br /&gt;
* Click on the '''Condition List Tab'''. By default, the target conditions receive the same name as the source conditions.&lt;br /&gt;
* Click on the '''Run Scripts Tab'''. Select &amp;quot;''No averages, just copy''&amp;quot;.&lt;br /&gt;
* Select &amp;quot;''Spline to New Sampling Rate and Interval''&amp;quot; and type the new sampling rate into the edit box.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Example: Create grand average and combinations of conditions ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this example, we will generate a grand average of the results of the Auditory Intensity Experiment. The experiment includes averages from five different stimulus intensities. We will create a grand average over each intensity, but also include means over the two lowest and the two highest intensities, and the difference between these two combinations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A. File selection'''&lt;br /&gt;
&lt;br /&gt;
# Start BESA Research and open files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''S1_av.fsg - S10_av.fsg'''&amp;lt;/span&amp;gt; in the ''Examples\ERP-Auditory-Intensity'' folder. The files contain the individual averaged data of the 10 subjects who participated in this study.&lt;br /&gt;
# Select ''ERP / Combine Conditions...'' The file list should display the two files, with feedback about the number of averages and conditions. 8 epochs are found. See the ''“Data averaging in the auditory intensity'' ''experiment”'' example for examples how to manipulate the file list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (32).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''B. Define conditions'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Click on the '''Condition List Tab'''. The initial window defines target conditions with the same name as the source conditions. To generate the grand average over these conditions we could proceed without further changes to the '''Run Scripts Tab'''. However, we want to modify the condition list and create a condition that contains the grand averaged difference between the''' High''' and '''Low''' conditions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (8).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Click on the '''All '''column label. In the resulting window, rename condition '''All''' to''' Difference'''. Then press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (33).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. The last column is now labeled '''Difference.''' Left-click twice onto the ‘'''+1’''' entry that links this condition to the '''All '''input condition. This will remove the link and leave the field blank. To define the ‘Difference’ condition as the average of ‘High’ minus ‘Low’ over subjects, left-click once into the field linking input '''High''' with target '''Difference''' to generate an entry ‘'''+1’''' in this field. Left-click twice into the field linking input '''Low '''with target '''Difference''' to generate an entry '-'''1'''’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (35).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Condition List'''&amp;lt;/span&amp;gt; and save the list to &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ER&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;P-aud-ex1.clist'''&amp;lt;/span&amp;gt;. This condition combination can thus be loaded later using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load Condition List'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''C. Run the script'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Click on the '''Run Script Tab'''.&lt;br /&gt;
# The default tab settings are ready for generating the grand average ('''Combine data from source file''' and '''Open target file in BESA''' should be checked). Just press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;. Enter &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''All_Subjects_cc-test.fsg'''&amp;lt;/span&amp;gt; as file name and press&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Save'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting file contains the 8 target conditions, 60db, 70dB, 80dB, 90dB, 100dB, Low, High, and Difference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Example: Average files from different experiments ====&lt;br /&gt;
&lt;br /&gt;
This example is intended to illustrate several features of the ''Combine Conditions'' Dialog, such as electrode interpolation and resampling. We will combine an average from the Auditory Intensity experiment with one from the P300 auditory experiment. In this particular case, it is not a very meaningful thing to do, but it shows what is possible. For instance, the same experiment may have been performed using different sampling rates or electrode combinations. This example shows how such data may be combined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''A. File selection'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Start BESA Research and open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''All_Subjects_GA.fsg'''&amp;lt;/span&amp;gt; in the ''Examples\ERP-Auditory-Intensity'' folder. The file contains the grand average data from the auditory intensity experiment.&lt;br /&gt;
# Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''RareFrequentResponseLeft.fsg'''&amp;lt;/span&amp;gt; in the ''Examples\ERP-P300-Auditory'' folder. This file contains averages from the P300 auditory experiment.&lt;br /&gt;
# Select ''ERP / Combine Conditions... ''Note that the files have different sampling rates and different numbers of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (36).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''B. Define conditions'''&lt;br /&gt;
&lt;br /&gt;
1. Click on the '''Condition List Tab'''. Note that the feedback text at the bottom of the window displays the text &amp;quot;Standard 81 interpolation required to generate average; Across files: resampling or change in time range required to generate average&amp;quot;. The condition labels show all the names from both files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (37).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.  We will exclude most conditions, and just combine the most similar conditions from the two experiments: the &amp;quot;Standard&amp;quot; and the &amp;quot;80dB&amp;quot; conditions. Click on the title of the first column,''' Blink'''. Select “''Delete all conditions to the right of this column”'', and press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (38).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Click on the title again, and rename the target condition to &amp;quot;Standard&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (39).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Click twice in the first line to remove the &amp;quot;+1&amp;quot; entry there. Click once in the third row (&amp;quot;Frequent&amp;quot;), and in the 7th row (&amp;quot;80dB&amp;quot;), to display &amp;quot;+1&amp;quot; at each entry. Thus, just two of the conditions will be combined into one target condition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Batch processing (40).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''C. Run the script'''&lt;br /&gt;
&lt;br /&gt;
1. Click on the '''Run Script Tab'''. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Batch processing (41).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Note that '''Interpolate to Standard 81 electrodes''' is checked and grayed: since two different electrode sets are to be combined, we can only do this by interpolating electrodes. Also, both '''Spline to new sampling rate''' and '''Clip interval '''are checked and grayed. Again, these settings are required in order to be able to average the two data files together. The sampling rate is set to the higher of the two selections. The time range is set to the largest possible range that can be clipped from the two data sets. For now, leave these settings as they are, and press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;. Save the target to &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''TestCombineExpts_CC-std81.fsg'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_ICA</id>
		<title>BESA Research ICA</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_ICA"/>
				<updated>2017-04-07T13:05:47Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&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;Independent Component Analysis&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&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;ICA Analysis - Main Window&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;ICA analysis allows decomposing EEG/MEG data into independent components. ICA decomposition is performed on the current screen and can be started from the ICA entry in the menu bar or by pressing the ICA button located in the button menu. The amount of data available in the current screen can be manipulated by using the time scaling button in the bottom right corner of the main window. The ICA menu contains the entries &amp;lt;/span&amp;gt;&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;'''Current Screen'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Select Components'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Load Components'''&amp;lt;/span&amp;gt;&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;, and &amp;lt;/span&amp;gt;&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;'''Options'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (1).jpg ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Choosing the option &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Current Screen'''&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; will lead to the computation of an independent component analysis of the data available on the current screen. Filters are taken into account; bad channels are excluded. The amount of data available in the current screen can be changed by using the time scaling button in the bottom right corner of the main window (max. 1200 s).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In case EEG and MEG data are both available, ICA analysis will only run on the data type that is selected by the EEG/MEG button. Running ICA on combined gradiometer/magnetometer data is not possible. It can only run on one channel type at a time.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The method behind ICA analysis is the extended ICA algorithm (Lee TW et al. Independent component analysis using an extended infomax algorithm for mixed sub-Gaussian and super-Gaussian sources. Neural Computation 11(2), 1999, 409-433). Before ICA is calculated, the dimensionality of data is optionally reduced by PCA. By default, all PCA components are ignored that explain less than 1% variance. The use of PCA can be switched off or the variance cutoff can be altered by pressing &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Options'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (1).gif ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;While ICA is being computed, the current analysis step is displayed in a dialog box along with the changing weights (see figure below). The first ICA step may take longer for many samples than the subsequent steps. In case the number of steps does not change within one second, one full stop is displayed after the step value, two full stops after 2 seconds, 3 full stops after 3 seconds, none after 4 seconds, 1 full stop after 5 seconds, etc. If ICA weights rise too strongly, ICA decomposition restarts with a smaller learning rate. In this case “Restarting” is displayed in the dialogue box. ICA analysis stops when the change of weights from 1 step to the next is smaller than 1.e-6 or after max. 500 steps. ICA analysis can be stopped by pressing the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Abort '''&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;button in the dialog box.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The result of the ICA analysis is displayed like a montage (see figure below). ICA waveforms have the labels ICA1 – ICAx. The menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Current screen '''&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;is ticked and the ICA button is pressed down. ICA components are sorted in descending order of their explained variance.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The displayed ICA montage is automatically recomputed whenever ICA options change or the data change, e.g. when paging, filtering, changing the time-range to display, etc.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The current ICA decomposition is calculated only taking the data of the current screen into account, but the result is applied on the whole data set. In case the time interval of the data shown on the current screen changes, no automatic recomputation of the ICA decomposition is going to be performed. Instead, an explicit re-calculation is required by clicking the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Current screen'''&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;&lt;br /&gt;
&lt;br /&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;Choosing the option &amp;lt;/span&amp;gt;&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;'''''Load Components'''''&amp;lt;/span&amp;gt;&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;, an ASCII file of previously stored or externally calculated ICA topographies can be loaded and displayed. The file must have the format of &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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; files described further down with the &amp;lt;/span&amp;gt;&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;'''''Save Topography'''''&amp;lt;/span&amp;gt;&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; option.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Right-clicking on an ICA label marks the label and opens a pop-up menu with the following options:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The pop-up menu can also be opened when more than one ICA components are selected (using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl'''&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;-key).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map Topography '''&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;opens the 3D map of the currently selected ICA component (only one component can be selected for this option). The label of the currently selected ICA component is displayed in the bottom left corner of the mapping window. The function &amp;lt;/span&amp;gt;&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;quot;Time-Series-Mapping” ''&amp;lt;/span&amp;gt;&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;is deactivated when mapping ICA components as the topography does not change over time. Each map is scaled at 120% of its absolute maximum value.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The option &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Define as Artifact Topography'''&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; opens the “&amp;lt;/span&amp;gt;&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;''Select Topographies” ''&amp;lt;/span&amp;gt;&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;tab of the Artifact Correction Dialog (analogous to pressing &amp;lt;/span&amp;gt;&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;''Artifact / Select''&amp;lt;/span&amp;gt;&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;). In this tab, the selected ICA component can be assigned to artifact categories HEOG, VEOG, Blink, EKG, Other1 or Other2. A maximum number of 10 ICA components can be selected at a time when using the artifact categories Other1 and Other2.For the other artifact categories, only 1 ICA component can be selected. &amp;amp;nbsp;After assigning an ICA topography to an artifact category, the topography map and artifact view are shown. Data are not automatically corrected, as this would prompt a new ICA calculation on artifact-corrected data. If the data contain more than one channel type, artifact correction based on ICA components is only available for the channel type on which the ICA was calculated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send Topography to Source Analysis'''&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; sends all selected ICA topographies to the Source Analysis module as ICA components. This is only possible if the Source Analysis window is open. Within the Source Analysis window the ICA components can be displayed by pressing the ICA button. Right-clicking on an ICA label allows adding the ICA component(s) to the solution as spatial topographies.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Topography'''&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; saves all selected ICA topographies in an ASCII-file. This file can be opened in the Source Analysis window or reloaded with &amp;lt;/span&amp;gt;&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;''Load Components. ''&amp;lt;/span&amp;gt;&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;File name and path can be selected in the standard saving dialog. The default name is the basename of the current file with the extension “&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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;”. If the data contain different channel types, the filename will be “*_&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''channeltype.ica'''&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;” (e.g. “*_&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Eeg.ica'''&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;”). The format of &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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; files is similar to artifact topography files (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.atf&amp;lt;/nowiki&amp;gt;'''&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;). The first line contains the number of &amp;lt;/span&amp;gt;&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;elements (channels) per ICA component (Nchan). The second line contains a list of channel labels and the channel type (Type). The following lines contain the ICA topographies, one topography per line. Each line begins with the corresponding ICA label. Please note that ICA topographies are not average referenced!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Nchan= &amp;lt;Number of elements (channels) per ICA topography&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;List of Nchan channel labels&amp;gt; Type= &amp;lt;BSA channel type als integer&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Label of the first ICA topography, e.g. ICA1&amp;gt; &amp;lt;ICA topography with Nchan elements&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Label of the second ICA topography, e.g. ICA2&amp;gt; &amp;lt;ICA topography with Nchan elements&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;&lt;br /&gt;
&lt;br /&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; Label of the ith ICA topography, e.g. ICA8&amp;gt; &amp;lt;ICA topography with Nchan elements&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Export ICA Reconstructed Data Without Selected Components'''&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;: Current Screen creates a new dataset &amp;lt;/span&amp;gt;&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;'''without '''&amp;lt;/span&amp;gt;&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;the selected ICA components and with the current filter settings only of the data shown on the &amp;lt;/span&amp;gt;&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;'''current screen'''&amp;lt;/span&amp;gt;&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;. This can be done on the basis of spatial components associated with the ICA topographies analogous to calculating model waveforms from source solutions. The ICA-reconstructed file is saved in BESA binary format with the extension “&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica.fsg&amp;lt;/nowiki&amp;gt;'''&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;” and contains only those channels for which an ICA was initially computed. If the original data contain more than one channel types, the filename will be labeled according to the channel type used for the reconstruction, e.g. *_&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Eeg.ica.fsg'''&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;”. ICA-reconstructed data can for example be sent to source analysis to only perform source analysis on specific ICA components of interest.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Export ICA Reconstructed Data Without Selected Components'''&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;'''Whole File'''&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; creates a new dataset &amp;lt;/span&amp;gt;&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;'''without'''&amp;lt;/span&amp;gt;&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; the selected ICA components and with the current filter settings of the &amp;lt;/span&amp;gt;&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;'''entire dataset'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;Operations on the decomposed data can also be performed from the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA Select'''&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; window (menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA'''&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;'''/ Select components'''&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; - see figure below). The component name is displayed at the left, the explained variance at the right. If the option &amp;lt;/span&amp;gt;&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;'''''Map when clicked'''''&amp;lt;/span&amp;gt;&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; is checked, the topography of every component is displayed after clicking on it. A component can be selected by double-clicking. It will be marked by an asterisk and it is going to be omitted from the data when exporting with the options &amp;lt;/span&amp;gt;&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;'''''Reconstruct: Screen'''''&amp;lt;/span&amp;gt;&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; or &amp;lt;/span&amp;gt;&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;'''''Reconstruct: Whole File'''''&amp;lt;/span&amp;gt;&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;. The button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Channel Display'''&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; can be used to only show a part of the available ICA components on the screen. Finally, the button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Topographies'''&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; can be used to save the selected topographies (see the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Topography'''&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; from the popup menu above).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;ICA Analysis - Source Analysis Window&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;ICA components can be used in the Source Analysis window either by sending ICA topographies directly from the main window or by loading an ICA topography file (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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;) in the Source Analysis window (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File /'''&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;'''Load ICA components'''&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;&lt;br /&gt;
&lt;br /&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;Please note that ICA decomposition is not computed within the Source Analysis window. The Source Analysis window must be opened before sending ICA topographies. The channel configuration of the ICA components and the data in the Source Analysis window must match. When ICA topographies are available in the Source Analysis window, the ICA/PCA toggle button is set to ICA. A waveform for the data-segment available in the Source Analysis window is reconstructed for each ICA component. The amount of variance each ICA component explains is displayed to the right of the according waveform. Additional ICA components can be appended to the ones already present in the Source Analysis window by pressing &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Append ICA components'''&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;. One or more ICA components can be selected by using the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' shift '''&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;or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl'''&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;-key and left-clicking in the ICA component labels. Right-clicking on one or several selected ICA component labels opens a menu with several ICA-related options (see. fig. 1):&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Figure 1''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Switch off / on ICA component(s)'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Selected ICA components are ignored in the Source Analysis window. Their labels and waveforms are grayed out. If data are sorted by the channel order, un-selected ICA components are automatically sorted to the bottom of the waveform panel. This can be helpful when many ICA components are sent to or loaded in the Source Analysis window. Un-selected ICA-components can be switched back on.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Add selected / all ICA components to solution'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;One spatial component, corresponding to one ICA topography, per selected ICA label is added to the source solution. The absolute position of the displayed dipoles should not be interpreted as an accurate location, as it is located at the center of gravity of the according map. The source waveform associated with the spatial component is displayed in the Source Waveform panel in the middle of the Source Analysis window. Spatial components are the preferable choice for modeling artifact topographies in&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;a source solution (rather than performing source analysis on artifact-corrected data). Spatial components can also be useful if parts of the signal are to be explained that are not of primary interest to the research question in order to reduce the amount of variance that needs to be explained by discrete source analysis.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Research Manual]]&lt;br /&gt;
&lt;br /&gt;
{{BESAManualNav}}&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_ICA</id>
		<title>BESA Research ICA</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_ICA"/>
				<updated>2017-04-07T12:53:40Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&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;Independent Component Analysis&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&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;ICA Analysis - Main Window&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;ICA analysis allows decomposing EEG/MEG data into independent components. ICA decomposition is performed on the current screen and can be started from the ICA entry in the menu bar or by pressing the ICA button located in the button menu. The amount of data available in the current screen can be manipulated by using the time scaling button in the bottom right corner of the main window. The ICA menu contains the entries &amp;lt;/span&amp;gt;&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;'''Current Screen'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Select Components'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Load Components'''&amp;lt;/span&amp;gt;&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;, and &amp;lt;/span&amp;gt;&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;'''Options'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (1).jpg ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Choosing the option &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Current Screen'''&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; will lead to the computation of an independent component analysis of the data available on the current screen. Filters are taken into account; bad channels are excluded. The amount of data available in the current screen can be changed by using the time scaling button in the bottom right corner of the main window (max. 1200 s).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In case EEG and MEG data are both available, ICA analysis will only run on the data type that is selected by the EEG/MEG button. Running ICA on combined gradiometer/magnetometer data is not possible. It can only run on one channel type at a time.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The method behind ICA analysis is the extended ICA algorithm (Lee TW et al. Independent component analysis using an extended infomax algorithm for mixed sub-Gaussian and super-Gaussian sources. Neural Computation 11(2), 1999, 409-433). Before ICA is calculated, the dimensionality of data is optionally reduced by PCA. By default, all PCA components are ignored that explain less than 1% variance. The use of PCA can be switched off or the variance cutoff can be altered by pressing &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Options'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (1).gif ‎ ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;While ICA is being computed, the current analysis step is displayed in a dialog box along with the changing weights (see figure below). The first ICA step may take longer for many samples than the subsequent steps. In case the number of steps does not change within one second, one full stop is displayed after the step value, two full stops after 2 seconds, 3 full stops after 3 seconds, none after 4 seconds, 1 full stop after 5 seconds, etc. If ICA weights rise too strongly, ICA decomposition restarts with a smaller learning rate. In this case “Restarting” is displayed in the dialogue box. ICA analysis stops when the change of weights from 1 step to the next is smaller than 1.e-6 or after max. 500 steps. ICA analysis can be stopped by pressing the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Abort '''&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;button in the dialog box.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The result of the ICA analysis is displayed like a montage (see figure below). ICA waveforms have the labels ICA1 – ICAx. The menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Current screen '''&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;is ticked and the ICA button is pressed down. ICA components are sorted in descending order of their explained variance.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The displayed ICA montage is automatically recomputed whenever ICA options change or the data change, e.g. when paging, filtering, changing the time-range to display, etc.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The current ICA decomposition is calculated only taking the data of the current screen into account, but the result is applied on the whole data set. In case the time interval of the data shown on the current screen changes, no automatic recomputation of the ICA decomposition is going to be performed. Instead, an explicit re-calculation is required by clicking the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA / Current screen'''&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;&lt;br /&gt;
&lt;br /&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;Choosing the option &amp;lt;/span&amp;gt;&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;'''''Load Components'''''&amp;lt;/span&amp;gt;&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;, an ASCII file of previously stored or externally calculated ICA topographies can be loaded and displayed. The file must have the format of &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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; files described further down with the &amp;lt;/span&amp;gt;&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;'''''Save Topography'''''&amp;lt;/span&amp;gt;&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; option.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Right-clicking on an ICA label marks the label and opens a pop-up menu with the following options:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The pop-up menu can also be opened when more than one ICA components are selected (using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl'''&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;-key).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map Topography '''&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;opens the 3D map of the currently selected ICA component (only one component can be selected for this option). The label of the currently selected ICA component is displayed in the bottom left corner of the mapping window. The function &amp;lt;/span&amp;gt;&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;quot;Time-Series-Mapping” ''&amp;lt;/span&amp;gt;&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;is deactivated when mapping ICA components as the topography does not change over time. Each map is scaled at 120% of its absolute maximum value.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The option &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Define as Artifact Topography'''&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; opens the “&amp;lt;/span&amp;gt;&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;''Select Topographies” ''&amp;lt;/span&amp;gt;&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;tab of the Artifact Correction Dialog (analogous to pressing &amp;lt;/span&amp;gt;&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;''Artifact / Select''&amp;lt;/span&amp;gt;&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;). In this tab, the selected ICA component can be assigned to artifact categories HEOG, VEOG, Blink, EKG, Other1 or Other2. A maximum number of 10 ICA components can be selected at a time when using the artifact categories Other1 and Other2.For the other artifact categories, only 1 ICA component can be selected. &amp;amp;nbsp;After assigning an ICA topography to an artifact category, the topography map and artifact view are shown. Data are not automatically corrected, as this would prompt a new ICA calculation on artifact-corrected data. If the data contain more than one channel type, artifact correction based on ICA components is only available for the channel type on which the ICA was calculated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send Topography to Source Analysis'''&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; sends all selected ICA topographies to the Source Analysis module as ICA components. This is only possible if the Source Analysis window is open. Within the Source Analysis window the ICA components can be displayed by pressing the ICA button. Right-clicking on an ICA label allows adding the ICA component(s) to the solution as spatial topographies.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Topography'''&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; saves all selected ICA topographies in an ASCII-file. This file can be opened in the Source Analysis window or reloaded with &amp;lt;/span&amp;gt;&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;''Load Components. ''&amp;lt;/span&amp;gt;&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;File name and path can be selected in the standard saving dialog. The default name is the basename of the current file with the extension “&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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;”. If the data contain different channel types, the filename will be “*_&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''channeltype.ica'''&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;” (e.g. “*_&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Eeg.ica'''&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;”). The format of &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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; files is similar to artifact topography files (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.atf&amp;lt;/nowiki&amp;gt;'''&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;). The first line contains the number of &amp;lt;/span&amp;gt;&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;elements (channels) per ICA component (Nchan). The second line contains a list of channel labels and the channel type (Type). The following lines contain the ICA topographies, one topography per line. Each line begins with the corresponding ICA label. Please note that ICA topographies are not average referenced!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Nchan= &amp;lt;Number of elements (channels) per ICA topography&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;List of Nchan channel labels&amp;gt; Type= &amp;lt;BSA channel type als integer&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Label of the first ICA topography, e.g. ICA1&amp;gt; &amp;lt;ICA topography with Nchan elements&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Label of the second ICA topography, e.g. ICA2&amp;gt; &amp;lt;ICA topography with Nchan elements&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;&lt;br /&gt;
&lt;br /&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; Label of the ith ICA topography, e.g. ICA8&amp;gt; &amp;lt;ICA topography with Nchan elements&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Export ICA Reconstructed Data Without Selected Components'''&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;: Current Screen creates a new dataset &amp;lt;/span&amp;gt;&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;'''without '''&amp;lt;/span&amp;gt;&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;the selected ICA components and with the current filter settings only of the data shown on the &amp;lt;/span&amp;gt;&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;'''current screen'''&amp;lt;/span&amp;gt;&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;. This can be done on the basis of spatial components associated with the ICA topographies analogous to calculating model waveforms from source solutions. The ICA-reconstructed file is saved in BESA binary format with the extension “&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica.fsg&amp;lt;/nowiki&amp;gt;'''&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;” and contains only those channels for which an ICA was initially computed. If the original data contain more than one channel types, the filename will be labeled according to the channel type used for the reconstruction, e.g. *_&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Eeg.ica.fsg'''&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;”. ICA-reconstructed data can for example be sent to source analysis to only perform source analysis on specific ICA components of interest.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Export ICA Reconstructed Data Without Selected Components'''&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;'''Whole File'''&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; creates a new dataset &amp;lt;/span&amp;gt;&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;'''without'''&amp;lt;/span&amp;gt;&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; the selected ICA components and with the current filter settings of the &amp;lt;/span&amp;gt;&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;'''entire dataset'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;Operations on the decomposed data can also be performed from the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA Select'''&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; window (menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ICA'''&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;'''/ Select components'''&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; - see figure below). The component name is displayed at the left, the explained variance at the right. If the option &amp;lt;/span&amp;gt;&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;'''''Map when clicked'''''&amp;lt;/span&amp;gt;&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; is checked, the topography of every component is displayed after clicking on it. A component can be selected by double-clicking. It will be marked by an asterisk and it is going to be omitted from the data when exporting with the options &amp;lt;/span&amp;gt;&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;'''''Reconstruct: Screen'''''&amp;lt;/span&amp;gt;&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; or &amp;lt;/span&amp;gt;&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;'''''Reconstruct: Whole File'''''&amp;lt;/span&amp;gt;&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;. The button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Channel Display'''&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; can be used to only show a part of the available ICA components on the screen. Finally, the button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Topographies'''&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; can be used to save the selected topographies (see the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save Topography'''&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; from the popup menu above).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;ICA Analysis - Source Analysis Window&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;ICA components can be used in the Source Analysis window either by sending ICA topographies directly from the main window or by loading an ICA topography file (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ica&amp;lt;/nowiki&amp;gt;'''&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;) in the Source Analysis window (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File /'''&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;'''Load ICA components'''&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;&lt;br /&gt;
&lt;br /&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;Please note that ICA decomposition is not computed within the Source Analysis window. The Source Analysis window must be opened before sending ICA topographies. The channel configuration of the ICA components and the data in the Source Analysis window must match. When ICA topographies are available in the Source Analysis window, the ICA/PCA toggle button is set to ICA. A waveform for the data-segment available in the Source Analysis window is reconstructed for each ICA component. The amount of variance each ICA component explains is displayed to the right of the according waveform. Additional ICA components can be appended to the ones already present in the Source Analysis window by pressing &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Append ICA components'''&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;. One or more ICA components can be selected by using the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' shift '''&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;or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl'''&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;-key and left-clicking in the ICA component labels. Right-clicking on one or several selected ICA component labels opens a menu with several ICA-related options (see. fig. 1):&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ICA (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Figure 1''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Switch off / on ICA component(s)'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Selected ICA components are ignored in the Source Analysis window. Their labels and waveforms are grayed out. If data are sorted by the channel order, un-selected ICA components are automatically sorted to the bottom of the waveform panel. This can be helpful when many ICA components are sent to or loaded in the Source Analysis window. Un-selected ICA-components can be switched back on.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Add selected / all ICA components to solution'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;One spatial component, corresponding to one ICA topography, per selected ICA label is added to the source solution. The absolute position of the displayed dipoles should not be interpreted as an accurate location, as it is located at the center of gravity of the according map. The source waveform associated with the spatial component is displayed in the Source Waveform panel in the middle of the Source Analysis window. Spatial components are the preferable choice for modeling artifact topographies in&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;a source solution (rather than performing source analysis on artifact-corrected data). Spatial components can also be useful if parts of the signal are to be explained that are not of primary interest to the research question in order to reduce the amount of variance that needs to be explained by discrete source analysis.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_ERP_Processing</id>
		<title>BESA Research ERP Processing</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_ERP_Processing"/>
				<updated>2017-04-07T12:52:25Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&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;ERP Processing and Averaging&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== The Event-Related Potentials (ERP) Module - Introduction ===&lt;br /&gt;
&lt;br /&gt;
The Event-Related Potentials (ERP) module provides many features that assist you with the analysis of event-related and evoked potentials and fields. These features, which are explained below, include&lt;br /&gt;
&lt;br /&gt;
* defining triggers and conditions on the basis of experimental paradigms&lt;br /&gt;
* simultaneous averaging of multiple conditions&lt;br /&gt;
* viewing and analyzing averaged results in a Top Viewer window, e.g. for peak finding and measurement of amplitudes&lt;br /&gt;
* Grand Average and combining of conditions&lt;br /&gt;
* a Schmitt Trigger tool which makes it easy to convert EMG/EEG artifacts into trigger events&lt;br /&gt;
* a tool for editing triggers&lt;br /&gt;
* import and export of triggers from/to ASCII file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Coherence analysis is covered in the chapter on ''Source Coherence''.&lt;br /&gt;
&lt;br /&gt;
A comprehensive review of the features is given in the online help chapter ''&amp;quot;ERP / Reference&amp;quot;. ''Detailed tutorials can be found in help chapter ''&amp;quot; ERP / Functions of the ERP module&amp;quot;'' under the corresponding section.&lt;br /&gt;
&lt;br /&gt;
=== Paradigms for Averaging ===&lt;br /&gt;
&lt;br /&gt;
==== Introduction ====&lt;br /&gt;
&lt;br /&gt;
Paradigms allow to use scripting techniques for averaging of multiple recordings.&lt;br /&gt;
&lt;br /&gt;
They keep track of all relevant settings for averaging and make it easy to perform all necessary steps for optimal averaging of the data with a few mouse clicks. Each experimental task is described by a condition, in which trigger events are selected for averaging on the basis of user-defined boolean statements. Conditions can later be combined, e.g. to create grand averages or to form difference conditions.&lt;br /&gt;
&lt;br /&gt;
The process of editing paradigm definitions is started using the menu entries &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Open Paradigm'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Edit Paradigm'''&amp;lt;/span&amp;gt;, or the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ERP'''&amp;lt;/span&amp;gt; push button in the main window, as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (1).gif ]][[Image:ERP Processing (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''ERP menu. Select Open Paradigm BESA Research browses to the folder of pre-defined paradigms ''&lt;br /&gt;
&lt;br /&gt;
''to open a pre-defined paradigm file. automatically. From the 'Directories' drop-down menu, the current ''&lt;br /&gt;
&lt;br /&gt;
''data directory can be quickly accessed as well.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Whereas '''''Open Paradigm''''' asks for a pre-defined paradigm file, '''''Edit Paradigm''''' opens the last used paradigm file for the current data set. If no paradigm is present, a new paradigm with default settings is created automatically. The &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP'''&amp;lt;/span&amp;gt; push button tries to open the last used paradigm file. If it does not exist, the '''''File Open''''' box appears.&lt;br /&gt;
&lt;br /&gt;
The paradigm is defined using 6 (with Source Coherence Module 7) different dialog tabs. Each summarizes one aspect of the paradigm:&lt;br /&gt;
&lt;br /&gt;
* Trigger: define trigger codes by assigning names and other attributes. Attributes (e.g. &amp;quot;intensity&amp;quot;) help to group triggers.&lt;br /&gt;
* Condition: define a condition which selects trigger events from the experiment. Logical expressions can be combined to filter, for example, only the correct responses to a given task.&lt;br /&gt;
* Epoch: define epochs for averaging, baseline, artifact rejection, stimulus artifacts, and possibly a delay in trigger administration&lt;br /&gt;
* Filter: edit filter settings for averaging&lt;br /&gt;
* Artifact: reject artifacts by means of an interactive graphical rejection tool&lt;br /&gt;
* Average: select conditions for averaging and perform the average&lt;br /&gt;
* Coherence: specify settings for the time-frequency transformation (Source Coherence Module required)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Trigger'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;By default, triggers are defined by the trigger code. However, this definition is arbitrary and working with numbers instead of names is error-prone. The Trigger dialog tab in the Paradigm property sheet enables naming triggers and grouping triggers by making use of attributes. These attributes can be freely assigned, and each trigger obtains a unique definition for its attributes.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Generally, the suggested order in which to proceed for trigger definition is:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Define the attributes which cover all the different sub-groups of triggers&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;For each attribute, define the different values the attribute can take&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Define the triggers by selecting the code and the appropriate attribute values, and using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Set '''&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;button&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&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;''Trigger ''&amp;lt;/span&amp;gt;&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;dialog tab contains two main sections: The upper part is used to define attributes and attribute values for the triggers, whereas the lower part shows the current definitions.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For example, to assign names to the trigger codes:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Enter names in the edit boxes of the &amp;lt;/span&amp;gt;&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;''Attribute Values''&amp;lt;/span&amp;gt;&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; section (below the attribute “name”)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Add them to the list using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add to List'''&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; button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Define them by selecting code and name in the list box under the attribute “name” and clicking the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Set'''&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; button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Trigger tab. The trigger codes are shown. The attribute “name” is defined automatically.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Condition'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A condition holds all information connected with a task or a specific event type.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the ERP module, averaging is performed on the basis of conditions. A condition is given by a logic expression that defines which trigger events are accepted for averaging. The &amp;quot;condition&amp;quot; tab makes it possible to define complex logic expressions and to see immediately how many matching trigger events result.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The example conditions shown in the figure below are defined in Tutorial 1: &amp;lt;/span&amp;gt;&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;''‘Using a P300 Paradigm for''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Averaging ''&amp;lt;/span&amp;gt;&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;' in help chapter &amp;lt;/span&amp;gt;&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;''“ERP / Functions… / Paradigms for Averaging”,''&amp;lt;/span&amp;gt;&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; which gives a comprehensive overview of the features of the averaging module.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (2).png ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Editing a paradigm: Conditions can be defined by combining trigger definitions using boolean logic. This example shows definitions of three conditions (Rare, Standard, Hit) with a different number of matching events (40, 160, 134).''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Epoch'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The dialog tab&amp;lt;/span&amp;gt;&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;'' Epoch''&amp;lt;/span&amp;gt;&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; is used to set the epochs which define the averaging interval. For each condition, an individual set of epochs can be defined for averaging by the edit boxes at the top of the dialog tab. At the bottom of the tab, the current settings for all conditions can be viewed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The push buttons in the center of the tab control the editing process. Two push buttons at the bottom right are for loading and saving a paradigm file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (3).png]]&lt;br /&gt;
&lt;br /&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;''Epoch tab. 4 different epochs can be defined for each condition. A stimulus delay time can also be specified.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Filter'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&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;''Filter ''&amp;lt;/span&amp;gt;&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;dialog tab allows you to change filter settings prior to averaging the data. The low and high pass filters can be chosen differently for the artifact scan and the average. &amp;lt;/span&amp;gt;&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;'''Note'''&amp;lt;/span&amp;gt;&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;: If the paradigm is edited for the first time, default filter settings are used. These can differ from the filter settings which you set in the review window. If a paradigm file was opened which does not contain filter settings, the filter settings which were chosen in the base module are displayed in the dialog tab.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (4).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Filter tab. Low cutoff, high cutoff, and band pass filters can be applied.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Artifact'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&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;''Artifact''&amp;lt;/span&amp;gt;&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; dialog tab provides an easy way to define artifact rejection thresholds and to exclude bad channels and bad sweeps from the analysis. This is achieved by scanning the data file and then using the graphics display presented in the center of the dialog tab, which shows channels and sweeps sorted according to user-defined criteria.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If the user does not check any of the options &amp;lt;/span&amp;gt;&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;''Fixed Thresholds''&amp;lt;/span&amp;gt;&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; and &amp;lt;/span&amp;gt;&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;''Artifact Scan Tool''&amp;lt;/span&amp;gt;&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;, only regions which were explicitly marked as artifacts by the user will be excluded from the averages. If the option &amp;lt;/span&amp;gt;&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;''Fixed Thresholds''&amp;lt;/span&amp;gt;&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; is checked, the thresholds given in the edit boxes for amplitude and gradient are used to reject sweeps contaminated by artifacts.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The option &amp;lt;/span&amp;gt;&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;''Artifact Scan Tool''&amp;lt;/span&amp;gt;&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; provides an interactive tool for the comprehensive detection and rejection of both artifact-loaded channels and sweeps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The figure below shows the result of an artifact scan. The trials are depicted in the columns of the display, sorted according to the highest amplitudes. Trials are rejected by mouse drag of the vertical cursor or by adjusting the rejection threshold for maximum amplitude, gradient, or minimum variance within a trial. The channels are depicted in the rows of the display, sorted according to the mean amplitude values over the trials. Similarly to excluding trials, a mouse drag of the horizontal cursor at the top of the display excludes channels.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Artifact scan result. The channel at the top shows significantly higher amplitudes than the rest, indicated by the lighter color. Trials in the rightmost columns have been excluded from averaging.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Average'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&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;''Average''&amp;lt;/span&amp;gt;&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; dialog tab is used to define&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;which conditions are averaged&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;which range of the data file is searched for trigger events matching the conditions&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;whether automatic or query search is performed&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The left part of the&amp;lt;/span&amp;gt;&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;'' Average ''&amp;lt;/span&amp;gt;&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;tab contains radio buttons to select the search range within the data file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The central part contains a list of available conditions and of available constraints for averaging.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The list box array at the bottom shows the active and inactive conditions, the total number of matches, and the selected constraints. It provides an overview about the conditions which are selected. To add a condition to the list, select the condition and the constraint in the list boxes at the top, and click the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add to'''&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;'''List '''&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;button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The right part contains additional sections for defining statistics and toggling between query averaging and automatic averaging.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Two push buttons at the bottom right are for loading and saving a paradigm file.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Averaging tab. Range, conditions, and constraints for split-half averaging can be adjusted.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The tutorial in help chapter &amp;lt;/span&amp;gt;&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;quot;ERP / Functions... &amp;amp;nbsp;/ Paradigms... / Tutorial 1: Using a P300 Paradigm for''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Averaging&amp;quot;''&amp;lt;/span&amp;gt;&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; gives an introduction to the available features. Different conditions can be combined to analyze experimental paradigms of high complexity.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A detailed description of the features can be found in electronic help chapter &amp;lt;/span&amp;gt;&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;quot;ERP / Reference / Using Paradigms to Average&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Tutorial 1: Using a P300 Paradigm for Averaging&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;This example illustrates how to define and evaluate experimental paradigms using the ERP module. We will work on an experiment with an auditory oddball paradigm. The paradigm involves frequent and rare tones of different pitch and a motor response. The following list shows the encoding of the three different events to triggers:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:16.374cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#ffffff;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&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;'''File name'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Triggers'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;color:#00000a;&amp;quot; | &lt;br /&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;'''Motor response to'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|- style=&amp;quot;background-color:#ffffff;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&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;Freq-1200Hz-Resp-L.cnt&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Frequent tone (1200Hz)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Rare tone (800Hz)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Motor response (left hand) &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Trg. 1&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Trg. 2&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Trg. 128 &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;frequent tone&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The electrode positions were digitized. The file with the extension Freq-1200Hz-Resp-L.sfp contains the digitized 3D coordinates for the EEG.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Follow the steps in the next section to see how the ERP module allows to customize the paradigm and to evaluate and average conditions.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''A. Open a pre-defined paradigm'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''1. Load data'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Load data file &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Freq-1200Hz-Resp-L.cnt'''&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;quot; in the folder &amp;quot;&amp;lt;/span&amp;gt;&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;''Examples\ERP-P300-Auditory''&amp;lt;/span&amp;gt;&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;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select&amp;lt;/span&amp;gt;&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;'' File/Head Surface Points ''&amp;lt;/span&amp;gt;&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;and &amp;lt;/span&amp;gt;&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;''Sensors/Load Coordinate Files''&amp;lt;/span&amp;gt;&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;... Browse for the coordinate files &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''P300-Aud.ela''''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''P300-Aud.sfp '''&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;in the first two rows. They contain the type and location of the recorded electrodes. Enter ' 8mm' as electrode thickness, because in this example the coordinates specified in the sfp-file were measured 8mm away from the head surface.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''2. Open a pre-defined paradigm definition'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:ERP Processing (2).gif ]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Choose the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Open Paradigm'''&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;. A file selection box appears.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Choose the folder &amp;lt;/span&amp;gt;&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;quot;Auditory&amp;quot;''&amp;lt;/span&amp;gt;&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; and open the paradigm file &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''P300.PDG'''&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;quot;. Note that the combo box at the bottom of the file &amp;lt;/span&amp;gt;&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;selection box enables a fast change between the default paradigm directory, and the directory where the data is stored.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The dialog box that appears consists of several pages (&amp;quot; tabs&amp;quot;). The tab which you see is divided into three sections. The list box on the left shows the current number of matches for all defined conditions. In this case, 3 conditions are defined:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Rare&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Standard&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Hit&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (2).png ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Upon reading the paradigm, the conditions were automatically evaluated. For all three conditions, matches were found.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the list box in the center of the page, the currently defined conditions are displayed. The right part contains the command buttons. We will learn more about them later.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Leave the page by selecting the tab &amp;quot;Epoch&amp;quot; at the top.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''B. Average conditions'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''1. Edit Averaging Epochs'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (3).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;All three lines are highlighted, since they all hold the same epoch settings which were entered into the edit boxes in the top half of the tab.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The epoch which is used for calculating the baseline is set to -100ms (start position) and 0ms (end position) by default.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select the last condition &amp;quot;Hit&amp;quot; in the list by a single click with the left mouse button. The settings are automatically copied to the edit boxes. In the edit section, change the averaging epoch to -800ms (start position) and +100ms (end position). Click the button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Assign to Selected&amp;quot;'''&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; which changes the epoch settings for this condition only. This allows you to average the pre-stimulus potentials for the motor response selectively. You will notice that the artifact rejection interval was also updated, to fit into the newly defined averaging interval. Before you move on to the tab &amp;quot;Filter&amp;quot;, adjust the Baseline Definition Epoch to [-800ms, -700ms] and click the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Assign to Selected&amp;quot;.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''2. Filter Settings'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the &amp;quot;Filter&amp;quot; tab, the low frequency cutoff filter and the high frequency cutoff filter can be edited.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If the high cutoff filter is enabled for either artifact scan or averaging, disable it by clicking off the check boxes. Switch to the &amp;quot;Artifact&amp;quot; tab.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''3. Artifact Rejection'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The artifact rejection tool offers two methods of artifact rejection. If the check box &amp;quot;&amp;lt;/span&amp;gt;&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;''Fixed Thresholds''&amp;lt;/span&amp;gt;&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;quot; is checked, the thresholds given at the right of the tab are used as limits which must not be exceeded in a trial. If the check box &amp;quot;&amp;lt;/span&amp;gt;&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;''Artifact Scan Tool''&amp;lt;/span&amp;gt;&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;quot; is checked, a scan of the data set is used to find artifacts.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press the green &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Start Scan'''&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;quot; button. The data file is scanned for artifacts. After the scan is completed, a color-coded representation of maximum signal in channels and trials appears. This scan only has to be performed once for a data file, unless conditions are changed. The next time the &amp;lt;/span&amp;gt;&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;paradigm is opened with the &amp;quot;&amp;lt;/span&amp;gt;&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;''Edit Paradigm&amp;quot;''&amp;lt;/span&amp;gt;&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; command (cf. part C of this tutorial), the scan result will be available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (5).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The trials of the three active conditions are sorted according to their maximum amplitude from left to right. The red bar at the bottom indicates which of the trials are currently marked as artifacts due to their high amplitude. The channels are sorted according to the mean of the maximum amplitudes of the trials from bottom to top. Move the mouse pointer to the top of the display. The cursor changes to an up-down arrow. Click and drag the cursor down with the left mouse button to exclude the topmost channel, which carries an EKG artifact.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click on the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Gradient'''&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;quot; at the bottom of the dialog tab. The display changes to show the maximum gradients in the trials. The gradient is defined as the amplitude difference between two neighboring samples. Move the mouse pointer to the right edge of the display. When the cursor changes to a left-right arrow, click and drag the cursor to the left with the left mouse button to exclude the sweeps with the highest gradients, which are due to eye artifacts.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;At the new position of the dividing line which separates artifacts from good trials, press the right mouse button. A popup menu with information about the channel and trial at the cursor position appears.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:ERP Processing (9).gif ]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Choose the menu entry &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Show Trial&amp;quot;.'''&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; The trial is displayed in the EEG. If it still carries an artifact, more sweeps should be excluded.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;For more information about the artifact scan tool, please refer to the corresponding reference section in the electronic help. Switch to the &amp;quot;Average&amp;quot; tab now.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''4. Averaging'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;At the bottom of the Average dialog tab, a list of currently selected conditions for averaging is shown. It already contains the three conditions for which matches were found in the EEG file. The right-most column indicates that all trigger events which matched the conditions will be averaged (&amp;quot;A&amp;quot;).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Double-click on the condition &amp;quot;Hit&amp;quot; in the list box at the bottom. The cross in front of the condition name disappears, which indicates that this condition will not be averaged. Double-click it again to activate averaging of the condition again.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click the green button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Average&amp;quot;'''&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; on the right to start averaging. The progress is shown in an information window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;To cancel the averaging process, press any key. A message box appears. If you choose &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&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;quot; averaging is continued. Choosing &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes'''&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;quot; stops the averaging process and asks you for a file name for each condition. After saving, the new averaged file is opened and the averaged segments are automatically displayed in the Top Viewer window. If you choose &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&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;quot;, the results for the condition are not saved.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''C. Edit a pre-defined paradigm'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''1. Load data and paradigm file'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;With file &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Freq-1200Hz-Resp-L.cnt'''&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;quot; open, choose menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Edit Paradigm'''&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;, which opens the paradigm again (the copy of the paradigm file that was stored in the data directory), including the changes which were made in the last session.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''2. Edit trigger definition'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Choose the tab &amp;quot;Trigger&amp;quot; on the top left. You now see the definition of triggers in the list view box at the bottom.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (8).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The top half of the tab contains the edit section. In the top row, attributes which describe experimental categories can be defined or deleted. The next row shows the attribute values which are available. The values which are currently active for the selected trigger code (left) are highlighted.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Trigger code 128 does not have a proper definition for the attribute &amp;quot;frequency&amp;quot;. To change the definition:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;In the list box below the attribute &amp;quot;code&amp;quot; (left), choose code 128.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;In the edit box below the attribute &amp;quot;frequency&amp;quot;, type in &amp;quot;undefined&amp;quot;. Click the pushbutton &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add to List&amp;quot;'''&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; on the righthand side, which adds the new value into the list box and selects it automatically.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Click the button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Set&amp;quot;'''&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; to set the new definition for trigger code 128.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Alternatively: right-click with the mouse directly on the value which you want to change in the list view box at the bottom of the tab. See what happens... (more information about defining triggers can be found in the electronic help reference section).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;The definition for trigger 128 has changed. Choose the tab &amp;quot;Condition&amp;quot; (top of the page) to get back to the condition page.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''3. Edit conditions'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Switch to the 'Condition' tab. Select the last line of the condition edit list box (center of page) by a single click with the left mouse button. The name of the condition appears in the top left corner of this section of the page.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;You can edit the name in the name edit field, and rename the condition by clicking the &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Replace&amp;quot;'''&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; button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Now we will add a new condition that links the standard stimulus with a response time:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;A new condition is defined as follows: In the name field, type in a new name, e.g. &amp;quot;Resp_Time&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Qualifier&amp;quot;, select &amp;quot;CURRENT&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Attribute&amp;quot;, select &amp;quot;type&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Operator&amp;quot;, select &amp;quot;IS&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Value&amp;quot;, select &amp;quot;auditory&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.cm;margin-right:0cm;&amp;quot;&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;Click the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Insert&amp;quot;'''&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; button to start up the new condition. The name is automatically assigned to the new condition.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Qualifier&amp;quot;, select &amp;quot;NEXT&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Attribute&amp;quot;, select &amp;quot;Interval&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Operator&amp;quot;, select &amp;quot;IS LESS THAN&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the edit box that appeared under &amp;quot;Value&amp;quot;, type 500.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;Click the &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''AND&amp;quot;'''&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; button to extend the condition.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Qualifier&amp;quot;, select &amp;quot;NEXT&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Attribute&amp;quot;, select &amp;quot;name&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Operator&amp;quot;, select &amp;quot;IS&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;In the list box &amp;quot;Value&amp;quot;, select &amp;quot;response&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;Finish off the condition by clicking the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;AND&amp;quot;'''&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; button again.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The new condition is automatically evaluated. 160 matches are found, i.e. in all cases, the response was within 500ms.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select the line &amp;quot;Next.Interval IS LESS THAN 500ms&amp;quot; in the condition. Enter the value &amp;quot;300&amp;quot; in the edit box at the top right of the tab and click the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Replace&amp;quot;'''&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; button. The condition changes accordingly and is re-evaluated. Only 142 matches are found now.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (9).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;If you leave the dialog box with the &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK&amp;quot; '''&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;button, the settings are automatically stored in the data directory if the directory is writeable. If you choose the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Edit Paradigm'''&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; in the future, this specific definition will be opened.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Choose &amp;lt;/span&amp;gt;&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;''ERP/Average ''&amp;lt;/span&amp;gt;&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;again. You will see that four conditions are selected for averaging. The newly defined condition is active. If you just want to compare the condition &amp;quot;Resp_Time&amp;quot; with the one that did not have a time limit (&amp;quot;Standard&amp;quot;), select the other two entries (by holding down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''CTRL '''&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;button on the keyboard while selecting) and click the button&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' &amp;quot;Remove from List&amp;quot; '''&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;to remove these conditions from the averaging list. Only two conditions are now active for averaging.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Top View of Data Segments&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;Any EEG or MEG data segment can be viewed and analyzed in the Top View window. Waveforms are arranged according to their position on the head. The various options include peak finding, analysis and annotation, 3D mapping of amplitude or current source density, overplot of several conditions, and many more.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A detailed description of the features is given in online help chapter “&amp;lt;/span&amp;gt;&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;''ERP / Reference / Viewing and Analyzing Data in the Top View”.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (10).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Topographic view of averaged data in a 32-channel auditory auditory evoked ERP experiment. Two conditions are overplotted. A map of the N100 in one condition is shown. Channel amplitudes at the N100 latency are displayed''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;To view a segment or a set of segments in the Top View window, right-click on the segment waveforms and select &amp;lt;/span&amp;gt;&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;'''''Top View'''''&amp;lt;/span&amp;gt;&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; from the popup menu that appears. The Top Viewer window comes up, displaying the first segment in the data file. To switch to another segment, click on the segment name in the top line; select several segments for overplot by holding down the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;CTRL&amp;gt;'''&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; key while clicking on the segment names. Note that even if several conditions are shown, only one condition is active for analysis. The active condition is indicated by bold print in the top line, and in the title bar of the window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Measuring peaks and amplitudes'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''Note: There are powerful tools for peak and amplitude analysis and export in the'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Combine Conditions, Channels, Find Peaks Module.'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''''Peaks'''''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To measure peaks and peak areas in the Top Viewer, right-click into a waveform between the baseline and the peak, and select the option &amp;lt;/span&amp;gt;&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;'''''Find and Mark Peak'''''&amp;lt;/span&amp;gt;&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; from the popup menu. If the peak is small, operate on the zoomed waveform: Right-click onto the waveform, select &amp;lt;/span&amp;gt;&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;'''''Zoom Waveform'''''&amp;lt;/span&amp;gt;&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; from the popup menu and then proceed to mark the peak. The &amp;lt;/span&amp;gt;&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;''Peak Finding''&amp;lt;/span&amp;gt;&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; dialog box appears and shows the result of the peak search:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Result of a peak search in the waveform of electrode T3 of a single epileptic spike. The peak ''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;''amplitude is -50.7 µV. The peak latency is 5 milliseconds after the mid-latency of the search pattern.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;A peak search can also be initiated from the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Analysis / Find Peaks'''&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;. The search channel and time range can then be specified in the top row of the dialog box. Click the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Find '''&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;button to start the search.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Please refer to the online help&amp;lt;/span&amp;gt;&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;'' Reference ''&amp;lt;/span&amp;gt;&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;chapter for a detailed description of the peak finding tool.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''''Waveform amplitudes'''''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To display amplitudes at specific latencies, double-click on a waveform and drag the cursor to the desired latency or use the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''left-right arrow keys'''&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; on the keyboard. The latency is displayed at the bottom of the window, and a 3D map appears in the top right corner. From the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View '''&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;menu, select the &amp;lt;/span&amp;gt;&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;'''''Preferences'''''&amp;lt;/span&amp;gt;&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; option. In the dialog box which appears, select the tick marks &amp;lt;/span&amp;gt;&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;'''''Show Labels'''''&amp;lt;/span&amp;gt;&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; and &amp;lt;/span&amp;gt;&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;'''''Show Amplitudes'''''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Please note:'''&amp;lt;/span&amp;gt;&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; Peak latencies and amplitudes can be determined over multiple files in a quick automatized way using scripts. Please refer to Chapter &amp;quot;&amp;lt;/span&amp;gt;&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;''Batch Processing''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''and Combining Conditions / Combine Conditions&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Montages'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The displayed montage in the Top Viewer can be any arbitrary montage. Peak amplitudes are automatically adapted to the currently applied montage. When the Top Viewer window opens, the montage selected in the BESA Research main window is selected by default. Use the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage '''&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;menu or click on the text at the bottom left to switch to another montage.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Advanced viewing options'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Further options include:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Moving waveforms in the display, zooming individual channels, hiding channels, zooming the whole display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Selecting only a part of the epoch for display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;3D whole head mapping of voltage or current source density.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Changing display options such as tick marks, channel labels, baseline information, font sizes, colors, and more.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Display of standard deviations, and event-related (de-)synchronization (this requires band pass filtering of the data during averaging, see the corresponding help chapter).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Please refer to the online help chapter “&amp;lt;/span&amp;gt;&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;''ERP / Reference / Viewing and Analyzing Data in the Top View'' for more information.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Grand Averaging and Combining Conditions &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (16).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ERP Module allows for quick combination of averaged segments, e.g. to create Grand Averages over subjects or to compute weighted sums and differences of conditions.&lt;br /&gt;
&lt;br /&gt;
Conditions from different recordings/subjects can be combined in a convenient way using scripts. The menu entry &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Combine Conditions, Channels, Find Peaks'''&amp;lt;/span&amp;gt;&amp;quot; allows for grand averaging and creating sums and differences between conditions. It also provides a tool for spatial and temporal resampling, and allows to perform an automatic peak analysis of multiple averaged files. For a detailed description of the 'Combine Conditions, Channels, Find Peaks' functions, please refer to the help chapter &amp;quot;''Batch Processing and Combining Conditions / Combine Conditions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Managing Triggers ===&lt;br /&gt;
&lt;br /&gt;
==== Creating Triggers from EMG/EEG Channels ====&lt;br /&gt;
&lt;br /&gt;
It is possible to create new trigger events from any of the recorded channels. This is achieved by defining parameters that characterize the features of the event. After the parameters are defined, the whole EEG /MEG is searched for events which match the parameters, and new trigger events are created. The steps to be taken are illustrated in the help tutorial chapter ''&amp;quot;ERP / Functions... / Managing Triggers / Tutorial 2'' ''Creating Triggers from EMG&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
Briefly, the procedure to create triggers for a recurring pattern is as follows:&lt;br /&gt;
&lt;br /&gt;
1. Mark a typical occurrence of the pattern by a left mouse drag.&lt;br /&gt;
&lt;br /&gt;
2. Use menu item &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Create Triggers from EMG/EEG'''&amp;lt;/span&amp;gt; to open the ''Schmitt Trigger'' dialog box.&lt;br /&gt;
&lt;br /&gt;
3. In the dialog box, select the channel you want to scan for triggers under'' Chan+.'' In most cases, it is advisable to go through section ''Trigger Channel Prefiltering'' and check the tick marks ''Differentiate, Rectify, Smooth After Rect'' and enter a value between 50 Hz and 100 Hz for the smoothing frequency (see figure below).&lt;br /&gt;
&lt;br /&gt;
4. Set the Schmitt Trigger parameters. The Schmitt Trigger is characterized by 4 parameters:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.9cm;margin-right:0cm;&amp;quot;&amp;gt;upper threshold: the threshold that the signal has to exceed&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.9cm;margin-right:0cm;&amp;quot;&amp;gt;lower threshold: the threshold that the signal must not exceed during the dead time before the trigger&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.9cm;margin-right:0cm;&amp;quot;&amp;gt;dead time: the time interval before the trigger where the signal must be lower than the lower thresholds&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.9cm;margin-right:0cm;&amp;quot;&amp;gt;return time: the time during which the signal has to return below the threshold&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Current Settings'''&amp;lt;/span&amp;gt;. In the window that pops up, use the mouse drag to adjust the edges of the yellow block so that the lower threshold is above the pre-trigger baseline, and that the higher threshold stays well under the peak (vertical mouse dragging). Adjust the pre-trigger dead time (length of block left of the red line) which prevents recognizing each threshold crossing in a burst as trigger event, and the return time (horizontal mouse dragging).&lt;br /&gt;
&lt;br /&gt;
5. Click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;. The parameters are updated in the ''Schmitt Trigger'' dialog box.&lt;br /&gt;
&lt;br /&gt;
6. Click the buttons &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add to List'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search Selected'''&amp;lt;/span&amp;gt; to start the trigger search.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Triggers can be deleted again by calling the ''Schmitt Trigger'' dialog box again, selecting the corresponding entry in the list box, and clicking the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Delete Selected '''&amp;lt;/span&amp;gt;button. Triggers can also be deleted using the'' Edit'' ''Triggers'' command (see next section).&lt;br /&gt;
&lt;br /&gt;
A complete reference of the features is given in the online help chapter ''&amp;quot;ERP / Reference / Managing Triggers / Creating Triggers''&amp;quot;. An advanced topic explains the use of different filter settings using a myoclonic burst as an example (Strategies for Schmitt Trigger definition).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Tutorial 2: Creating Triggers from EMG'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (18).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''The waveform of a trigger channel can be rectified and filtered to define trigger events. In the example above, the EMG channel FDIL is scanned for myoclonic discharges. The small window shows the waveform of the marked epoch after appropriate filtering.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Editing Triggers&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;Patterns and tags can be converted into trigger events using the &amp;lt;/span&amp;gt;&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;'''''Edit Triggers'''''&amp;lt;/span&amp;gt;&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; tool. After conversion, tags found in a pattern search can be used in conditions: they can be analyzed by the paradigm tool which controls and stores the complete pre-averaging process. This facilitates for example the averaging of epileptic spikes which were hand-marked or found by a pattern search (cf. chapter &amp;lt;/span&amp;gt;&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;quot;Review / Searching and Averaging&amp;quot;''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&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;'''''Edit Triggers'''''&amp;lt;/span&amp;gt;&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; tool is also useful to delete triggers which were created earlier, to change trigger codes, or to create triggers for FFT averaging with graphical artifact rejection on the basis of the paradigm tool.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A detailed description of the features is given in the online help chapter &amp;lt;/span&amp;gt;&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;quot;ERP / Reference / Managing Triggers / Editing Triggers&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''The Edit Triggers dialog box is divided into different sections to convert tags to triggers, delete triggers, change trigger codes, and to create triggers for FFT averaging using the artifact scan tool of the ERP paradigm.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Event Files&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;BESA Research stores events in a binary event file in the program data base. However, it can be useful to be able to export, edit, or import events. The ERP module allows to export and import event files in ASCII format with the menu commands &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Save Events As '''&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;and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Open Event File'''&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;. These event files can hold all types of events which occur during EEG or MEG recordings, e.g. triggers, comments, epochs, or tags. They can also be edited to change the type, latency, or number of events. For example, trigger events may be read in from an ASCII file, or the frequency of events of a certain type may be analyzed in a statistics software after exporting events.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A detailed description of the features and the format of ASCII event files is given in the online help chapter &amp;lt;/span&amp;gt;&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;quot;Help / ERP / Reference / Managing Triggers / Working with Event Files&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Tutorial 2: Creating Triggers from EMG&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;In this tutorial, myoclonic activity that was recorded via polygraphic channels is converted into trigger events.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Open the MEG+EEG file segment &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''myo_sect.foc'''&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;quot; in the folder &amp;quot;&amp;lt;/span&amp;gt;&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;''Examples\EEG -MEG -Myoclonic-Jerks''&amp;lt;/span&amp;gt;&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;quot;. We will only inspect EEG channels during this tutorial and select the two relevant EMG channels as additional channels. Press the &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scp'''&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;quot; button to display only EEG channels. Set the time interval to 4s and switch off the high cutoff filter (choose menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Filters/High Cutoff Filter / High Cutoff Filter Off&amp;quot;'''&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; or use the '&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''HF'''&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;' button). Press the '&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add' '''&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;button at the top right of the window and select the additional channel montage 'FDI-EMG'. The channels FDIL/FDIR which can be seen at the bottom of the window are the EMG channels recorded from the FDI muscles of the left and right hand.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;By clicking on the scaling button on the bottom right of the screen, adjust the voltage of the additional channels to 20 µV.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Mark a block that encloses a time interval where the feature occurs, e.g. an EMG discharge (jerk) in channel FDIL:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (20).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;From the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP'''&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; menu, select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Create Triggers from EMG/EEG'''&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;quot;. The &amp;lt;/span&amp;gt;&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;'''Schmitt Trigger settings'''&amp;lt;/span&amp;gt;&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; dialog box appears.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Load' '''&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;button and open the pre-defined trigger definition &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''EMG-Jerks.smt''''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (21).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Two definitions for triggers have already been set for comparison. They are listed in the list box at the bottom.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Apart from the definition list, the box comprises three main sections.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;In the section &amp;lt;/span&amp;gt;&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;quot;Trigger Channel''&amp;lt;/span&amp;gt;&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;s&amp;quot; choose a trigger code which you want to assign to the EMG artifact. As a default setting, the code 403 is suggested. In this example, accepted this default.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select the channel that contains the information (FDIL) in the &amp;quot;&amp;lt;/span&amp;gt;&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;''Chan. +&amp;quot;''&amp;lt;/span&amp;gt;&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; dropdown list.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;If you want to reference the channel against another channel, choose a reference channel from the &amp;quot;&amp;lt;/span&amp;gt;&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;''Chan. –&amp;quot;''&amp;lt;/span&amp;gt;&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; dropdown list. This is not necessary here.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;In the section &amp;quot;&amp;lt;/span&amp;gt;&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;''Trigger Channel Prefiltering''&amp;lt;/span&amp;gt;&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;quot; check the respective options if you want the channel pre-filtered according to the current filter settings (&amp;quot;&amp;lt;/span&amp;gt;&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;''Initial Filtering&amp;quot;),''&amp;lt;/span&amp;gt;&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; differentiated, rectified, and smoothed with an additional low-pass filter after rectification. Check the options 2, 3, and 4 (all except &amp;quot;Initial Filtering&amp;quot;). The cut-off frequency for the smoothing can be adjusted manually. Try 70 Hz as the smoothing frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View Current Settings'''&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;quot; to view the effect of the current filter settings on the signal in the specified channel. In our example, the result looks like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (22).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The yellow rectangle denotes the parameters which define whether the signal is accepted as a trigger event. Four parameters can be varied:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The top edge of the rectangle denotes the threshold which must be exceeded by the signal (green line).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The bottom edge of the rectangle denotes the pre-trigger threshold which must not be exceeded by the signal prior to the trigger event (red line). This ensures that in the case of multiple trigger events, events are excluded which may contain contributions from previous triggers.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The left edge denotes the &amp;quot;dead time&amp;quot; prior to the trigger event during which no other event is allowed to occur.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The right edge denotes the &amp;quot;return time&amp;quot; during which the signal must return below the bottom edge. If the event shows a slow decay, it is excluded. This prevents merged multiple events to be included.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Drag the bottom and the top of the rectangle up with the left mouse button to increase the thresholds. The result can look like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Clicking the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; button leads back to the dialog box, where the four parameters (shown in the section &amp;quot;&amp;lt;/span&amp;gt;&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;''Trigger Settings''&amp;lt;/span&amp;gt;&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;quot;) have now been adjusted. By typing in the values manually, adjust the threshold to 40 µV, the limit during dead time to 25 µV, the dead time to 70 ms, and the return time to 30 ms.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Add to List'''&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;quot; to complete the definition of the trigger event. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search Selected'''&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;quot; to search the file for occurrences of the trigger event. After the end of the search, the number of detected trigger events is given in the list box. In this example, 39 trigger events were found.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Leave the dialog box with &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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;quot;. The current settings are automatically saved in a file with the filename of the data file with the extension &amp;quot;SMT&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''SCP'''&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;' button again and page forward in the file using the space bar. In the screen that appears, mark a relatively small myoclonic signal in the FDIR channel:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (24).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Choose the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Create Triggers from EMG/EEG'''&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; again. The dialog box automatically suggests a new trigger code. Choose the channel &amp;quot;FDIR&amp;quot; in the &amp;quot;Chan.+&amp;quot; combo box. Select the title bar in the list box at the bottom of the dialog box to make sure that no already defined trigger definition is selected. Click the button &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;View Current Settings'''&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;quot;. The thresholds have to be lowered to yield a picture like this (corresponding to upper and lower thresholds of 14.8 µV and 8.5 µV):&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ERP Processing (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Click the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search Selected'''&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;quot;. Since no trigger definition is selected in the list box at the bottom of the dialog box, the settings which you have just entered are copied to the list box, and a search for myoclonic events in the FDIR channel is performed. For the settings quoted above, 17 trigger events are found.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;If the file is opened again later and the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Create Triggers from EMG/EEG'''&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; is chosen, the settings made earlier are automatically loaded from file. It is also possible to load different files or to save the settings to a different filename using the &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Load'''&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;quot; and &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Save'''&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;quot; buttons.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Note'''&amp;lt;/span&amp;gt;&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;: If one of the entries in the list box other than the header line is selected, the button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View current'''&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;'''settings'''&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;quot; shows the settings of this particular entry. Since it is a fixed definition of a trigger, the thresholds cannot be changed graphically.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For further information about conversion of EMG/EEG artifacts into trigger events, please consult the online help section in the Averaging Module Reference on &amp;quot;&amp;lt;/span&amp;gt;&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;''Strategies for Schmitt Trigger Definition''&amp;lt;/span&amp;gt;&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;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Spectral_Analysis</id>
		<title>BESA Research Spectral Analysis</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Spectral_Analysis"/>
				<updated>2017-04-07T12:51:45Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&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;Spectral Analysis&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
There are two different types of spectral analysis in BESA Research:&lt;br /&gt;
&lt;br /&gt;
1. A Fast Fourier Transform (FFT) computes the total spectral content of a certain data interval, usually a few seconds or minutes long. This interval can be&lt;br /&gt;
&lt;br /&gt;
* a short data block of interest, typically a few seconds&lt;br /&gt;
* an extended time range, e.g. between two markers or the whole data file ('mean FFT')&lt;br /&gt;
&lt;br /&gt;
2. Density spectral arrays (DSA) provide an overview of the temporal evolution of spectral activity over longer epochs (here: 15, 20 or 30 minutes) or the whole data file. DSA is useful for reviewing long recordings, since epochs where changes of frequency distribution or amplitudes occur can be identified at a glance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== FFT ===&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transformation (FFT) can be applied to a marked region, the data displayed on the screen, over a larger time range in the data between two markers, over marked epochs, or the whole EEG, in order to examine the frequency content of a signal. Results of the FFT can be viewed in a variety of ways, including amplitude and power spectra, amplitude and power in frequency bands, and these results may be printed or written to data files in ASCII format. The previously calculated FFT spectrum may be redisplayed. The current FFT can be saved to a binary file and reloaded. Topographic maps of amplitude, power, and phase can be plotted.&lt;br /&gt;
&lt;br /&gt;
==== FFT Computation and Display  ====&lt;br /&gt;
&lt;br /&gt;
Two FFT computations are available in BESA Research:&lt;br /&gt;
&lt;br /&gt;
* The FFT over a short data block of interest&lt;br /&gt;
* The Mean FFT over an extended time range&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''FFT over a short data block of interest'''&lt;br /&gt;
&lt;br /&gt;
To start an FFT calculation, highlight a data block by left mouse click and drag. If no block is highlighted, the FFT will be performed over the time range shown on the display. Apply one of the following:&lt;br /&gt;
&lt;br /&gt;
# Right-click into the marked block and select the item ''FFT''.&lt;br /&gt;
# Type the HotKey &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''F''''&amp;lt;/span&amp;gt;.&lt;br /&gt;
# Select the item ''FFT-Spectrum'' in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process '''&amp;lt;/span&amp;gt;menu (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+P F'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Note:'''&amp;lt;/span&amp;gt;&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; It is not possible to select the FFT process if the region to be processed contains less than 128 samples. This can occur, for instance, if the time range of a highlighted region is too short.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Note'''&amp;lt;/span&amp;gt;&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;: When an FFT is selected, BESA Research displays the results for the current montage on the screen. In the background, the program also performs the FFT on 81 standard interpolated, average referenced channels in the case of EEG and on the average referenced data in the case of MEG. When FFT results are saved to a file, you have the choice of saving either the current montage, or the 81 interpolated, average referenced channels (only for EEG). Maps of the FFT results are always based on the average referenced data. This is necessary to ensure that electrodes are given equal weights in the nonlinear transformation to power or amplitude (=root of power).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For an FFT over a marked block or the whole screen, no parameters have to be specified. Internally, BESA Research preprocesses the selected data segment for the FFT in two steps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A window function is multiplied with the data to attenuate the amplitudes at the ends to zero&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The number of samples is increased by interpolation (if necessary) to make it a power of 2.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;This preprocessing of a highlighted data segment is illustrated in the figure below:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The highlighted block constitutes 80% of a window of width 100%. A cosine squared (cos²) window of width 20% of the total is applied at the edges, so that the signal amplitude is attenuated to 50% at the edges of the marked block, and zero at the edges of the window. Then we take the number of time samples in the window, and select the next higher power of 2 (up to 8196). Using spline interpolation, the data in the window are converted to this larger number of points, and the FFT is applied. If the number of points is greater than 8196, spline interpolation is used to reduce the number to 8196. In this case, to avoid aliasing, the data are low-pass filtered at a frequency corresponding to ¼ of the new sampling rate.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If the FFT is applied to the data displayed on the screen, windowing is similar to that for the highlighted block, except that no data outside the block are included: the cosine squared window is applied so that the signal amplitude is attenuated to zero at the edges of the display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Mean FFT Spectrum over an extended time range'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To start a mean FFT over an extended time range, e.g. between markers or over the whole data file, select the item &amp;lt;/span&amp;gt;&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;''Mean FFT-Spectrum''&amp;lt;/span&amp;gt;&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; in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process'''&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; menu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+P M'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Spectral (4).gif ]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;In the upper section of the &amp;lt;/span&amp;gt;&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;''Mean FFT''&amp;lt;/span&amp;gt;&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; dialog box the range on which the FFT is performed can be set:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;on the whole EEG&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;on all marked epochs within the EEG&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;on all marked epochs with a specific label&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;on a time range delimited by two markers&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;on all epochs delimited by two markers&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;over triggers generated by the ERP module; mean FFT over triggers is only available if the mean FFT is called from the ERP module&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Ranges which are not currently available (e.g. if no epochs or no markers are defined) are grayed out.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The mean FFT consists of a set of FFTs from overlapping data segments spanning the selected time range. Each data segment has a fixed width, defined as a power of 2 sampling points, that can be selected under &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Block Size / Points per Block'''&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;: In the center of the options window, the number of points per FFT block is selected. Selection can be 128, 256, 512, or 1024 points. The block width influences in particular the contribution to the spectrum of low frequencies: the wider the block, the lower the &amp;lt;/span&amp;gt;&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;frequencies that can be represented. The lowest frequency is given by 2/(block width in seconds). Thus, if you have recorded data with a high sampling rate, a wider window is necessary to compute low frequencies. Note: For each block size in samples the corresponding width in seconds is specified in brackets.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The lower section of the options window determines amplitude and gradient thresholds for including a block in the mean FFT. If signal amplitudes exceed the amplitude threshold or the difference of two consecutive signal amplitudes exceeds the gradient threshold, the block will be omitted. Different thresholds may be set for each channel type (in the above example, scalp and polygraphic channels).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; in the options window to start computation of the mean FFT. Computation can be interrupted by pressing any key. The interrupt has to be confirmed and may be canceled to resume mean FFT calculation.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Note on computational steps: Each data segment overlaps 50% with the next segment, and is multiplied by a cosine squared (cos² window, as shown at the bottom of the figure below. This combination of overlap and windowing ensures that each time point contributes equally to the mean spectrum (since cos² (x) + sin²(x) = 1). Because mean spectra are computed, phase information is not available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Note that time ranges marked as artifacts are not included in the computation of the mean FFT. These time ranges are not excluded when computing the FFT of a marked block or of the displayed data.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Redisplaying the previous FFT'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The results of the previously calculated FFT spectrum can be redisplayed by selecting the item &amp;lt;/span&amp;gt;&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;''Previous FFT-Spectrum''&amp;lt;/span&amp;gt;&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; in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process '''&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;menu or by typing the hotkey ‘&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''CTRL-F’'''&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;. It is not possible to recall the previous FFT if there was a change in&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;the montage for which the FFT was calculated&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;additional or artifact channels&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;bad or interpolated channels&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;the channel configuration&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;after the last FFT was calculated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Mapping the Results of the FFT&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;Amplitude, power, mean band amplitude or power, and phase delays can be mapped. How to map FFT results is described in the chapter &amp;lt;/span&amp;gt;&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;quot;Mapping / FFT Mapping''&amp;lt;/span&amp;gt;&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;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;FFT 'View' Menu: Adjusting the FFT Display&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The FFT spectrum of each channel in the &amp;lt;/span&amp;gt;&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;'''current montage'''&amp;lt;/span&amp;gt;&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; is displayed in a window on the left of the screen. At the bottom is the frequency scale. To the right, the dominant frequency is shown for each channel, together with the amplitude or power at this frequency. The dominant frequency is determined between the lower boundary of the first frequency band and the maximum displayed frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (7).gif ]]&lt;br /&gt;
&lt;br /&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;''FFT result window with display of amplitude spectrum with sum of amplitudes in bands, color coding, and frequency range 1-30 Hz. The montage is TR_Temporal Region.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View'''&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; Menu, the following options can be selected:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Results can be displayed as &amp;lt;/span&amp;gt;&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;u&amp;gt;'''A&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;mplitude'''&amp;lt;/span&amp;gt;&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;'''Alt+V A'''&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;) or &amp;lt;/span&amp;gt;&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;u&amp;gt;'''P&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ower'''&amp;lt;/span&amp;gt;&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;'''Alt+V&amp;amp;nbsp;P)'''&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; spectra. At the top of the display (cf. example below) is the text &amp;lt;/span&amp;gt;&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;quot;Amp. Spectrum&amp;quot;''&amp;lt;/span&amp;gt;&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; or&amp;lt;/span&amp;gt;&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;quot;Power Spectrum&amp;quot;. ''&amp;lt;/span&amp;gt;&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;Click on the text to toggle between the two types of display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;The graphical display of amplitude or power spectra can be &amp;lt;/span&amp;gt;&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;u&amp;gt;'''N&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ormalized'''&amp;lt;/span&amp;gt;&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;'''Alt+V N'''&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;), such that all displayed values are scaled relative to the dominant frequency separately for each channel (i.e. amplitudes cannot be compared between channels). Without this option set, values in each channel group (scalp, source, MEG, Pgr, ICR) are scaled to the channel in this group which has the largest amplitude in its dominant frequency (i.e. amplitude relationships among channels within one channel group are upheld).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Amplitude or power values can be displayed on a &amp;lt;/span&amp;gt;&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;u&amp;gt;'''L&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ogarithmic scale'''&amp;lt;/span&amp;gt;&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;'''Alt+V L'''&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;). Amplitude values are displayed over two log units, power values over four log units. Thus, for amplitudes, values &amp;lt;/span&amp;gt;&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;less than 1/100 (two log units) of the maximum are set to zero. For power, values less than 1/10000 (4 log units) of the maximum are set to zero.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;The sum of &amp;lt;/span&amp;gt;&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;'''a&amp;lt;/span&amp;gt;&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;u&amp;gt;m&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;plitudes'''&amp;lt;/span&amp;gt;&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; or &amp;lt;/span&amp;gt;&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;'''p&amp;lt;/span&amp;gt;&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;u&amp;gt;o&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;wers'''&amp;lt;/span&amp;gt;&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; in each frequency band can be displayed (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+V M'''&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;, or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+V'''&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;'''O'''&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Spectra are shown as a curve of amplitude/power vs. frequency. If &amp;lt;/span&amp;gt;&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;u&amp;gt;'''C&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;olor coding'''&amp;lt;/span&amp;gt;&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; is selected (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+V C'''&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;), then the areas underneath the curve are colored differently for each frequency band. Colors can be changed in the FFT Options menu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''FFT/FFT Options Menu'''&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;The frequency scale can be set to one of the three predefined display frequencies &amp;lt;/span&amp;gt;&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;'''1-&amp;lt;/span&amp;gt;&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;u&amp;gt;3&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;0 Hz, 1-&amp;lt;/span&amp;gt;&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;u&amp;gt;5&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;0'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Hz'''&amp;lt;/span&amp;gt;&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;'''Alt+V 3'''&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;, or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+V 5'''&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''or 1-half of the sampling frequency'''&amp;lt;/span&amp;gt;&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;, e.g. 1-100 Hz in the above screenshot of the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View'''&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; menu. Alternatively, any user-defined &amp;lt;/span&amp;gt;&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;'''Frequency &amp;lt;/span&amp;gt;&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;u&amp;gt;B&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;and '''&amp;lt;/span&amp;gt;&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;'''Alt+V B'''&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;) can be displayed. The upper and lower boundary of the frequency band is set to the next whole-numbered multiple of the frequency resolution. The DC component is always set to zero.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Info-box'''&amp;lt;/span&amp;gt;&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;. Click with the right mouse button on a particular frequency in the spectrum of one of the channels to obtain a box with the following information: Channel name, frequency, and amplitude/power at that frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Note:'''&amp;lt;/span&amp;gt;&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; The number of channels shown in the FFT display is the same as the number shown in the EEG display. If you change the EEG display (e.g. by changing the number of scalp electrodes or switching off polygraphic channels), the FFT display is updated automatically. The update can be performed without recalculation. If additional channels or artifact channels reconstructed by BESA Research artifact correction are switched on/off, or the status of bad or interpolated channels changes, the FFT is recalculated. Recalculation is only possible if the FFT was calculated over a block or the whole screen. The mean FFT window has to be closed in this case. Recalculation is also not possible if the FFT was loaded from file. If you change the montage in the EEG display, the FFT window will always be removed: different montages require recalculation of the FFT.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Note'''&amp;lt;/span&amp;gt;&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;: Bad channels in the original montage are displayed in an attenuated color. The spectrum of bad channels is zero for each frequency. As the dominant frequency, its amplitude and the sum of amplitudes or powers in each frequency band cannot be determined, a horizontal bar is shown for each missing value.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Notes about display resolution: frequencies and pixels'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;When plotting the results of the FFT on the screen, there is a subtle interaction with the screen resolution which can affect the frequency and amplitude/power values displayed when generating maps or looking in the Info-box. Note that two types of situation can arise, depending on whether the number of frequency steps (= half the no. of sampling points in the data window) is greater or less than the number of screen pixels.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If the number of frequency steps is less than or equal to the number of screen pixels, the amplitude at each frequency can be displayed correctly.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If the number of frequency steps is greater than the number of screen pixels, then there are not enough pixels to display each amplitude. In this case, the amplitude displayed at each pixel is the maximum amplitude in the range of frequencies covered by that pixel. For a given pixel, this &amp;lt;/span&amp;gt;&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;'''maximum'''&amp;lt;/span&amp;gt;&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; amplitude can differ among channels. Thus, depending on the channel to which the mouse is pointing, the frequency displayed in maps (left click) or in the Info-box (right click) can vary, even if the horizontal position of the mouse is the same.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;FFT 'File' Menu: Saving, Loading and Printing Results of the FFT&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (8).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Loading and Saving FFT'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select&amp;lt;/span&amp;gt;&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;''' Load'''&amp;lt;/span&amp;gt;&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;'''Alt+F L'''&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;) to load an FFT file that has been saved to a binary file using &amp;lt;/span&amp;gt;&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;'''Save'''&amp;lt;/span&amp;gt;&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;'''Alt+F S'''&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;). An FFT spectrum should be redisplayed with the file from which it was calculated. An FFT file cannot be loaded if electrode configuration and bad channels of the current file do not match with the electrode configuration and bad channels of the saved FFT spectrum. The montage of the current EEG is changed&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;to the montage of the loaded FFT. Filter settings that were active at the time when the FFT was calculated are not reset, but are indicated correctly in the FFT printout.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The heading of the printout shows the name of the loaded FFT file and the name of the EEG for which the FFT was calculated. If the loaded file contains a mean FFT spectrum, the mean FFT options are adjusted to the settings used to calculate the loaded mean FFT spectrum.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Averaging FFT spectra'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&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;'''Load and Average'''&amp;lt;/span&amp;gt;&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;'''Alt+F V'''&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;) to compute averages of previously saved FFT spectra. In the appearing window, select an FFT spectrum (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.fft&amp;lt;/nowiki&amp;gt;'''&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;) from the list on the left and press the &amp;lt;/span&amp;gt;&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;[[Image:|top]]&amp;lt;/span&amp;gt;&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; button to copy it to the list of FFTs to be averaged on the right. Press&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' OK'''&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; to calculate and display the averaged FFT spectrum.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (2).png ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Note:'''&amp;lt;/span&amp;gt;&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; Averaging of FFT spectra is only possible if the spectra were computed using the same epoch length (marked block or whole screen), montage, and sampling rate.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Exporting FFT spectral data'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&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;'''Export FFT Data'''&amp;lt;/span&amp;gt;&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; in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File'''&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; menu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+F&amp;amp;nbsp;F'''&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;). You can select two different output montages:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Output &amp;lt;/span&amp;gt;&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;'''81 &amp;lt;/span&amp;gt;&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;u&amp;gt;I&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;nterpolated'''&amp;lt;/span&amp;gt;&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; average referenced data (to a standard configuration of 81 electrodes, only available for EEG data) (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt +F FI'''&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;), or&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Output &amp;lt;/span&amp;gt;&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;'''Current &amp;lt;/span&amp;gt;&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;u&amp;gt;M&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ontage'''&amp;lt;/span&amp;gt;&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; data (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+F FM'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Select one of two output formats:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Write the data in&amp;lt;/span&amp;gt;&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;''' Vectorized '''&amp;lt;/span&amp;gt;&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;format: Line 1 of the output file contains the number of frequency steps (Npts), a starting value for BESA Research’s time scale (TSB), the frequency step (DI), scaling in bins per microvolt (SB), a scaling value for the BESA Research display (SC), and the number of channels (Nchan) as shown in the following example:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;quot;Npts= 1023 TSB= 0.10 DI= 0.100 SB= 1.000 SC= 100.0 Nchan= 23&amp;quot;.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0 cm;margin-right:0cm;&amp;quot;&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;Line 2 lists the channel labels. Each successive line contains the amplitude/power values at each frequency for one channel.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Write the data in&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;M&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ultiplexed'''&amp;lt;/span&amp;gt;&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; format: Line 1 contains the frequency step size in Hz. Line 2 lists the channel labels. Each subsequent line contains amplitude/power values for all channels (in the sequence given in line 2) for one frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Both vectorized and multiplexed files may be reread into BESA Research in the same way as time-domain averages. Vectorized files may be read directly using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Open'''&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; menu. Multiplexed files may be read using the ASCII import menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Import ASCII file'''&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;&lt;br /&gt;
&lt;br /&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;For each of these output formats and montages, different data can be saved:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;u&amp;gt;'''A&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;mplitude Spectrum'''&amp;lt;/span&amp;gt;&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;'''Alt+F FA'''&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;&lt;br /&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;u&amp;gt;'''P&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ower Spectrum'''&amp;lt;/span&amp;gt;&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;'''(Alt+F FP'''&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;), or&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;u&amp;gt;'''R&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;eal + Imaginary Part'''&amp;lt;/span&amp;gt;&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;'''Alt+F FR'''&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;). In this case, amplitudes of the real and imaginary components are written to two separate files.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;DOS file name extensions for each type of output file are given in the following table:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (11).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Exporting band amplitudes and power'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&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;'''Export &amp;lt;/span&amp;gt;&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;u&amp;gt;P&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;ower in Bands'''&amp;lt;/span&amp;gt;&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;'''Alt+F P'''&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;) or &amp;lt;/span&amp;gt;&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;'''Export &amp;lt;/span&amp;gt;&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;u&amp;gt;A&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;mplitude in Bands'''&amp;lt;/span&amp;gt;&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;'''Alt+F&amp;amp;nbsp;A'''&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;). An ASCII file is produced with one channel per line, and each line contains the value for each frequency band.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Sending FFT data to MATLAB'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select&amp;lt;/span&amp;gt;&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;''' Send to MATLAB '''&amp;lt;/span&amp;gt;&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;'''Alt+F M'''&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;) to transfer the current FFT data to MATLAB. This menu entry is available only when MATLAB is installed. Details on the MATLAB interface are provided in Help Chapter &amp;lt;/span&amp;gt;&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;''“MATLAB”.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (12).gif]]&lt;br /&gt;
&lt;br /&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;A dialog window opens that allows to specify:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;the type of data to be transferred (Amplitude, Power, or Complex FFT data)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;whether each frequency bin should be transferred or frequencies should be pooled in bands&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;the montage for which the FFT should be sent&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;When hitting &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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;, the sent data will be made available in MATLAB in struct variable &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''besa_fft'''&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;. For details on the data transfer from BESA Research to MATLAB, please refer to Help Chapter &amp;lt;/span&amp;gt;&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;''“The MATLAB interface”.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Printing results of the FFT'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Print'''&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; to print the FFT display and FFT maps. BESA Research uses the standard WINDOWS printer output. You may change your printer settings temporarily for your current BESA Research session. In the printer setup, you can choose the orientation (landscape or portrait) and the resolution. If you have any problems with printing, try to set the resolution to 300*300. If you want to change the printer setup permanently, please select the Printer Control from the WINDOWS main control group.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A preview of the printout can be generated with &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Print Preview'''&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;. Click on the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&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; button to return to the program.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Closing FFT'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To remove the FFT window (without saving the results), select &amp;lt;/span&amp;gt;&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;''Close''&amp;lt;/span&amp;gt;&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; in the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' File'''&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; menu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+F C'''&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;), or simply type the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Esc&amp;gt; '''&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;key.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;FFT ‘Options’ Menu&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (13).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Options '''&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;menu allows to define FFT mapping options, to set colors for the display of each frequency band, and to define and name up to 7 bands. When working with BESA Research, the band colors, names, and frequency ranges of the last session are stored in the file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&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:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;. These values are then used in the next BESA Research session.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Mapping options'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the Mapping submenu two entries toggle different mapping modes:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Spectral (14).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The entry &amp;lt;/span&amp;gt;&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;'''3D Whole Head Mapping'''&amp;lt;/span&amp;gt;&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; toggles between 3D and 2D mapping.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The entry &amp;lt;/span&amp;gt;&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;'''Top Meridian Projection'''&amp;lt;/span&amp;gt;&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; toggles between top meridian projection and whole head mapping.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Defining band colors'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (15).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options / Band Color'''&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;'''Alt+O C'''&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;), and then the name of the band to define (e.g. &amp;lt;/span&amp;gt;&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;u&amp;gt;'''T&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;heta'''&amp;lt;/span&amp;gt;&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;'''Alt+O CT'''&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;). A window is presented with a palette of colors, allowing the choice of a color for the display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;u&amp;gt;D&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;efault &amp;lt;/span&amp;gt;&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;u&amp;gt;C&amp;lt;/u&amp;gt;&amp;lt;/span&amp;gt;&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;olors'''&amp;lt;/span&amp;gt;&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;'''Alt+O CD'''&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;) to select the default colors for the bands (predefined in &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Defining band names and widths'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&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;'''Options / Band Name and Width'''&amp;lt;/span&amp;gt;&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; to define up to 7 band names and frequency ranges. A window showing names and frequency limits is displayed, allowing redefinition of the frequency bands. Overlapping frequency ranges can be defined. Upper/lower limits of FFT bands can be set up to the maximum frequency that can be displayed in the current FFT (which is usually half of the sampling rate). Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Default'''&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; button to select the default definitions as predefined in the file BESA.ini and shown in the following table:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (16).gif]]&lt;br /&gt;
&lt;br /&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;FFT Mouse Controls&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;'''Single left click'''&amp;lt;/span&amp;gt;&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;on the &amp;lt;/span&amp;gt;&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;'''displayed peak frequency'''&amp;lt;/span&amp;gt;&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; or peak amplitude values of a channel or on the channel labels or head symbols at the left of the FFT window: Sets a cursor at the peak (dominant) &amp;lt;/span&amp;gt;&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;frequency of the selected channel and displays a map of the topography at the marked frequency (only if the channel is not defined as bad).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;on the string indicating the &amp;lt;/span&amp;gt;&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;'''spectrum type '''&amp;lt;/span&amp;gt;&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. Spectrum or Power Spectrum): Toggles between display of amplitude and power spectrum.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;on the string indicating the map type (EEG or MEG): Toggles between EEG and MEG FFT maps (only for combined MEG and EEG measurements).&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;on the &amp;lt;/span&amp;gt;&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;'''displayed spectrum'''&amp;lt;/span&amp;gt;&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;: Sets a cursor and draws a FFT map of the topography at the marked frequency. The availability of this function by single left mouse click depends on the settings in the main window’s &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options / Mapping'''&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; submenu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options / Mapping / Enable Direct Mapping by Single Click'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Note:'''&amp;lt;/span&amp;gt;&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; The mouse pointer changes to a hand in areas of the FFT window where left mouse clicks initiate an action.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Double left click'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;on the &amp;lt;/span&amp;gt;&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;'''displayed spectrum'''&amp;lt;/span&amp;gt;&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;: Sets a cursor and draws a map of the topography at the marked frequency. The availability of this function by single left mouse click depends on the settings in the main window’s&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Options / Mapping'''&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; submenu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options / Mapping / Enable Direct Mapping by Double Click'''&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;&lt;br /&gt;
&lt;br /&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;'''Right click'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;on the &amp;lt;/span&amp;gt;&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;'''displayed spectrum'''&amp;lt;/span&amp;gt;&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;: Opens an info-box indicating channel name, frequency, and amplitude/power at that frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Density Spectral Arrays (DSA) &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
==== Introduction ====&lt;br /&gt;
&lt;br /&gt;
The Density Spectral Arrays (DSA) module displays a compressed two-dimensional time-frequency display of the activity in the data file. It focuses on the frequency range of 1 Hz&amp;amp;nbsp;- 25 Hz which includes the commonly observed oscillatory rhythms in the human brain. This allows for a quick overview of the sections where events of interest occur, e.g. in the analysis of epileptic seizures or in sleep research. DSA values are computed for every second in the data file using a windowed FFT with a window length of 2s. By default, the DSA module uses a standardized brain source montage to separate the activities of both hemispheres and the different brain regions using 15 regional sources. This spatial filtering prior to the application of the time-frequency transformation helps to identify brain regions where oscillatory activity originates. The DSA can be invoked by hitting the [[Image:Spectral (17).gif]] button or from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process'''&amp;lt;/span&amp;gt; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (18).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (19).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Standard DSA display of an EEG containing four seizures. For each brain hemisphere, the sum of activities is shown.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Using DSA to navigate'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;With a &amp;lt;/span&amp;gt;&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;'''left mouse click'''&amp;lt;/span&amp;gt;&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; into the DSA display, you can navigate to the selected EEG event. The data review window display jumps to the selected time in the record.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''DSA display modes'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Three modes of DSA display are possible:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Hemispheric Comparison, which sums up all the lateral activities of each hemisphere&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Regional Comparison, which gives account of the activity within five gross brain regions&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Current Montage, which shows the activity in each channel of the selected montage at the time the DSA window was opened. For MEG data, only the Current Montage option is available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;For the first two modes, the signals are first transformed to the standardized brain source montage &amp;lt;/span&amp;gt;&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;''BR_Brain Regions''&amp;lt;/span&amp;gt;&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; (see chapter &amp;lt;/span&amp;gt;&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;quot;Review / Remontaging&amp;quot;''&amp;lt;/span&amp;gt;&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;) before the summation of the spectral parameters is performed. This transformation of the data to a source montage optimally separates the activities from the different brain regions that generate overlapping signals at the scalp surface. DSA of scalp channels can be seen by selecting a recording (traditional) montage and selecting mode 3, current montage.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The way in which signals are sub-sampled to obtain the density display can be modified, from the fastest sub-sampling to an averaged or maximum signal display. The color-coded display of the spectral values in frequency bins can be normalized to the percentage value relative to the sum over all frequency bins of each channel.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The current position in the data file is indicated by the vertical dashed lines in the display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (20).gif]]&lt;br /&gt;
&lt;br /&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;The time scale shows minutes as small gray ticks (in real time - not time measured from file start). In the &amp;quot;&amp;lt;/span&amp;gt;&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;''Hemispheric Comparison''&amp;lt;/span&amp;gt;&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;quot; mode, the time scale appears in the middle, whereas it is displayed below the channels otherwise. Thicker gray ticks indicate five-minute marks, larger black ticks ten-minute-marks, and segment borders are displayed in red.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Setting the DSA Display Mode&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;The data can be remontaged for display in three different ways using the first three toolbar buttons.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (21).gif]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Hemispheric Comparison (default option)'''&amp;lt;/span&amp;gt;&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;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Hemispheric comparison is activated by clicking on the &amp;lt;/span&amp;gt;&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;'''leftmost'''&amp;lt;/span&amp;gt;&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; toolbar button. The integrated activity of each hemisphere is shown. In this mode, the DSA window aligns with the event bar at the bottom of the main window to relate activity to the events marked in the event bar. The integrated activity of each hemisphere is calculated by first transforming the data to the standardized source montage &amp;lt;/span&amp;gt;&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;''BR_Brain''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Regions''&amp;lt;/span&amp;gt;&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;, which is also available from the &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Src'''&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;quot; button in the BESA Research main window (see chapter &amp;lt;/span&amp;gt;&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;quot;Review / Remontaging&amp;quot;).''&amp;lt;/span&amp;gt;&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; Then the signals of all source channels in the left (&amp;lt;/span&amp;gt;&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;'''L'''&amp;lt;/span&amp;gt;&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;) and the right (&amp;lt;/span&amp;gt;&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;'''R'''&amp;lt;/span&amp;gt;&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;) hemispheres are summed up separately. This transformation of the data to a source montage optimally separates the activities from the different brain regions that are overlapped and smeared at the scalp surface.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For MEG data, this option is not available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (22).gif]]&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''' Regional Comparison &amp;amp;nbsp;'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This option is activated by clicking on the&amp;lt;/span&amp;gt;&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;''' second'''&amp;lt;/span&amp;gt;&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; toolbar button. The integrated activity of five brain regions is shown. The regions are:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''FcpL, FcpR'''&amp;lt;/span&amp;gt;&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;, which sum all lateralized activity in the upper parts of the brain&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''TmpL, TmpR'''&amp;lt;/span&amp;gt;&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;, which sum all activity in the temporal regions of the brain&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;'''SagM'''&amp;lt;/span&amp;gt;&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;, which sum all activity in the sagittal midline regions of the brain (only shown if tick mark &amp;lt;/span&amp;gt;&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;quot;Midline Channels&amp;quot;''&amp;lt;/span&amp;gt;&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; is on in &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage Options'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;In this mode, the DSA window is displayed in the right portion of the BESA Research main window. The integrated activity of each region is calculated by first transforming the data to the standardized source montage &amp;lt;/span&amp;gt;&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;''BR_Brain Regions''&amp;lt;/span&amp;gt;&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;, which is also available from the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Src&amp;quot; '''&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;button in the BESA Research main window (see chapter &amp;lt;/span&amp;gt;&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;quot;Review / Remontaging''&amp;lt;/span&amp;gt;&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;quot;).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Then the signals of the source channels which belong to the corresponding region are summed up.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For MEG data, this option is not available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (23).gif]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Current Montage'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;With the &amp;lt;/span&amp;gt;&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;'''third'''&amp;lt;/span&amp;gt;&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; toolbar button, the Current Montage option is selected to display the spectra of the channels of the montage that was selected when the DSA window was opened. In this mode, the DSA window is displayed in the right portion of the BESA Research main window. If the current montage is changed in the BESA Research main window, the DSA display remains unchanged -&amp;lt;/span&amp;gt;&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;''' Ändern'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (24).gif]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Source Montage'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The four following buttons, which appear only in the hemispheric comparison window, allow for the selection of the montage underlying the display, based on the source montage &amp;lt;/span&amp;gt;&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;''BR_Brain Regions''&amp;lt;/span&amp;gt;&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;. One of the buttons is always down, with &amp;lt;/span&amp;gt;&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;'''BR'''&amp;lt;/span&amp;gt;&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; as default.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the case of &amp;lt;/span&amp;gt;&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;'''BR'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Brain Regions''&amp;lt;/span&amp;gt;&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;), the averages of all left-hand and right-hand side channels of the montage &amp;lt;/span&amp;gt;&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;''BR_Brain Regions''&amp;lt;/span&amp;gt;&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; are shown in the upper and lower channel, respectively, as indicated by the labels&amp;lt;/span&amp;gt;&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;''' L'''&amp;lt;/span&amp;gt;&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; and &amp;lt;/span&amp;gt;&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;'''R'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;For &amp;lt;/span&amp;gt;&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;'''TL'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Temporal Lobe''&amp;lt;/span&amp;gt;&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;), the averages of the most important channels of the source montage &amp;lt;/span&amp;gt;&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;''TR_Temporal Regions''&amp;lt;/span&amp;gt;&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; are calculated and displayed in the upper and lower channels labelled &amp;lt;/span&amp;gt;&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;'''L'''&amp;lt;/span&amp;gt;&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; and &amp;lt;/span&amp;gt;&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;'''R'''&amp;lt;/span&amp;gt;&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;. The channels in question are TAL and TPL for the left-hand side and TAR and TPR for the right-hand side.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''FP'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Frontoparietal''&amp;lt;/span&amp;gt;&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;) is based on the source montage &amp;lt;/span&amp;gt;&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;''BR_Brain Regions''&amp;lt;/span&amp;gt;&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; and averages the source channels FL, CL, PL and FR, CR, PR, respectively, displaying them in channels &amp;lt;/span&amp;gt;&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;'''L'''&amp;lt;/span&amp;gt;&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; and &amp;lt;/span&amp;gt;&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;'''R.'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''SG'''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Sagittal''&amp;lt;/span&amp;gt;&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;) also uses the source montage &amp;lt;/span&amp;gt;&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;''BR_Brain Regions''&amp;lt;/span&amp;gt;&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;. The mean of the frontal sagittal channels FpM, FM and CM is displayed in the upper channel F, the mean of the posterior sagittal channels CM, OpM and CM is shown in the lower channel &amp;lt;/span&amp;gt;&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;'''P'''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (25).gif]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Visualizing Differences'''&amp;lt;/span&amp;gt;&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;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Many features of interest are lateralized in the brain and show up clearly when hemispheric regions are compared directly. This is achieved using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delta'''&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; toolbar button:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This button enables subtraction of hemispherically homologue regions and is available for the standardized montage options &amp;quot;&amp;lt;/span&amp;gt;&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;''Hemispheric Comparison&amp;quot;''&amp;lt;/span&amp;gt;&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; and &amp;quot;&amp;lt;/span&amp;gt;&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;''Regional Comparison&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Hemispheric Difference'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;The integrated activities of the hemispheres (calculated as in the &amp;lt;/span&amp;gt;&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;''Hemispheric Comparison''&amp;lt;/span&amp;gt;&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; option) are subtracted from one another. The differences between the activities are displayed. The channel &amp;lt;/span&amp;gt;&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;'''L+'''&amp;lt;/span&amp;gt;&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; shows signal at the frequencies and latencies where activity was higher in the left hemisphere. Frequencies and latencies where activity was higher in the right hemisphere show up in channel &amp;lt;/span&amp;gt;&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;'''R+.'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Regional Difference'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;The integrated activity of four brain regions is calculated as in the &amp;lt;/span&amp;gt;&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;''Regional Comparison''&amp;lt;/span&amp;gt;&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; option excluding the midline sagittal region. Then the activities of homologous regions are subtracted from one another and this difference is displayed on the side where the activity is larger: Thus, the channel &amp;lt;/span&amp;gt;&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;'''FcpL+'''&amp;lt;/span&amp;gt;&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; only shows signal at frequencies and latencies where activity was higher in &amp;lt;/span&amp;gt;&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;''FcpL''&amp;lt;/span&amp;gt;&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; than in &amp;lt;/span&amp;gt;&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;''FcpR''&amp;lt;/span&amp;gt;&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;. The signals in the other channels are calculated accordingly.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (26).gif]]&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''' Epochs'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The epoch buttons allow the choice of time interval for browsing through the data.&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Either the whole file (&amp;quot;&amp;lt;/span&amp;gt;&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;''All&amp;quot;)''&amp;lt;/span&amp;gt;&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; or intervals of 15, 20 or 30 minutes, with one additional&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;minute of overlap with the following window, are shown. The default is 20 minutes,&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;which corresponds best to the length of the standard EEG. For &amp;lt;/span&amp;gt;&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;continuous data files,&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;interval start times are chosen in relation to the full hour (e.g. 18:00, 18:20 and&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;18:40 for the 20-minute window). Only the first and last window are positioned such&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;as to start and end with file start and end, respectively.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The default epoch is &amp;quot;All&amp;quot; for files shorter than 20 minutes and &amp;quot;20&amp;quot; for longer files. For files no longer than 15 minutes, all buttons are grayed (with &amp;quot;All&amp;quot; automatically selected). Otherwise, &amp;quot;All&amp;quot; and those buttons which allow paging are enabled.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the case of &amp;quot;All&amp;quot; and files of long duration, a progress bar may appear. Hitting &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Abort'''&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;quot; will result in the display of those portions of the data that have already been calculated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The epoch buttons are grayed in the zoom mode.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (27).gif]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Paging'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Page backward / forward one interval of the currently selected length. The page buttons are enabled only if the position in the file, and the file length, allow to browse to an earlier / later interval.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The page buttons are grayed in the zoom mode.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Display Options&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;To emphasize features of interest, the DSA display can be optimized to normalize and scale the spectral data in different ways.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (28).gif]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Percentage Button'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The status of the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' percentage '''&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;button on the toolbar determines how the color-coded display of the intensity values in frequency bins is normalized. The options are:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Absolute Value'''&amp;lt;/span&amp;gt;&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; (button is up):&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&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;If this option is selected, the absolute amplitude or power intensity values are displayed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Percentage'''&amp;lt;/span&amp;gt;&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; (default option, button is down)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0 cm;margin-right:0cm;&amp;quot;&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;If this option is selected, the intensity value for each sampling time and frequency is normalized to the summed intensities over all frequency bins averaged over all channels for that sampling time. Thus, the displayed DSA amplitude/power for one frequency bin is its contribution (in %) to the overall activity at that sampling time.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The effect when applying the percentage normalization to data is shown in the example below, where hemispheric difference with and without percentage normalization is shown:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (30).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Hemispheric difference display without percentage normalization (top) and with percentage normalization (bottom). The decreasing 9 to 7-Hz seizure activity in the right hemisphere emerges better from the background with percentage normalization.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (31).gif]]]&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''' Amplitude Button &amp;amp;nbsp;'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The amplitude button toggles between display of amplitude and power. The default setting is on amplitude (button is pressed).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If amplitude is selected, displayed intensities are in µV/Hz, fT/Hz, fT/(cmHz), or nAm/Hz.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If power is selected, displayed intensities are in µV²/Hz, fT²/Hz, fT²/(cm²Hz), or nAm²/Hz.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (32).gif]]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Original Data and Baseline Normalization'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;By default, the original data are shown (button D down). If option B (baseline normalization) is chosen, amplitude/power for each sampling time and frequency and each remontaged channel is normalized by the sum over all sampling times for the given frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This can sometimes help to suppress or intermittent or continuous signals of constant frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (33).gif]]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (34).gif]]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Hemispheric comparison display without (top) and with (bottom) additional baseline normalization, which enhances the contrast between seizures and background for this example.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (35).gif]]]&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''' Setting the Display Sampling &amp;amp;nbsp;'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Since the data file features far more sampling times than pixels available for DSA display, a sub-sampling is required to compress data file sections into the pixels shown in the DSA. The method how this is achieved can be chosen with the sampling popup menu. Using the sampling button in the toolbar, the type of sampling of data for the display can be chosen.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Three options are possible:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Sub-sample Epochs:'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&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;For each displayed pixel, one sample second in the middle of the represented time interval is selected. For this sample second, the activities are displayed. This is the fastest way to obtain the DSA display. The principle is illustrated in the graphics. In this example, only every fourth sample is computed for the DSA display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Spectral (36).gif]]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Average Epochs'''&amp;lt;/span&amp;gt;&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; (default option):&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&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;For each displayed pixel, the average over all seconds which are summarized in that pixel is calculated for each frequency bin. In this way, it is ensured that sudden bursts of activity are not accidentally missed out. The principle is illustrated in the graphics.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;[[Image:Spectral (37).gif]]]&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Select Maximum:'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&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;For each displayed pixel, the maximum over all seconds which are summarized in that pixel is calculated for each frequency bin. This enhances the impact of sudden bursts of activity in the display. The principle is illustrated in the graphics.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;[[Image:Spectral (38).gif]]]&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (39).gif]]]&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Scaling Buttons &amp;amp;nbsp;'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The left button (+) scales intensities up, the right one (-) scales them down. Each time one of the buttons is pressed, scaling is increased/decreased by a factor of ³&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;2. This means that pressing the same button 3 times results in doubling / halving the normalization intensity.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Zooming the Display'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;You can use the left mouse button to drag a rectangle anywhere in the display. A popup menu containing the entries &amp;quot;Zoom In&amp;quot; and &amp;quot;Zoom Out&amp;quot; appears, from which you can choose to zoom into the selected area. In the zoom mode, the epoch and page buttons are up and grayed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (40).gif]]]&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt; Zooming out can be done using the Zoom Out button, which is shown only if the display is zoomed. The display then returns to the former view. Otherwise, dragging another rectangle reopens the popup menu.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Note:'''&amp;lt;/span&amp;gt;&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; for further details on Spectral Analysis (FFT and DSA) in BESA Research, please refer to the Help Chapter ‘&amp;lt;/span&amp;gt;&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;''Spectral Analysis’''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Tutorial&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&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;This tutorial will introduce the main features of the DSA module. A detailed description of all features can be found in the reference section.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The tutorial uses a data file with four concatenated EEG segments of epileptic seizure data (by courtesy of Prof. J. Ebersole, U Chicago). We will learn how to identify events in the data file quickly using the DSA display and how to find epochs with prominent rhythmic activities that differ between hemispheres.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;1. Use the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Open'''&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; menu to browse to the folder &amp;lt;/span&amp;gt;&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;'''Examples\Epilepsy\Seizures'''&amp;lt;/span&amp;gt;&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;. Select the data file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Seizure-Right-Temporal.foc''''&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; and open it. The data are shown in the originally recorded montage. By default, a time constant of 0.3 sec (i.e. Low Filter: 0.53 Hz) is enabled (unless you changed the settings in your &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ini'''&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; file).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;2. In the main window, press pushbutton '&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Src''''&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; and select the source montage '&amp;lt;/span&amp;gt;&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;''TR_Temporal Region'''&amp;lt;/span&amp;gt;&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;. This displays the left and right temporal lobe channels in the top 8 traces and reveals strongly lateralized right temporo-basal seizure activity. Press the &amp;lt;/span&amp;gt;&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;'''high filter'''&amp;lt;/span&amp;gt;&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; pushbutton &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''HF'''&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; and select &amp;lt;/span&amp;gt;&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;'''35 Hz'''&amp;lt;/span&amp;gt;&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; to reduce the EMG artifact.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;3. Press the push button &amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''DSA&amp;quot;'''&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; at the top of the main window. The DSA window opens. In the DSA display, the horizontal axis represents time, whereas the vertical axis represents frequency (from 1 to 25 Hz). &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;With the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Amplitude button'''&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Spectral (31).gif]]]&amp;lt;/span&amp;gt;&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; down, and the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Percentage button'''&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Spectral (28).gif]]]&amp;lt;/span&amp;gt;&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; released, the following image is obtained:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Spectral (41).gif]]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Four seizures can be distinguished in the display (red blocks of large EEG activity). Only two source channels, L and R, are shown, one for each hemisphere. These channels are obtained by calculating the mean left and right source activities using the 5 left and 5 right regional sources of brain source montage BR_BrainRegions to reduce overlap by volume conduction.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;4. '''Scale the DSA display'''&amp;lt;/span&amp;gt;&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; up using the &amp;lt;/span&amp;gt;&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;'''Scaling button'''&amp;lt;/span&amp;gt;&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; in the toolbar (&amp;lt;/span&amp;gt;&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;[[Image:Spectral (42).gif]]&amp;lt;/span&amp;gt;&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;). Pressing it three times decreases the threshold for maximum intensity by a factor of 2. The color map caption text changes correspondingly. &amp;lt;/span&amp;gt;&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;'''Scale'''&amp;lt;/span&amp;gt;&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; the display down again, either using the next toolbar button, or the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Cursor-Down''''&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; key on the keyboard to set the amplitude scale to 79.4 nAm. This will reveal the dark 'nose-tips' at the beginning of the second and fourth seizure with frequencies decreasing from about 8 to 5 Hz and obvious lateralization to the right hemisphere.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;5. '''Move the mouse cursor'''&amp;lt;/span&amp;gt;&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; over the data display. Current time and frequency are shown below the color bar and next to the mouse cursor, respectively. &amp;lt;/span&amp;gt;&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;'''Click'''&amp;lt;/span&amp;gt;&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; on the red-nose tip (~6.5 Hz) around +00:02:09 (12:02:09 AM) in the right source channel (R) to move the EEG display to this epoch at the beginning of the second seizure. A comparison of the traces of the left (traces 1-4) and right (traces 5-8) temporal lobe sources (&amp;lt;/span&amp;gt;&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;''Src/TR_Temporal Region''&amp;lt;/span&amp;gt;&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;) confirms the lateralization of the seizure onset to the right hemisphere.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Spectral (43).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;6. '''Press'''&amp;lt;/span&amp;gt;&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; the &amp;lt;/span&amp;gt;&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;'''second-left'''&amp;lt;/span&amp;gt;&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; toolbar button (&amp;lt;/span&amp;gt;&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;[[Image:Spectral (44).gif]]&amp;lt;/span&amp;gt;&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;) to switch to the display mode &amp;lt;/span&amp;gt;&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;''''Regional Comparison''''&amp;lt;/span&amp;gt;&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;. The DSA display moves to the right of the main window and displays the spectral densities of five regions by summarizing the activities in the lateralized upper parts of the brain, in the temporal regions bilaterally, and in the midline regions.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (45).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;7. '''Press'''&amp;lt;/span&amp;gt;&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; the &amp;lt;/span&amp;gt;&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;'''third'''&amp;lt;/span&amp;gt;&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; toolbar button (&amp;lt;/span&amp;gt;&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;[[Image:Spectral (46).gif]]&amp;lt;/span&amp;gt;&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;) to switch to the display mode &amp;lt;/span&amp;gt;&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;''''Current Montage'. '''&amp;lt;/span&amp;gt;&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;The DSA display on the right of the main window now displays the spectral densities of all channels in the current montage. Enlarge the DSA window by using the full-screen symbol at the top right. It is very apparent now that the seizures start with an interval of increased activity in the 8-5 Hz range. This activity is most noticeable in the anterior three source channels of the right temporal lobe (TBvr_TR, TApr_TR, and TArR_TR). &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (47).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;8. Use the overlapping window icon at the top right of the window to get the window back to its original position at the right of the screen. Then press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Sampling '''&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;toolbar button ( &amp;lt;/span&amp;gt;&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;[[Image:Spectral (48).gif]]&amp;lt;/span&amp;gt;&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; ) to select the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Select Maximum''''&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; from the dropdown menu which appears. This results in pronouncing maxima of intensities: for each frequency bin, the maximum over the epoch that is related to one pixel of the display is computed. In this case, the noise is enhanced by the procedure. Press the button again to go back to 'Average Epochs', which displays the average over the epoch related to one displayed pixel for each frequency bin.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;9. '''Close the DSA window'''&amp;lt;/span&amp;gt;&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; using the close symbol at the top right. Press pushbutton &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Vir''''&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; to select the virtual &amp;lt;/span&amp;gt;&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;'''Horizontal Bipolar'''&amp;lt;/span&amp;gt;&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; montage. Press the pushbutton &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''DSA'''&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; to recalculate DSA for the new current montage, then press the Amplitude button ( &amp;lt;/span&amp;gt;&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;[[Image:Spectral (31).gif]]&amp;lt;/span&amp;gt;&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; ) and the third toolbar button (&amp;lt;/span&amp;gt;&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;[[Image:Spectral (23).gif]]&amp;lt;/span&amp;gt;&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;). You can now see that the scalp montage, although optimized for temporal-basal activity shows a poor separation between hemispheres.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (49).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;10. '''Press'''&amp;lt;/span&amp;gt;&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; the &amp;lt;/span&amp;gt;&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;'''second-left'''&amp;lt;/span&amp;gt;&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; toolbar button ( &amp;lt;/span&amp;gt;&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;[[Image:Spectral (44).gif]]&amp;lt;/span&amp;gt;&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; ) to select the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Regional Comparison''''&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Press'''&amp;lt;/span&amp;gt;&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; the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Delta''''&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; button ( &amp;lt;/span&amp;gt;&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;[[Image:Spectral (25).gif]]&amp;lt;/span&amp;gt;&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; ) to switch to regional difference. The channels now show the difference between activities in the homologous brain regions. Then &amp;lt;/span&amp;gt;&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;'''press'''&amp;lt;/span&amp;gt;&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; the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Display '''&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;button (&amp;lt;/span&amp;gt;&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;[[Image:Spectral (50).gif]]&amp;lt;/span&amp;gt;&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;) to switch to the display mode&amp;lt;/span&amp;gt;&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;''' 'Percentage''''&amp;lt;/span&amp;gt;&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;. Now, the relative spectral amplitude in each frequency bin and time point is displayed.&amp;lt;/span&amp;gt;&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;''' Switch'''&amp;lt;/span&amp;gt;&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; to displaying &amp;lt;/span&amp;gt;&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;'''spectral power'''&amp;lt;/span&amp;gt;&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; by releasing the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Power'''&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; button ( &amp;lt;/span&amp;gt;&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;[[Image:Spectral (31).gif]]&amp;lt;/span&amp;gt;&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; ). Adjust the scaling to 16% at maximum intensity using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scaling'''&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; toolbar buttons or the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''cursor up-down'''&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; keys.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (51).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;This display mode takes away most of the unwanted activity which is not lateralized, and clearly shows the dark clusters in the right hemisphere in the 7 Hz range immediately before the second and fourth seizure.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;11. Use the &amp;lt;/span&amp;gt;&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;'''left mouse button'''&amp;lt;/span&amp;gt;&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; to drag a rectangle around the beginning of the fourth seizure in channel &amp;quot;TmpR+&amp;quot;. From the popup menu that appears, select &amp;quot;Zoom In&amp;quot;. The display is zoomed to show just the selected area. The seizure onset of the 4th seizure is visible as a decelerating 7Hz oscillation in the right temporal region. Use the right mouse button to zoom out again.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Spectral (52).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;This concludes the tutorial on density spectral arrays. It gave a brief introduction into the ways in which the DSA can be used in combination with traditional and brain source montages, and demonstrated its abilities to quickly identify epochs and regions of interest in EEG data files.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Artifact_Correction</id>
		<title>BESA Research Artifact Correction</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Artifact_Correction"/>
				<updated>2017-04-07T12:51:05Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&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;Artifact Correction&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&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;Introduction&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;BESA Research includes a sophisticated spatial filtering method to detect and correct artifacts. The method can be applied to any kind of artifact including EOG and EKG artifacts. Spatial topographies describing the artifacts may be defined manually or by allowing the program to scan the data automatically. Manual definition can be accomplished by marking a time range containing the artifact or a buffer with the averaged artifact. In particular, EKG artifacts should be averaged before defining the spatial topography. Once defined, the corrected data waveforms can be displayed, together with additional channels below the current montage showing the time course of the artifacts. Spatial artifact topographies can be saved to a file (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.atf&amp;lt;/nowiki&amp;gt;'''&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;), and may be recalled for later use with the same data or other data from the same subject.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Automatic artifact correction is described in the chapter Automatic Correction below. For a tutorial on using calibration data for an accurate estimation of artifact coefficients, see help chapter &amp;lt;/span&amp;gt;&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;quot;Artifact Correction / Tutorial&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''How correction works'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Artifact correction is based on the spatial components method for correcting eye artifacts (Berg and Scherg 1994, see also Ille et al. 1997, 2002). Artifact and brain signal subspaces are described in terms of spatial topographies. The correction process consists of four steps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Define the topography for each type of artifact using automatic detection or manual definition&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Determine the brain signal topographies underlying the displayed EEG segment&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Reconstruct the artifact signal at each scalp electrode with a spatial filter taking into account artifact as well as brain signal subspace&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Subtract the reconstructed artifact signal from the original EEG segment&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Available methods for correction'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;BESA Research allows artifact correction to be done in different ways. The method you choose depends on how you want to analyze your data. The methods vary in how the data is distorted by correction, and how the brain activity is modeled for the estimation of eye activity:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Artifact-free review of the ongoing EEG'''&amp;lt;/span&amp;gt;&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;. Use the &amp;lt;/span&amp;gt;&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;'''PCA method'''&amp;lt;/span&amp;gt;&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; (Ille et al. 2002). This is optimized to contrast the artifacts against the predominant rhythmic EEG activities.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Analysis of averaged data waveforms (ERPs).'''&amp;lt;/span&amp;gt;&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; Use the &amp;lt;/span&amp;gt;&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;'''Surrogate method'''&amp;lt;/span&amp;gt;&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; (Berg and Scherg 1994). Brain activity is modeled by a fixed dipole model (the &amp;quot;surrogate model&amp;quot;). Data waveforms will be distorted least if the Surrogate model is close to the dipole model of the averaged data.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Source analysis'''&amp;lt;/span&amp;gt;&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;. Use the &amp;lt;/span&amp;gt;&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;'''Optimizing method'''&amp;lt;/span&amp;gt;&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; (Berg and Scherg 1994). This is available in two variants:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:2.529cm;margin-right:0cm;&amp;quot;&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;'''Develop dipole models in the presence of spatial components'''&amp;lt;/span&amp;gt;&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;. This is the preferred method. Create separate averages of the &amp;lt;/span&amp;gt;&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;''uncorrected''&amp;lt;/span&amp;gt;&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; conditions and of the artifact events, e.g. blinks. All averages can be concatenated into one binary segment file (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.fsg&amp;lt;/nowiki&amp;gt;'''&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;). The averaged artifacts should then be used to define spatial components during source analysis. Thus, the time course of the artifacts and of the event-related source activity can be separated and observed in the source analysis window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:2.529cm;margin-right:0cm;&amp;quot;&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;'''Develop dipole models on the pre-corrected averages'''&amp;lt;/span&amp;gt;&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;. Using subspace-projection (SSP), the artifact dimensions are compensated for in source models. This will lead to the same dipole models as above, but a) the time course of artifact activity is not available, and b) residual variance is lower because variance from dimensions in data space occupied by the artifact spatial components are removed from the data by SSP. It does not matter which correction method was used with BESA Research (PCA, Surrogate, or SSP) – the results of source analysis are the same.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;No artifact correction. If the data contain only a few artifacts, use artifact rejection rather than correction. This avoids the distortion resulting from correction.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Artifact correction in BESA Research distorts the data less than traditional eye artifact correction'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Artifact correction can distort the data topographies and reduce or augment activities at some scalp regions, e.g. frontal scalp after eye movement correction. Therefore, maps should be interpreted with caution.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The advantage of the methods used in BESA Research over traditional approaches is that overlapping contributions of the artifacts and the EEG are separated as much as possible. In traditional approaches, a proportion of the signal on an EOG channel is always subtracted from each EEG signal. Thus, in contrast to traditional methods, the topography of the EEG is less distorted by correction based on spatial components, even if the correlation between artifact and brain activity is high.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Source Analysis takes distortion due to artifact correction into account'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;However much the signals may be distorted by artifact correction, the distortion can be taken into account in Source Analysis. This is accomplished using signal subspace projection (SSP, cf. Uusitalo et al. 1997), which is equivalent to the &amp;quot;optimizing&amp;quot; correction method described in Berg and Scherg (1994).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;SSP is switched on in Source Analysis:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;if data were averaged with artifact correction switched on, and the averaged data were saved in BESA Research binary format (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.fsg&amp;lt;/nowiki&amp;gt;'''&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;&lt;br /&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;if artifact correction is switched on for any other type of file. For instance, you may have averaged a file to ASCII format. Read in the file, and load the artifact coefficients. Make sure correction is switched on.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The PCA and Surrogate methods distort less than traditional EOG subtraction methods, but they do not eliminate distortion! If you do not use the first variant of the Optimizing method in source analysis, you should make sure that subspace projection (SSP) is switched on in the source analysis module. This is indicated by the text &amp;quot;ART&amp;quot; at the right of the status bar in the source analysis module. Visual feedback that SSP is switched on is supplied in the Source Module by the text ART at the right of the Status Bar:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (1).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''References'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Berg, P., and Scherg, M. A multiple source approach to the correction of eye artifacts, Electroenceph. clin. Neurophysiol., 1994, 90: 229-241.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Ille N., Berg P., and Scherg M. A Spatial Components Method for Continuous Artifact Correction in EEG and MEG. Biomed. Tech., 1997, 42 (suppl. 1): 80-83.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Ille, N., Berg, P., Scherg, M. Artifact correction of the ongoing EEG using spatial filters based on artifact and brain signal topographies. J. Clin. Neurophysiol. 2002, 19: 113-124.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;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.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Artifact Correction Menu'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the Review Window use the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Artifact'''&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; menu (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+A'''&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;) to:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Artifact Correction (2).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&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;assign EOG or ECG artifact topographies automatically&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;assign artifacts manually&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;display the reconstructed time course of the artifacts below the EEG&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;display the EEG with the artifacts removed&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;delete assigned artifacts&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;select which artifact topographies to use&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;display maps of the topography defining each artifact&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;set options for modelling the brain signal subspace&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;load a previously defined set of artifact topographies&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;save the current set of artifact topographies to a file&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Automatic Artifact Correction&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;Automatic correction is the easiest way to obtain artifact-cleared data for review. The estimation of the correction coefficients can be done using the whole EEG or an epoch defined by markers. If only one marker is set, the EEG is scanned from the beginning to the marker, or from the marker to the end, depending on the current position of the display. The longer the range, the more precisely the topography&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;of the artifact can be defined. However, longer ranges increase computation time.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the Review Window, select the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact / Automatic'''&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; to bring up the artifact selection dialog box:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (3).gif]]&lt;br /&gt;
&lt;br /&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;By default, EOG correction is computed using an internal model of eye artifact topographies. For automatic EKG correction, an EKG channel has to be defined. If markers are defined (see the figure below), the option &amp;lt;/span&amp;gt;&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;''Between Markers''&amp;lt;/span&amp;gt;&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; is ticked automatically.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Clicking &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; starts the assignment of the artifact topographies, which can be interrupted at any time using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''ESC' '''&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;key on the keyboard.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (4).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''A block of EEG (the example file ''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Examples\EEG-FOCUS\eeg2.eeg'''&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;'') is shown containing eye artifacts. Markers have been placed on either side of the artifacts.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (5).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Waveform display after automatic artifact correction. Virtual channels which carry the artifact signal are automatically appended at the bottom.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The corrected waveforms are shown, together with the channels HEOG and VEOG that depict the artifact signals. The oscillatory brain activity is not distorted by artifact correction. Note that correction is applied to scalp channels only. Non-scalp channels, e.g. polygraphic channels, are not corrected and are therefore unaffected by the correction.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (6).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Above, a later segment of the EEG is shown, using the TA_Temporal-Lobe source montage, with and without correction. Note that, without artifact correction, the eye movements are depicted on the channels representing anterior temporal lobe and frontal brain activity. After correction, the artifacts are greatly reduced without distorting the topography of the periodic discharges.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Using Defined Topographies for Correction&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;It is often desirable to use real data topographies for artifact correction, since they reflect the individual variability, e.g. in eye artifacts. The easiest way to assign an individual topography is to mark a data block which contains an artifact, and define the topography via the right click popup menu. The proceeding is as follows:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Mark the artifact in the display window using the left mouse drag:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Artifact Correction (7).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Select the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact / Select'''&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;. Alternatively, right click and select &amp;lt;/span&amp;gt;&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;''Define Topography''&amp;lt;/span&amp;gt;&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; from the popup menu which appears:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Artifact Correction (8).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&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;''Select Topographies''&amp;lt;/span&amp;gt;&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; dialog box appears. There is a list of artifact types, for which topographies can be assigned. To assign a blink artifact, click into the check box in the third row. The topography is activated, and a map of the artifact topography is shown automatically:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Artifact Correction (9).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;''EEG data after a topography has been assigned to the category &amp;quot;Blink&amp;quot;. A map of the topography is shown at the right. An additional channel for the blink artifact is introduced at the bottom, and data are corrected automatically.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Note that the data are automatically corrected, and an additional virtual artifact channel appears at the bottom. To switch correction off again, use the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact / Correct'''&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; which toggles correction.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The artifact topography can be estimated with higher accuracy if a number of artifact epochs are averaged into a data buffer. This is especially recommended for correcting EKG artifacts, since the share of the overall topography which is held by the brain activity is larger for EKG artifacts. To average a number of artifacts:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Select the channel where the artifact shows most prominently by a left click on the channel label.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Mark the artifact in the data display.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Press the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' SAW'''&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; button at the top of the display window:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Artifact Correction (10).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;''Averaging over an artifact''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;This starts an automatic average of all matching patterns in the data file. You may stop the search after a number of events were found (progress is shown in the status bar; stop averaging with the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''ESC' '''&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;key). When asked for a filename to save the pattern, press&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Cancel'''&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;. The averaged data buffer containing the artifact is shown. Now use the averaged artifact to define the artifact topography as described above for the blink artifact. When selecting the artifact category, choose EKG:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (11).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Defining a topography for an EKG artifact from an averaged EKG pattern''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;For the correction of EKG artifacts, it is recommended to specify a (bipolar) polygraphic EKG channel. If only scalp channels are available, the correction can work reasonably only if more than 30 channels are available and if inferior electrodes are included.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Some artifacts can contain more than one spatial component (e.g. EKG artifacts). It is possible to select more than one component for correction.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;More information on artifact correction is given in the help chapter &amp;lt;/span&amp;gt;&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;quot;Artifact Correction/ Tutorial&amp;quot;.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Artifacts Tutorial: Using Calibration Data to Generate Artifact Coefficients&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;In this example, we will work on calibration data containing systematic eye movements:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Each type of eye movement (left, right, up, down, blink) will be averaged separately, using pattern search.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Correction coefficients for horizontal and vertical eye movements and blinks will be generated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;We will obtain feedback about the coefficients: how well do these coefficients correct the calibration data?&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Using the PCA in the source analysis module, we can demonstrate the presence of rider artifacts (small eyelid movements) overlapping the saccades.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The data example, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Examples\Xtras\Eye Artifacts\calibration.foc'''&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;, was collected using 64 channels referred to Cz. In the eye movement calibration procedure, the subject watched a fixation point on a video monitor. At intervals of 2 s, an arrow appeared on the screen. The subject was instructed to move his eyes in the direction of the arrow to a point (marked on the wall of the shielded cabin) approximately 15° away from the fixation point, and then back to the fixation point. The subject was also instructed to try not &amp;lt;/span&amp;gt;&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;to blink during the eye movement, but was allowed to blink while watching the fixation point. There were 20 movements in each of the directions left, right, up, down. Following these movements, the arrows were replaced by an image of an eye. This was a cue to blink. 20 eyeblinks were requested.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the data file, trigger 1 denotes the horizontal arrows, trigger 2 the vertical arrows, and trigger 3 the eyeblinks.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 1: Setting up the parameters'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Load the file, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Examples\Xtras\Eye Artifacts\calibration.foc'''&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Set the &amp;lt;/span&amp;gt;&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;''Default Block Epoch''&amp;lt;/span&amp;gt;&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; to the range -100 ms to +400 ms (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;Edit/Default Block Epoch&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select pattern search (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search/Pattern'''&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;), and make sure that the Query option is switched on (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search/Query'''&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select buffer 1 for averaging (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Tags/Pattern 1'''&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Set the filters to 0.5 Hz high pass, 6 db/octave, forward, and 8 Hz low pass, 12 db/octave, zero phase (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Filters/Edit Filter Settings'''&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Click on the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;button and select &amp;lt;/span&amp;gt;&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;'''Original Average Reference'''&amp;lt;/span&amp;gt;&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; in the dropdown menu to display all 65 electrodes using the average reference.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 2: Examine the data'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Scan through the data to find the triggers for leftward horizontal eye movements (trigger 1). Double-click on an eye movement to view its topography. The figure shows the topography of a leftward eye movement.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Artifact Correction (12).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;Note that the signal is always positive (red on the map) in the direction of the movement.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&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;(Note that older versions of calibration.foc contain three trigger codes: 1=horizontal, 2=vertical, 3=blink. The newer version contains five codes: 1=left, 2=right, 3=up, 4=down, 5=blink.)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&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;Look at maps of the vertical eye movements and the blinks.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 3: Pattern search and average: leftward eye movements'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Find the first horizontal (leftward) eye movement and right click just before the onset of the movement. Select &amp;lt;/span&amp;gt;&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;''‘Default Block’ ''&amp;lt;/span&amp;gt;&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;from the drop-down menu. The marked range should look something like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Artifact Correction (13).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''SAW '''&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;(Search, Average, Write) button to start pattern search. For each segment that matches to the pattern, BESA Research will stop and ask for your confirmation.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Accept only patterns for the onset of the eye movement (see the comments below). Reject patterns that are contaminated with blinks. Note the counter in the status bar indicating the number of averages. With this file, all 20 leftward eye movements can be included in the average. After 20 matches, pattern search may start matching up to the offset of the rightward eye movements. At this point you can press&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Cancel '''&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;or the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Escape '''&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;key to terminate averaging.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Save the averages in the suggested file, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration.fsg.'''&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; Specify the label &amp;lt;/span&amp;gt;&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;''‘left’''&amp;lt;/span&amp;gt;&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; for the stored segment.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Note that the onsets of leftward eye movements are now marked with the tag number 1.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 4: Other eye movements'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Repeat the above procedure for the rightward eye movements. First select buffer 2 for averaging. This will assign tag number 2 to these eye movements.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Mark the first rightward eye movement as before. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''SAW'''&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; button. Again, 20 averages can be obtained. Label the average &amp;lt;/span&amp;gt;&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;''‘right’.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select buffer 3 for averaging. Repeat for the upward eye movements. 20 averages can be obtained. Use the label &amp;lt;/span&amp;gt;&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;''‘up’''&amp;lt;/span&amp;gt;&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;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select buffer 4 for averaging. Repeat for the downward eye movements. Note that the first downward eye movement is preceded by an upward saccade. Use the second movement as a template and reject the first movement from averaging. You will also need to reject the return movements from upward saccades. 19 averages will be obtained. Use the label &amp;lt;/span&amp;gt;&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;''‘down’''&amp;lt;/span&amp;gt;&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;. Note that in this file these movements have a blink-like waveform at the onset. This may be due to eyelid movements.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select buffer 5 for averaging. Mark an eyeblink using a right click just before the onset of the blink. More than 20 averages can be obtained, because there are several blinks at the beginning of the data block. Make sure you do not include blinks that overlap with the eye movements. Use the label &amp;lt;/span&amp;gt;&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;''‘blink’''&amp;lt;/span&amp;gt;&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;. Some subjects’ blinks are unnatural in the calibration file – see &amp;lt;/span&amp;gt;&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;'''Comments on the Procedure'''&amp;lt;/span&amp;gt;&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;, below.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Note that the different eye movements are marked with tags 1-5. If you need to repeat the averages (e.g. with different filter settings, a different time range), you do not need to repeat pattern search – you can use the search for tagged events (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Search/Tagged Events'''&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;) and switch off the Query option. Once the tags are defined, a repeat average can be done very quickly. The tags we generated are saved in the file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration_pattern_search_result.evt'''&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;. These tags can be loaded using &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Open Event File'''&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;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 5: Examine the averages'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Open the file, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration.fsg'''&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;, you have just generated. Alternatively, open &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration_average.fsg'''&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;, the average file we generated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Turn off filters and select pre-stimulus baseline (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Filters/Use Prestimulus Baseline'''&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;). Set the display width to 6 s.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Look at the maps of the five different segments.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 6: Define artifact topographies from the averaged data'''&amp;lt;/span&amp;gt;&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;We will now define artifact topographies from the averaged data:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Drag the cursor over the whole width of the horizontal eye movements (first two segments).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact/Select'''&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;. In the resulting dialog, check the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''HEOG'''&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; radio button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (14).gif]]&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;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (15).gif]]&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&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;Note a) in the dropdown list to the right of the radio button, the variance explained by the first PCA component is usually in the high 90’s for averaged eye movements. This means: a single spatial component describes the eye movement extremely well!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Note b) when the check box is clicked, the mapping window is opened automatically, displaying the topography of the spatial component.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Note c) BESA Research allows to select up to three spatial components for each artifact category, using the dropdown list. This is useful for EKG correction in MEG data, where a single component is often not sufficient for correction. A use for eye correction is illustrated below.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to close the dialog. Drag the cursor over the whole width of the vertical eye movements (3rd and 4th segment).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact/Select.'''&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; In the resulting dialog, check the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''HEOG'''&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; radio button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Artifact Correction (17).gif]][[Image:Artifact Correction (16).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Drag the cursor over the width of the blink segment (5th segment).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact/Select'''&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;. In the resulting dialog, check the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BLINK'''&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; radio button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (19).gif]][[Image:Artifact Correction (18).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK '''&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;to close the dialog&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Note the appearance of the three artifact display channels at the bottom of the screen. Each channel images the activity of its eye movement type. Thus, you will see the horizontal eye movements on the right, the vertical movements in the middle, and the blink on the left. Especially during vertical eye movements, you will often see some blink activity – it seems that the eyelid is moving at the onset of the vertical movements (see figure below).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Toggle artifact correction on and off using &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact/Correct'''&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; or the shortcut &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-E'''&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;. To view the artifact correction signals more easily, set the EEG amplitude scaling to 200 µV, and the artifact correction signal scaling to 500 µV. Display the first quarter of the signals. Then the lower part of the display will look something like this:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (20).gif]]&lt;br /&gt;
&lt;br /&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;Note that correction is not perfect! In particular, some artifact signal will remain on electrodes near the eyes, e.g. E5, E14. In practice, this &amp;quot;imperfection&amp;quot; is not critical: most saccades are smaller than 15°, and blinks are usually corrected very well.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Save the artifact topographies in &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration.atf'''&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;'''Artifact/Save'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 7: Generating correction coefficients using three orthogonal spatial components'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Drag the mouse to highlight all five segments of the data.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact/Select'''&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;. In the resulting dialog, un-check the &amp;lt;/span&amp;gt;&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;'''check'''&amp;lt;/span&amp;gt;&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; boxes to suppress the coefficients that were defined above.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Check the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' HEOG'''&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; radio button again. When asked whether to overwrite the existing coefficients, click the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes'''&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; button. As a result of deactivation and overwriting, the previously defined coefficients are removed, and new coefficients are allocated.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Note that in the dropdown list, the first component explains about 66.5% of the data. Click on the arrow to the right of the list to show that the second component explains 29.9%, and the third component 3.1% of the data. Select the third component. This means that three components will be used for correction.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to close the dialog.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Artifact Correction (21).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Note that the &amp;lt;/span&amp;gt;&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;'''HEOG'''&amp;lt;/span&amp;gt;&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; artifact channel now displays three waveforms in different colors. These represent the three waveforms that are subtracted from the data to remove the artifacts.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Save the artifact topographies in &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration_orthog.atf'''&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;'''Artifact/Save'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Step 8: Test correction on the calibration data'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Switch back to the raw data file, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration.foc'''&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;. Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Artifact/Load'''&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; and select the file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration.atf'''&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;'''Artifact/Correct'''&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;. As with the averaged data, correction is quite good, but not perfect on electrodes near the eyes.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Load &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration_orthog.atf'''&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; for comparison. Correction will be equivalent.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;What are the differences between these two approaches? The first method has the advantage that the artifact waveforms display the estimated activity of each type of eye movement: horizontal, vertical and blink. The second method combines these in a fairly arbitrary way, because the spatial topographies are orthogonal. The second method is simpler to apply.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Close the raw data file (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File/Close'''&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;). Open it again. Note that the data are corrected, and the artifact waveforms are displayed. This is because &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration_orthog.atf'''&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; has been reloaded. Open the &amp;lt;/span&amp;gt;&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;''Load''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' '''&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;''Coordinate Files''&amp;lt;/span&amp;gt;&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; dialog (&amp;lt;/span&amp;gt;&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;'''''File/Digitized Coordinates/Head Surface Points and Sensors/Load Coordinate'''''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''''Files'''''&amp;lt;/span&amp;gt;&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; or use the shortcut &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&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;). At the bottom of the dialog, note that the file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration_orthog.atf'''&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; has been selected in &amp;lt;/span&amp;gt;&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;''the &amp;quot;Artifact coefficients&amp;quot;''&amp;lt;/span&amp;gt;&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; section, because it has been associated with the data file in the BESA Research database.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''calibration.atf'''&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; and press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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; to associate this file with the data, and press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&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;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Comments on the procedure'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Unnatural eyeblinks'''&amp;lt;/span&amp;gt;&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;: In some subjects, the eyeblinks are unnatural, e.g. too long, eyes shut too tightly. In this case, we use data from a measurement data block to collect an average of eyeblinks.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Overlapping saccades and eyeblinks'''&amp;lt;/span&amp;gt;&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;: Some subjects blink a lot during the saccades. This makes it difficult to obtain a good estimate of the eye movement topographies, because the eyeblink topography dominates. Solutions to this involve a) trying to use time ranges where the saccade dominates to estimate its topography, or b) using the first three components of a PCA of the combined averaged eye movements.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Filter settings'''&amp;lt;/span&amp;gt;&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;: the 0.5 – 8 Hz filters improves the signal-to-noise ratio of the eye activity. This filter setting is only used for averaging an estimating the eye movement topographies. For artifact correction, any filter setting can be used.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Averaging to the onset of the eye movements:'''&amp;lt;/span&amp;gt;&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; Pattern search often finds a match to the offset of an eye movement (e.g. searching for a leftward movement matches up to the return movements from the right saccade). In many cases, it would probably do no harm to the correction to include these segments in the average. However, we often find that the return movements are contaminated by blinks, so we usually exclude them from the averages.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Pre-stimulus baseline:'''&amp;lt;/span&amp;gt;&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; The averages are generated so that the pre-stimulus baseline is before the eye movement or blink onset. When the pre-stimulus baseline option is selected on the average, we can obtain the topography of the eye movement relative to this baseline, i.e. relative to the fixation point. This is important for best correction results. Using a forward low cutoff filter ensures that the topography of the eye movement does not bleed back into the baseline.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&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;'''Time range'''&amp;lt;/span&amp;gt;&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;: Some subjects keep their eyes on the target for a shorter time. We generally adapt the time range for pattern search so that the end of the time range is in the middle of the target and not after movement offset. This avoids including blinks that may overlap with the offset of the eye movement.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Mapping</id>
		<title>BESA Research Mapping</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Mapping"/>
				<updated>2017-04-07T12:50:17Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&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;Mapping&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Mapping Window ===&lt;br /&gt;
&lt;br /&gt;
The 3D mapping window displays whole-head 3D maps that reflect the voltage topography of the ongoing EEG using the current filter settings. The mapping procedure interpolates the EEG voltage or current source density (CSD) values over the whole head on the basis of the spherical splines method with moderate smoothing (Perrin et al. 1989). Maps are projected onto a 3D standardized head surface for a more realistic display of the voltage topography. The head surface was generated by averaging the MRI images of 50 normal subjects after transformation into Talairach space.&lt;br /&gt;
&lt;br /&gt;
A single 3D map is displayed automatically at the detection peak of a clustered event when selecting an event or cluster in the cluster or hyper cluster displays. The single 3D map is rotated automatically to set the view point to the center of gravity in the map to provide for immediate optimal inspection of dipolar topography. To adjust the viewpoint for more detailed inspection, use the standard rotation buttons introduced below or use the mouse drag over the head.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''2D (left) and 3D (right) voltage maps in single head view at one time point. The EEG shows a detected event in the Av33 user-defined montage.''&lt;br /&gt;
&lt;br /&gt;
The mapping window appears also when a cursor is set in the EEG data display by clicking onto the EEG.&lt;br /&gt;
&lt;br /&gt;
The mapping window can appear in four different layouts: Single map, 6 maps in standard view, 15 serial maps, or customized series of maps. For details on 3D maps see the section ''&amp;quot;3D Maps&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== 3D Maps ===&lt;br /&gt;
&lt;br /&gt;
'''Introduction'''&lt;br /&gt;
&lt;br /&gt;
Maps are projected onto a 3D standardized head surface for a more realistic display of voltage topography. The head surface was generated by averaging the MRI images of 24 normal subjects after transformation to the Talairach space using the BrainVoyagerTM software. The standard 10-10 electrodes were adjusted to each individual head using the nasion, pre-auricular points (T9, T10), the inion and the eye canthii as landmarks. Using the spherical spline interpolation over the whole head, reference-free maps are calculated.&lt;br /&gt;
&lt;br /&gt;
'''Controls'''&lt;br /&gt;
&lt;br /&gt;
Use the mouse and the keyboard as follows:&lt;br /&gt;
&lt;br /&gt;
* Click on a map in the standard whole head view with 6 preset viewpoints to display 15 serial maps in the selected view.&lt;br /&gt;
* Click on a serial map to select a specific time for the display of the 6 standard whole-head maps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (1).png ]]&lt;br /&gt;
&lt;br /&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;''3D whole head maps at one latency using 6 standard viewpoints (left) and at a sequence of 15 latencies in serial view (right)''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Double-click on a standard or serial map to obtain a single enlarged map.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Drag over the head to rotate or use standard rotation buttons (for more details see below).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click or double click on the single head to obtain the 15 serial maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Click on the EEG-Voltage label (bottom left) to display CSD maps. Click on the EEG-C.S.D. label which appears to redisplay voltage maps,&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;or type&amp;lt;/span&amp;gt;&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;''''' M'''''&amp;lt;/span&amp;gt;&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; or &amp;lt;/span&amp;gt;&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;'''''V'''''&amp;lt;/span&amp;gt;&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; for voltage maps and &amp;lt;/span&amp;gt;&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;'''''C'''''&amp;lt;/span&amp;gt;&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; for CSD maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;When you move the mouse pointer over an electrode, the electrode label (and voltage if in voltage mode) is displayed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Left and right cursor keys plot new maps one time unit before or after the current time point. The time units can be adjusted using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Timing Interval'''&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; toolbar button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; [[Image:Mapping (4).gif ]]&lt;br /&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;Up and down cursor keys raise or lower the scaling units of the map display. 3 steps change the scaling by a factor of 2.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;In the sequential and single map views, the head can be rotated, zoomed, or moved, by clicking and dragging with the mouse, depending on which of the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D Rotate'''&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;'''3D'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Magnify'''&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;'''3D Move'''&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; buttons in the toolbar has been depressed (see below). In addition, the three mouse dragging functions can be controlled directly by holding down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift'''&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;''' Ctrl'''&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;, or &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl+Shift'''&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; keys:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift-Drag'''&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;: Rotate&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-Drag'''&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;: Move&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift+Ctrl-Drag'''&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;: Magnify/Zoom&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Hit the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Escape '''&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;key to close the map window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Toolbar'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The toolbar offers a convenient way to modify the mapping display. The buttons are grouped as follows:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D Rotate'''&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;'''3D Magnify'''&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;, and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D Move '''&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;buttons select what happens when you click and drag with the mouse on a map:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Maps can be rotated (left button pressed), zoomed (middle button pressed), or moved (right button pressed).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The buttons are only enabled when 3D maps series or single heads are displayed. They are grayed in the standard 6-head view.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D Fast Rotation'''&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; buttons rotate maps in steps of 45°, to the left (left button pressed), to the right (middle button pressed), or vertically (right button pressed).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The buttons are only enabled when maps series or single heads are displayed. They are grayed in the standard 6-head view.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (8).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;These buttons control mapping layout and options.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The left button, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Seq-Std Display'''&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;, toggles between the standard 6-head view (6 maps from different viewpoints) and the standard sequential top view display with 15 serial maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The middle button, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Serial Arrangement'''&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;, opens a dropdown menu that allows for selection of either 5 x 7, 5 x 3 serial maps, a single map (1 x 1), or a custom array of serial maps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The right button, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options'''&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;, opens the Options popup menu that allows for general settings of the maps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (10).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Toggle between 3D or 2D mapping&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Toggle between whole head mapping and top meridian projection&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Toggle between voltage and CSD display&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Toggle between serial and standard maps&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; &lt;br /&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;Toggle whether maps cover the entire head or are cut off at the lower part of the head&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Toggle display of electrodes on the maps&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Open the online Help&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (11).gif ]]&lt;br /&gt;
&lt;br /&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;These buttons control the timing of maps: Pressing the left button, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Timing Left'''&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;, generates maps one time unit earlier than the current map. Pressing the middle button, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Timing Right'''&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;, generates maps one time unit later than the current map. In serial maps, clicking on the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Timing Left/Right'''&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; buttons in the toolbar moves the center latency to the first or last latency displayed, i.e. by 7 intervals in the standard 15 serial view.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Pressing the right button, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Timing Interval'''&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;, opens a dropdown menu, allowing for the definition of the time interval between sequential maps or the frequency spacing between FFT maps. Voltages and CSD are interpolated to allow for the following standard and custom interval settings:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Mapping (12).gif ]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (13).gif ]]&lt;br /&gt;
&lt;br /&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;The final two buttons, &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scaling'''&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;, raise (left) or lower (right) the scaling of the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;maps. 3 steps change the scaling by a factor of 2.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Right Click Popup Menu'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A right click on the voltage or CSD maps displays the Options popup menu that allows for general settings of the maps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (10).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;A right click on FFT maps displays the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options '''&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;popup menu with specific settings for FFT and phase maps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;2D Maps&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;2D Maps are generated by &amp;lt;/span&amp;gt;&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;'''spherical spline interpolation'''&amp;lt;/span&amp;gt;&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; and are projected onto a spherical head outline. The display shows contour lines. Red contour lines denote positive voltage, whereas blue contour lines stand for negative voltage. In addition, areas of negative voltage are denoted by a dotted pattern.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The user interaction in 2D maps is essentially the same as in 3D maps. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Only the differences are listed here:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# [[Image:Mapping (7).gif ]]  &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;In sequential time view, dragging with the left mouse button over the heads rotates them by 90 degrees. The same is achieved using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''standard rotation'''&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; toolbar buttons &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;The buttons &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D Rotate'''&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;'''3D Magnify'''&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;'''3D Move'''&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;, are disabled in 2D maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;A top meridian projection of the heads can be selected either using the options menu (available from the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options'''&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; toolbar button), or by right click with the mouse onto a map. Top meridian projected maps are cut off at a theta value of 110°.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The 2D maps use equipotential line mapping instead of color maps to avoid bias due to the selection of the color scale and in order to emphasize the shape of the voltage or CSD distribution rather than peak areas. The noise in the EEG tends to produce arbitrary shapes in the maps around zero. Therefore, we have spaced the equipotential lines symmetrically around zero at levels of ±1/2, ±3/2, ±5/2....., and shaded negativities below -1/2 of the scaling between lines. This produces maps which are less biased by EEG noise, especially when larger scales are used. In 3D maps, an additional color shading is shown for each of the potential compartments.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A minimum of 12 scalp channels is required to calculate the spline maps. However, a larger array of electrodes is recommended, including electrodes at inferior lateral sites (see help chapter &amp;lt;/span&amp;gt;&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;quot;Special Topics / Working with Electrodes... / Electrodes / Recommendations for Electrode Placement&amp;quot;''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;Mapping of the FFT&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;FFT spectra can be mapped in a similar way as the voltage maps of the ongoing EEG. The maps are initiated from the FFT window (see the chapter &amp;lt;/span&amp;gt;&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;quot;Spectral Analysis / FFT&amp;quot;''&amp;lt;/span&amp;gt;&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; for more information on FFT analysis).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The results can be shown in three different ways, which are described in detail below:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;FFT maps of amplitude or power showing the topography at a single frequency&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;FFT maps of amplitude or power showing the mean over a preset frequency band&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Phase maps showing the voltage amplitude topography at a selected frequency and at a specific or different phase angles. Serial phase maps are encoded to show phase delay (in ms) for better comparison with EEG voltage maps, since phase shift is proportional to time delay. Phase maps are only available if the FFT was computed over a single data block.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;The type of map and further mapping options can be selected from the menus &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map'''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options/Mapping'''&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; in the FFT window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Mapping (15).gif ]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;''Map menu of the FFT window''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Note: Mapping of FFT spectra is only possible if there are at least 12 electrodes!&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Topographies at a given frequency and at a series of frequencies'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The topography of the amplitude/power at any frequency can be viewed by clicking (single or double click) on an FFT spectral plot at that frequency. As with the voltage/source maps, maps are then plotted on the right of the screen.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (16).gif ]]&lt;br /&gt;
&lt;br /&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;''3D amplitude maps at a single frequency (left) and at a sequence of frequencies (right) ''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;''for one viewing angle''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Analogous to voltage maps, clicking on a map will toggle between views from six sides of the head at one frequency (as above left), and a display showing a series of maps at 15 consecutive frequencies in one view (as above right). In the serial view, click on the left/right arrows in the toolbar to page 7 frequencies backward or forward. Pressing the arrow keys on the keyboard pages only one frequency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The frequency spacing between consecutive maps can be adjusted using the &amp;lt;/span&amp;gt;&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;[[Image:Mapping (4).gif ]]&amp;lt;/span&amp;gt;&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; symbol on the toolbar. Clicking on the&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Timing Left/Right '''&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;buttons in the toolbar shifts the consecutive frequency maps analogous to the serial voltage maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Topography at the peak frequency'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the FFT window, double click on the peak amplitude or click on the peak frequency value at the right of the FFT spectrum of a prominent channel to view the topography of the peak (dominant) frequency. For bad channels mapping of the peak frequency is disabled.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Topography of a frequency band'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To view the topography of the amplitude/ power density within a given frequency band from 6 different views, select the band in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map'''&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; menu (for example, to view maps of the theta band, press &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Alt+M T'''&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; on the keyboard). To view the topography of the summed amplitude/power over the total frequency range, &amp;lt;/span&amp;gt;&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;select the menu item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map/Total'''&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;. Click on one of the maps to view maps of each frequency band in one head view, together with a map showing the mean over the total frequency range.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If a frequency band is grayed out, its upper or lower limit is out of range for the current FFT. Use the item &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Band Name'''&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; and &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Width'''&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; in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options '''&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;menu of the FFT window to redefine frequency band settings.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Phase maps at a given frequency'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Frequency maps visualize the frequency specific distribution of absolute amplitude or power over the scalp. However, these maps do not reveal phase lags caused by multiple underlying processes. Therefore, a series of spherical spline maps (phase maps) is calculated at successive phase angles &amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;, according to&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;H(f, &amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;) = cos(&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;) Re(f) + sin(&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;) Im(f)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;where Re(f) and Im(f) are the real and imaginary voltage amplitude topographies at frequency f over the marked block which was transformed by FFT.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;A &amp;lt;/span&amp;gt;&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;'''change of topography'''&amp;lt;/span&amp;gt;&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; in consecutive maps indicates &amp;lt;/span&amp;gt;&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;'''multiple underlying processes'''&amp;lt;/span&amp;gt;&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;. Only if there is &amp;lt;/span&amp;gt;&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;'''no change'''&amp;lt;/span&amp;gt;&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; in topography with phase, a &amp;lt;/span&amp;gt;&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;'''single generator process'''&amp;lt;/span&amp;gt;&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; may be assumed. The phase shifts can directly be translated into time lags between the different topographies that are displayed in the phase maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;To view phase maps at a specific frequency, double click on the FFT signals or click on the peak amplitude value to generate amplitude or power maps at the selected frequency in the standard 6-head view. Then right click onto the map with the best viewpoint to obtain the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options '''&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;popup menu for FFT maps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Select &amp;lt;/span&amp;gt;&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;''Switch to Phase Mapping''&amp;lt;/span&amp;gt;&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; to obtain a series of 15 serial phase maps in 5 ms intervals. Changes to this interval and other mapping options are described above in section &amp;lt;/span&amp;gt;&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;quot;3D Maps&amp;quot;.''&amp;lt;/span&amp;gt;&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; Clicking on the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Timing'''&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;'''Left/Right'''&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; buttons in the toolbar shifts the phase similar to the serial voltage and consecutive frequency maps.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Phase maps can also be initiated from the FFT window using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Map'''&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; menu.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Mapping (17).gif ]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''3D phase maps: This sequence shows a change in topography, indicating that more than one process generates the EEG signals.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Phase maps cannot be generated for mean spectra: generating means over frequencies or over a set of FFTs causes phase information to be lost. Thus, phase maps cannot be shown for frequency bands or for the result of mean FFTs between markers.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Toggling between EEG/MEG FFT maps'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For a combined EEG and MEG measurement, the type of map (either EEG or MEG) that is currently selected is displayed in the left upper corner of the FFT window. Initially EEG is displayed. Click on the text to toggle between EEG and MEG FFT maps. A currently open map window will be updated immediately.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Source Images&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;Source images show the activation of brain regions which are represented by individual channels in source montages (for more information on source montages, see the chapter &amp;lt;/span&amp;gt;&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;quot;Review / Remontaging&amp;quot;''&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;To start a source image, first set a cursor on the pattern of interest by double clicking with the mouse. Use the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG '''&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;push button in the control ribbon or hit the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''I''''&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; key on the keyboard to display a source image.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (18).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;When a cursor is set in the waveforms display, you can toggle between voltage maps and source images by pressing or releasing the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG'''&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; button. Note that the montage switches automatically to a source &amp;lt;/span&amp;gt;&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;montage when the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG'''&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; button is pressed. The last active source montage is displayed. If no source montage has been specified for the current EEG data set, the montage &amp;lt;/span&amp;gt;&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;''TR_Temporal Region''&amp;lt;/span&amp;gt;&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; is used.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For each dipole channel in the current montage, the activation is shown inside the approximate brain region which is modeled by the dipole source. Regional sources are not included in the image. As in maps, it is possible to toggle between six different views at one latency, and a sequence of 15 images. The activation is shown in 7 shades. The amplitude range is measured in nAm, since the current flow inside the brain is depicted.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Using the arrow buttons at the top, you can change the latency range which is displayed, and the interval between subsequent maps:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Left group of arrow buttons: These buttons jump 7 maps forward (or backward) in time (i.e. the last (or first) map in the sequence becomes the central map.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Right group of arrow buttons: These buttons increase (or decrease) the interval between the maps in the sequence &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;Using the arrow buttons at the bottom, you can adjust the scaling of the source images. They change the amplitude range of the individual shades. The amplitude range between minimum and maximum color is shown at the bottom. In the example below, it is 0 ... 158 nAm.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''Images of brain activation during spike propagation in the left temporal lobe from the basal (-20 ms) to the polar (-5 ms) and antero-lateral aspects (0 ms). Each dipole source in the source montage is represented by an ellipsoid which covers the approximate volume modeled by the source. As in maps, different views at the same latency, or a sequence of maps in one view can be shown.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Spherical Spline Maps&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;''Why use spherical spline interpolation?''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Spherical spline maps present an interpolation of the potential distribution at the scalp with zero integral over the whole head and maximum smoothness (Pascual et al. 1988; Pernier et al. 1989). Based on these assumptions, the spherical spline method provides an optimal interpolation within the area covered by electrodes on the scalp as well as an optimal extrapolation to the part of the sphere not covered by electrodes. The strength of the spherical spline method stems from the underlying physical boundary&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;condition: The voltages at the lower part must sum with those at the upper part to zero. Provided that the electrode coordinates are appropriately assigned to equivalent locations on a sphere, maximum smoothness is achieved by the intrinsic properties of splines which can be compared to bending an elastic bar around multiple supporting poles:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Mapping (20).gif ]]&lt;br /&gt;
&lt;br /&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;''Comparison of the effects of spherical splines (left) and linear interpolation (right).''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;The spherical spline method allows to interpolate and integrate the scalp voltage differences across the entire sphere or whole head. Therefore, it can be used to provide a reference free estimate of the scalp voltages (Rfr-montage), and an estimate of the mean voltage at the ears (Ears-montage). We have compared the spherical spline maps with voltage maps generated by simulated dipole fields due to sources within a multi-shell spherical head model. Even with a small number of scalp electrodes located at the upper half of the head, a very accurate estimate of the reference signal can be obtained. In the worst case of vertical dipole fields (compare example &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&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;) the negative peak at the lower half of the head could be estimated with fair accuracy.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Traditional mapping and source derivations are based on interpolation of the voltages at selected nearby electrodes. This causes problems at electrodes at the boundary of the array and discontinuities within the electrode array. Further, if a voltage maximum lies between electrodes it will not be recognized. In contrast, the spherical spline method provides a maximally smooth interpolation between all electrodes and is capable of extrapolating voltage maxima within and outside of the electrode array. Intrinsically, the spherical splines also provide the optimal estimation of current source density (CSD) which reflects the current flow out of the brain through the skull.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;BESA uses an implementation of the spherical splines method as described in the publication 'Spherical splines for scalp potential and current density mapping' by Perrin et al. (Electroencephalogr. Clin. Neurophysiol. 72:184-187, 1989). BESA uses 4th order spherical splines, including Legendre polynomials up to 50th degree. The smoothing constant l can be specified from the menu entry &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options / Mapping / Spline Interpolation Smoothing Constant.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Current Source Density (CSD)&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;''What is Current Source Density (CSD)?''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''The surface Laplacian operator '''&amp;lt;/span&amp;gt;&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;(second spatial derivative of the voltage distribution in tissue) calculates the volume current flow out of the brain through the skull into the skin. That is why we use the term &amp;lt;/span&amp;gt;&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;'''Current Source Density '''&amp;lt;/span&amp;gt;&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;(CSD). The CSD montage will show a large signal if the cortical surface (convexity) is active. This corresponds to a radial superficial dipole.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If the brain activity is in a fissure (tangential dipole) the CSD signal is much weaker. The current flows in a tangential direction, so you will see two peaks of opposite polarity in the CSD maps, corresponding to where the volume current is leaving (+) and entering (-) the skull. The two zones of maximum current are closer together than in voltage maps, because voltage is an integral over current source density.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Units of current source density are voltage per unit distance per unit distance (e.g. µV/cm²) or current per unit area (e.g. µA/cm²). Conversion from the second derivative of the voltage to current units is a complex issue because this requires knowledge about conductivities of the skull and scalp surfaces. Therefore, µV/cm² is used, i.e. just the second derivative of the voltage distribution.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Mapping/Tutorial&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&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;The aim of this section is to generate map and source image displays. It is assumed that you have loaded EEG2 (data: sub-folder &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Examples\EEG_Focus\eeg2.eeg'''&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;, electrode file: &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.elb'''&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;, filters variable 1.6-35 Hz, &amp;lt;/span&amp;gt;&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;''Org ''&amp;lt;/span&amp;gt;&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;montage).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Basic steps'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;1. Move to the &amp;lt;/span&amp;gt;&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;'''periodic pattern'''&amp;lt;/span&amp;gt;&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; in EEG2 by clicking on the event marked at the middle of the event bar. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Mapping (21).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;2. Double click on any of the peak deflections to set a mark at the cursor position. A &amp;lt;/span&amp;gt;&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;'''vertical bar'''&amp;lt;/span&amp;gt;&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; (dark red on a yellow background) will be set, and &amp;lt;/span&amp;gt;&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;'''Voltage maps'''&amp;lt;/span&amp;gt;&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; will be displayed automatically. The latency will be shown at the bottom of the map window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Mapping (22).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;3. Repeat double clicking on several different peaks to view the maps at different latencies. Type the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Esc'''&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; key to close the map window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;4. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''SRC'''&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; button, and from the dropdown menu select the&amp;lt;/span&amp;gt;&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;'' TR-Temporal Region ''&amp;lt;/span&amp;gt;&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;montage. Double-click on one of the peaks to display voltage maps again.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;5. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG '''&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;button, so that it remains down. The map display changes to &amp;lt;/span&amp;gt;&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;'''source images'''&amp;lt;/span&amp;gt;&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; calculated from the magnitude of the source channels at the marked latency.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Mapping (23).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;6. Repeat double clicking on several different peaks to view the source images at different latencies. Click on the up/down arrows to the right or left of the scaling bar below the images to increase or decrease scaling.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;7. Select a prominent peak and double click to display the source images. On the keyboard press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''left and right arrows'''&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; to display source images at the next/previous sampling point or 5 ms later/earlier. Click on the up/down arrows right or left of the scale bar to increase or decrease scaling.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;8. The latency should still be marked from the previous step. Type M to display voltage maps instead of the source images at the currently marked latency, and type 'i' again if you want to view the source images.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;9. Press the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG'''&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; button again. Source images are switched off and 3D amplitude maps are displayed. Click on a map to convert the display from&amp;lt;/span&amp;gt;&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;''' standard'''&amp;lt;/span&amp;gt;&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; to &amp;lt;/span&amp;gt;&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;'''sequential'''&amp;lt;/span&amp;gt;&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; view.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;10. Click and drag on a map to rotate the head to a new position. Note how all the maps in the sequential view are redrawn in the new position.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;11. Try out the various controls on the 3D map toolbar (at the top of the map window. See chapter &amp;lt;/span&amp;gt;&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;''“3D Maps”''&amp;lt;/span&amp;gt;&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; for descriptions of the toolbar controls. Finally, switch back to 2D maps by disengaging the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''3D'''&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; button.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;12. You may also select &amp;lt;/span&amp;gt;&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;'''Voltage maps'''&amp;lt;/span&amp;gt;&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; or any other process from the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process '''&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;menu when a latency is marked and a source montage is displayed. Note that voltage maps can be displayed in all montages by clicking anywhere on the EEG, if the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG'''&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; button is not down.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;13. Select average reference montage &amp;lt;/span&amp;gt;&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;'''''Avr'''''&amp;lt;/span&amp;gt;&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;, and repeat double clicking on several different peaks (Note that typing 'i' will change to the last active source montage again and display source images).&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;14. Display voltage maps and make sure that electrodes are shown (if not, right-click on one of the heads, and select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Show Electrodes'''&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; from the popup menu. If selected, the electrode locations, projected on the 6 different views of the head model, will be displayed. Select &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Top Meridian Projection'''&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; from the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options/Mapping'''&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; menu to display a sequence of maps in equidistant steps relative to the marked latency. Note that the sequential maps present top views in meridian projection down to the level of F9, T9, P9, F10, T10, P10. By using spline interpolation, the maps are capable of covering this wider range as compared to traditional maps. Deselect top view sequential maps again.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Map and source image sequences'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;1. Select file &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&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; and select the &amp;lt;/span&amp;gt;&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;''TA_Temporal Lobe ''&amp;lt;/span&amp;gt;&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;source montage. Engage the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''IMG '''&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;button. The &amp;lt;/span&amp;gt;&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;'''''TA '''''&amp;lt;/span&amp;gt;&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;montage includes basal, anterior, and lateral temporal brain regions. Note how this montage suggests the onset of the spike in the left basal temporal lobe, with subsequent components in the anterior tip and lateral surface of the left temporal lobe.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;2. Double click on the positive (upward-going) peak on the third channel from the top of the screen (left lateral temporal lobe). The source image will be displayed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;3. Click on the left lateral head view (top left source image). Note how the cursor changes to a hand over areas where clicks initiate an action. A series of 15 equidistant source images around the cursor latency will be displayed.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Mapping (24).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;4. Click on the left/right arrows at the left at the top of the map display to page 7 maps backward or forward.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;5. Click on the left/right arrow at the right at the top of the map display to decrease or increase the interval between the sequential maps. Alternatively, you may set the interval in &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Interval between Sequential Maps'''&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; in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options/Mapping'''&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; menu.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;6. Type 'm' or 'v' to view a sequence of amplitude maps in the same time range (click the rotate-left button and the rotate-up-down button twice each to arrive at the head positions shown below): &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.635cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Mapping (25).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Montage_Editor</id>
		<title>BESA Research Montage Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Montage_Editor"/>
				<updated>2017-04-07T12:49:39Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
==  Montage Editor ==&lt;br /&gt;
&lt;br /&gt;
=== Montage Editor - Introduction ===&lt;br /&gt;
&lt;br /&gt;
The Montage Editor provides information about the current montage and the available standard montages.&lt;br /&gt;
&lt;br /&gt;
The Montage Editor also offers the possibility to create new user-defined montages, modify a standard montage, or combine channels from different montages.&lt;br /&gt;
&lt;br /&gt;
Edited Montages can be saved and selected in the main window of the BESA Research program using the montage push buttons or the montage menu.&lt;br /&gt;
&lt;br /&gt;
The Montage Editor opens after clicking on the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' EdM'''&amp;lt;/span&amp;gt; push button in the BESA Research ''control ribbon.''&lt;br /&gt;
&lt;br /&gt;
The following chapters will guide you through the most important features and the layout of the Montage Editor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Layout of the Montage Editor ===&lt;br /&gt;
&lt;br /&gt;
The Montage Editor window is subdivided into three main parts which will be explained briefly in the following sections.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (4).jpg]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (5).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The '''title bar''' shows the name of the ''current montage'' (the montage which is currently displayed).&lt;br /&gt;
&lt;br /&gt;
Most of the functions and commands can be chosen from the main &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''menu bar'''&amp;lt;/span&amp;gt; and the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''toolbar'''&amp;lt;/span&amp;gt; below the title bar. However, many commands are also available via a right mouse click. If you right-click, a context-sensitive popup menu may appear containing the available commands. &lt;br /&gt;
&lt;br /&gt;
The functions of the toolbar and the popup menus are described in the next section. A detailed description of the commands of the menu bar is given in electronic help chapter ''&amp;quot;Montage Editor / Reference&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
==== 2D View ====&lt;br /&gt;
&lt;br /&gt;
The 2D view displays a scheme of the ''current montage''. Additionally, available electrodes which are not used in the current montage can be shown.&lt;br /&gt;
&lt;br /&gt;
The name of the current montage is given at the top. Note: If the montage name starts with '''&amp;quot;Add:&amp;quot;''', an ''additional channel montage'' is displayed. Additional channel montages are described in the chapter ''&amp;quot;Predefined Additional Channel Montages&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (1).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (2).png]] Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''One 2D Head toolbar button'''&amp;lt;/span&amp;gt; if you want to switch between the available 2D head views: the top meridian projection, or the top, bottom, back, front, left and right views.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (1).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The top meridian projection shows all electrodes of the current montage. Other 2D head views only show the electrodes which are visible from the corresponding side.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (4).png]] Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Four 2D Heads toolbar button'''&amp;lt;/span&amp;gt; to switch between the available four head layouts.&lt;br /&gt;
&lt;br /&gt;
The following objects are displayed:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (5).png]] '''Recorded electrodes''' which are available for the current data file, not interpolated and not marked as 'bad'.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (6).png]] '''Interpolated electrodes''' which have been set as 'to be interpolated' in the main program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (7).png]] '''Bad electrodes''' or '''bad MEG sensors''' which have been marked as 'bad' in the main program.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (8).png]] '''Virtual electrodes''' at predefined locations. The interpolated 81 electrodes are always available for EEG data files.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (9).png]] '''MEG sensors''' which are available for the current data file.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (11).png]][[Image:Montage Editor (12).png]][[Image:Montage Editor (10).png]] '''Montage channels''' with the underlying recorded/virtual electrode or MEG sensor as primary channel and no reference channel or a reference channel which is not visible for the current 2D head view or which is no single channel reference – may be a reference calculated by several channels, e.g.'' avr''&amp;lt;span style=&amp;quot;color:#000080;&amp;quot;&amp;gt; or&amp;lt;/span&amp;gt; ''ears''. If a montage channel is selected, the inner circle becomes darker.&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (14).png]][[Image:Montage Editor (13).png]]'''Montage channels''' with underlying recorded/virtual electrode as primary channel (left electrode) and the right electrode as reference, connected with the montage channel line. If a montage channel is selected, the blue/red circle and the montage channel line become darker.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional objects are visible if the 'Edit' montage is displayed. The chapter &amp;quot;Montage Editor / Editing a Montage / Editing in the 2D View and Icr/Pgr View&amp;quot; gives a description of these objects and explains how the 'Edit' montage can be modified.&lt;br /&gt;
&lt;br /&gt;
A right mouse click on a montage channel in the 2D view opens a context-sensitive popup menu for fast access to the most important commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Montage Channel List ====&lt;br /&gt;
&lt;br /&gt;
The montage channel list is displayed to the right of the '''2D View'''. It displays all montage channels of the ''current montage''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (15).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A montage channel consists of a (primary) channel and may be a reference channel against which the primary channel data are calculated. In the example shown above (which really does not make much sense but shows most of the available channel types) the recorded electrode&amp;lt;span style=&amp;quot;color:#5b9bd5;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#0070c0;&amp;quot;&amp;gt;Pz&amp;lt;/span&amp;gt; and the virtual electrode &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Cz&amp;lt;/span&amp;gt; are used as references.&lt;br /&gt;
&lt;br /&gt;
Distinctions are made between channel and reference types and states as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded electrodes'''&lt;br /&gt;
&lt;br /&gt;
Recorded electrodes which are available for the current data file are displayed in &amp;lt;span style=&amp;quot;color:#0070c0;&amp;quot;&amp;gt;blue&amp;lt;/span&amp;gt;. They may be used as primary and reference channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded references'''&lt;br /&gt;
&lt;br /&gt;
A combined reference based on the recorded electrodes, e.g.&amp;lt;span style=&amp;quot;color:#0070c0;&amp;quot;&amp;gt; avr&amp;lt;/span&amp;gt;. They are also displayed in &amp;lt;span style=&amp;quot;color:#0070c0;&amp;quot;&amp;gt;blue.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Interpolated electrodes'''&lt;br /&gt;
&lt;br /&gt;
Interpolated electrodes are recorded electrodes that have been set as 'to be interpolated' in the main program. They are displayed in &amp;lt;span style=&amp;quot;color:#9966ff;&amp;quot;&amp;gt;light purple&amp;lt;/span&amp;gt;. Interpolated electrodes may be used as primary and reference channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Bad channels'''&lt;br /&gt;
&lt;br /&gt;
Recorded channels which have been marked as 'bad' for the current data file are displayed in&amp;lt;span style=&amp;quot;color:#808080;&amp;quot;&amp;gt; gray&amp;lt;/span&amp;gt;. You may use them as primary or reference channels, but the corresponding data waveform will not be displayed in the main program. However, if you switch to a new data file and the channel is no longer marked as 'bad', the corresponding data waveform will be displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Unavailable channels'''&lt;br /&gt;
&lt;br /&gt;
Channels which are not available for the current data file are also displayed in &amp;lt;span style=&amp;quot;color:#808080;&amp;quot;&amp;gt;gray&amp;lt;/span&amp;gt; and the suffix “[NA]” is appended. You may use them as primary or reference channels but the corresponding data waveform will not be displayed in the main program. However, if you switch to a new data file and the channel becomes available, the corresponding data waveform will be displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual electrodes'''&lt;br /&gt;
&lt;br /&gt;
Virtual electrodes at predefined locations. They are always available for any (EEG) data file, displayed in &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;red.&amp;lt;/span&amp;gt; They may be used as primary and as reference channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual references'''&lt;br /&gt;
&lt;br /&gt;
A combined reference based on virtual electrodes, e.g. &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;ears&amp;lt;/span&amp;gt;. They are also displayed in &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;red.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Source montage channels'''&lt;br /&gt;
&lt;br /&gt;
Source montage channels consist of a single dipole or a regional source as primary channel and cannot have a reference. The source labels are displayed in &amp;lt;span style=&amp;quot;color:#00b050;&amp;quot;&amp;gt;green&amp;lt;/span&amp;gt;. The individual source color is given as a small colored bar to the left.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''MEG channels'''&lt;br /&gt;
&lt;br /&gt;
Recorded MEG channels which are available for the current data file and which are not marked as 'bad' are displayed in &amp;lt;span style=&amp;quot;color:#401b5b;&amp;quot;&amp;gt;dark purple&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Polygraphic channels'''&lt;br /&gt;
&lt;br /&gt;
Available polygraphic channels are written in '''black.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Intracranial electrodes'''&lt;br /&gt;
&lt;br /&gt;
Available intracranial electrodes are given in&amp;lt;span style=&amp;quot;color:#663300;&amp;quot;&amp;gt; brown&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selected montage channels'''&lt;br /&gt;
&lt;br /&gt;
Labels of selected montage channels are highlighted with a black background. A montage channel can be selected by a left mouse click on the channel label. Hold down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control '''&amp;lt;/span&amp;gt;key to select more than one montage channel simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Highlighted montage channel'''&lt;br /&gt;
&lt;br /&gt;
The highlighted montage channel is marked by a yellow rectangle around its label. A montage channel is highlighted if the mouse cursor moves slowly over its label or over the corresponding plot in the '''2D view'''. Only one montage channel can be highlighted at a time.&lt;br /&gt;
&lt;br /&gt;
A right mouse click somewhere in the montage channel list opens a context-sensitive &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''popup menu'''&amp;lt;/span&amp;gt; for fast access to the most important commands.&lt;br /&gt;
&lt;br /&gt;
The chapter &amp;quot;''Editing a Montage in the Montage Channel List&amp;quot;'' gives an explanation of how to modify the''' 'Edit' montage '''in the montage channel list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== 3D View ====&lt;br /&gt;
&lt;br /&gt;
The 3D view is used to visualize the equivalent locations of source channels inside the head in the ''current montage'' and to display the recorded EEG channel montage on the 3D head surface.&lt;br /&gt;
&lt;br /&gt;
* If a source montage channel is selected, the 3D view is centered to the source location and the 3D source location is highlighted by a golden halo. If you click on a source in the 3D view, the corresponding montage channel will be selected.&lt;br /&gt;
* If scalp electrodes are part of the montage, the 3D whole-head view displays the corresponding electrodes on the head surface.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (17).png]][[Image:Montage Editor (16).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Editing is not possible in the 3D view. Use the''' 2D view '''or the '''montage channel list''' instead.&lt;br /&gt;
&lt;br /&gt;
==== Pgr/Icr View (Polygraphic / Intracranial Channels) ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This view displays a scheme of the available polygraphic / intracranial Channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (18).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (19).png]] Use the Intracranial Channels button to switch on/off the display of intracranial channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (20).png]] Use the Polygraphic Channels button to switch on/off the display of polygraphic channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following objects are displayed:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (21).png]] '''Intracranial electrodes''' (brown color) which are available for the current data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (22).png]] '''Polygraphic channels''' (black color) which are available for the current data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Creating and Editing a Montage ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Creating a New Montage ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (23).png]] &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Press the&amp;lt;/span&amp;gt;''' New 'Edit' Montage '''&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;toolbar button. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (24).png]] &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;This clears and opens the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'''Edit' montage''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt; as indicated by the highlighted &amp;lt;/span&amp;gt; ''''Edit' Montage '''&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;toolbar button. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (25).png]] Then select the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Recorded Electrodes'''&amp;lt;/span&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (26).png]] &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Virtual Electrodes'''&amp;lt;/span&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (27).png]] &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''MEG Sensors'''&amp;lt;/span&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (20).png]] &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Polygraphic Channels'''&amp;lt;/span&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (19).png]] or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Intracranial Channels'''&amp;lt;/span&amp;gt; &lt;br /&gt;
&lt;br /&gt;
toolbar buttons depending on which type of channels you want to add.&lt;br /&gt;
&lt;br /&gt;
You can add new montage channels now in three different ways:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Add new montage channels in the '''2D view''' and '''Pgr/Icr view''' by selecting channels and dragging to the reference electrode (T7 to P7 in the example below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (28).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click on the ''Set chan. &amp;amp; ref''. text box. This box will start flashing to indicate that new channels can be added. Click alternately on the next channel to be added (in the 2D view, the Pgr/Icr view, or the montage channel list), followed by its reference electrode. Each new click will alternately define a new montage channel and its reference. When done adding new channels, click on the ''Set chan. &amp;amp; ref.'' text box again,'' ''which will stop flashing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (29).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Select one or more channels (see “''Editing in the 2D View'' ''and Pgr/Icr View”'' and “''Editing in the Montage Channel List”'') and add them using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''right-click popup menu'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To add '''source '''channels, switch to the desired source montage using the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Standard Source'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montages'''&amp;lt;/span&amp;gt; toolbar button [[Image:Montage Editor (30).png]], select montage channels in the Montage Channel List (see ''“Editing in the Montage Channel List”''), and copy and paste to the 'Edit' Montage.&lt;br /&gt;
&lt;br /&gt;
For more details see the sections “''Editing in the 2D View and Pgr/Icr View”'' and ''“Editing in the Montage Channel List''” below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Editing a Montage ====&lt;br /&gt;
&lt;br /&gt;
In the Montage Editor, only one montage can be edited at a time. This is referred to as the ''''Edit' montage'''. The most convenient ways to edit recorded or virtual scalp montages are described below in the sections “''Editing in the 2D View'' ''and Pgr/Icr View”'' and “''Editing in the Montage Channel List“.''&lt;br /&gt;
&lt;br /&gt;
Whenever you want to modify a predefined standard montage, an available '''user montage''', or an '''additional channel montage''', you have to select the montage you want to modify and copy it to the 'Edit' montage. If you have not yet edited a montage after starting the montage editor, the 'Edit' montage is empty. &lt;br /&gt;
&lt;br /&gt;
When you switch from the selected current montage to the 'Edit' montage using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Edit' Montage toolbar button'''&amp;lt;/span&amp;gt; [[Image:Montage Editor (31).png]], then the selected '''current montage''' is automatically copied to the 'Edit' montage. In addition, the Montage Editor copies the current montage to the 'Edit' montage automatically if you start dragging or deleting montage channels when viewing a selected montage.&lt;br /&gt;
&lt;br /&gt;
If the 'Edit' montage is not empty, you can clear it by clicking again on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Edit' Montage toolbar button'''&amp;lt;/span&amp;gt; or by clicking on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''New 'Edit' Montage button'''&amp;lt;/span&amp;gt; [[Image:Montage Editor (23).png]] . Then switch&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' '''&amp;lt;/span&amp;gt;to the montage you want to modify using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Standard User'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Additional Montage&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;buttons'''&amp;lt;/span&amp;gt; and switch back to the 'Edit' montage using the toolbar buttons. This copies&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' '''&amp;lt;/span&amp;gt;the selected montage to the 'Edit' montage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changing the Reference of Montage Channels ====&lt;br /&gt;
&lt;br /&gt;
In the ''''Edit' montage''', select one montage channel by clicking on the related electrode in the 2D View or select the channel from the montage channel list. Select more channels by holding down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control key'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To change the reference of the selected channels, use the ''Set Reference ''text box in one of the following ways:&lt;br /&gt;
&lt;br /&gt;
* Either drag from the ''Set Reference'' text box to an electrode in the 2D view, to a channel box in the Pgr/Icr view, to any of the standard reference text boxes at the top of the 2D view (see also ''“Editing a Montage in the 2D View and Pgr/Icr View”),'' or onto a montage channel in the montage channel list as shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Montage Editor (32).png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Or click on the ''Set Reference ''text box (it will start flashing), and then click on the desired reference channel in the Montage Channel List, in the 2D view, or in the Pgr/Icr view.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (33).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you want to modify the viewing reference of the '''recorded Referential''' or the '''virtual Referential''' montage, you don’t have to edit a montage. To change the viewing reference in the referential montages simply switch to the corresponding montage and drag from the ''Set Reference ''box to the desired new reference electrode in the 2D view (as shown in the section after next).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Creating New Average Channel Groups ====&lt;br /&gt;
&lt;br /&gt;
Average channel groups can be used as references in montage channels. They are computed for each time point as the mean voltage over the amplitudes of included channels. If one channel is bad or not available, average channel groups including this channel are also not available.&lt;br /&gt;
&lt;br /&gt;
For the creation of a new average channel group, at least two channels must be selected (see chapter “''Editing a Montage in the 2D View and Pgr/Icr View”'' for information about how channels are selected). Channels must be of the same type. Source channels and MEG sensors are not allowed in average channel groups.&lt;br /&gt;
&lt;br /&gt;
Channels that have been selected multiple times will enter the average only once.&lt;br /&gt;
&lt;br /&gt;
To create a new average channel group, activate the corresponding menu entry (see chapters “''Montage Channel List Popup Menu”'' and “''Edit Menu”'').&lt;br /&gt;
&lt;br /&gt;
Note that you can get information about average channel groups which are currently available using the ''Average Channel Group Information'' dialog box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Changing the Viewing Reference in Referential Montages ====&lt;br /&gt;
&lt;br /&gt;
If the '''recorded Referential''' or the '''virtual Referential''' montage is displayed, an additional ''Set Reference'' text box is displayed in the '''2D view'''. In the example below, the viewing reference of the''' virtual Referential '''montage is changed from Cz to A2. The'' Set Reference ''box can be used to change the viewing reference in one of the following ways:.&lt;br /&gt;
&lt;br /&gt;
* Place the mouse cursor on the ''Set Reference ''text box and press and hold the left mouse button. Start to move the mouse while the left mouse button is still held down (“dragging”). The mouse cursor changes to a black cross as soon as dragging has begun. Move the mouse cursor to one of the visible electrodes in the 2D view or to a montage channel in the montage channel list. If the cursor is on top of an electrode or montage channel which can be set as viewing reference, the cross-color changes to green. Release the left mouse button while the cursor cross is green. A new viewing reference is set.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (34).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Alternatively, click on the ''Set Reference'' text box. It will start blinking. Then click onto the new reference channel either in the Montage Channel List, in the 2D view, or in the Pgr/Icr view.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (35).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Press the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Exit'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Set toolbar button'''&amp;lt;/span&amp;gt; [[Image:Montage Editor (36).png]] to return to the main window of the BESA Research program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Editing a Montage in the 2D View and Pgr/Icr View ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Reference Boxes'''&lt;br /&gt;
&lt;br /&gt;
If the ''''Edit' montage''' is displayed, additional reference boxes are displayed at top of the '''2D view''' showing available multiple channel references or average channel groups (see “''Create New Average Channel Group”''). If not all available reference boxes can be shown, an additional text box [[Image:Montage Editor (37).png]] &amp;amp;nbsp;is displayed. If the mouse cursor is positioned over this box, remaining reference boxes will be displayed temporarily. Reference text boxes may be used to define references for new montage channels (see below).&lt;br /&gt;
&lt;br /&gt;
Additional references displayed in blue are recorded references. Additional references shown in red are virtual references. The recorded (virtual) '''ears''' reference, for example, is the mean voltage of the amplitudes at recorded (virtual) electrodes A1 and A2. The recorded (virtual)''' mast''' reference is the mean voltage of the amplitudes at recorded (virtual) mastoid electrodes M1 and M2. If the electrodes A1/A2 or M1/M2 are not present in the current electrode configuration, or if the electrode locations have been digitized (i.e. the electrodes are not exactly at the default position), a recorded '''ears''' or recorded''' mast''' reference may be available. This reference is built of the two recorded electrodes that are closest to the standard positions of A1/A2 or M1/M2 if they are within 12 degrees of these standard positions. Note that this assignment of the reference is independent of the actual electrode label in this case. The '''mast''' reference in the example below is calculated as mean voltage of the amplitudes at P7 and P8, for example. A recorded ears reference is not available in this example as there are no recorded electrodes within 12 degrees of the standard positions of A1/A2.&lt;br /&gt;
&lt;br /&gt;
Note that you can right-click on a reference box of an average channel group to display the ''Average Channel Group Information'' dialog box showing detailed information about available average channel groups.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (38).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selecting Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
Montage channels can be selected by clicking on the montage channel line or the channel circle/box. If a montage channel is selected, other selected montage channels will be deselected unless you also hold down the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control key'''&amp;lt;/span&amp;gt;. With the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control key'''&amp;lt;/span&amp;gt;, the new montage channel is added to the current selection.&lt;br /&gt;
&lt;br /&gt;
You may also drag a box with the left mouse button to select all channels within the rectangle box. Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control'''&amp;lt;/span&amp;gt; key when releasing the mouse button to add the channels to the current selection.&lt;br /&gt;
&lt;br /&gt;
All montage channels are deselected by clicking beneath any montage channel while the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Control key '''&amp;lt;/span&amp;gt;is not pressed, or by hitting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Escape key.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (40).png]][[Image:Montage Editor (39).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Deleting Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
To delete montage channels, select them and activate the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit menu'''&amp;lt;/span&amp;gt; or in the right-click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''popup menu'''&amp;lt;/span&amp;gt;, or press the corresponding hot key (default: &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Note: If you want to clear the 'Edit' montage completely, use the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Edit' Montage popup menu'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Adding Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
There are four ways of adding new montage channels:&lt;br /&gt;
&lt;br /&gt;
* If you previously copied or cut montage channels using the corresponding menu entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit menu'''&amp;lt;/span&amp;gt;, you can paste them using the same menu or using the associated hot key (default: &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-V'''&amp;lt;/span&amp;gt;). The montage channels are inserted before the first selected montage channel in the 'Edit' montage. If no montage channel is selected, they are appended at the end of the '''montage channel list'''.&lt;br /&gt;
* Drag from a visible electrode or polygraphic/intracranial channel to another visible electrode or polygraphic/intracranial channel, to one of the additional reference boxes plotted at the top of the 2D view, or to a montage channel in the montage channel list. If the mouse cross becomes green, release the mouse button. The new montage channel will be added at the end of the montage channel list. &lt;br /&gt;
&lt;br /&gt;
Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Recorded Electrodes''' [[Image:Montage Editor (25).png]] &amp;lt;/span&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Virtual Electrodes''' [[Image:Montage Editor (26).png]] &amp;lt;/span&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''MEG Sensors''' [[Image:Montage Editor (27).png]] &amp;lt;/span&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Polygraphic Channels''' [[Image:Montage Editor (20).png]] &amp;lt;/span&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Intracranial Channels''' [[Image: Montage Editor (19).png]] &amp;lt;/span&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
toolbar buttons to display or hide the corresponding electrodes/channels.&lt;br /&gt;
You can hit the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Escape'''&amp;lt;/span&amp;gt; key while dragging if you want to abort the drag operation.&lt;br /&gt;
&lt;br /&gt;
* Click on the Set chan. &amp;amp; ref. text box. This box will start blinking to indicate that new channels can be added. Click alternatively on the next electrode/channel to be added (in the 2D view, The Pgr/Icr view, or the montage channel list), followed by its reference electrode (if required). Each new click will alternatively add a new montage channel and its reference. When done adding new channels, click again on the Set chan. &amp;amp; ref. text box, which will stop blinking.&lt;br /&gt;
* Select channels from the 2D view, the Pgr/Icr view, and the montage channel list and right click on a selected channel to display a '''popup menu''', to add the selected channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Sorting Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
In the 2D view or the Pgr/Icr view, there is no way to modify the sequence of montage channels. Use the '''montage channel list''' instead as described in the section “''Editing'' ''a Montage in the Montage Channel List”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Changing the Reference'''&lt;br /&gt;
&lt;br /&gt;
Select the montage channel(s) for which you wish to change the reference. If no montage channel is selected, you can modify the reference for all montage channels simultaneously.&lt;br /&gt;
&lt;br /&gt;
Drag from the ''Set Reference'' text box at the bottom of the 2D view to another visible electrode/channel or to one of the additional reference boxes at top of the 2D view. Alternatively, click on the ''Set Reference'' text box (it will start blinking), and then click on the desired reference channel in the montage channel list, in the 2D view, or in the Pgr/Inc view.&lt;br /&gt;
&lt;br /&gt;
Note that you can hit the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Escape '''&amp;lt;/span&amp;gt;key if you want to abort the drag operation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Editing a Montage in the Montage Channel List ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the ''''Edit' montage''' is currently displayed, this montage may be modified in the '''montage channel list''' as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Selecting Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
Montage channels can be selected by clicking on the primary channel label box or on the reference label box. If a montage channel is selected, other selected montage channels will be deselected unless you also hold down the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' Control'''&amp;lt;/span&amp;gt; key. With the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control '''&amp;lt;/span&amp;gt;key pressed, the new montage channel is added to the current selection.&lt;br /&gt;
&lt;br /&gt;
All montage channels are deselected by clicking beneath any montage channel while the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control'''&amp;lt;/span&amp;gt; key is not pressed, or by hitting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Escape'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
'''Deleting Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
To delete montage channels, select them and activate the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit menu'''&amp;lt;/span&amp;gt; or in the right click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''popup menu'''&amp;lt;/span&amp;gt;, or press the corresponding hot key (default: &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Another possibility is to drag them over the left border of the montage channel list – the mouse cursor changes to a litter box icon.&lt;br /&gt;
&lt;br /&gt;
Note: If you want to clear the 'Edit' montage completely, use the corresponding entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Edit' Montage popup menu'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Adding New Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
There are two ways to add new montage channels:&lt;br /&gt;
&lt;br /&gt;
* If you previously copied or cut montage channels using the corresponding menu entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit menu'''&amp;lt;/span&amp;gt;, you can paste them using the same menu or using the associated hot key (default: &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control-V).'''&amp;lt;/span&amp;gt; The montage channels are inserted before the first selected montage channel in the 'Edit' montage. If no montage channel is selected, they are appended at the end of the '''montage channel list.'''&lt;br /&gt;
* Drag the selected montage channels to a position you want to insert them and press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Control'''&amp;lt;/span&amp;gt; key while you release the mouse button. The selected montage channels are copied and inserted at the current mouse position.&lt;br /&gt;
&lt;br /&gt;
Other ways of adding new montage channels are possible in the '''2D view or Pgr/Icr view.'''&lt;br /&gt;
&lt;br /&gt;
'''Sorting Montage Channels'''&lt;br /&gt;
&lt;br /&gt;
Drag the selected montage channel(s) with the mouse to the new list position. When releasing the mouse button, the selected montage channels are cut from their current positions and inserted at the new position.&lt;br /&gt;
&lt;br /&gt;
'''Changing the Reference'''&lt;br /&gt;
&lt;br /&gt;
Changing the reference of a montage channels is not possible in the montage channel list. Please use the 2D view instead as described in the section ''&amp;quot;Changing the'' ''Reference of Montage Channels&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Editing a Montage in the 3D View ====&lt;br /&gt;
&lt;br /&gt;
It is currently not possible to edit a montage in the 3D view. Please use the '''2D''' '''view '''and the '''montage channel list''' instead and refer to the corresponding chapters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Loading and Saving Montages  ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Saving Montages'''&lt;br /&gt;
&lt;br /&gt;
In the Montage Editor, the ''''Edit' montage''', '''user montages,''' and '''additional channel''' '''montages''' can be saved. If the 'Edit' montage has been saved using the default settings, it is saved in the User Montages folder and is available from the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr'''&amp;lt;/span&amp;gt; button (user montages) in the main window of the BESA Reasearch program.&lt;br /&gt;
&lt;br /&gt;
If a montage is saved under a filename which is already used by another montage, the other montage is unloaded. A message box will inform the user before this happens.&lt;br /&gt;
&lt;br /&gt;
If a montage is saved (or loaded) using the same file base name as an existing montage (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Besa Research \ Montages \ UserMontages \ Test.mtg'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''C: \ Temp'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''\ Test.mtg'''&amp;lt;/span&amp;gt;), the montage label will receive the appendix “(2)” (''Test (2)'') etc.&lt;br /&gt;
&lt;br /&gt;
Please note that the file selector dialog box which is displayed if a montage is going to be saved (or loaded) provides an additional selection list at the bottom of the dialog box. The ''Folders'' selection list can be used to switch to predefined folders, e.g. the current data file folder, to the ''User Montages'' folder or to the ''Additional Channels'' folder. The list also shows recently used folders. &lt;br /&gt;
&lt;br /&gt;
By default, the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.mtg'''&amp;lt;/span&amp;gt; and the User Montages folder is proposed for saving edited montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Saving Additional Channel Montages'''&lt;br /&gt;
&lt;br /&gt;
If you specify the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sel'''&amp;lt;/span&amp;gt; when selecting the montage filename, you define that the saved montage belongs to the '''additional channel montages'''. Any other extension will result in adding the montage to the '''user montages''' after saving. Please make sure that you save additional channel montages either in the standard Additional Channel Montages folder or in the current data folder, if you want to use the montage only for a specific data file.&lt;br /&gt;
&lt;br /&gt;
Note that you can use the filter selection list close to the bottom of the file selector dialog box to switch between “common” montages and additional channel montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Loading Montages'''&lt;br /&gt;
&lt;br /&gt;
To load a montage that is not located in the current data folder or in the User Montages or Additional Channel Montages folders, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Open Montage push button'''&amp;lt;/span&amp;gt; on the toolbar or use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Open Montage'''&amp;lt;/span&amp;gt; menu item. Montages that have already been loaded at program start or by the user can be selected for viewing or editing via the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''User Montages'''&amp;lt;/span&amp;gt; &amp;amp;nbsp;and &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Additional Channel Montages'''&amp;lt;/span&amp;gt; &amp;amp;nbsp;toolbar buttons or via the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''User Montages menu'''&amp;lt;/span&amp;gt; or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Additional Channel Montages menu'''&amp;lt;/span&amp;gt; (please see online help chapter ''&amp;quot;Montage Editor / Reference / Popup Menus&amp;quot;'' for detailed information).&lt;br /&gt;
&lt;br /&gt;
If a montage has already been loaded, it is not reloaded unless the file has been modified – e.g. by saving a montage file in the BESA Source Analysis module.&lt;br /&gt;
&lt;br /&gt;
Note that several montages can be selected in the file selector dialog box to be loaded simultaneously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic Loading of Montages'''&lt;br /&gt;
&lt;br /&gt;
The Montage Editor loads montages found at default locations automatically:&lt;br /&gt;
&lt;br /&gt;
* At program start, all montages found in the ''User Montages folder'' or the ''Additional'' ''Channel Montages folder'' (and first-level subfolders) are loaded. They are displayed in the first section of the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''User Montages menu'''&amp;lt;/span&amp;gt; or the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Additional Channel Montages '''&amp;lt;/span&amp;gt;menu.&lt;br /&gt;
* If the current data file in the main program is switched or a new data file is loaded, all montages&amp;lt;/span&amp;gt;''' '''&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;found in the new data folder are loaded. They are displayed in the second section of the&amp;lt;/span&amp;gt;''' &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;User Montages menu'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* If a source montage file is stored in the BESA Source Analysis module, it is automatically loaded and displayed in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''User montages menu.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Standard Montages &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Montage Editor provides several standard montages which can be applied to all EEG data files. The standard montages are subdivided into three groups:&lt;br /&gt;
&lt;br /&gt;
* '''Recorded Standard Montages''' which are based on the recorded electrodes of the current&lt;br /&gt;
* '''Virtual Standard Montages''' which are based on virtual electrodes at predefined locations, and&lt;br /&gt;
* '''Standard Source Montages''' which are used to remontage the measured data to show the estimated underlying brain activity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally, several predefined '''additional channel montages''' are available which can be applied to all EEG data files or to data files which contain the corresponding channels, e.g. EKG.&lt;br /&gt;
&lt;br /&gt;
* '''Predefined Additional Channel Montages''' are used to display eye activity and EKG or sphenoidal channels below the main montage channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See the next sections for details on the different standard montages.&lt;br /&gt;
&lt;br /&gt;
==== Recorded Standard Montages  ====&lt;br /&gt;
&lt;br /&gt;
Recorded standard montages are sets of predefined channel configurations based on the recorded electrodes of the current data file. In the Montage Editor, recorded standard montages can be selected &lt;br /&gt;
&lt;br /&gt;
using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Recorded Standard Montages popup menu'''&amp;lt;/span&amp;gt; which opens after clicking onto the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Recorded Standard Montages'''&amp;lt;/span&amp;gt; toolbar button or activating the corresponding menu entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage menu.'''&amp;lt;/span&amp;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 standard montages (as well as the '''virtual standard montages''') are derived from predefined montage lists based on a standard set of 27 10-10 electrodes (Std-27):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                      Fp1 Fpz Fp2&lt;br /&gt;
&lt;br /&gt;
                 F9 F7 F3 Fz F4 F8 F10&lt;br /&gt;
&lt;br /&gt;
                A1 &amp;amp;nbsp;T7 &amp;amp;nbsp;C3 &amp;amp;nbsp;Cz &amp;amp;nbsp;C4 &amp;amp;nbsp;T8 &amp;amp;nbsp;A2&lt;br /&gt;
&lt;br /&gt;
                 P9 P7 P3 Pz P4 P8 P10&lt;br /&gt;
&lt;br /&gt;
                        O1 Oz O2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Std-27 set includes the 21 electrodes of the 10-20 standard with some traditional labels replaced by the newer 10-10 standard (e.g. T3=T7, T5=P7). If the traditional 10-20 labeling is not set after program installation, it can be restored by entering the following lines in the BESA initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; under&lt;br /&gt;
&lt;br /&gt;
section [Electrodes]:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[Electrodes]&lt;br /&gt;
&lt;br /&gt;
T7=T3&lt;br /&gt;
&lt;br /&gt;
P7=T5&lt;br /&gt;
&lt;br /&gt;
T8=T4&lt;br /&gt;
&lt;br /&gt;
P8=T6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will relabel the names of these electrodes everywhere in the program. Thus, the standard-27 electrode set will be displayed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                      Fp1 Fpz Fp2&lt;br /&gt;
&lt;br /&gt;
                 F9 F7 F3 Fz F4 F8 F10&lt;br /&gt;
&lt;br /&gt;
                A1 &amp;amp;nbsp;T3 &amp;amp;nbsp;C3 &amp;amp;nbsp;Cz &amp;amp;nbsp;C4 &amp;amp;nbsp;T4 &amp;amp;nbsp;A2&lt;br /&gt;
&lt;br /&gt;
                 P9 T5 P3 Pz P4 T6 P10&lt;br /&gt;
&lt;br /&gt;
                        O1 Oz O2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A predefined montage channel is only displayed in the '''2D view''', if the recording electrode set contains an electrode that is equal to or close to its location (e.g. A1, T9, TP9 or P9 will be indicated). If the predefined montage channel is bipolar, e.g. A1-Cz, the recording electrode set has to contain electrodes with locations equal or close to the location of both channel (here A1) and reference (here Cz). Otherwise, the montage channel is not displayed in the 2D view. It is grayed in the '''montage channel list''' and the suffix “[NA]” is appended (“not available”).&lt;br /&gt;
&lt;br /&gt;
If the common reference used for recording is a known single electrode, 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.&lt;br /&gt;
&lt;br /&gt;
The following recorded standard montages are available:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Average Reference&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Double Banana&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Triple Banana&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Horizontal Bipolar&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;A1/A2 Reference&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Referential&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Original Recording&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Original Average Reference&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more details on the different recorded standard montages see help chapter ''&amp;quot;Montage Editor /'' ''Standard Montages / Recorded Standard Montages&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - 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 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 known single electrode, it will be included in the computation of the average reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (41).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - 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 are arranged from front to back. Predefined montage channels are only displayed if both channel and reference are available (i.e. recorded and not bad).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (42).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - 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 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;
[[Image:Montage Editor (43).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - 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. 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;
[[Image:Montage Editor (44).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - 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 A1 (or, if A1 is not available, a nearby 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 electrodes F10, A2, P10) are displayed against the electrode A2 (or a nearby channel such as P10 &amp;gt; T10 &amp;gt; TP10 &amp;gt; M2). The available midline electrodes of the Std-27 electrode set (except Fpz and Oz) are displayed twice, referenced a) to A1 and b) A2 (or a nearby channel). If neither A1 nor A2 nor one of the nearby channels are recorded or defined as ‘good’, the A1/A2 Reference montage is not available.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (45).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this example, the electrodes A1 and A2 are not available. Therefore, the electrodes T9 and T10 have been used instead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - 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 Cz. Any of the recording electrodes in the EEG file may be used as viewing reference.&lt;br /&gt;
&lt;br /&gt;
For details on how to change the viewing reference, see chapter ''&amp;quot;Changing the Viewing Reference”''&lt;br /&gt;
&lt;br /&gt;
Note that the viewing reference is independent of the common reference used for recording.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (46).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - Original Recording'''&lt;br /&gt;
&lt;br /&gt;
This montage displays the data as recorded. Note that channels defined as 'bad' are displayed in the '''2D view''' and '''Pgr/Icr view''' with grey color. In this case, the montage channel label is grayed in the '''montage channel list.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (47).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Recorded Standard Montage - Original Average Reference'''&lt;br /&gt;
&lt;br /&gt;
In this montage, the scalp electrodes are displayed in the recording sequence, versus 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.&lt;br /&gt;
&lt;br /&gt;
This montage is not available if the current data file contains no electrodes (e.g. a pure MEG data file).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (48).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Virtual Standard Montages ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Virtual standard montages are sets of predefined channel configurations based on virtual electrodes. In the Montage Editor, virtual standard montages can be selected using the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Virtual Standard Montages popup menu'''&amp;lt;/span&amp;gt; which opens after clicking onto the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Virtual Standard Montages'''&amp;lt;/span&amp;gt; toolbar button or activating the corresponding menu entry in the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage menu'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The virtual montages except ''Reference Free'' (10-10) and ''CSD-Laplacian'' (10-10) use predefined montage lists based on the same standard set of 27 10-10 electrodes (Std-27) as the recorded standard montages:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                      Fp1 Fpz Fp2&lt;br /&gt;
&lt;br /&gt;
                 F9 F7 F3 Fz F4 F8 F10&lt;br /&gt;
&lt;br /&gt;
                A1 &amp;amp;nbsp;T7 &amp;amp;nbsp;C3 &amp;amp;nbsp;Cz &amp;amp;nbsp;C4 &amp;amp;nbsp;T8 &amp;amp;nbsp;A2&lt;br /&gt;
&lt;br /&gt;
                 P9 P7 P3 Pz P4 P8 P10&lt;br /&gt;
&lt;br /&gt;
                       O1 Oz O2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Std-27 set includes the 21 electrodes of the international 10-20 electrode standard with four traditional labels named according to the newer 10-10 standard (T3=T7, T4=T8, T5=P7, T6=P8). For the standard coordinates of the 27 electrode locations on the sphere see help chapter ''“Electrode'' ''Conventions / Recommendations for Electrode Placement”''. ''Reference Free'' (10-10) and ''CSD-Laplacian'' (10-10) use predefined montage lists based on a standard set of 81 10-10 electrodes.&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); for more details please refer to chapter “''Mapping / Spherical Spline'' ''Maps”''. 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;
'''Note''': If the number of scalp electrodes is less than 12, virtual standard montages are not available since spline interpolation and interpolated montages cannot be computed. &lt;br /&gt;
&lt;br /&gt;
The following virtual standard montages are available:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Reference Free&lt;br /&gt;
* 10-10 Average&lt;br /&gt;
* CSD-Laplacian&lt;br /&gt;
* Double Banana&lt;br /&gt;
* Triple Banana&lt;br /&gt;
* Horizontal Bipolar&lt;br /&gt;
* A1/A2 Reference&lt;br /&gt;
* Combined Ears&lt;br /&gt;
* Referential&lt;br /&gt;
* Reference Free (10-10)&lt;br /&gt;
* CSD-Laplacian (10-10)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more details on the different virtual standard montages see help chapter ''&amp;quot;Montage Editor / Standard Montages / Virtual Standard Montages&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - Reference Free'''&lt;br /&gt;
&lt;br /&gt;
In this montage, the standard 27 interpolated channels are displayed against a reference free average 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (49).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - 10-10 Average'''&lt;br /&gt;
&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (50).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - CSD-Laplacian'''&lt;br /&gt;
&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (51).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - 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 are arranged from front to back. All channels are interpolated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (52).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - 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. All channels are interpolated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (53).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - Horizontal Bipolar'''&lt;br /&gt;
&lt;br /&gt;
The horizontal bipolar montage contains three transversal rows of montage channels. &lt;br /&gt;
&lt;br /&gt;
Transversal rows are arranged from left to right. All channels are interpolated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (54).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - A1/A2 Reference'''&lt;br /&gt;
&lt;br /&gt;
In this montage, the left-hemispheric channels of the standard 27 interpolated channels (except 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (55).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - Combined Ears'''&lt;br /&gt;
&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (56).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - Referential'''&lt;br /&gt;
&lt;br /&gt;
In this montage, the standard 27 interpolated channels are displayed against a common virtual 'viewing reference'. The default viewing reference is Cz virtual. Any of the extended 81 standard virtual electrodes may be used as viewing reference.&lt;br /&gt;
&lt;br /&gt;
For details on how to change the viewing reference, see the help chapter'' &amp;quot;Montage Editor / Editing a Montage / Changing the Viewing Reference&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (57).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - Reference Free (10-10)'''&lt;br /&gt;
&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (58).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Virtual Standard Montage - CSD-Laplacian (10-10)'''&lt;br /&gt;
&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (59).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Standard Source Montages ====&lt;br /&gt;
&lt;br /&gt;
BESA Research provides several standard brain source montages for EEG review. They were derived from 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. The following standard sources montages are provided:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BR_Brain Regions&lt;br /&gt;
* FR_Frontal Region&lt;br /&gt;
* CR_Central Region&lt;br /&gt;
* PR_Parietal Region&lt;br /&gt;
* TR_Temporal Region&lt;br /&gt;
* Evoked Potentials and MEG&lt;br /&gt;
* Resting State Montages&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The frontal, central and parietal brain source montages (FR, CR, PR) were derived from the montage BR_Brain Regions in order to emphasize the respective regions in the display. They show the three source activities of each right and left lateral brain region separately along with the 13 other regional sources. The three source activities of each selected region are represented by three '''single dipoles''' with radial and tangential orientations. The activities of the right and left dipoles are displayed in the top six source channels of these montages.&lt;br /&gt;
&lt;br /&gt;
The montage focusing onto the temporal lobe have 4 dipoles 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 against the source currents in the other 11 regions irrespective of their orientation.&lt;br /&gt;
&lt;br /&gt;
The resting state montages contain regional sources in brain regions associated with the Default Mode Network (DMN), fronto-parietal task control system as well as the dorsal attention system and the ventral attention system. They allow investigating resting state EEG and MEG data in a swift and straight-forward manner. For a more detailed description of the resting state montages, see Resting State Source Montages.&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;
Source montages are labeled using a specific naming scheme to characterize the location, orientation, and type of the underlying source.&lt;br /&gt;
&lt;br /&gt;
'''Note''': If the number of scalp electrodes is less than 12, source montages cannot be computed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more details on the different standard source montages see help chapter ''&amp;quot;Montage Editor / Standard Montages / Standard Source Montages&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Naming Scheme of Standard Sources'''&lt;br /&gt;
&lt;br /&gt;
The label of a source channel used in a standard source montage is a combination of the source label itself and the abbreviation of the montage label (separated by an underscore '_'). &lt;br /&gt;
&lt;br /&gt;
The source label starts with an abbreviation of the '''brain region '''in which the source is located. &lt;br /&gt;
&lt;br /&gt;
The following abbreviations are available:&lt;br /&gt;
&lt;br /&gt;
* '''C'''&amp;amp;nbsp;('''c'''entral),&lt;br /&gt;
* '''F'''&amp;amp;nbsp;('''f'''rontal),&lt;br /&gt;
* '''Fp''' ('''f'''ronto-'''p'''olar),&lt;br /&gt;
* '''Op'''&amp;amp;nbsp;('''o'''ccipito-'''p'''olar),&lt;br /&gt;
* '''P'''&amp;amp;nbsp;('''p'''arietal),&lt;br /&gt;
* '''TA'''&amp;amp;nbsp;('''t'''emporal '''a'''nterior),&lt;br /&gt;
* '''TB'''&amp;amp;nbsp;('''t'''emporal '''b'''asal), and&lt;br /&gt;
* '''TP'''&amp;amp;nbsp;('''t'''emporal '''p'''osterior)&lt;br /&gt;
&lt;br /&gt;
If the source is a '''single dipole''' (and no '''regional source'''), the '''dipole orientation''' is given in the next lower case character. The orientations are specified as follows:&lt;br /&gt;
&lt;br /&gt;
* '''p'''&amp;amp;nbsp;('''p'''olar),&lt;br /&gt;
* '''r'''&amp;amp;nbsp;('''r'''adial),&lt;br /&gt;
* '''ta'''&amp;amp;nbsp;('''t'''angential '''a'''nterior),&amp;amp;nbsp;&lt;br /&gt;
* '''tm'''&amp;amp;nbsp;('''t'''angential '''m'''edial),&lt;br /&gt;
* '''tv'''&amp;amp;nbsp;('''t'''angential '''v'''ertical), and&amp;amp;nbsp;&lt;br /&gt;
* '''v'''&amp;amp;nbsp;('''v'''ertical).&lt;br /&gt;
&lt;br /&gt;
The last letter before the underscore ('_') which separates the abbreviation of the montage name specifies the '''hemisphere''':&lt;br /&gt;
&lt;br /&gt;
* '''L'''&amp;amp;nbsp;('''l'''eft hemisphere),&lt;br /&gt;
* '''M&amp;amp;nbsp;'''('''m'''idline), and&amp;amp;nbsp;&lt;br /&gt;
* '''R'''&amp;amp;nbsp;('''r'''ight hemisphere).&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
* TAL_BR:&amp;amp;nbsp;&amp;amp;nbsp;'''t'''emporal '''a'''nterior regional source, '''l'''eft hemisphere,&amp;amp;nbsp;source montage '''''BR'''_Brain Regions''&lt;br /&gt;
* FprM_TA:&amp;amp;nbsp;'''f'''ronto-'''p'''olar '''r'''adial single dipole source, '''m'''idline,&amp;amp;nbsp;source montage '''''TA'''_Temporal Lobe''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Standard Source Montage - BR_Brain Regions'''&lt;br /&gt;
&lt;br /&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.&lt;br /&gt;
&lt;br /&gt;
Note: If the data contains '''MEG channels''', the corresponding MEG montages ''BRM ''(for magnetometers and axial gradiometers) and ''BRG'' (for planar gradiometers) are located in subfolder '''MEG'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (60).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Highlight on the left temporal anterior (TAL) regional source.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (61).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Highlight on the left frontal (FL) regional source. The two temporal sources in the foreground are still visible.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (62).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Highlight on the central midline (CM) regional source. The left-side sources in the foreground are also visible.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Standard Source Montage - CR_Central Region'''&lt;br /&gt;
&lt;br /&gt;
This source montage displays the radial and tangential activities of the central brain region bilaterally in the first 6 '''single dipole''' channels. The other 13 '''regional sources''' separate the source activities arising from the other brain regions.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the data contains '''MEG channels''', the corresponding MEG montages ''BRM'' (for magnetometers and axial gradiometers) and ''BRG'' (for planar gradiometers) are located in subfolder '''MEG.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (63).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Standard Source Montage - FR_Frontal Region'''&lt;br /&gt;
&lt;br /&gt;
This source montage displays the radial and tangential activities of the frontal brain region bilaterally in the first 6 '''single dipole''' channels. The other 13 '''regional sources''' separate the source activities arising from the other brain regions.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the data contains '''MEG channels''', the corresponding MEG montages ''BRM'' (for magnetometers and axial gradiometers) and ''BRG'' (for planar gradiometers) are located in subfolder '''MEG'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (64).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Standard Source Montage - PR_Parietal Region'''&lt;br /&gt;
&lt;br /&gt;
This source montage displays the radial and tangential activities of the parietal brain region bilaterally in the first 6 '''single dipole''' channels. The other 13 '''regional sources''' separate the source activities arising from the other brain regions.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the data contains '''MEG channels''', the corresponding MEG montages ''BRM'' (for magnetometers and axial gradiometers) and ''BRG'' (for planar gradiometers) are located in subfolder''' MEG'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (65).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Standard Source Montage - TR_Temporal Region'''&lt;br /&gt;
&lt;br /&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. Head schemes illustrate location and orientation of each virtual electrode.&lt;br /&gt;
&lt;br /&gt;
The ''Temporal Lobe'' and ''Temporal Region'' montages may be used to facilitate the detection of lateralized temporal lobe activities and of the differences of the activities at the various spatial aspects of both temporal lobes. Note that eye movement artifacts may be well represented by the sources at the tip of the temporal lobe due to similarities in the scalp distribution of the related source activities.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the data contains '''MEG channels''', the corresponding MEG montages ''BRM ''(for magnetometers and axial gradiometers) and ''BRG'' (for planar gradiometers) are located in subfolder '''MEG'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (66).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Evoked Potentials'''&lt;br /&gt;
&lt;br /&gt;
BESA Research provides three standard 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Standard Source Montage - Resting State Montages'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Introducing Resting State Networks'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default mode network (DMN) is the most commonly known brain network associated with resting state activity. It comprises brain regions that become less active, when the subject is engaged with a task, and in turn more active when the subject is resting (Raichle, MacLeod et al. 2001; Buckner, Andrews-Hanna et al. 2008). Thinking of the DMN as a “baseline” state of the brain would be misleading, as DMN brain regions have been linked with remembering the past, envisioning future events, and considering the thoughts and perspectives of other people (Buckner, Andrews-Hanna et al. 2008). This internal reflection is likely to happen when the brain is not otherwise engaged and the corresponding network thus becomes active in resting state. Recent research (Power, Cohen et al. 2011; Bressler and Menon 2010) has shown that several other brain networks known to become active during certain tasks can also be identified in resting state. Among them are the fronto-parietal task control system as well as the dorsal and ventral attention system (Power, Cohen et al. 2011). These networks seem to be stable systems that are internally connected even when no particular task is given. The resting state networks DMN, fronto-parietal task control system as well as the dorsal attention system and the ventral attention system are available in BESA Research as source montages. They allow investigating resting state EEG and MEG data in a swift and straight-forward manner. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''How the Resting State Source Montages were created'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA resting state source montages are based on source solutions, for which regional sources were placed at the MNI locations of the brain regions of interest. Source locations were derived from the following publications:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (67).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Bilateral Sources representing the same brain regions that were not perfectly symmetrical were symmetrized favoring the position of the less superficial source. &lt;br /&gt;
&lt;br /&gt;
Additional noise sources were placed to increase the sensitivity of the sources of interest. &lt;br /&gt;
&lt;br /&gt;
Noise sources are easily identified by their name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (68).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Applying Resting State Source Montages on your data'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG'''&lt;br /&gt;
&lt;br /&gt;
For EEG data, the resting state source solutions were saved as source montages and are automatically available from the Menu &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;Montage / Source / Resting State Montages&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (69).png]]&lt;br /&gt;
&lt;br /&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;All sources are regularized with a regularization constant of 1%.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''MEG'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For MEG data, source montages are not pre-saved as there are varying MEG sensor types depending on the MEG system and manufacturer. MEG users should send a segment of their raw data to source analysis and load the desired source solution in the source analysis module. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Source solutions for resting state networks can be found here: &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''“C:\Program Files (x86)\BESA\Research_6_0\Montages\SourceMontages\Resting State Montages”.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;After loading the source solution, it is possible to save it as a source montage with &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File / Save Source Montage As.'''&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; The source montage will now be applied on the data in the main window and is also available from the menu option &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage / User-Defined'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Mean FFT Analysis in Resting State Source Space'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Before applying the desired resting state source montage on the raw data, artifacts should be dealt with either by artifact correction and / or artifact rejection (as part of the mean FFT scan). &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;After applying the resting state source montage, a mean FFT can be calculated on the source waveforms associated with the source channels, i.e. the ongoing brain activity in the resting state network. Mean FFT performs block-wise FFTs on the whole dataset and the mean output is created when the end of the file is reached. Hereby, information can be drawn on the frequency content of the whole dataset. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Mean FFT can be started from the menu &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process / Mean FFT Spectrum'''&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;. The dialogue allows specifying the data range (by default all data) and the block length, BESA Research will use for calculating individual FFTs. Artifact thresholds for the source channels can also be defined. Mean FFT’s output will give an overview of the frequency content of the individual source channels.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''TFC Analysis in Resting State Source Space'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For TFC analysis in BESA Research, it is required to insert triggers in the raw resting state data. This can be done by pressing &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Insert Triggers'''&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;. After insertion of the triggers, a paradigm must be created (&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP / Edit Paradigm'''&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;) that will allow the calculation of the time-frequency plots based on the inserted triggers in the final tab. Please make sure that any filters are only applied for artifact scanning&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;in the filter tab and not for “averaging”, as this would also reduce the frequency domain for time-frequency analysis. &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;For TFC analysis of resting state data it is recommendable to not use any baseline correction in the paradigm window. If possible, however, a control resting condition should be used (e.g. eyes open / eyes closed) that can be contrasted with the resting state condition of interest in the time-frequency window.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the time-frequency display, the results should be displayed as absolute values (the ABS button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Montage Editor (70).png]] )&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;If a control condition is available the two resting state conditions can also be contrasted by pressing the according subtraction button ( &amp;lt;/span&amp;gt;&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;[[Image:Montage Editor (71).png]]&amp;lt;/span&amp;gt;&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;&lt;br /&gt;
&lt;br /&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;Coherence can be calculated between any resting state source channel and all other channels:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (72).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''This example shows resting state connectivity between the right-frontal source (red label) and the left-frontal source, as well as the right dorso-lateral prefrontal cortex. No strong coherence is found with the other network sources or the noise sources.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;It is possible to apply beamformer and / or DICS analysis on the time-frequency range of interest, suggesting the following possible workflow:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (73).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''References'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;1 .Bressler, S. L. and V. Menon (2010). &amp;quot;Large-scale brain networks in cognition:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;emerging methods and principles.&amp;quot; Trends Cogn Sci 14(6): 277-290.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;2. Buckner, R. L., J. R. Andrews-Hanna, et al. (2008). &amp;quot;The brain's default network:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;anatomy, function, and relevance to disease.&amp;quot; Ann N Y Acad Sci 1124: 1-38.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;3. Corbetta, M. and G. L. Shulman (2002). &amp;quot;Control of goal-directed and stimulus-driven&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;attention in the brain.&amp;quot; Nat Rev Neurosci 3(3): 201-215.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;4. Dosenbach, N. U., D. A. Fair, et al. &amp;lt;/span&amp;gt;&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;(2007). &amp;quot;Distinct brain networks for adaptive&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;and stable task control in humans.&amp;quot; Proc Natl Acad Sci U S A 104(26): 11073-11078.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;5. Power, J. D., A. L. Cohen, et al. (2011). &amp;quot;Functional network organization of&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;the human brain.&amp;quot; &amp;lt;/span&amp;gt;&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;Neuron 72(4): 665-678.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;6. Raichle, M. E., A. M. MacLeod, et al. &amp;lt;/span&amp;gt;&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;(2001). &amp;quot;A default mode of brain function.&amp;quot;&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Proc Natl Acad Sci U S A 98(2): 676-682.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Predefined Additional Channel Montages &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;Predefined &amp;lt;/span&amp;gt;&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;'''additional channel montages'''&amp;lt;/span&amp;gt;&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; may be used to display eye activity and EKG or sphenoidal channels in addition to the main montage channels.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;In the Montage Editor, additional channel montages can be selected using the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Additional Channel'''&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;'''Montages'''&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; popup menu. Open this menu by clicking onto the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Additional Channel Montages toolbar'''&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;'''button '''&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;or activate the corresponding entry in the &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Montage'''&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; menu.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;The following predefined additional channel montages are available:&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;EKG&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;EOG-HB&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;EOG-HV&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;EOG-HVB&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;EKG+EOG-HB&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;EKG+EOG-HV&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;EKG+EOG-HVB&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Sphenoidals_Avr&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&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;Sphenoidals_Bip&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;For more details on the different additional channel montages see help chapter &amp;lt;/span&amp;gt;&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;quot;Montage Editor / Standard Montages / Predefined Additional Channel Montages&amp;quot;''.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EKG'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;additional channel montage&amp;lt;/span&amp;gt;&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; defines several polygraphic EKG channels. Depending on the recorded channels of your data file, the available EKG channel or channel combination is used.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;Note that this montage is not available if the current data file does not contain any EKG channels.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;[[Image:Montage Editor (74).png]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;If you use different conventions for defining EKG channels, you may edit this montage in the Montage Editor using copy and paste from the &amp;lt;/span&amp;gt;&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;''Original Recording''&amp;lt;/span&amp;gt;&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; montage.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EOG-HB'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;This virtual additional channel montage automatically generates a horizontal EOG channel (H_EOG) and an eye blink channel (B_EOG) from the recorded EEG scalp electrodes using spherical splines interpolation to the standard 81 electrodes and a source montage that contrasts brain and eye activity. It is recommended to reference all electrodes including electrodes near the eyes, e.g. F11, F12, LO1, LO2, IO1, IO2, to the common reference, because this virtual montage can then better separate eye and brain activities (cf. Berg and Scherg, 1994). Special bipolar EOG channels cannot be used in this calculation and are, therefore, not recommended.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (75).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''The display shows the equivalent centers of the spatial components reflecting the topographies of horizontal eye movements (black) and eye blinks (green).''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This automatic virtual montage is currently available for EEG data files only.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EOG-HV'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;This virtual &amp;lt;/span&amp;gt;&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;additional channel montage&amp;lt;/span&amp;gt;&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; automatically generates a horizontal (&amp;lt;/span&amp;gt;&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;''H_EOG''&amp;lt;/span&amp;gt;&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;) and a vertical (&amp;lt;/span&amp;gt;&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;''V_EOG''&amp;lt;/span&amp;gt;&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;) EOG channel from the recorded EEG scalp electrodes using spherical splines interpolation to the standard 81 electrodes and a source montage that contrasts brain and eye activity. It is recommended to reference all electrodes including electrodes near the eyes, e.g. &amp;lt;/span&amp;gt;&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;''F11, F12, LO1, LO2''&amp;lt;/span&amp;gt;&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;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''IO1, IO2,''&amp;lt;/span&amp;gt;&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; to the common reference, because this virtual montage can then better separate eye and brain activities (cf. Berg and Scherg, 1994). Special bipolar EOG channels cannot be used in this calculation and are, therefore, not recommended.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (76).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;''The display shows the equivalent centers of the spatial components reflecting the topographies of horizontal (black) and vertical (blue) eye movements.''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This automatic virtual montage is currently available for EEG data files only.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EOG-HVB'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;'''additional channel montage'''&amp;lt;/span&amp;gt;&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; is a combination of the &amp;lt;/span&amp;gt;&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;'''EOG-HB'''&amp;lt;/span&amp;gt;&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; and the &amp;lt;/span&amp;gt;&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;'''EOG-HV'''&amp;lt;/span&amp;gt;&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; additional channel montages. Please see there for a detailed description.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EKG+EOG-HB'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;'''additional channel montage'''&amp;lt;/span&amp;gt;&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; is a combination of the &amp;lt;/span&amp;gt;&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;'''EKG'''&amp;lt;/span&amp;gt;&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; and the &amp;lt;/span&amp;gt;&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;'''EOG-HB'''&amp;lt;/span&amp;gt;&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; additional channel montages. Please see there for a detailed description.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EKG+EOG-HV'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;'''additional channel montage'''&amp;lt;/span&amp;gt;&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; is a combination of the &amp;lt;/span&amp;gt;&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;'''EKG'''&amp;lt;/span&amp;gt;&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; and the &amp;lt;/span&amp;gt;&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;'''EOG-HV'''&amp;lt;/span&amp;gt;&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; additional channel montages. Please see there for a detailed description.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - EKG+EOG-HVB'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;'''additional channel montage'''&amp;lt;/span&amp;gt;&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; is a combination of the &amp;lt;/span&amp;gt;&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;'''EKG, '''&amp;lt;/span&amp;gt;&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;the &amp;lt;/span&amp;gt;&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;'''EOG-HB'''&amp;lt;/span&amp;gt;&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;, and the &amp;lt;/span&amp;gt;&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;'''EOG-HV'''&amp;lt;/span&amp;gt;&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; additional channel montages. Please see there for a detailed description.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - Sphenoidals_Avr'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;'''additional channel montage'''&amp;lt;/span&amp;gt;&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; allows to display sphenoidal electrodes referenced against the common average reference in parallel with any recorded, virtual, or source montage for comparison.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (77).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;If the current data file has no channels labeled&amp;lt;/span&amp;gt;&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;'' SP1''&amp;lt;/span&amp;gt;&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; and &amp;lt;/span&amp;gt;&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;''SP2''&amp;lt;/span&amp;gt;&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;, this montage is not available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;'''Additional Channel Montage - Sphenoidals_Bip'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&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;This &amp;lt;/span&amp;gt;&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;'''additional channel montage'''&amp;lt;/span&amp;gt;&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; allows to display sphenoidal electrodes using a bipolar reference in parallel with any recorded, virtual, or source montage for comparison. The reference is &amp;lt;/span&amp;gt;&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;''T3/T4''&amp;lt;/span&amp;gt;&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; (or &amp;lt;/span&amp;gt;&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;''T7/T8''&amp;lt;/span&amp;gt;&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;) to enhance the hemispheric difference of vertical activity resulting from the activation of the inferior surface of the temporal lobe. Note that the standard source montage &amp;lt;/span&amp;gt;&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;''TR_Temporal Region''&amp;lt;/span&amp;gt;&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; provides for a better hemispheric separation of right and left temporal lobe activities (see e.g. example &amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG-Focus\EEG2.eeg'''&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;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Montage Editor (78).png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&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;If the current data file has no channels labeled &amp;lt;/span&amp;gt;&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;''SP1''&amp;lt;/span&amp;gt;&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; and&amp;lt;/span&amp;gt;&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;'' SP2''&amp;lt;/span&amp;gt;&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;, this montage is not available.&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T12:48:14Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
=  BESA Research Review =&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:Review (1).jpg]]&lt;br /&gt;
&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:Review (2).jpg]]&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;
&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;
&amp;lt;div style=&amp;quot;margin-left:1.289cm;margin-right:0.09cm;&amp;quot;&amp;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''”. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;'''Left mouse click:''' Remove cursor and maps or images, if displayed. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;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. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.289cm;margin-right:0.09cm;&amp;quot;&amp;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. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.289cm;margin-right:0.09cm;&amp;quot;&amp;gt;'''Right mouse drag:''' Measure peaks and frequency of marked channels segment (cf. figure below) &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:-0.009cm;margin-right:0cm;&amp;quot;&amp;gt;'''Event bar: '''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.289cm;margin-right:0cm;&amp;quot;&amp;gt;'''Left mouse click:''' Jump to events. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.289cm;margin-right:0.09cm;&amp;quot;&amp;gt;'''Right mouse click:''' Display information about events. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:-0.009cm;margin-right:0cm;&amp;quot;&amp;gt;'''Control buttons: '''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0cm;&amp;quot;&amp;gt;'''Left mouse click:''' Use button. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.288cm;margin-right:0.09cm;&amp;quot;&amp;gt;'''Right mouse click:''' Display information on use of button. &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (4).jpg‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Mouse drag functions in the review window.''&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;
&lt;br /&gt;
[[Image:Review (5).jpg ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The arrows page forward or backward by a whole page. If &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''Paging with Overlap&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; ''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;
&lt;br /&gt;
[[Image:Review (6).jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These controls are described in more detail in online help chapter '''''&amp;quot;'''[mk:@MSITStore:C:\Users\Alexa\Documents\work\Manual\BESA%20Help\Data-Review.chm::/Controls_Moving_through_the_EEG_file.htm Review / Reference / Menus / Paging Controls]'''.'''''&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&lt;br /&gt;
&lt;br /&gt;
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;
&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;
'''Types of Events '''&lt;br /&gt;
&lt;br /&gt;
There are different types of events that can be tagged manually: * '''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;
&amp;lt;div style=&amp;quot;margin-left:0.042cm;margin-right:0.09cm;&amp;quot;&amp;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. &amp;lt;/div&amp;gt;&lt;br /&gt;
&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;
'''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;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:15.256cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#ffffff;border:0.75pt solid #000001;padding-top:0.164cm;padding-bottom:0cm;padding-left:0.265cm;padding-right:0.164cm;&amp;quot;&lt;br /&gt;
|| [[Image:Review (1).gif]] &lt;br /&gt;
|| [[Image:Review (2).gif]] &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#ffffff;border:0.75pt solid #000001;padding-top:0.164cm;padding-bottom:0cm;padding-left:0.265cm;padding-right:0.164cm;&amp;quot; | ''Popup menu after right click somewhere in the EEG. ''&lt;br /&gt;
| style=&amp;quot;background-color:#ffffff;border:0.75pt solid #000001;padding-top:0.164cm;padding-bottom:0cm;padding-left:0.265cm;padding-right:0.164cm;&amp;quot; | ''Popup menu after right click when a block is marked ''&lt;br /&gt;
|-&lt;br /&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;
&lt;br /&gt;
&lt;br /&gt;
== Remontaging ==&lt;br /&gt;
&lt;br /&gt;
BESA Research offers three types of montages:* '''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;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Review (7).png]]&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'''* 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:* 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;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Src: Brain source montages'''* Standard brain source montages. See below for further explanation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Usr: User-defined montages'''* 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;
&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;
{{clear}}&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;
&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;
{{clear}}&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 to'''&amp;lt;/span&amp;gt; select a virtual (interpolated) montage.&lt;br /&gt;
&lt;br /&gt;
[[Image:Review (4).gif]]&lt;br /&gt;
&lt;br /&gt;
&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;
'''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;
&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;
'''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;
'''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 &amp;quot;''Montage Editor /'' ''Virtual Standard Montages''&amp;quot;.&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;
&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&lt;br /&gt;
&lt;br /&gt;
source montage. These source montages are available for EEG or MEG, except for the&lt;br /&gt;
&lt;br /&gt;
Evoked Potentials montages (EEG only).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0.263cm;&amp;quot;&amp;gt;[[Image:Review (5).gif]]&amp;lt;/div&amp;gt;&lt;br /&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&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;frontal, central and parietal cortex, midline fronto-polar and occipito-polar cortex&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;as well as anterior and posterior temporal lobes bilaterally. It separates the activities&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;of the 15 different brain regions and provides for fast comparison and quantification&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;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&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;brain region bilaterally in the first 6 dipole traces. Head schemes illustrate location&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;and orientation of each virtual electrode. The other 13 regional sources separate&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;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&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;brain region bilaterally in the first 6 dipole traces. Head schemes illustrate location&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;and orientation of each virtual electrode. The other 13 regional sources separate&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;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&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;brain region bilaterally in the first 6 dipole traces. Head schemes illustrate location&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;and orientation of each virtual electrode. The other 13 regional sources separate&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;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&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;lobe bilaterally and largely separates them from the radial activities in the other&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;11 brain regions. There are 4 equivalent dipole sources in each temporal lobe to&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;reveal temporal-basal, polar, antero-lateral and postero-lateral source activities.&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;The basal and polar sources are oriented tangentially, the lateral sources radially.&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;Head schemes illustrate location and orientation of each virtual electrode. &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;The montage TA_Temporal Lobe is equivalent to the montage T-A in previous &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;versions of BESA Research. However, the use of the TR_Temporal Region source&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;montage is more recommended because it provides a better separation of the &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;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&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;lobe bilaterally in the first 8 dipole traces. There are 4 equivalent dipole sources&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;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;
'''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;
&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 &amp;quot;''Montage Editor / Standard Source Montages''&amp;quot;.&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;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.284cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Review (6).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.286cm;margin-right:0.28cm;&amp;quot;&amp;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;''&amp;lt;nowiki&amp;gt;; Right: TR_Temporal Lobe source montage of the same data segment.&amp;lt;/nowiki&amp;gt;''&amp;lt;/div&amp;gt;&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&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0.284cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.268cm;margin-right:0.284cm;&amp;quot;&amp;gt;[[Image:Review (7).gif]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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 dropdown 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;
&lt;br /&gt;
'''Options'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.483cm;margin-right:0cm;&amp;quot;&amp;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&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.483cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:Review (8).gif]]&amp;lt;/div&amp;gt;&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;
&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;
'''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;
&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.&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;
&lt;br /&gt;
[[Image:Review (11).gif]]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, 32/32). 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. To change, for example,&amp;amp;nbsp;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;
&lt;br /&gt;
[[Image:Review (13).gif]]&lt;br /&gt;
&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 &amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;status bar&amp;lt;/span&amp;gt; at the bottom of the BESA Research main window.&lt;br /&gt;
&lt;br /&gt;
== Correlation Analysis ==&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&lt;br /&gt;
&lt;br /&gt;
the menu item &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Process / Nonlinear&amp;amp;nbsp;Regression'''&amp;lt;/span&amp;gt;, the non-linear regression is calculated for the marked block. &lt;br /&gt;
&lt;br /&gt;
[[Image:Review (14).gif]]&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;
&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;
&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;
&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 &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''System/Readers ''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;subdirectory of the BESA Research installation. Some readers, although supported, are not installed by default. They can be installed by navigating to the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''Utilities\Additional''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; Readers subdirectory of the BESA Research installation with the Windows Explorer, and double-clicking&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;on Install &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;'''Additional Readers.htm.'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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&lt;br /&gt;
&lt;br /&gt;
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;&lt;br /&gt;
&lt;br /&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; &lt;br /&gt;
&lt;br /&gt;
Loads a file containing a predefined configuration.&lt;br /&gt;
&lt;br /&gt;
* '''File / Head Surface Points and Sensors / Load Coordinate Files &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;CTRL-L) '''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&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&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
information is missing. For more details, see help chapter ''&amp;quot;Special Topics / Working''&lt;br /&gt;
&lt;br /&gt;
''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'' 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;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Manual</id>
		<title>BESA Research Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Manual"/>
				<updated>2017-04-07T12:47:18Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= BESA Research Manual =&lt;br /&gt;
&lt;br /&gt;
== Review ==&lt;br /&gt;
[[Review]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Montage Editor]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Mapping]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Artifact Correction]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Spectral Analysis]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research ERP Processing]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research ICA]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Batch Processing]]&lt;br /&gt;
&lt;br /&gt;
== Source Analysis ==&lt;br /&gt;
[[Source Analysis Introduction]]&lt;br /&gt;
&lt;br /&gt;
[[Source Analysis Functions of the Window]]&lt;br /&gt;
&lt;br /&gt;
[[Source Analysis Head Models]]&lt;br /&gt;
&lt;br /&gt;
[[Source Analysis 3D Imaging]]&lt;br /&gt;
&lt;br /&gt;
== Integration with MRI and fMRI ==&lt;br /&gt;
[[Integration with MRI and fMRI ]]&lt;br /&gt;
&lt;br /&gt;
== Source Coherence ==&lt;br /&gt;
[[Source Coherence Introduction and Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[Source Coherence How to...]]&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
[[Export]]&lt;br /&gt;
&lt;br /&gt;
== MATLAB Interface ==&lt;br /&gt;
[[MATLAB Interface]]&lt;br /&gt;
&lt;br /&gt;
== Special Topics ==&lt;br /&gt;
[[Electrodes and Surface Locations]]&lt;br /&gt;
&lt;br /&gt;
[[The Initialization File: BESA.ini]]&lt;br /&gt;
&lt;br /&gt;
[[Working With Additional Files]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Manual</id>
		<title>BESA Research Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Manual"/>
				<updated>2017-04-07T12:43:01Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= BESA Research Manual =&lt;br /&gt;
&lt;br /&gt;
== Review ==&lt;br /&gt;
[[Review]]&lt;br /&gt;
[[BESA Research Montage Editor]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Mapping]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Artifact Correction]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Spectral Analysis]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research ERP Processing]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research ICA]]&lt;br /&gt;
&lt;br /&gt;
[[BESA Research Batch Processing]]&lt;br /&gt;
&lt;br /&gt;
== Source Analysis ==&lt;br /&gt;
[[Source Analysis Introduction]]&lt;br /&gt;
&lt;br /&gt;
[[Source Analysis Functions of the Window]]&lt;br /&gt;
&lt;br /&gt;
[[Source Analysis Head Models]]&lt;br /&gt;
&lt;br /&gt;
[[Source Analysis 3D Imaging]]&lt;br /&gt;
&lt;br /&gt;
== Integration with MRI and fMRI ==&lt;br /&gt;
[[Integration with MRI and fMRI ]]&lt;br /&gt;
&lt;br /&gt;
== Source Coherence ==&lt;br /&gt;
[[Source Coherence Introduction and Concepts]]&lt;br /&gt;
&lt;br /&gt;
[[Source Coherence How to...]]&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
[[Export]]&lt;br /&gt;
&lt;br /&gt;
== MATLAB Interface ==&lt;br /&gt;
[[MATLAB Interface]]&lt;br /&gt;
&lt;br /&gt;
== Special Topics ==&lt;br /&gt;
[[Electrodes and Surface Locations]]&lt;br /&gt;
&lt;br /&gt;
[[The Initialization File: BESA.ini]]&lt;br /&gt;
&lt;br /&gt;
[[Working With Additional Files]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Manual</id>
		<title>BESA Research Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Manual"/>
				<updated>2017-04-07T12:42:20Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= BESA Research Manual =&lt;br /&gt;
&lt;br /&gt;
== Review ==&lt;br /&gt;
[[Review]]&lt;br /&gt;
[[BESA Research Montage Editor]]&lt;br /&gt;
[[BESA Research Mapping]]&lt;br /&gt;
[[BESA Research Artifact Correction]]&lt;br /&gt;
[[BESA Research Spectral Analysis]]&lt;br /&gt;
[[BESA Research ERP Processing]]&lt;br /&gt;
[[BESA Research ICA]]&lt;br /&gt;
[[BESA Research Batch Processing]]&lt;br /&gt;
&lt;br /&gt;
== Source Analysis ==&lt;br /&gt;
[[Source Analysis Introduction]]&lt;br /&gt;
[[Source Analysis Functions of the Window]]&lt;br /&gt;
[[Source Analysis Head Models]]&lt;br /&gt;
[[Source Analysis 3D Imaging]]&lt;br /&gt;
&lt;br /&gt;
== Integration with MRI and fMRI ==&lt;br /&gt;
[[Integration with MRI and fMRI ]]&lt;br /&gt;
&lt;br /&gt;
== Source Coherence ==&lt;br /&gt;
[[Source Coherence Introduction and Concepts]]&lt;br /&gt;
[[Source Coherence How to...]]&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
[[Export]]&lt;br /&gt;
&lt;br /&gt;
== MATLAB Interface ==&lt;br /&gt;
[[MATLAB Interface]]&lt;br /&gt;
&lt;br /&gt;
== Special Topics ==&lt;br /&gt;
[[Electrodes and Surface Locations]]&lt;br /&gt;
[[The Initialization File: BESA.ini]]&lt;br /&gt;
[[Working With Additional Files]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=BESA_Research_Manual</id>
		<title>BESA Research Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=BESA_Research_Manual"/>
				<updated>2017-04-07T12:39:30Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: Created page with &amp;quot;{{BESAInfobox |title = Module information |module = BESA Research Basic or higher |version = 6.1 or higher }}  = BESA Research Manual =  == Review == Review BESA Researc...&amp;quot;&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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= BESA Research Manual =&lt;br /&gt;
&lt;br /&gt;
== Review ==&lt;br /&gt;
[[Review]]&lt;br /&gt;
[[BESA Research Montage Editor]]&lt;br /&gt;
[[BESA Research Mapping]]&lt;br /&gt;
[[BESA Research Artifact Correction]]&lt;br /&gt;
[[BESA Research Spectral Analysis]]&lt;br /&gt;
[[BESA Research ERP Processing]]&lt;br /&gt;
[[BESA Research ICA]]&lt;br /&gt;
[[BESA Research Batch Processing]]&lt;br /&gt;
&lt;br /&gt;
== Source Analysis ==&lt;br /&gt;
[[Source Analysis Introduction]]&lt;br /&gt;
[[Source Analysis Functions]]&lt;br /&gt;
[[Source Analysis Head Models]]&lt;br /&gt;
[[Source Analysis 3D Imaging]]&lt;br /&gt;
&lt;br /&gt;
== Integration with MRI and fMRI ==&lt;br /&gt;
[[Integration with MRI and fMRI ]]&lt;br /&gt;
&lt;br /&gt;
== Source Coherence ==&lt;br /&gt;
[[Source Coherence Introduction and Concepts]]&lt;br /&gt;
[[Source Coherence How to...]]&lt;br /&gt;
&lt;br /&gt;
== Export ==&lt;br /&gt;
[[Export]]&lt;br /&gt;
&lt;br /&gt;
== MATLAB Interface ==&lt;br /&gt;
[[MATLAB Interface]]&lt;br /&gt;
&lt;br /&gt;
== Special Topics ==&lt;br /&gt;
[[Electrodes and Surface Locations]]&lt;br /&gt;
[[The Initialization File: BESA.ini]]&lt;br /&gt;
[[Working With Additional Files]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Integration_with_MRI_and_fMRI</id>
		<title>Integration with MRI and fMRI</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Integration_with_MRI_and_fMRI"/>
				<updated>2017-04-07T12:27:16Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &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 = 6.1 or higher&lt;br /&gt;
}}&lt;br /&gt;
= BESA Research Integration with MRI and fMRI =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Both for developing and evaluating dipole source models of EEG or MEG activity, it is useful to have access to structural MRI or fMRI data.&lt;br /&gt;
&lt;br /&gt;
The BESA MRI software allows to preprocess structural MRI data so that the individual anatomical information contained in the MRI can be utilized in BESA Research. BESA MRI makes it possible ...&lt;br /&gt;
* ... to align the EEG and MEG sensors with the structural MRI data.&lt;br /&gt;
* ... to read and display the aligned, individual Talairach structural MRIs directly in the BESA Research Source Analysis module. In this way, source analysis results can be presented on top of the aligned MRIs, which allows us to evaluate the anatomical regions to which the reconstructed sources may correspond.&lt;br /&gt;
* ... to use an individual, realistically shaped FEM head model for source analysis in BESA Research. FEM head models take into account the individual volume conduction properties of the subject's head derived from the structural MRI data. This allows for more accurate source analysis (Yvert 1997, Lanfer 2012).&lt;br /&gt;
&lt;br /&gt;
To offer an easy integration with fMRI data we have, in collaboration with Rainer Goebel, optimized the interface between BESA Research and BrainVoyagerQX. &lt;br /&gt;
&lt;br /&gt;
With these tools, we can ...&lt;br /&gt;
* ... use fMRI BOLD regions or MRI structures to initialize dipole models.&lt;br /&gt;
* ... visualize dipoles from BESA Research models together with the structural MRI in BrainVoyager in order to evaluate the regions to which the dipoles may correspond.&lt;br /&gt;
* ... combine the localization advantages of (f)MRI with the high temporal resolution of EEG and MEG, for instance by using (f)MRI to place the sources, and the source waveforms of BESA Research to provide feedback about the time course of the source activity.&lt;br /&gt;
* ... overlay source analysis results obtained in BESA Research with fMRI data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' For simpler coregistration, we recommend to use BrainVoyagerQX rather than the older BrainVoyager, but BESA Research will work with both program versions.&lt;br /&gt;
&lt;br /&gt;
The chapters below describe the steps necessary to integrate the MRI and fMRI data with BESA Research. Detailed instructions on (f)MRI import and processing in Brain Voyager is provided by the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website (http://brainvoyager.com/Downloads.html).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Aligning Coordinate Systems'''&lt;br /&gt;
&lt;br /&gt;
* For a given BESA data set, the electrode and other head surface points need to be aligned to the MRI coordinates.&lt;br /&gt;
* The basic steps necessary to align the EEG electrode locations, the MEG sensors and the MRI are described in Section “''How Coregistration is done”''.&lt;br /&gt;
* Detailed instructions on how to align EEG / MEG and MRI data using BESA MRI can be found in the coregistration quick guide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
* Detailed instructions on how to align EEG / MEG and MRI data using BrainVoyager are described in Section “''How To set up Coregistration between BESA and BrainVoyager”.''&lt;br /&gt;
* In BESA Research all necessary settings with regard to the alignment are made in the ''Coregistration Dialog.''&lt;br /&gt;
* Requirements with respect to the MRI data for a good coregistration can be found in Section “''MRI Requirements for Good Coregistration”.''&lt;br /&gt;
* Requirements with respect to EEG and MEG data for a good coregistration can be found in Section “''EEG/MEG Data Requirements for Good Coregistration”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Generating an individual, realistically shaped FEM head model'''&lt;br /&gt;
&lt;br /&gt;
* The generation of a FEM head model that can be used in BESA Research is done in BESA MRI as an additional step following the EEG / MEG to MRI coregistration.&lt;br /&gt;
* Detailed instructions on how to generate the FEM head model can be found in the coregistration quick guide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Co-locating dipoles and MRI locations'''&lt;br /&gt;
&lt;br /&gt;
* After aligning the EEG / MEG and the MRI data it is possible to co-locate dipoles and MRI locations. This means, it is possible to visualize the dipoles and to specify the dipole parameters in the MRI coordinate system.&lt;br /&gt;
* ''“How to Co-locate sources'' ''and MRI”'' in the BESA Research Source Module describes how in the BESA Research Source Analysis module dipoles can directly be visualized in the space of the individual MRI.&lt;br /&gt;
* ''“How to Send a Dipole from BESA Research to BrainVoyager”'' describes how to send a source model from BESA Research to BrainVoyager for further inspection.&lt;br /&gt;
* ''“How to Define a Dipole in BESA Research at a Location Defined in the MRI”'' describes how to insert a dipole at a location defined in the MRI in BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''References'''&lt;br /&gt;
&lt;br /&gt;
Lanfer, B., I. Paul-Jordanov, M. Scherg, and C. H. Wolters. “Influence of Interior Cerebrospinal Fluid Compartments on EEG Source Analysis.” In Proceedings BMT 2012, Vol. 57. Jena: De Gruyter, 2012. doi:10.1515/bmt-2012-4020.&lt;br /&gt;
&lt;br /&gt;
Yvert, B., O. Bertrand, M. Thévenet, J. F. Echallier, and J. Pernier. “A Systematic Evaluation of the Spherical Model Accuracy in EEG Dipole Localization.” Electroencephalography and Clinical Neurophysiology 102, no. 5 (May 1997): 452–59. doi:16/S0921-884X(97)96611-X.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How Coregistration is done ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the basic steps to coregister the EEG / MEG data to an individual MRI. These steps are necessary to load an individual MRI into BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What happens:'''&lt;br /&gt;
&lt;br /&gt;
* EEG / MEG sensor locations and the MRI data are defined in different coordinate systems. Setting up coregistration is the process of aligning the two coordinate systems.&lt;br /&gt;
* BESA Research uses the ''Coregistration Dialog'' to coordinate the alignment procedure.&lt;br /&gt;
* Alignment is done with the ''AC-PC-transformed MRI''.&lt;br /&gt;
* BESA Research displays the ''Talairach-transformed MRI'' in the source analysis module.&lt;br /&gt;
* A coregistration file (with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfh'''&amp;lt;/span&amp;gt;&amp;quot;) is used to mediate between BESA Research and BESA MRI (or BrainVoyagerQX):&lt;br /&gt;
* BESA Research writes the coregistration file which contains the coordinates of head surface points (fiducials, electrodes, other digitized surface points).&lt;br /&gt;
* The coordinates are read into BESA MRI (or BrainVoyager), and aligned with the AC-PC-transformed MRI. The alignment information is then appended to the ''coregistration file''. The names of the AC-PC MRI (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.vmr&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the surface mesh (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.srf&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;), and, if available, the Talairach transformation, are also appended.&lt;br /&gt;
* BESA Research reads the coregistration file and appends the name of the Talairach-transformed MRI and head surface. If a brain surface has been created, this is also appended.&lt;br /&gt;
* Subsequently, BESA Research reads the coregistration file automatically when loading the data file.&lt;br /&gt;
* In the BESA Research source module, the individual MRI is displayed instead of the standard MRI. Talairach coordinates of dipoles are the &amp;quot;real&amp;quot; Talairach coordinates as defined, e.g., in BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The steps you have to take (once for each data set):'''&lt;br /&gt;
&lt;br /&gt;
* From the BESA Research ''Coregistration Dialog'', write a coregistration file. Switch to BESA MRI (or BrainVoyagerQX).&lt;br /&gt;
* If BESA MRI is used follow the steps in the coregistration quickguide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
* If BrainVoyager is used follow the steps in Section “''How to set up coregistration between BESA and BrainVoyager”.''&lt;br /&gt;
* Back in BESA Research, reload the altered '''coregistration file'''. When using BESA MRI the file names of the generated surface and volume data files will be automatically filled in. When using BrainVoyager file names are only filled in automatically when the files are named according to the file naming conventions. Otherwise, file names have to be set manually.&lt;br /&gt;
* The coregistration file is now associated with the data file in the BESA Research database and will be used automatically the next time the file is opened in BESA Research. If the database entry is cleared, and the data are reloaded, you must make sure the coregistration file is also loaded (either using the ''Coregistration Dialog'' or the ''Channel and digitized head surface point information Dialog'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Alignment of BESA and MRICoordinate Systems  ==&lt;br /&gt;
&lt;br /&gt;
=== The Coregistration Dialog ===&lt;br /&gt;
&lt;br /&gt;
The dialog is opened either from the ''Channel and digitized head surface point information'' (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-L'''&amp;lt;/span&amp;gt;) ''dialog ''by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit/Coreg'''&amp;lt;/span&amp;gt; button, or from the main menu (&amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File/MRI&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Coregistration...'''&amp;lt;/span&amp;gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the coregistration dialog is invoked from an EEG data set in which no digitized electrode coordinates are available (i.e. standard electrode positions located on a sphere are assumed), BESA Research presents a warning message, saying that for MRI coregistration realistic electrode coordinates produce better results. BESA Research has a list of such realistic standard coordinates (i.e. located on a pre-defined standard head surface) for various electrodes available in file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Default.sfp'''&amp;lt;/span&amp;gt;, which is located in the Standard Electrode folder. If all electrodes in the dataset are listed in this file, a dialog window suggests to apply this file to the current data set, i.e. to switch from standard sphere coordinates to the standard realistic electrode coordinates in file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Default.sfp'''&amp;lt;/span&amp;gt;. If the suggestion is accepted, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; is assigned to the dataset (see Channel and digitized head surface point information (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-L'''&amp;lt;/span&amp;gt;) dialog).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Dialog:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (1).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Select MRI prog'''&amp;lt;/span&amp;gt; button to select your preferred MRI program. The current choice is between ''BESA MRI.exe'' and ''BrainVoyagerQX.exe''. The path to the MRI program is saved (in ''System\BESA.set'') and will be remembered by BESA Research. The top right hand button (now showing '''BESA MRI''') shows the current selection.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BESA MRI'''&amp;lt;/span&amp;gt; button to start the process of aligning the BESA Research and MRI coordinate systems. If no coregistration (&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;) file is defined in the dialog (empty ''Surface coregistration file edit box''), BESA Research will first prompt for a file name. We recommend saving this file to the folder where the MRIs are kept. The MRI program will then be started. When you return to the ''Coregistration Dialog'', BESA Research checks if the ''Coregistration File'' has changed. If so, the dialog is updated with the new information.&lt;br /&gt;
* Press the top &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse... '''&amp;lt;/span&amp;gt;button to select a preexisting ''Coregistration File''.&lt;br /&gt;
* The entries in the edit boxes below show the files that will be used in the BESA Research Source Analysis module when the individual MRI is loaded. When using BESA MRI the file names will be automatically filled in. If you are using BrainVoagerQX and you are following our (and the BrainVoyagerQX) recommended naming conventions for files, and the files exist, then the names will be filled in automatically after you have completed the alignment procedure in BrainVoyagerQX. Otherwise you may have to browse for the files.&lt;br /&gt;
* Below the edit boxes the FEM field states whether all necessary information for the individual FEM head model were found in the coregistration file. If the field says ''Individual FEM for EEG'' ''defined!'' then all necessary data was found and the individual FEM EEG head model can be used in the BESA Research Source Analysis module. A similar message indicates whether the FEM MEG head model is available.&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note that the MRI and the surfaces are Talairach-transformed! Alignment between BESA Research and the individual MRI is done with the MRI transformed to the AC-PC coordinate system, but the BESA Research Source Analysis module uses the Talairach-transformed image data and surfaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Setting Up Coregistration Using BrainVoyager ===&lt;br /&gt;
&lt;br /&gt;
It is assumed that you know how to load an MRI as a 3D data set into BrainVoyagerQX, and how to clean the image so that regions outside the head are black. We also assume knowledge of how to create AC-PC-aligned and Talairach-transformed MRIs.&lt;br /&gt;
&lt;br /&gt;
Perform the following steps:&lt;br /&gt;
&lt;br /&gt;
* BESA Research. Start the ''Coregistration Dialog''. Export the Coregistration File (head surface points) from your data by pressing the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' BrainVoyagerQX'''&amp;lt;/span&amp;gt; button in the dialog. Save the file to the directory where your MRI is located. BrainVoyagerQX is started.&lt;br /&gt;
* BrainVoyagerQX. Load the MRI corresponding to the EEG/MEG data. For optimal performance, the MRI should be cleaned so that regions outside the head are black. Prepare an AC-PC-transformed MRI and a Talairach MRI. For each, generate a surface mesh. Save these files following our recommended naming conventions (see chapter “''MRI File Name Conventions''”). Save the Talairach coordinate file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.tal&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If these steps have already been performed, load the ACPC MRI and load the ACPC mesh. If you want to generate a brain surface mesh, see chapter “''How to Generate a Brain Surface Mesh''”.&lt;br /&gt;
* BrainVoyagerQX. Load the Coregistration File (''EEG-MEG BESA/Load Surface Points''). The points will be displayed, but they are not aligned to the head:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (2).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Define fiducial points on the head surface. Right click on the 3D head display and select the ''Fiducials Dialog'' in the drop-down menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (3).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;[[Image:MRI Integration (4).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Rotate the head (by holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift '''&amp;lt;/span&amp;gt;button down and clicking and dragging with the mouse) so that the Nasion is clearly visible. Move the mouse to the Nasion, and press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl+Left Click'''&amp;lt;/span&amp;gt;. The coordinates of the Nasion are inserted into the dialog. Repeat for the left preauricular point, and then for the right preauricular point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (5).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: if you have defined your fiducials differently in your BESA Research data (e.g. ear holes), click on the corresponding points in the MRI. If you have additional head surface points (step 8), accuracy in pinpointing the fiducials is not critical.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. In the Fiducials Dialog, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit fiducials'''&amp;lt;/span&amp;gt; button. The head surface points are now more or less aligned to the head.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (6).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Now select '''''EEG-MEG BESA/Fit Surface Points...'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (7).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do not see the right half of the dialog, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Advanced &amp;gt;&amp;gt;'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Specify the distances of the digitization points from the skin. In the illustration above, the digitization points for electrodes are estimated to be 8 mm from the surface of the head. For the purpose of accurate alignment, the distance of digitization points from skin section of the dialog needs to be filled in correctly. We recommend that &amp;quot;Restrain solution around fiducials&amp;quot; is checked, and a reasonable limit (here 3 mm) of the restraint is defined. Then press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (8).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BrainVoyager fits the points to the head, stretching x, y, and z coordinates to obtain a better fit than before.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: The fit performed during this step accounts for scaling inequalities between the x, y, and z axes in the MRI. Coregistration gains in accuracy over the use of fiducials alone a) because more head surface points are used, and b) because the scaling inequalities are accounted for.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Alignment is now completed. If you only want to display the structural MRI in the BESA Source Module, you can return to the BESA Coregistration Dialog.&lt;br /&gt;
* BESA Research. When you switch back to the Coregistration Dialog, BESA Research will try to fill in the names of the Talairach MRI and surface meshes. If the names are not filled in, use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse...'''&amp;lt;/span&amp;gt; buttons to select the MRI and surface meshes. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to save the Coregistration File. Alignment is completed!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alignment steps need only be performed once for a given MRI and EEG/MEG data set. Otherwise, after starting BrainVoyager, just load the MRI, the surface mesh, and the surface points (see “''How to Set Up Coregistration with BrainVoyager after Alignment'' ''has been Done”''). Now the following actions are possible: see chapters “''How to Co-Locate Sources and MRI in the BESA Research Source Module”, '' ''“How to Send a Dipole from BESA Research to BrainVoyager”, “How to Define a Dipole in BESA Research at a Location Defined in the MRI”). ''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== MRI file Name Conventions ===&lt;br /&gt;
&lt;br /&gt;
If you follow the naming conventions for file names as described here, BESA Research detects the file names it requires, and the ''Coregistration Dialog'' is filled in automatically.&lt;br /&gt;
&lt;br /&gt;
Please note that BESA MRI automatically uses these naming conventions for the generated files.&lt;br /&gt;
&lt;br /&gt;
* '''The AC-PC MRI file name''' should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, and the corresponding surface mesh name should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.srf'''&amp;lt;/span&amp;gt;&amp;quot;. After alignment, BrainVoyagerQX writes these names to the Coregistration File.&lt;br /&gt;
* '''The Talairach MRI file name '''should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, and the corresponding surface mesh name should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL.srf'''&amp;lt;/span&amp;gt;&amp;quot;. If defined, the brain surface mesh should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot; ('''WM''' = '''w'''hite '''m'''atter).&lt;br /&gt;
* '''How BESA Research finds the Talairach files.''' When BESA Research rereads the Coregistration File after alignment of the coordinate systems, it finds the ACPC file names and defines the corresponding TAL file names. If these files exist, the names are entered into the Coregistration Dialog. For instance, if the Coregistration File contains the name &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PB_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, BESA Research will look for the files &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL.srf'''&amp;lt;/span&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot;. If these files exist, they are entered into the dialog.&lt;br /&gt;
* '''Older BrainVoyager version.''' If you use BrainVoyager.exe to align coordinate systems, the file names are not saved with the Coregistration File. In this case, browse for the Talairach or the ACPC MRI from the Coregistration Dialog. BESA Research will use the rules as described above to insert the correct file names into the dialog.&lt;br /&gt;
* '''Missing Talairach coordinates.''' If, after aligning coordinate systems, the Talairach coordinates are missing from the Coregistration File (you forgot to load the Talairach coordinates in BrainVoyagerQX, or you used BrainVoyager.exe), BESA Research will look for a file ending with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.tal'''&amp;lt;/span&amp;gt;&amp;quot;, and read the coordinates from this file. You can also browse for a &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.tal&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; file in the Coregistration Dialog. For instance, if the MRI file is named &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot; or &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MR_'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, BESA Research will look for &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_ACPC.tal'''&amp;lt;/span&amp;gt;&amp;quot; to find the Talairach coordinates.&lt;br /&gt;
* '''File names in the Coregistration File are saved relative to the Coregistration File location, if they are in the same folder.''' If the MRIs are in the same folder as the Coregistration File they will be recorded as &amp;quot;.\filename&amp;quot; (e.g. &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.\MRI PB_tal.vmr'''&amp;lt;/span&amp;gt;&amp;quot;). This means that you can copy the Coregistration File together with the MRIs and meshes to a different folder, and BESA Research will be able to locate the files when the Coregistration File is opened. If the MRIs are saved in a different folder from the Coregistration File, the absolute paths are saved in the file. If the files are moved to new locations, you will have to restart the Coregistration Dialog and redefine the file locations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== How to Generate a Brain Surface Mesh ===&lt;br /&gt;
&lt;br /&gt;
BESA Research is able to compute surface images, such as (Cortical LORETA, Cortical CLARA, Minimum Norm) using an individual cortex surface as the source space. A suitable cortex surface for this purpose can be effortlessly created using BESA MRI. Alternatively, BrainVoyager can be used for the creation of the brain surface mesh.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA MRI'''&lt;br /&gt;
* The brain surface generation is performed as one work step of the BESA MRI segmentation workflow.&lt;br /&gt;
* The cortex surface reconstruction is done using a robust and accurate automatic segmentation procedure.&lt;br /&gt;
* Details on how to generate the brain surface mesh in BESA MRI can be found in the coregistration quickguide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainVoyager'''&lt;br /&gt;
* BrainVoyagerQX provides a semiautomatic procedure to generate meshes for the brain surface of the Talairach MRI. Please refer to the BrainVoyager Help to find out how to do this.&lt;br /&gt;
* The result of the BrainVoyager procedure is two meshes, one for the left and one for the right hemisphere.&lt;br /&gt;
* BESA Research requires a single mesh. Therefore, load first one mesh (''Meshes/Load Mesh..''.), and append the other mesh (''Meshes/Add Mesh...''). Merge these two meshes (''Meshes/Merge'' ''meshes in surface window'') and then save the result (''Meshes/Save Mesh...''). If possible, use the recommended name conventions for the resulting file (file name ends in &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL_WM.srf&amp;quot;). '''&amp;lt;/span&amp;gt;For instance, if the Talairach MRI is named &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, name the brain surface mesh &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI PB_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot;.&lt;br /&gt;
* See also the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website (http://brainvoyager.com/Downloads.html).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Co-locating Dipoles and MRI Locations ==&lt;br /&gt;
&lt;br /&gt;
=== Co-locating Sources and MRI in the BESA Research Source Module ===&lt;br /&gt;
&lt;br /&gt;
If the alignment procedure using BESA MRI (or BrainVoyager) has been completed then you can load the individual structural MRI in the Source Module by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''A''''&amp;lt;/span&amp;gt; or using a mouse right click and selecting '''''Display MRI'''''.&lt;br /&gt;
&lt;br /&gt;
Sources in the current model are then overlayed onto the individual MRI.&lt;br /&gt;
&lt;br /&gt;
A double-click at any location in the MRI will define a new source at the corresponding location in the BESA Research head model.&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (9).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
=== Coregistration with BrainVoyager after Alignment has been Done ===&lt;br /&gt;
&lt;br /&gt;
Alignment between BESA Research and BrainVoyager is only required once for a given BESA Research data set and the corresponding MRI. At a later time, if you want to Co-locate sources between BESA Research and BrainVoyager, perform the following steps in BrainVoyager:&lt;br /&gt;
* Load the MRI.&lt;br /&gt;
* Load the head surface mesh (''Meshes/Load Mesh..''.).&lt;br /&gt;
* Load the Coregistration File (''EEG-MEG BESA/Load Surface Points..''.).&lt;br /&gt;
&lt;br /&gt;
BrainVoyager is now ready for Co-location.&lt;br /&gt;
&lt;br /&gt;
=== Send a Dipole from BESA Research to BrainVoyager ===&lt;br /&gt;
&lt;br /&gt;
First, start BrainVoyager(QX). This can be done from the BESA Research Source Module by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager '''&amp;lt;/span&amp;gt;button. Note that in the Source Module, the ''Options / Preferences / BrainVoyager'' tab allows to define the path to BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
In BrainVoyager, set up coregistration.&lt;br /&gt;
&lt;br /&gt;
In the BESA Research Source Module, highlight the dipole of interest.&lt;br /&gt;
&lt;br /&gt;
In the BESA Research Source Module, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
Program control will automatically switch to BrainVoyager. The head will be cut at the section corresponding to the dipole of interest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (10).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all dipoles in the current model are sent to BrainVoyager. The highlighted dipole (here, the red dipole) determines the plane at which the head will be cut.&lt;br /&gt;
&lt;br /&gt;
Note that the dipoles are visible in both the surface module and in the 2D view:&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (11).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Define a Dipole in BESA Research at a Location Defined in the MRI ===&lt;br /&gt;
&lt;br /&gt;
First set up coregistration (see chapter ''“Coregistration with BrainVoyager after Alignment has been'' ''Done”'').&lt;br /&gt;
&lt;br /&gt;
In the BrainVoyager 2D MRI view, place the mouse over the point at which you would like to define a dipole. Right click at this point. If this point lies within an fRMI cluster, BrainVoyager will automatically determine its center and use it as a seeding point instead. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send Seed Point To BESA....'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (12).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
The following Dialog is opened:&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (13).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send to BESA'''&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;&lt;br /&gt;
&lt;br /&gt;
The BESA Source Analysis window appears. The new dipole or regional source (depending on the setting in the ‘Options’ dialog in the Source Analysis window is now displayed at the corresponding location. If a dipole is seeded, BESA automatically fits its orientation. For further adjustment of the model, you may need to refit the orientation, e.g. at a certain time range, or in the presence of other sources.&lt;br /&gt;
&lt;br /&gt;
Detailed instructions on (f)MRI import and processing in Brain Voyager is provided by the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website ([http://brainvoyager.com/Downloads.html http://brainvoyager.com/Downloads.html]).&lt;br /&gt;
[[Category:Research Manual]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Integration_with_MRI_and_fMRI</id>
		<title>Integration with MRI and fMRI</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Integration_with_MRI_and_fMRI"/>
				<updated>2017-04-07T12:25:11Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: /* Integration with MRI and fMRI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= BESA Research Integration with MRI and fMRI =&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;
Both for developing and evaluating dipole source models of EEG or MEG activity, it is useful to have access to structural MRI or fMRI data.&lt;br /&gt;
&lt;br /&gt;
The BESA MRI software allows to preprocess structural MRI data so that the individual anatomical information contained in the MRI can be utilized in BESA Research. BESA MRI makes it possible ...&lt;br /&gt;
* ... to align the EEG and MEG sensors with the structural MRI data.&lt;br /&gt;
* ... to read and display the aligned, individual Talairach structural MRIs directly in the BESA Research Source Analysis module. In this way, source analysis results can be presented on top of the aligned MRIs, which allows us to evaluate the anatomical regions to which the reconstructed sources may correspond.&lt;br /&gt;
* ... to use an individual, realistically shaped FEM head model for source analysis in BESA Research. FEM head models take into account the individual volume conduction properties of the subject's head derived from the structural MRI data. This allows for more accurate source analysis (Yvert 1997, Lanfer 2012).&lt;br /&gt;
&lt;br /&gt;
To offer an easy integration with fMRI data we have, in collaboration with Rainer Goebel, optimized the interface between BESA Research and BrainVoyagerQX. &lt;br /&gt;
&lt;br /&gt;
With these tools, we can ...&lt;br /&gt;
* ... use fMRI BOLD regions or MRI structures to initialize dipole models.&lt;br /&gt;
* ... visualize dipoles from BESA Research models together with the structural MRI in BrainVoyager in order to evaluate the regions to which the dipoles may correspond.&lt;br /&gt;
* ... combine the localization advantages of (f)MRI with the high temporal resolution of EEG and MEG, for instance by using (f)MRI to place the sources, and the source waveforms of BESA Research to provide feedback about the time course of the source activity.&lt;br /&gt;
* ... overlay source analysis results obtained in BESA Research with fMRI data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' For simpler coregistration, we recommend to use BrainVoyagerQX rather than the older BrainVoyager, but BESA Research will work with both program versions.&lt;br /&gt;
&lt;br /&gt;
The chapters below describe the steps necessary to integrate the MRI and fMRI data with BESA Research. Detailed instructions on (f)MRI import and processing in Brain Voyager is provided by the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website (http://brainvoyager.com/Downloads.html).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Aligning Coordinate Systems'''&lt;br /&gt;
&lt;br /&gt;
* For a given BESA data set, the electrode and other head surface points need to be aligned to the MRI coordinates.&lt;br /&gt;
* The basic steps necessary to align the EEG electrode locations, the MEG sensors and the MRI are described in Section “''How Coregistration is done”''.&lt;br /&gt;
* Detailed instructions on how to align EEG / MEG and MRI data using BESA MRI can be found in the coregistration quick guide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
* Detailed instructions on how to align EEG / MEG and MRI data using BrainVoyager are described in Section “''How To set up Coregistration between BESA and BrainVoyager”.''&lt;br /&gt;
* In BESA Research all necessary settings with regard to the alignment are made in the ''Coregistration Dialog.''&lt;br /&gt;
* Requirements with respect to the MRI data for a good coregistration can be found in Section “''MRI Requirements for Good Coregistration”.''&lt;br /&gt;
* Requirements with respect to EEG and MEG data for a good coregistration can be found in Section “''EEG/MEG Data Requirements for Good Coregistration”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Generating an individual, realistically shaped FEM head model'''&lt;br /&gt;
&lt;br /&gt;
* The generation of a FEM head model that can be used in BESA Research is done in BESA MRI as an additional step following the EEG / MEG to MRI coregistration.&lt;br /&gt;
* Detailed instructions on how to generate the FEM head model can be found in the coregistration quick guide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Co-locating dipoles and MRI locations'''&lt;br /&gt;
&lt;br /&gt;
* After aligning the EEG / MEG and the MRI data it is possible to co-locate dipoles and MRI locations. This means, it is possible to visualize the dipoles and to specify the dipole parameters in the MRI coordinate system.&lt;br /&gt;
* ''“How to Co-locate sources'' ''and MRI”'' in the BESA Research Source Module describes how in the BESA Research Source Analysis module dipoles can directly be visualized in the space of the individual MRI.&lt;br /&gt;
* ''“How to Send a Dipole from BESA Research to BrainVoyager”'' describes how to send a source model from BESA Research to BrainVoyager for further inspection.&lt;br /&gt;
* ''“How to Define a Dipole in BESA Research at a Location Defined in the MRI”'' describes how to insert a dipole at a location defined in the MRI in BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''References'''&lt;br /&gt;
&lt;br /&gt;
Lanfer, B., I. Paul-Jordanov, M. Scherg, and C. H. Wolters. “Influence of Interior Cerebrospinal Fluid Compartments on EEG Source Analysis.” In Proceedings BMT 2012, Vol. 57. Jena: De Gruyter, 2012. doi:10.1515/bmt-2012-4020.&lt;br /&gt;
&lt;br /&gt;
Yvert, B., O. Bertrand, M. Thévenet, J. F. Echallier, and J. Pernier. “A Systematic Evaluation of the Spherical Model Accuracy in EEG Dipole Localization.” Electroencephalography and Clinical Neurophysiology 102, no. 5 (May 1997): 452–59. doi:16/S0921-884X(97)96611-X.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How Coregistration is done ==&lt;br /&gt;
&lt;br /&gt;
This section outlines the basic steps to coregister the EEG / MEG data to an individual MRI. These steps are necessary to load an individual MRI into BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''What happens:'''&lt;br /&gt;
&lt;br /&gt;
* EEG / MEG sensor locations and the MRI data are defined in different coordinate systems. Setting up coregistration is the process of aligning the two coordinate systems.&lt;br /&gt;
* BESA Research uses the ''Coregistration Dialog'' to coordinate the alignment procedure.&lt;br /&gt;
* Alignment is done with the ''AC-PC-transformed MRI''.&lt;br /&gt;
* BESA Research displays the ''Talairach-transformed MRI'' in the source analysis module.&lt;br /&gt;
* A coregistration file (with the extension &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfh'''&amp;lt;/span&amp;gt;&amp;quot;) is used to mediate between BESA Research and BESA MRI (or BrainVoyagerQX):&lt;br /&gt;
* BESA Research writes the coregistration file which contains the coordinates of head surface points (fiducials, electrodes, other digitized surface points).&lt;br /&gt;
* The coordinates are read into BESA MRI (or BrainVoyager), and aligned with the AC-PC-transformed MRI. The alignment information is then appended to the ''coregistration file''. The names of the AC-PC MRI (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.vmr&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the surface mesh (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.srf&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;), and, if available, the Talairach transformation, are also appended.&lt;br /&gt;
* BESA Research reads the coregistration file and appends the name of the Talairach-transformed MRI and head surface. If a brain surface has been created, this is also appended.&lt;br /&gt;
* Subsequently, BESA Research reads the coregistration file automatically when loading the data file.&lt;br /&gt;
* In the BESA Research source module, the individual MRI is displayed instead of the standard MRI. Talairach coordinates of dipoles are the &amp;quot;real&amp;quot; Talairach coordinates as defined, e.g., in BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The steps you have to take (once for each data set):'''&lt;br /&gt;
&lt;br /&gt;
* From the BESA Research ''Coregistration Dialog'', write a coregistration file. Switch to BESA MRI (or BrainVoyagerQX).&lt;br /&gt;
* If BESA MRI is used follow the steps in the coregistration quickguide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
* If BrainVoyager is used follow the steps in Section “''How to set up coregistration between BESA and BrainVoyager”.''&lt;br /&gt;
* Back in BESA Research, reload the altered '''coregistration file'''. When using BESA MRI the file names of the generated surface and volume data files will be automatically filled in. When using BrainVoyager file names are only filled in automatically when the files are named according to the file naming conventions. Otherwise, file names have to be set manually.&lt;br /&gt;
* The coregistration file is now associated with the data file in the BESA Research database and will be used automatically the next time the file is opened in BESA Research. If the database entry is cleared, and the data are reloaded, you must make sure the coregistration file is also loaded (either using the ''Coregistration Dialog'' or the ''Channel and digitized head surface point information Dialog'').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Alignment of BESA and MRICoordinate Systems  ==&lt;br /&gt;
&lt;br /&gt;
=== The Coregistration Dialog ===&lt;br /&gt;
&lt;br /&gt;
The dialog is opened either from the ''Channel and digitized head surface point information'' (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-L'''&amp;lt;/span&amp;gt;) ''dialog ''by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit/Coreg'''&amp;lt;/span&amp;gt; button, or from the main menu (&amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File/MRI&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Coregistration...'''&amp;lt;/span&amp;gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If the coregistration dialog is invoked from an EEG data set in which no digitized electrode coordinates are available (i.e. standard electrode positions located on a sphere are assumed), BESA Research presents a warning message, saying that for MRI coregistration realistic electrode coordinates produce better results. BESA Research has a list of such realistic standard coordinates (i.e. located on a pre-defined standard head surface) for various electrodes available in file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Default.sfp'''&amp;lt;/span&amp;gt;, which is located in the Standard Electrode folder. If all electrodes in the dataset are listed in this file, a dialog window suggests to apply this file to the current data set, i.e. to switch from standard sphere coordinates to the standard realistic electrode coordinates in file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Default.sfp'''&amp;lt;/span&amp;gt;. If the suggestion is accepted, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; is assigned to the dataset (see Channel and digitized head surface point information (&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl-L'''&amp;lt;/span&amp;gt;) dialog).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Dialog:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (1).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Select MRI prog'''&amp;lt;/span&amp;gt; button to select your preferred MRI program. The current choice is between ''BESA MRI.exe'' and ''BrainVoyagerQX.exe''. The path to the MRI program is saved (in ''System\BESA.set'') and will be remembered by BESA Research. The top right hand button (now showing '''BESA MRI''') shows the current selection.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BESA MRI'''&amp;lt;/span&amp;gt; button to start the process of aligning the BESA Research and MRI coordinate systems. If no coregistration (&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;) file is defined in the dialog (empty ''Surface coregistration file edit box''), BESA Research will first prompt for a file name. We recommend saving this file to the folder where the MRIs are kept. The MRI program will then be started. When you return to the ''Coregistration Dialog'', BESA Research checks if the ''Coregistration File'' has changed. If so, the dialog is updated with the new information.&lt;br /&gt;
* Press the top &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse... '''&amp;lt;/span&amp;gt;button to select a preexisting ''Coregistration File''.&lt;br /&gt;
* The entries in the edit boxes below show the files that will be used in the BESA Research Source Analysis module when the individual MRI is loaded. When using BESA MRI the file names will be automatically filled in. If you are using BrainVoagerQX and you are following our (and the BrainVoyagerQX) recommended naming conventions for files, and the files exist, then the names will be filled in automatically after you have completed the alignment procedure in BrainVoyagerQX. Otherwise you may have to browse for the files.&lt;br /&gt;
* Below the edit boxes the FEM field states whether all necessary information for the individual FEM head model were found in the coregistration file. If the field says ''Individual FEM for EEG'' ''defined!'' then all necessary data was found and the individual FEM EEG head model can be used in the BESA Research Source Analysis module. A similar message indicates whether the FEM MEG head model is available.&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note that the MRI and the surfaces are Talairach-transformed! Alignment between BESA Research and the individual MRI is done with the MRI transformed to the AC-PC coordinate system, but the BESA Research Source Analysis module uses the Talairach-transformed image data and surfaces.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Setting Up Coregistration Using BrainVoyager ===&lt;br /&gt;
&lt;br /&gt;
It is assumed that you know how to load an MRI as a 3D data set into BrainVoyagerQX, and how to clean the image so that regions outside the head are black. We also assume knowledge of how to create AC-PC-aligned and Talairach-transformed MRIs.&lt;br /&gt;
&lt;br /&gt;
Perform the following steps:&lt;br /&gt;
&lt;br /&gt;
* BESA Research. Start the ''Coregistration Dialog''. Export the Coregistration File (head surface points) from your data by pressing the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' BrainVoyagerQX'''&amp;lt;/span&amp;gt; button in the dialog. Save the file to the directory where your MRI is located. BrainVoyagerQX is started.&lt;br /&gt;
* BrainVoyagerQX. Load the MRI corresponding to the EEG/MEG data. For optimal performance, the MRI should be cleaned so that regions outside the head are black. Prepare an AC-PC-transformed MRI and a Talairach MRI. For each, generate a surface mesh. Save these files following our recommended naming conventions (see chapter “''MRI File Name Conventions''”). Save the Talairach coordinate file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.tal&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If these steps have already been performed, load the ACPC MRI and load the ACPC mesh. If you want to generate a brain surface mesh, see chapter “''How to Generate a Brain Surface Mesh''”.&lt;br /&gt;
* BrainVoyagerQX. Load the Coregistration File (''EEG-MEG BESA/Load Surface Points''). The points will be displayed, but they are not aligned to the head:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (2).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Define fiducial points on the head surface. Right click on the 3D head display and select the ''Fiducials Dialog'' in the drop-down menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (3).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;[[Image:MRI Integration (4).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Rotate the head (by holding the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Shift '''&amp;lt;/span&amp;gt;button down and clicking and dragging with the mouse) so that the Nasion is clearly visible. Move the mouse to the Nasion, and press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Ctrl+Left Click'''&amp;lt;/span&amp;gt;. The coordinates of the Nasion are inserted into the dialog. Repeat for the left preauricular point, and then for the right preauricular point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (5).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: if you have defined your fiducials differently in your BESA Research data (e.g. ear holes), click on the corresponding points in the MRI. If you have additional head surface points (step 8), accuracy in pinpointing the fiducials is not critical.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. In the Fiducials Dialog, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Fit fiducials'''&amp;lt;/span&amp;gt; button. The head surface points are now more or less aligned to the head.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (6).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* BrainVoyagerQX. Now select '''''EEG-MEG BESA/Fit Surface Points...'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (7).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you do not see the right half of the dialog, press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Advanced &amp;gt;&amp;gt;'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Specify the distances of the digitization points from the skin. In the illustration above, the digitization points for electrodes are estimated to be 8 mm from the surface of the head. For the purpose of accurate alignment, the distance of digitization points from skin section of the dialog needs to be filled in correctly. We recommend that &amp;quot;Restrain solution around fiducials&amp;quot; is checked, and a reasonable limit (here 3 mm) of the restraint is defined. Then press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (8).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BrainVoyager fits the points to the head, stretching x, y, and z coordinates to obtain a better fit than before.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;Note: The fit performed during this step accounts for scaling inequalities between the x, y, and z axes in the MRI. Coregistration gains in accuracy over the use of fiducials alone a) because more head surface points are used, and b) because the scaling inequalities are accounted for.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Alignment is now completed. If you only want to display the structural MRI in the BESA Source Module, you can return to the BESA Coregistration Dialog.&lt;br /&gt;
* BESA Research. When you switch back to the Coregistration Dialog, BESA Research will try to fill in the names of the Talairach MRI and surface meshes. If the names are not filled in, use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse...'''&amp;lt;/span&amp;gt; buttons to select the MRI and surface meshes. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to save the Coregistration File. Alignment is completed!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alignment steps need only be performed once for a given MRI and EEG/MEG data set. Otherwise, after starting BrainVoyager, just load the MRI, the surface mesh, and the surface points (see “''How to Set Up Coregistration with BrainVoyager after Alignment'' ''has been Done”''). Now the following actions are possible: see chapters “''How to Co-Locate Sources and MRI in the BESA Research Source Module”, '' ''“How to Send a Dipole from BESA Research to BrainVoyager”, “How to Define a Dipole in BESA Research at a Location Defined in the MRI”). ''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== MRI file Name Conventions ===&lt;br /&gt;
&lt;br /&gt;
If you follow the naming conventions for file names as described here, BESA Research detects the file names it requires, and the ''Coregistration Dialog'' is filled in automatically.&lt;br /&gt;
&lt;br /&gt;
Please note that BESA MRI automatically uses these naming conventions for the generated files.&lt;br /&gt;
&lt;br /&gt;
* '''The AC-PC MRI file name''' should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, and the corresponding surface mesh name should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.srf'''&amp;lt;/span&amp;gt;&amp;quot;. After alignment, BrainVoyagerQX writes these names to the Coregistration File.&lt;br /&gt;
* '''The Talairach MRI file name '''should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, and the corresponding surface mesh name should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL.srf'''&amp;lt;/span&amp;gt;&amp;quot;. If defined, the brain surface mesh should end with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot; ('''WM''' = '''w'''hite '''m'''atter).&lt;br /&gt;
* '''How BESA Research finds the Talairach files.''' When BESA Research rereads the Coregistration File after alignment of the coordinate systems, it finds the ACPC file names and defines the corresponding TAL file names. If these files exist, the names are entered into the Coregistration Dialog. For instance, if the Coregistration File contains the name &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PB_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, BESA Research will look for the files &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL.srf'''&amp;lt;/span&amp;gt;&amp;quot;, and &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot;. If these files exist, they are entered into the dialog.&lt;br /&gt;
* '''Older BrainVoyager version.''' If you use BrainVoyager.exe to align coordinate systems, the file names are not saved with the Coregistration File. In this case, browse for the Talairach or the ACPC MRI from the Coregistration Dialog. BESA Research will use the rules as described above to insert the correct file names into the dialog.&lt;br /&gt;
* '''Missing Talairach coordinates.''' If, after aligning coordinate systems, the Talairach coordinates are missing from the Coregistration File (you forgot to load the Talairach coordinates in BrainVoyagerQX, or you used BrainVoyager.exe), BESA Research will look for a file ending with &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_ACPC.tal'''&amp;lt;/span&amp;gt;&amp;quot;, and read the coordinates from this file. You can also browse for a &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.tal&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; file in the Coregistration Dialog. For instance, if the MRI file is named &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_ACPC.vmr'''&amp;lt;/span&amp;gt;&amp;quot; or &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MR_'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, BESA Research will look for &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI_PB_ACPC.tal'''&amp;lt;/span&amp;gt;&amp;quot; to find the Talairach coordinates.&lt;br /&gt;
* '''File names in the Coregistration File are saved relative to the Coregistration File location, if they are in the same folder.''' If the MRIs are in the same folder as the Coregistration File they will be recorded as &amp;quot;.\filename&amp;quot; (e.g. &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.\MRI PB_tal.vmr'''&amp;lt;/span&amp;gt;&amp;quot;). This means that you can copy the Coregistration File together with the MRIs and meshes to a different folder, and BESA Research will be able to locate the files when the Coregistration File is opened. If the MRIs are saved in a different folder from the Coregistration File, the absolute paths are saved in the file. If the files are moved to new locations, you will have to restart the Coregistration Dialog and redefine the file locations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== How to Generate a Brain Surface Mesh ===&lt;br /&gt;
&lt;br /&gt;
BESA Research is able to compute surface images, such as (Cortical LORETA, Cortical CLARA, Minimum Norm) using an individual cortex surface as the source space. A suitable cortex surface for this purpose can be effortlessly created using BESA MRI. Alternatively, BrainVoyager can be used for the creation of the brain surface mesh.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA MRI'''&lt;br /&gt;
* The brain surface generation is performed as one work step of the BESA MRI segmentation workflow.&lt;br /&gt;
* The cortex surface reconstruction is done using a robust and accurate automatic segmentation procedure.&lt;br /&gt;
* Details on how to generate the brain surface mesh in BESA MRI can be found in the coregistration quickguide which is available on the BESA homepage (http://www.besa.de/tutorials/quickguides/).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainVoyager'''&lt;br /&gt;
* BrainVoyagerQX provides a semiautomatic procedure to generate meshes for the brain surface of the Talairach MRI. Please refer to the BrainVoyager Help to find out how to do this.&lt;br /&gt;
* The result of the BrainVoyager procedure is two meshes, one for the left and one for the right hemisphere.&lt;br /&gt;
* BESA Research requires a single mesh. Therefore, load first one mesh (''Meshes/Load Mesh..''.), and append the other mesh (''Meshes/Add Mesh...''). Merge these two meshes (''Meshes/Merge'' ''meshes in surface window'') and then save the result (''Meshes/Save Mesh...''). If possible, use the recommended name conventions for the resulting file (file name ends in &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_TAL_WM.srf&amp;quot;). '''&amp;lt;/span&amp;gt;For instance, if the Talairach MRI is named &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI PB_TAL.vmr'''&amp;lt;/span&amp;gt;&amp;quot;, name the brain surface mesh &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MRI PB_TAL_WM.srf'''&amp;lt;/span&amp;gt;&amp;quot;.&lt;br /&gt;
* See also the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website (http://brainvoyager.com/Downloads.html).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Co-locating Dipoles and MRI Locations ==&lt;br /&gt;
&lt;br /&gt;
=== Co-locating Sources and MRI in the BESA Research Source Module ===&lt;br /&gt;
&lt;br /&gt;
If the alignment procedure using BESA MRI (or BrainVoyager) has been completed then you can load the individual structural MRI in the Source Module by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''A''''&amp;lt;/span&amp;gt; or using a mouse right click and selecting '''''Display MRI'''''.&lt;br /&gt;
&lt;br /&gt;
Sources in the current model are then overlayed onto the individual MRI.&lt;br /&gt;
&lt;br /&gt;
A double-click at any location in the MRI will define a new source at the corresponding location in the BESA Research head model.&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (9).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
=== Coregistration with BrainVoyager after Alignment has been Done ===&lt;br /&gt;
&lt;br /&gt;
Alignment between BESA Research and BrainVoyager is only required once for a given BESA Research data set and the corresponding MRI. At a later time, if you want to Co-locate sources between BESA Research and BrainVoyager, perform the following steps in BrainVoyager:&lt;br /&gt;
* Load the MRI.&lt;br /&gt;
* Load the head surface mesh (''Meshes/Load Mesh..''.).&lt;br /&gt;
* Load the Coregistration File (''EEG-MEG BESA/Load Surface Points..''.).&lt;br /&gt;
&lt;br /&gt;
BrainVoyager is now ready for Co-location.&lt;br /&gt;
&lt;br /&gt;
=== Send a Dipole from BESA Research to BrainVoyager ===&lt;br /&gt;
&lt;br /&gt;
First, start BrainVoyager(QX). This can be done from the BESA Research Source Module by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager '''&amp;lt;/span&amp;gt;button. Note that in the Source Module, the ''Options / Preferences / BrainVoyager'' tab allows to define the path to BrainVoyager.&lt;br /&gt;
&lt;br /&gt;
In BrainVoyager, set up coregistration.&lt;br /&gt;
&lt;br /&gt;
In the BESA Research Source Module, highlight the dipole of interest.&lt;br /&gt;
&lt;br /&gt;
In the BESA Research Source Module, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''BrainVoyager'''&amp;lt;/span&amp;gt; button.&lt;br /&gt;
&lt;br /&gt;
Program control will automatically switch to BrainVoyager. The head will be cut at the section corresponding to the dipole of interest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (10).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all dipoles in the current model are sent to BrainVoyager. The highlighted dipole (here, the red dipole) determines the plane at which the head will be cut.&lt;br /&gt;
&lt;br /&gt;
Note that the dipoles are visible in both the surface module and in the 2D view:&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (11).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Define a Dipole in BESA Research at a Location Defined in the MRI ===&lt;br /&gt;
&lt;br /&gt;
First set up coregistration (see chapter ''“Coregistration with BrainVoyager after Alignment has been'' ''Done”'').&lt;br /&gt;
&lt;br /&gt;
In the BrainVoyager 2D MRI view, place the mouse over the point at which you would like to define a dipole. Right click at this point. If this point lies within an fRMI cluster, BrainVoyager will automatically determine its center and use it as a seeding point instead. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send Seed Point To BESA....'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (12).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
The following Dialog is opened:&lt;br /&gt;
&lt;br /&gt;
[[Image:MRI Integration (13).gif ‎]]&lt;br /&gt;
&lt;br /&gt;
Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Send to BESA'''&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;&lt;br /&gt;
&lt;br /&gt;
The BESA Source Analysis window appears. The new dipole or regional source (depending on the setting in the ‘Options’ dialog in the Source Analysis window is now displayed at the corresponding location. If a dipole is seeded, BESA automatically fits its orientation. For further adjustment of the model, you may need to refit the orientation, e.g. at a certain time range, or in the presence of other sources.&lt;br /&gt;
&lt;br /&gt;
Detailed instructions on (f)MRI import and processing in Brain Voyager is provided by the '''BrainVoyager Getting Started Guide''' that can be downloaded from the Brain Innovation website ([http://brainvoyager.com/Downloads.html http://brainvoyager.com/Downloads.html]).&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Coherence_Introduction_and_Concepts</id>
		<title>Source Coherence Introduction and Concepts</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Coherence_Introduction_and_Concepts"/>
				<updated>2017-04-07T10:08:09Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
=  Source Coherence  =&lt;br /&gt;
&lt;br /&gt;
== Source Coherence Module - Introduction ==&lt;br /&gt;
&lt;br /&gt;
The Source Coherence Module provides new insights into interaction between brain regions using brain source montages. These are derived from multiple source models of the data. Transforming the scalp surface into the brain signals using source montages greatly enhances the spatial resolution and largely removes one of the major drawbacks of traditional coherence analysis, the widespread overlap at the scalp due to volume conduction.&lt;br /&gt;
&lt;br /&gt;
The Source Coherence Module provides a variety of tools for time-frequency based event-related data analysis.&lt;br /&gt;
* Time-frequency diagrams based on brain source or surface channels&lt;br /&gt;
* Display of temporal-spectral evolution (TSE) in percent&lt;br /&gt;
* Separation of evoked and induced activity &amp;amp;nbsp;&lt;br /&gt;
* Joint display of time-frequency or coherence plots with the evoked potential of individual channels&lt;br /&gt;
* Coherence estimate between any combination of surface or source channels (coherence or phase coherence)&lt;br /&gt;
* Computation and display of phase delay and latency difference between channels in a graphically defined time and frequency window&lt;br /&gt;
* Display of the inter-trial phase locking (ITPL)&lt;br /&gt;
* Comparison of two conditions&lt;br /&gt;
* Probability plots transforming all time-frequency parameters into statistical p-values&lt;br /&gt;
* Export of analysis results into ASCII text files&lt;br /&gt;
* Time-frequency transforms are obtained in a very fast implementation based on complex demodulation. Apart from source channels, intracranial channels, and scalp channels, also other polygraphic channels, e.g. rectified EMG, can be included into the analysis.&lt;br /&gt;
* A highly optimized graphical user interaction enables a fast testing of hypotheses, and quick focusing onto the features of interest.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For an introduction and an outline of the underlying concepts of source coherence, please continue with the next topic, &amp;quot;''Concepts of Source Coherence''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
For more details check the following topics:&lt;br /&gt;
* Layout of the Source Coherence Window&lt;br /&gt;
* Reference (in the online help)&lt;br /&gt;
&lt;br /&gt;
Please also refer to our website at http://www.besa.de for the latest tutorial on source coherence and related topics.&lt;br /&gt;
&lt;br /&gt;
== Concepts of Source Coherence ==&lt;br /&gt;
&lt;br /&gt;
Recently, an increasing number of papers on oscillatory coupling between brain regions in animal studies and on time-frequency analysis of human EEG and MEG data has been published. BESA Research introduces several tools for fast and user-friendly time-frequency analysis including source and scalp coherence.&lt;br /&gt;
&lt;br /&gt;
First, let us introduce some terminology in order to clarify the concepts:&lt;br /&gt;
* Surface waveform: a time signal recorded from EEG-electrodes or MEG sensors&lt;br /&gt;
* Source waveform: a time signal calculated for a specified brain region or cortical surface&lt;br /&gt;
* Source montage: transformation of the on-going EEG into the estimated contributions or source waveforms of a set of brain regions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Time-frequency analysis: analysis or display of the event-related time-locked or induced activity in the time-frequency domain&lt;br /&gt;
* Time-locked activity: event-related signal with similar wave shape over trials&lt;br /&gt;
* Induced activity: oscillatory activity occurring in a certain event-related time window with varying time lag and phase&lt;br /&gt;
* Oscillatory activity: activity occurring with several oscillations in a narrow frequency band; can be time-locked and/or induced&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* TSE: temporal spectral evolution, change in amplitude or power over time relative to the baseline interval&lt;br /&gt;
* ERD/ERS: event-related (de)-synchronization, used as a synonym for TSE&lt;br /&gt;
* ERSP: event-related spectral perturbations, change in power or amplitude over time. This is the more general term and comprises ERD/ERS/TSE that are related to baseline.&lt;br /&gt;
* Correlation: correlation between two time signals, i.e. scalar product of normalized signals in time domain&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (3).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Spectral-temporal density function S(f,t) = A(f,t)*e&amp;lt;sup&amp;gt;i*ϕ(f,t)&amp;lt;/sup&amp;gt;: quantifies amplitude A and phase ϕ of a signal at a certain frequency f and latency t relative to an event&lt;br /&gt;
* Coherence: squared correlation of two spectral density functions S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, i.e. squared scalar product of S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, normalized across all trials&lt;br /&gt;
* Phase coherence: correlation of two normalized spectral density functions S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, quantified by the phase locking value (PLV)&lt;br /&gt;
* Phase locking value (PLV): scalar product of S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) over trials, where S&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;(f,t) and S&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;(f,t) are normalized, i.e. they become unit vectors in the complex plane&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase coherence uses only the phase relationships between channels for the coherence estimate, not the amplitudes. The method implemented here was described by Lachaux et al. (1999). Phase coherence is described by the so-called &amp;quot;phase locking value&amp;quot; (PLV).&lt;br /&gt;
&lt;br /&gt;
Comparison of the formulae for coherence and PLV illustrates that for constant amplitudes, PLV is equivalent to the square root of coherence.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scalp Coherence'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When coherence is calculated at the surface between 2 EEG channels or 2 MEG sensors, activity from various brain regions is picked up in each of the surface channels. Oscillatory activity in one brain region can already lead to a strong coherence between 2 surface channels because of the wide distribution of focal brain activity at the surface. This is due to the nature of the dipole fields when recording remotely and due to the smearing effect of the volume conduction in EEG. As a consequence, a coherence measure between surface channels cannot distinguish between coherence due to propagation and real coherence between the oscillatory activities in two coupled brain regions.&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
Whether true coherence can be detected at the scalp, depends mainly on the relative orientation of the source currents in the underlying brain regions and, to a lesser extent, on their distance in location. In the case of the auditory cortex, for example, both the left and right temporal planes produce vertical activity with strong bilateral contributions centrally (e.g. at C3/C4 and F3/F4). The spatial correlation of the radial activities at the lateral surfaces of the superior temporal gyrus is also very large between right and left scalp electrodes, e.g. at T3/T4. A current-source density montage (CSD or Laplacian) can reduce the effects of propagation on scalp coherence to a certain extent, because it enhances the radial current from the underlying cortex relative to more remote sources to some extent.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (6).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Source Coherence'''&lt;br /&gt;
&lt;br /&gt;
An optimal separation is obtained by a source montage derived from a multiple source model. The model is used to create an inverse spatial filter, i.e. a source montage that separates the different brain activities. Activities that are not accounted for by the model, e.g. from background noise or EEG, are distributed amongst the sources and may therefore lead to 'noise coherence' between source channels. This 'noise coherence' can be large for sources which have very similar spatial topographies. It can be reduced by increasing the regularization constant of the inverse at the expense of a larger cross-talk between the sources or by including specific sources accounting for the 'noise'.&lt;br /&gt;
&lt;br /&gt;
The principal steps to calculate a time-frequency diagram and source coherence are illustrated in the figure below for the real data example of error-related negativity (ERN). A multiple source model is created from averaged ERP data and/or sources in brain regions known to contribute from fMRI/PET studies using a similar task. The source model is then used to calculate a source montage and the source waveforms of the single trials. Next, each single trial is transformed into the time-frequency domain by selecting a certain temporal resolution using complex demodulation (a principle similar to FM radio). From the single trials, time-frequency displays are generated by averaging spectral density amplitude or power over trials. Source coherence is calculated by averaging the cross-spectral density of one reference channel with all other channels over trials and normalizing by the averaged auto-spectral densities (cf. figure above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:SourceCoh Concepts (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this figure, you can see the separation of the occipital alpha rhythm (top 3 source waveforms) from the frontal midline ERN components (lowest 2 traces) which become prominent in most single trials after transforming from the 128 scalp electrodes onto 9 source areas in the brain. The time-frequency display shows a strong evoked ERN activity in the anterior and posterior cingulate gyrus (CG) sources and an induced suppression and rebound of ~20 Hz activity in the sensori-motor cortex bilaterally. Alpha suppression is most prominent in the midline occipital source. A double click onto the TF display of a selected channel leads to the rapid calculation of the coherence between this channel and all other channels.&lt;br /&gt;
&lt;br /&gt;
For more information, see the following sections ''(Layout of the Source Coherence Window'' and ''Tutorial)''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Layout of the Source Coherence Window ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The source coherence window consists of&lt;br /&gt;
* title bar with information on the current display mode and the data file name&lt;br /&gt;
* menu bar where the display mode and analysis options are selected&lt;br /&gt;
* toolbar for quick access to the menu functions&lt;br /&gt;
* display area where time-frequency diagrams of all channels are shown&lt;br /&gt;
* information text about the current display mode and units (e.g. Power, Amplitude,&lt;br /&gt;
* color map with minimum and maximum normalization values at the center bottom. Any value higher or lower than the normalization value is assigned the color of the normalization value&lt;br /&gt;
* information text about the condition which is analyzed at the bottom right&lt;br /&gt;
* status bar with information about the channel, frequency, latency, and signal amplitude&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Coherence (1).gif]]&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Source_Coherence_How_to...</id>
		<title>Source Coherence How to...</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Source_Coherence_How_to..."/>
				<updated>2017-04-07T10:05:32Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Source Coherence: How to... =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Start the Beamformer from the Time-Frequency Window ==&lt;br /&gt;
&lt;br /&gt;
This chapter shows how to start the BESA Multiple Source Beamformer from the time-frequency window. The displayed screenshots are taken using the file '''BESA5/Examples/Learn-by-Simulations/AC''-''Coherence/AC-Osc20.foc''' (see BESA Tutorial 6: &amp;quot;''Tutorial on source coherence''&amp;quot; on our website http://www.besa.de).&lt;br /&gt;
&lt;br /&gt;
The time-frequency beamformer is especially useful to image induced oscillatory activity in- or decrease. Induced activity cannot be observed in the averaged data, but shows up as enhanced averaged power in the TSE (Temporal-Spectral Evolution) plot.&lt;br /&gt;
&lt;br /&gt;
In the time-frequency diagram of any channel, left-drag to mark a time-frequency region of interest, e.g. a region of power increase. When the left mouse button is released, select '''Image' ''from the popup menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image001.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The current montage and the type of time-frequency plot currently displayed (TSE, amplitude/power, Coherence) does not affect the output of the beamformer image, because the image is always based on the complex single-trial spectral density of the original recording montage. The status of the 'subtract average signal' button is considered, however. This allows to image either evoked and induced activity or induced activity only.&lt;br /&gt;
&lt;br /&gt;
The 'Image' edit window is displayed. It allows for adjusting the time-frequency range of the target interval and for a re-definition of the baseline interval. If a control condition has been specified, you can choose to reference the power in the target time-frequency interval to the corresponding interval in the control condition instead of the baseline interval by checking 'Compare Conditions'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image002.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: The text within the window emphasizes that it is recommended to use the same duration for the Baseline Interval and the Target Interval to obtain a reliable beamformer image. The reason is the dependence on the noise estimate on the number of trials that enter the covariance matrix computation. The same recommendation holds if two conditions are compared: It is recommended to define conditions such that they contain approximately the same number of trials. If the baseline interval defined in the Time-Frequency window (the red bar on the x-axis) is larger than the target time interval specified by the dragged rectangle, the baseline interval in the'' 'Image' ''dialog window is automatically shortened to match the duration of the Target Interval. If for some reason these requirements cannot be met, it is recommended to compute a beamformer image with regularization. This is achieved by adjusting the SVD cutoff in the Source Analysis window using the menu entry '''Image/Settings'.''&lt;br /&gt;
&lt;br /&gt;
Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''Go' '''&amp;lt;/span&amp;gt;button to start the beamformer computation.&lt;br /&gt;
&lt;br /&gt;
BESA Research now computes mean time-frequency covariance matrices for the target and the reference interval. The source analysis window opens with an enlarged 3D imaging display that compares the power in the target and the reference interval as computed with a bilateral beamformer. The result is superimposed onto the individual or standard MRI.&lt;br /&gt;
&lt;br /&gt;
For more information on the multiple-source beamformer (MSBF), please refer to chapter ''&amp;quot;Source'' ''Analysis&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image003.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Start DICS computation from the Time-Frequency Window ==&lt;br /&gt;
&lt;br /&gt;
How to create DICS images you will find in the chapter “''Source Analysis / 3D Imaging / Dynamic Imaging of Coherent Sources (DICS)”.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Compute Time Lags between oscillations using Phase Diagrams ==&lt;br /&gt;
&lt;br /&gt;
The phase diagram option is used to analyze phase differences between coherent channels. This can give an insight into a possible coupling of brain regions which may be necessary e.g. to integrate input from various specialized neurons to a common perception. However, the measured coupling is also influenced by volume conduction effects (scalp coherence) or the modeling parameters (source coherence).&lt;br /&gt;
&lt;br /&gt;
If brain regions show oscillatory coupling in the same frequency range, the phase relationship should be constant over some time:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image005.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since we cannot obtain an ideal frequency resolution using a time-frequency transform, any oscillation frequency is smeared out over several sampling frequencies in the transformed signal. If the delay between the two oscillations is constant, the phase shift between the signals rises linearly with the frequency. We can get a precise estimate of the delay if we use several neighboring frequencies for the calculation. Practically, you can achieve this by the following steps:&lt;br /&gt;
&lt;br /&gt;
1. Enter '''coherence''' mode, either by '''double-clicking''' on the channel of interest, or by right-clicking on it and selecting coherence from the popup menu.&lt;br /&gt;
&lt;br /&gt;
2. In a coherence plot, '''drag''' over an area of interest which comprises the time interval where the oscillation occurs and the relevant frequency range. The left-mouse popup menu appears (see the leftmost channel termed ACsL in the example below):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image006.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Select the menu entry ''''''View Phase Diagram''''''. In all channels where coherence was shown previously, the plot changes to display the phase diagram. Inside the marked time-frequency region, the mean phase difference ϕ&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; within the time window is calculated for each frequency ν&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;, and the values are plotted. The phase is calculated from the cross-spectral matrices of the single trials. The error bars shown in the display are the standard deviations of the phase over the time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The time lag is calculated from a regression fit to the values. The fitting procedure takes phase shifts of π into account, which can occur due to volume currents, or due to dipole orientations. First, a straight line is fitted to the data. Then, one of two different approaches are used to compute the time lag, depending on the characteristics of the values.&lt;br /&gt;
* If extrapolation of the line to ν= 0 Hz yields a phase difference of approximately 0 or approximately π, or if a zero crossing at the origin is within the error margins of the fit, the delay can be calculated directly from the data values. For each data value, the relationship ∆t&amp;lt;sub&amp;gt;i &amp;lt;/sub&amp;gt;&amp;lt;nowiki&amp;gt;= ϕ&amp;lt;/nowiki&amp;gt;&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;/ (2π ν&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;) holds. The time lag is calculated as the weighted mean, where the weights are given by the individual errors of fi (the errors are given by the standard deviation over the time samples).&lt;br /&gt;
* If the regression line does not cross the origin, the gradient of the fit is used to calculate the time lag as ∆t=grad(f(ν)) / 2π&lt;br /&gt;
&lt;br /&gt;
'''Note:''' In both cases, any frequency only enters the calculation if the coherence value reaches or exceeds 70% of the current color map maximum for at least one time sample inside the selected time-frequency window. At least 3 valid values are required for the estimation. Channels with less than 3 valid values are not evaluated.&lt;br /&gt;
&lt;br /&gt;
Phase values and fitted lines are only displayed for the channels where the above condition is satisfied. In the example below, the condition was only fulfilled for one channel (ACsL) due to the good separation of activities by the source montage. The calculated delay is displayed beside the channel label (in this case: 5 milliseconds).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image009.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get back to coherence, '''right-click '''into the reference channel and select ''''Coherence'''' from the popup menu that appears.&lt;br /&gt;
&lt;br /&gt;
== How to Compute a Probability Map ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistical testing with one condition'''&lt;br /&gt;
&lt;br /&gt;
This example uses the simulated data set in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Examples/Learn-by-Simulations/AC-Coherence/AC-Osc20.foc''''&amp;lt;/span&amp;gt; (see also BESA Research Tutorial on source coherence on www.besa.de).&lt;br /&gt;
&lt;br /&gt;
After the data file is loaded, start coherence analysis by&lt;br /&gt;
# selecting the montage &amp;quot;RC0&amp;quot; from the user montages (toolbar button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# loading the paradigm (menu &amp;quot;''ERP/Open Paradigm''&amp;quot;, select paradigm file &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Auditory/AC_Osc.pdg'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# performing an artifact scan (paradigm tab &amp;quot;'''Artifact'''&amp;quot;, press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scan'''&amp;lt;/span&amp;gt;...&amp;quot; button and adjust the amplitude threshold to about 135µV)&lt;br /&gt;
# starting analysis (paradigm tab &amp;quot;Coherence&amp;quot;, press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Go'''&amp;lt;/span&amp;gt;&amp;quot; button)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The progress bar runs through, and the temporal-spectral evolution (TSE) display is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on TSE'''&lt;br /&gt;
&lt;br /&gt;
In the TSE display, press the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Current Condition''&amp;quot; from the dropdown menu that appears. Alternatively, select &amp;quot;''Statistics/Current Condition&amp;quot;'' from the menu. This starts the bootstrap test. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image012.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example for p map of TSE, correction on p=0.05 level. Both significant synchronization and desynchronization is shown (red and blue colors; negative p values indicate desynchronization). The correction yields significant results only at the modelled time-frequency spots, with the exception of the frequency edges in channel PrM, FrR, and the occipital channels. The baseline interval is not tested.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, the results are corrected for multiple testing, and only values with a significance of p &amp;lt; 0.05 after correction are kept. Correction can be switched off using statistics options (''Statistics/Options ''from the menu, or use the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Options''&amp;quot; from the dropdown menu). This &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Options '''&amp;lt;/span&amp;gt;menu also enables correcting on the significance level p &amp;lt; 0.01. The text at the bottom left of the window indicates that a correction took place to find the significant sampling points, but the remaining p values were not corrected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on Coherence and phase coherence'''&lt;br /&gt;
&lt;br /&gt;
Double-click on a channel (e.g. ACsL) to display its coherence with the other channels. Then press the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Current Condition''&amp;quot; from the dropdown menu (or select &amp;quot;''Statistics/Current'' ''Condition''&amp;quot; from the menu). This starts the permutation test, which is quite time-consuming. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image013.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example for the p map of source coherence; correction on p=0.05 level. In all channels, alpha band coherence is significant. Furthermore, significant noise coherence can be observed in the proximate source channels, which only recedes where signal is present which is modelled by the reference channel. The oscillatory coupling between ACsL and ACsR is also significant.''&lt;br /&gt;
&lt;br /&gt;
The same procedure applies for a phase coherence analysis. To switch to the p map for phase coherence, simply press the toolbar button [[Image:Image015.gif]] . If statistics mode is already active, the new p map will be computed automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistical testing comparing conditions'''&lt;br /&gt;
&lt;br /&gt;
This example uses the error-related negativity data set in the file&amp;amp;nbsp;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''Examples/TFC-Error-Related'''&amp;lt;/span&amp;gt; &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Negativity/Correct+Error.foc''''&amp;lt;/span&amp;gt; (see also BESA Research Tutorial on source coherence on [http://www.besa.de www.besa.de]).&lt;br /&gt;
&lt;br /&gt;
After the data file is loaded, start coherence analysis by&lt;br /&gt;
# selecting the user montage &amp;quot;ERN9&amp;quot; from the user montages (toolbar button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Usr'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# Loading the paradigm (menu &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ERP/Open Paradigm'''&amp;lt;/span&amp;gt;&amp;quot;, select paradigm file &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''Cognitive/ERN.pdg'''&amp;lt;/span&amp;gt;&amp;quot;)&lt;br /&gt;
# performing an artifact scan (paradigm tab &amp;quot;''Artifact''&amp;quot;, press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Scan'''&amp;lt;/span&amp;gt;...&amp;quot; button and adjust the amplitude and gradient thresholds to about 180 µV and 75 µV)&lt;br /&gt;
# select the conditions with error and correct response for analysis, triggered on the stimulus (tab &amp;quot;''Coherence''&amp;quot;, select &amp;quot;''StErr''&amp;quot; as target condition, check the tick mark &amp;quot;''Use Control Condition''&amp;quot;, and select &amp;quot;''StCor''&amp;quot; as control condition (see figure below). Press the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Go'''&amp;lt;/span&amp;gt;&amp;quot; button. The progress bar is displayed, followed by the temporal-spectral evolution (TSE) display for the target condition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image017.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Settings for comparing conditions in the time-frequency analysis.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on TSE'''&lt;br /&gt;
&lt;br /&gt;
Press the [[Image:Image018.gif]] toolbar button to see the difference between target and control condition.&lt;br /&gt;
&lt;br /&gt;
Then press the toolbar button &amp;quot;&amp;quot; and select &amp;quot;''Compare Conditions''&amp;quot; from the dropdown menu that appears. Alternatively, select &amp;quot;''Statistics/Compare Conditions''&amp;quot; from the menu. This starts the permutation test. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image019.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example of TSE p map when comparing conditions; correction on p=0.05 level. Both significant increase and decrease of TSE in target condition with respect to control condition is shown (red and blue colors; negative p values indicate decrease). The baseline interval is not tested.''&lt;br /&gt;
&lt;br /&gt;
As in the case of one condition, the statistics options can be used to switch correction on or off, and to correct on two different significance levels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Statistics on Coherence and phase coherence'''&lt;br /&gt;
&lt;br /&gt;
Double-click on a channel (e.g. CgA) to display its coherence with the other channels. Then press the toolbar button [[Image:Image010.gif]] and select &amp;quot;''Current Condition''&amp;quot; from the dropdown menu (or select &amp;quot;''Statistics/Current Condition''&amp;quot; from the menu). This starts the permutation test, which is quite time-consuming. The result looks somewhat like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Image021.gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Example for p-map of coherence comparing conditions; correction on p=0.05 level. The regions where coherence differs significantly between conditions are depicted in red. The main coherent regions are seen in channels CgP and TbR at low frequencies.''&lt;br /&gt;
&lt;br /&gt;
Please note that the problems with noise coherence, which arise when testing within one condition, do not arise when comparing conditions. Computation is also much faster, since a different approach is used.&lt;br /&gt;
&lt;br /&gt;
The same procedure applies for a phase coherence analysis. To switch to the p map for phase coherence, simply press the toolbar button [[Image:Image015.gif]] . If statistics mode is already active, the new p map will be computed automatically.&lt;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T10:04:14Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Initialization File: BESA.ini  ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
&lt;br /&gt;
=== Defaults ===&lt;br /&gt;
&lt;br /&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''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='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&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;
&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 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;
&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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). 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;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&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;
&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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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;
* 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;
&lt;br /&gt;
[[Image:ST Besa ini (2).jpg ‎]]&lt;br /&gt;
&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;
* 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;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&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;
&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;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T10:00:20Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Working with Additional Files  ==&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. 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;
'''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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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;
&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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
''TimePoints= 200 Channels= 27 BeginSweep[ms]= -500.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 SegmentName=Condition1''&lt;br /&gt;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (1).gif]]&lt;br /&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;
&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;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; 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 (*.ela)'''&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;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) file.&lt;br /&gt;
&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;
(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;
&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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/Data reading rules for MEG''”. &lt;br /&gt;
&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 “''3D Coordinates for Precise Analysis / Data reading rules for EEG”.''&lt;br /&gt;
&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;
'''What you have to do'''&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;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&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;
&lt;br /&gt;
'''''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;
'''''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;
'''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;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
'''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;
&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;
&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;
1. latency (units specified by the header, can be µs, ms, s)&lt;br /&gt;
&lt;br /&gt;
2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&lt;br /&gt;
&lt;br /&gt;
3. parameter (depends on the event type, e.g. trigger code)&lt;br /&gt;
&lt;br /&gt;
4. 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;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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. '''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;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T09:58:11Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Working with Additional Files  ==&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. 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;
'''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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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;
&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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
''TimePoints= 200 Channels= 27 BeginSweep[ms]= -500.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 SegmentName=Condition1''&lt;br /&gt;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (1).gif]]&lt;br /&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;
&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;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; 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 (*.ela)'''&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;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) file.&lt;br /&gt;
&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;
(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;
&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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/Data reading rules for MEG''”. &lt;br /&gt;
&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 “''3D Coordinates for Precise Analysis / Data reading rules for EEG”.''&lt;br /&gt;
&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;
'''What you have to do'''&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;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&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;
&lt;br /&gt;
'''''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;
'''''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;
'''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;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
'''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;
&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;
&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;
1. latency (units specified by the header, can be µs, ms, s)&lt;br /&gt;
&lt;br /&gt;
2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&lt;br /&gt;
&lt;br /&gt;
3. parameter (depends on the event type, e.g. trigger code)&lt;br /&gt;
&lt;br /&gt;
4. 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;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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. '''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;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T09:48:47Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Working with Additional Files  ==&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. 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;
'''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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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;
&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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
''TimePoints= 200 Channels= 27 BeginSweep[ms]= -500.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 SegmentName=Condition1''&lt;br /&gt;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (1).gif]]&lt;br /&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;
&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;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; 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 (*.ela)'''&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;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) file.&lt;br /&gt;
&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;
(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;
&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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/Data reading rules for MEG''”. &lt;br /&gt;
&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 “''3D Coordinates for Precise Analysis / Data reading rules for EEG”.''&lt;br /&gt;
&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;
'''What you have to do'''&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;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&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;
&lt;br /&gt;
'''''nChannels'''''=''nnn''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The number of channels&lt;br /&gt;
&lt;br /&gt;
'''''sRate'''''=''fff''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The sampling rate (samples/sec)&lt;br /&gt;
&lt;br /&gt;
'''''format'''''=''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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;
'''''nSamples'''''=''nnn''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''''' = ''name&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Offset of data in bytes for binary data, in lines for ASCII data (default = 0).&lt;br /&gt;
&lt;br /&gt;
'''''Factor''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;[range]''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Prestimulus interval in milliseconds.&lt;br /&gt;
&lt;br /&gt;
'''''Label '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''ccc&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Segment label.&lt;br /&gt;
&lt;br /&gt;
'''''Trigger''''' = ''chan….''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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 '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''nBlocks'''.&lt;br /&gt;
&lt;br /&gt;
'''''EventFile''''' = ''name &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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 &amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type ''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
'''''Arrangement'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&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;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
'''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;
&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;
&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;
1. latency (units specified by the header, can be µs, ms, s)&lt;br /&gt;
&lt;br /&gt;
2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&lt;br /&gt;
&lt;br /&gt;
3. parameter (depends on the event type, e.g. trigger code)&lt;br /&gt;
&lt;br /&gt;
4. 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;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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. '''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;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T09:40:32Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Working with Additional Files  ==&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. 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;
'''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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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;
&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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
''TimePoints= 200 Channels= 27 BeginSweep[ms]= -500.00 SamplingInterval[ms]= 5.000 Bins/uV= 1.000 SegmentName=Condition1''&lt;br /&gt;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (1).gif]]&lt;br /&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;
&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;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; 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 (*.ela)'''&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;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) file.&lt;br /&gt;
&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;
(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;
&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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/Data reading rules for MEG''”. &lt;br /&gt;
&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 “''3D Coordinates for Precise Analysis / Data reading rules for EEG”.''&lt;br /&gt;
&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;
'''What you have to do'''&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;
&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&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;
&lt;br /&gt;
'''''nChannels''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The number of channels&lt;br /&gt;
&lt;br /&gt;
'''''sRate''''' = ''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The sampling rate (samples/sec)&lt;br /&gt;
&lt;br /&gt;
'''''format''''' = ''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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;
'''''nSamples'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''''' = ''name&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Offset of data in bytes for binary data, in lines for ASCII data (default = 0).&lt;br /&gt;
&lt;br /&gt;
'''''Factor''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;[range]''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Prestimulus interval in milliseconds.&lt;br /&gt;
&lt;br /&gt;
'''''Label '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''ccc&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Segment label.&lt;br /&gt;
&lt;br /&gt;
'''''Trigger''''' = ''chan….''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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 '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''nBlocks'''.&lt;br /&gt;
&lt;br /&gt;
'''''EventFile''''' = ''name &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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 &amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type ''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
'''''Arrangement'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&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;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
'''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;
&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;
&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;
1. latency (units specified by the header, can be µs, ms, s)&lt;br /&gt;
&lt;br /&gt;
2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&lt;br /&gt;
&lt;br /&gt;
3. parameter (depends on the event type, e.g. trigger code)&lt;br /&gt;
&lt;br /&gt;
4. 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;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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. '''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;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T09:23:15Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Initialization File: BESA.ini  ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
&lt;br /&gt;
=== Defaults ===&lt;br /&gt;
&lt;br /&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''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='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&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;
&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 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;
&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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). 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;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&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;
&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 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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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;
* 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;
&lt;br /&gt;
[[Image:ST Besa ini (2).jpg ‎]]&lt;br /&gt;
&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;
* 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;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&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;
&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;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T09:21:29Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Initialization File: BESA.ini  ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
&lt;br /&gt;
=== Defaults ===&lt;br /&gt;
&lt;br /&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''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='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&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;
&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 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;
&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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). 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;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&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 ''&amp;lt;Del&amp;gt;'' 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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&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;
&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 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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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;
* 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;
&lt;br /&gt;
[[Image:ST Besa ini (2).jpg ‎]]&lt;br /&gt;
&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;
* 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;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&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;
&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;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T09:15:46Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Initialization File: BESA.ini  ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
&lt;br /&gt;
=== Defaults ===&lt;br /&gt;
&lt;br /&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''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='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&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;
&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 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;
&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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). 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;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&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 &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Del&amp;gt;''' key.&amp;lt;/span&amp;gt; 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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&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;
&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 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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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;
* 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;
&lt;br /&gt;
[[Image:ST Besa ini (2).jpg ‎]]&lt;br /&gt;
&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;
* 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;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&lt;br /&gt;
'''Default settings provided for section [Harmonie] (Stellate Harmonie systems):'''&lt;br /&gt;
&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;
&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;
&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;
&lt;br /&gt;
'''Default settings provided for section [NKT2100] (Nihon Kohden EEG 21xx systems):'''&lt;br /&gt;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T08:52:41Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.&lt;br /&gt;
* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for&lt;br /&gt;
* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by&lt;br /&gt;
* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if&lt;br /&gt;
* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]] [[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus'' of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
1. Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
&lt;br /&gt;
2. Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
3. Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
&lt;br /&gt;
4. Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
&lt;br /&gt;
5. Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
&lt;br /&gt;
6. Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
&lt;br /&gt;
7. '''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&lt;br /&gt;
&lt;br /&gt;
8. Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
&lt;br /&gt;
10. Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
&lt;br /&gt;
11. After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using the ''Selected Channels'' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:&lt;br /&gt;
* Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:&lt;br /&gt;
* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''&lt;br /&gt;
* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''&lt;br /&gt;
* The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:&lt;br /&gt;
* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either&lt;br /&gt;
* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''&lt;br /&gt;
* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''&lt;br /&gt;
* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects&lt;br /&gt;
* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.&lt;br /&gt;
&lt;br /&gt;
* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;&lt;br /&gt;
* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:&lt;br /&gt;
* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T08:48:44Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.&lt;br /&gt;
* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for&lt;br /&gt;
* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by&lt;br /&gt;
* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if&lt;br /&gt;
* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]] [[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus'' of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
1. Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
&lt;br /&gt;
2. Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
3. Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
&lt;br /&gt;
4. Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
&lt;br /&gt;
5. Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
&lt;br /&gt;
6. Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
&lt;br /&gt;
7. '''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&lt;br /&gt;
&lt;br /&gt;
8. Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
&lt;br /&gt;
10. Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
&lt;br /&gt;
11. After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using the ''Selected Channels'' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:&lt;br /&gt;
* Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:&lt;br /&gt;
* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''&lt;br /&gt;
* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''&lt;br /&gt;
* The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.3cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:&lt;br /&gt;
* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either&lt;br /&gt;
* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;'''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''&lt;br /&gt;
* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''&lt;br /&gt;
* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects&lt;br /&gt;
* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.&lt;br /&gt;
&lt;br /&gt;
* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;&lt;br /&gt;
* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:&lt;br /&gt;
* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T08:31:46Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.&lt;br /&gt;
* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for&lt;br /&gt;
* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by&lt;br /&gt;
* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if&lt;br /&gt;
* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]] [[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus'' of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
1. Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
2. Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
3. Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
4. Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
5. Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
6. Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
7. '''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&lt;br /&gt;
8. Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
10. Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
11. After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference'', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical ''EOG'') may be ''reconstructed digitally'' using the '''Selected Channels''' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:&lt;br /&gt;
* Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:&lt;br /&gt;
* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''&lt;br /&gt;
* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''&lt;br /&gt;
* The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:&lt;br /&gt;
* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either&lt;br /&gt;
* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''&lt;br /&gt;
* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''&lt;br /&gt;
* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
'''Notes'''&lt;br /&gt;
# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects&lt;br /&gt;
* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.&lt;br /&gt;
&lt;br /&gt;
* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;&lt;br /&gt;
* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:&lt;br /&gt;
* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T07:39:33Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.&lt;br /&gt;
* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for&lt;br /&gt;
* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by&lt;br /&gt;
* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if&lt;br /&gt;
* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]] [[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus''&lt;br /&gt;
&lt;br /&gt;
of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
# Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
# Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
# Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
# Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;'''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
# Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
# After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using ''the 'Selected Channels''' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values&lt;br /&gt;
&lt;br /&gt;
on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&amp;lt;/div&amp;gt;&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel''&lt;br /&gt;
&lt;br /&gt;
''Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''…''&amp;lt;/div&amp;gt;* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&amp;lt;/div&amp;gt;&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and&lt;br /&gt;
&lt;br /&gt;
radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T07:33:40Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Working with Additional Files  ==&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. In&lt;br /&gt;
&lt;br /&gt;
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;
=== 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;
&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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
&lt;br /&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;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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'''.* The first two letters indicate the head region:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST addfiles (1).gif]]&lt;br /&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;
&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;
&lt;br /&gt;
&lt;br /&gt;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; This format can still be read, but is no longer written by BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;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;)&amp;lt;/div&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel Label Files (*.ela)'''&lt;br /&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;
&lt;br /&gt;
'''Identifiers''' can be one of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
EEG -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&lt;br /&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&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;
(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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/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 “''3D Coordinates for Precise Analysis / 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'''* 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;
&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;
&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''nChannels''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The number of channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''sRate''''' = ''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The sampling rate (samples/sec)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:3.401cm;margin-right:0cm;&amp;quot;&amp;gt;'''''format''''' = ''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;One of ''short'', ''int, float, double, ASCII''. If the format is ''ASCII'', the &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:3.401cm;margin-right:0cm;&amp;quot;&amp;gt;parameter''' nSamples''' must be specified as well (see below)&amp;lt;/div&amp;gt;&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;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''nSamples'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''file''''' = ''name&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''DataOffset''''' = ''nnn&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Offset of data in bytes for binary data, in lines for ASCII data (default = 0).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''Factor''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;[range]''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''SwapBytes''''' = ''ccc&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Prestimulus''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Prestimulus interval in milliseconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Label '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''ccc&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Segment label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Trigger''''' = ''chan….''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Channel number containing triggers. Without further parameters, the &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;values are read directly as digital trigger values. Other parameters are described below, for the case where the trigger channel contains analog signals.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''nBlocks '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''nEpochs'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''nBlocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''EventFile''''' = ''name &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Order''''' = ''type &amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;One of ''multiplexed'', ''vectorized''. The default is multiplexed (i.e. channels &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Orientation''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type ''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Arrangement'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Trigger events'''&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
'''''chan''' ''is the channel number on which to find the trigger&lt;br /&gt;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
&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;
&lt;br /&gt;
'''Data formats:'''&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Future changes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Possible developments:* Read channel labels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Event File'''&lt;br /&gt;
&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;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;1. latency (units specified by the header, can be µs, ms, s)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.7cm;margin-right:0cm;&amp;quot;&amp;gt;2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;3. parameter (depends on the event type, e.g. trigger code)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;4. label (label assigned to the event)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Header Line:'''&lt;br /&gt;
&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;
&lt;br /&gt;
''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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;
&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. '''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;
&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;
&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;
&lt;br /&gt;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
&lt;br /&gt;
The following reads ASCII multiplexed data that were previously exported from BESA Research:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T07:30:10Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Initialization File: BESA.ini  ==&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;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_0''&lt;br /&gt;
&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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
'''Default settings provided for section [Defaults]:'''&lt;br /&gt;
&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''set from 100 to 200 if you want to clip artifacts in displayed EEG &lt;br /&gt;
&lt;br /&gt;
(not used if empty or 0)&lt;br /&gt;
&lt;br /&gt;
'''LowFilter='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&lt;br /&gt;
&lt;br /&gt;
&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 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;
'''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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). These are defined below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Variables'''&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Placeholders'''&lt;br /&gt;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_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;
'''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;
&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;
&lt;br /&gt;
&lt;br /&gt;
Other examples, depending on your electrode input box definition, could be:&lt;br /&gt;
&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;
=== Patterns ===&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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
event bar.&lt;br /&gt;
&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;
=== Artifacts ===&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;
=== Search ===&lt;br /&gt;
&lt;br /&gt;
Default settings for pattern search.&lt;br /&gt;
&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;
&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;
&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;
&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;
&lt;br /&gt;
'''SelectedViewWindowWidthMultiplier = 300%'''&lt;br /&gt;
&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;
&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;
[[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;
=== KeyControls ===&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 &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Del&amp;gt;'''&amp;lt;/span&amp;gt; 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;
&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;
&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;
=== FFT ===&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;
=== Printer ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Printer]:'''&lt;br /&gt;
&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;
=== Calibration ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Calibration]:'''&lt;br /&gt;
&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;
&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;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Video]:'''&lt;br /&gt;
&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;
=== Mapping ===&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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&lt;br /&gt;
=== Matlab ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings for the [Matlab] section:'''&lt;br /&gt;
&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;
&lt;br /&gt;
=== Updates ===&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;
&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 support@besa.de.&lt;br /&gt;
&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;
&lt;br /&gt;
'''FTP1 (also FTP2, FTP3)'''&lt;br /&gt;
&lt;br /&gt;
ftp download server&lt;br /&gt;
&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;
&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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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:* Open a dialog to ask if the files should be treated as a single data set, or as individual, separate &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;* 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;
&lt;br /&gt;
'''EDF+/BDF/Trackit'''&lt;br /&gt;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&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;
&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;
&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;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T07:25:41Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]] [[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus''&lt;br /&gt;
&lt;br /&gt;
of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
# Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
# Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
# Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
# Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;'''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
# Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
# After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using ''the 'Selected Channels''' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values&lt;br /&gt;
&lt;br /&gt;
on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&amp;lt;/div&amp;gt;&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel''&lt;br /&gt;
&lt;br /&gt;
''Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''…''&amp;lt;/div&amp;gt;* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&amp;lt;/div&amp;gt;&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and&lt;br /&gt;
&lt;br /&gt;
radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T07:23:01Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (1).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (2).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (4).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (5).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (8).gif ]][[Image:ST Electrodes (7).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (9).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (10).gif ]]&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (11).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (12).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (14).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (15).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (17).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (19).gif ]]&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (21).gif ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (23).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (25).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus''&lt;br /&gt;
&lt;br /&gt;
of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
# Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (27).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
# Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
# Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
# Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;'''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (28).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
# Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
# After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:ST Electrodes (29).gif]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using ''the 'Selected Channels''' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values&lt;br /&gt;
&lt;br /&gt;
on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&amp;lt;/div&amp;gt;&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel''&lt;br /&gt;
&lt;br /&gt;
''Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''…''&amp;lt;/div&amp;gt;* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&amp;lt;/div&amp;gt;&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and&lt;br /&gt;
&lt;br /&gt;
radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T07:06:48Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Working with Additional Files  ==&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. In&lt;br /&gt;
&lt;br /&gt;
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;
=== 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;
&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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
&lt;br /&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;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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'''.* The first two letters indicate the head region:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:|top]]&amp;lt;/div&amp;gt;&lt;br /&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;
&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;
&lt;br /&gt;
&lt;br /&gt;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; This format can still be read, but is no longer written by BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;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;)&amp;lt;/div&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel Label Files (*.ela)'''&lt;br /&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;
&lt;br /&gt;
'''Identifiers''' can be one of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
EEG -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&lt;br /&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&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;
(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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/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 “''3D Coordinates for Precise Analysis / 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:|top]]&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'''* 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;
&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;
&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''nChannels''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The number of channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''sRate''''' = ''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The sampling rate (samples/sec)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:3.401cm;margin-right:0cm;&amp;quot;&amp;gt;'''''format''''' = ''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;One of ''short'', ''int, float, double, ASCII''. If the format is ''ASCII'', the &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:3.401cm;margin-right:0cm;&amp;quot;&amp;gt;parameter''' nSamples''' must be specified as well (see below)&amp;lt;/div&amp;gt;&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;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''nSamples'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''file''''' = ''name&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''DataOffset''''' = ''nnn&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Offset of data in bytes for binary data, in lines for ASCII data (default = 0).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''Factor''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;[range]''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''SwapBytes''''' = ''ccc&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Prestimulus''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Prestimulus interval in milliseconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Label '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''ccc&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Segment label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Trigger''''' = ''chan….''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Channel number containing triggers. Without further parameters, the &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;values are read directly as digital trigger values. Other parameters are described below, for the case where the trigger channel contains analog signals.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''nBlocks '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''nEpochs'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''nBlocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''EventFile''''' = ''name &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Order''''' = ''type &amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;One of ''multiplexed'', ''vectorized''. The default is multiplexed (i.e. channels &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Orientation''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type ''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Arrangement'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Trigger events'''&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
'''''chan''' ''is the channel number on which to find the trigger&lt;br /&gt;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
&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;
&lt;br /&gt;
'''Data formats:'''&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Future changes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Possible developments:* Read channel labels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Event File'''&lt;br /&gt;
&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;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;1. latency (units specified by the header, can be µs, ms, s)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.7cm;margin-right:0cm;&amp;quot;&amp;gt;2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;3. parameter (depends on the event type, e.g. trigger code)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;4. label (label assigned to the event)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Header Line:'''&lt;br /&gt;
&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;
&lt;br /&gt;
''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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;
&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. '''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;
&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;
&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;
&lt;br /&gt;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
&lt;br /&gt;
The following reads ASCII multiplexed data that were previously exported from BESA Research:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-07T07:05:16Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Initialization File: BESA.ini  ==&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;
&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;
'''a) Private''': each user on a PC should have his/her own private settings. This is normally in ''My'' ''Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''b) Public''': &amp;amp;nbsp;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 ''Shared Documents/BESA/Research_6_0''&lt;br /&gt;
&lt;br /&gt;
'''c) Administrator''': the PC administrator determines the settings. This is normally in ''C:Program'' ''Files/BESA/Research_6_0''&lt;br /&gt;
&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&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;''' administrator'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version of &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;'''BESA.ini'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''private'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; version. If this is not found, it looks for the &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt;'''public'''&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; 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;
[Defaults] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- General settings (filters, scaling, and various other settings)&lt;br /&gt;
&lt;br /&gt;
[Folders] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Folders used by BESA Research (Examples, Montages, Scripts, Settings,...)&lt;br /&gt;
&lt;br /&gt;
[Electrodes] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Electrode renaming&lt;br /&gt;
&lt;br /&gt;
[Patterns] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- 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] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Settings for artifact correction&lt;br /&gt;
&lt;br /&gt;
[KEYCONTROLS] &amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Function key definitions&lt;br /&gt;
&lt;br /&gt;
[Search] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;-- Default parameters for search&lt;br /&gt;
&lt;br /&gt;
[FFT] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;amp;nbsp;&amp;amp;nbsp;-- Frequency band definitions&lt;br /&gt;
&lt;br /&gt;
[Printer] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Printer control&lt;br /&gt;
&lt;br /&gt;
[Calibration] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Calibration control&lt;br /&gt;
&lt;br /&gt;
[Video] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Digital video control&lt;br /&gt;
&lt;br /&gt;
[Mapping] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; -- Mapping control&lt;br /&gt;
&lt;br /&gt;
[Matlab] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Settings for the Matlab interface&lt;br /&gt;
&lt;br /&gt;
[Updates] &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-- Options for program updates&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;
'''Default settings provided for section [Defaults]:'''&lt;br /&gt;
&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'''&amp;amp;nbsp;displayed time window [s] on the screen&lt;br /&gt;
&lt;br /&gt;
'''Montage=Org'''&amp;amp;nbsp;montage used when opening a new file&lt;br /&gt;
&lt;br /&gt;
'''ScpScale=50'''&amp;amp;nbsp;scale of scalp channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''PgrScale=500'''&amp;amp;nbsp;scale of polygraphic channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''IcrScale=500'''&amp;amp;nbsp;scale of intracranial channels in [mV]&lt;br /&gt;
&lt;br /&gt;
'''MegScale=500'''&amp;amp;nbsp;scale of MEG/marker channels in [fT]&lt;br /&gt;
&lt;br /&gt;
'''BaselineCorrection=On'''&amp;amp;nbsp;baseline correction, do not switch off in AC systems&lt;br /&gt;
&lt;br /&gt;
'''ClippingPercent=&amp;amp;nbsp;'''set from 100 to 200 if you want to clip artifacts in displayed EEG &lt;br /&gt;
&lt;br /&gt;
(not used if empty or 0)&lt;br /&gt;
&lt;br /&gt;
'''LowFilter='''&amp;amp;nbsp;low filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''TimeConstant=0.3'''&amp;amp;nbsp;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'''&amp;amp;nbsp;high filter cutoff frequency [Hz] (variable filter)&lt;br /&gt;
&lt;br /&gt;
'''NotchFilter=50'''&amp;amp;nbsp;notch filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''NotchFilterStatus=Off'''&amp;amp;nbsp;notch filter is off, set=On if you want to use as default&lt;br /&gt;
&lt;br /&gt;
'''BandFilter=12'''&amp;amp;nbsp;band pass filter center frequency [Hz]&lt;br /&gt;
&lt;br /&gt;
'''BandFilterStatus=Off'''&amp;amp;nbsp;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'''&amp;amp;nbsp;scalp waveforms are (not) colored according to region&lt;br /&gt;
&lt;br /&gt;
'''WriteSegmentPath='''&amp;amp;nbsp;defines default path for saving segments/averages.&amp;amp;nbsp;If blank, the path of the current data file is used.&lt;br /&gt;
&lt;br /&gt;
'''ShowSubjectInfo=Off'''&amp;amp;nbsp;subject info will (not) be displayed.&lt;br /&gt;
&lt;br /&gt;
&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 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;
'''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. For Vista compatibility, many folders are now located by default in locations where normal users can create and write files. 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 system (XP or Vista). These are defined below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The Variables'''&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Placeholders'''&lt;br /&gt;
&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 are different for Vista and XP/2000 and for other language settings. BESA Research will substitute the placeholders by the appropriate folder name for the system (W2K, XP, Vista, or Win7) and the system language:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 7(English):''' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Libraries\Documents\Public'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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;''Libraries\Documents\My'' ''Documents\Research_6_0''&amp;quot; or &amp;quot;''Desktop\[User]\My Documents\BESA\Research_6_0''. &lt;br /&gt;
&lt;br /&gt;
'''%progdir%''' = the BESA Research root folder. In a default installation, this is &amp;quot;''C:\Program'' ''Files\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows Vista (English'''): &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Users\[user]\AppData\Local\BESA\Research_6_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]\AppData\Local\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Users\Public\Public Documents\BESA\Research_6_0''&amp;quot;. This folder is directly accessible from the Windows Explorer under &amp;quot;''Desktop\Public\Public Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Users\[user]\Documents\BESA\Research_6_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_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir%''' &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows XP (English):''' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp% '''&amp;lt;nowiki&amp;gt;= &amp;quot;&amp;lt;/nowiki&amp;gt;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0&amp;quot;. ''This folder is directly accessible from the Windows Explorer under &amp;quot;''My Computer\Shared'' ''Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;''My Documents\BESA\Research_6_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\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%besaroot%''' is the same as '''%progdir% &amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Windows 2000 (English):'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''%localapp%''' = &amp;quot;''C:\Documents and Settings\[user]\Local Settings\Application Data\BESA\Research_6_0''&amp;quot;, where [user] is the logon name of the current user. &lt;br /&gt;
&lt;br /&gt;
'''%publicprog%''' = &amp;quot;''C:\Documents and Settings\All Users\Documents\BESA\Research_6_0''&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
'''%privateprog%''' = &amp;quot;''C:\Documents and Settings\[user]\My Documents\BESA\Research_6_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;'''''My Documents\BESA\Research_6_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\BESA\\Research_6_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;
'''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;
&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;
&lt;br /&gt;
&lt;br /&gt;
Other examples, depending on your electrode input box definition, could be:&lt;br /&gt;
&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;
=== Patterns ===&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 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
event bar.&lt;br /&gt;
&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;
=== Artifacts ===&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;
=== Search ===&lt;br /&gt;
&lt;br /&gt;
Default settings for pattern search.&lt;br /&gt;
&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;
&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;
&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;
&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;
&lt;br /&gt;
'''SelectedViewWindowWidthMultiplier = 300%'''&lt;br /&gt;
&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;
&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;
[[Image:|top]]&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;
=== KeyControls ===&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 &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Del&amp;gt;'''&amp;lt;/span&amp;gt; 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;
&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;
&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;
=== FFT ===&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;
=== Printer ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Printer]:'''&lt;br /&gt;
&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;
=== Calibration ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Calibration]:'''&lt;br /&gt;
&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;
&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;
=== Video ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings provided for section [Video]:'''&lt;br /&gt;
&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;
=== Mapping ===&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 Open-GL).&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;
'''MapSmoothing=0&amp;amp;nbsp;'''&lt;br /&gt;
&lt;br /&gt;
Set a non-zero value to specify a default map smoothing parameter (normally specified in ''Options/Mapping/Spline Interpolation Smoothing Constant'').&lt;br /&gt;
&lt;br /&gt;
=== Matlab ===&lt;br /&gt;
&lt;br /&gt;
'''Default settings for the [Matlab] section:'''&lt;br /&gt;
&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;
&lt;br /&gt;
=== Updates ===&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;
&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 support@besa.de.&lt;br /&gt;
&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;
&lt;br /&gt;
'''FTP1 (also FTP2, FTP3)'''&lt;br /&gt;
&lt;br /&gt;
ftp download server&lt;br /&gt;
&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;
&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;
=== Reader-Specific Settings ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BrainLab'''&lt;br /&gt;
&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;
&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:* Open a dialog to ask if the files should be treated as a single data set, or as individual, separate &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
files. &lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&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;* 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;
&lt;br /&gt;
'''EDF+/BDF/Trackit'''&lt;br /&gt;
&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;
&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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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;
&lt;br /&gt;
'''CombineDINeventsPrefix'''&amp;lt;nowiki&amp;gt;=dinComb&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0.953cm;margin-right:0cm;&amp;quot;&amp;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;
&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;
&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;
&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;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations</id>
		<title>Electrodes and Surface Locations</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=Electrodes_and_Surface_Locations"/>
				<updated>2017-04-07T07:03:41Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Working with Electrodes and Surface Locations =&lt;br /&gt;
&lt;br /&gt;
== Introduction - Electrodes and Surface Locations ==&lt;br /&gt;
&lt;br /&gt;
Here you will find out how BESA Research works with electrode and MEG sensor coordinates and labels, and how head surface points can be used to improve source modeling and coregistration of source models with the MRI. In most cases, electrode positions are sufficiently defined by their labels. The section &amp;quot;''Electrode Conventions''&amp;quot; lists the standard position which BESA Research assigns to EEG channels. In some cases, especially for larger electrode arrays or for MEG measurements, additional information is required to add sufficient information for mapping and for source analysis. The additional information is supplied in additional, auxiliary files which are read by BESA Research and associated with the data files. The auxiliary files, and how they are supplied to BESA Research, are described in this chapter.&lt;br /&gt;
&lt;br /&gt;
Examples for using auxiliary files to define the 3D locations of electrodes are found in the chapter &amp;quot;''Special Topics / Working with Electrodes... / Examples''&amp;quot; in the online help.&lt;br /&gt;
&lt;br /&gt;
Descriptions of file formats that BESA Research uses are given in the online help chapter &amp;quot;''Special Topics'' ''/ Working with additional files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Working with auxiliary files ==&lt;br /&gt;
&lt;br /&gt;
Data files come with varying amounts of prior information about electrode/sensor locations, depending on the recording system. BESA Research allows you to read auxiliary files that define additional information, such as channel labels, and coordinates of the electrodes, sensors, and other head surface points. The information is required for mapping and for source montages.* '''Mapping.''' BESA Research uses spherical spline mapping. For this, electrode/sensor locations are projected onto a sphere. The minimum requirement is 10-10 or 10-20 labels: if only channel labels are available without additional information, BESA Research uses default spherical coordinates.&lt;br /&gt;
* '''Source modeling'''. Spherical coordinates of electrode locations are sufficient, but digitized locations are better. Digitized locations can be defined in the data file or in auxiliary files. BESA Research will use digitized head surface points (electrodes + additional points) to fit a sphere for the spherical model. Points anterior to the left and right preauricular points and below the plane formed by these points and the nasion are excluded when fitting the sphere.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Files can also be written, for instance for* '''Source modelling with MRI coregistration'''. BESA Research allows for the export of surface points in a special format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''sfh'''&amp;lt;/span&amp;gt; file) which can be read by the BESA MRI (or BrainVoyager) program. These are fitted to the head surface defined by BESA MRI (or BrainVoyager) in order to define rotation, translation, and deformation parameters required to coregister the coordinate systems (see &amp;quot;''Integration with MRI and fMRi''&amp;quot;).&lt;br /&gt;
* '''Export of coordinates.''' Electrode, other surface point locations, and MEG sensor coordinates and other surface point locations can be written to ASCII files so that they can be reread when reading other files into BESA Research (e.g. ASCII files), or used by other programs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Feedback and control over how these files are read is provided by* '''the Channel and digitized head surface point information dialog box.''' This dialog is usually opened when you open a file for the first time. It allows you to specify the names of auxiliary files, and it makes initial checks on the files to see whether they are consistent with each other and with the data file. If the check is OK, you will see a green tick at the top right hand corner of the dialog box. If there are inconsistencies, the tick is replaced by a red exclamation mark. In this case, you will usually need to edit the auxiliary files or specify other files. The dialog box is not opened if the file is recognized to contain all the necessary information (files with the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''foc'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''fsg'''&amp;lt;/span&amp;gt; extensions), or if the program only finds a channel definition file (with extensions &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ela, elp,'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''elb'''&amp;lt;/span&amp;gt;). The dialog box is not opened if the data file has been opened before. You can always open the dialog box manually by specifying ''&amp;quot; File / Head Surface Points and Sensors/Load Coordinate'' ''Files.''&lt;br /&gt;
* '''The log file''' (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*_LoadFile.log&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;)'''.''' Coordinating the information between the data file and its auxiliary files can be a complex procedure. To help you check whether the coordination is being done properly, if you select the menu entry ''&amp;quot; Options / File / Generate Log &amp;quot;'' during File Open, BESA Research writes a log file with the same base name as the data file, appending &amp;quot;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''_LoadFile.log'''&amp;lt;/span&amp;gt;&amp;quot; to the base name, recording which files have been read, and some of the parameters that have been found. This file is created every time auxiliary files are read (e.g. on file open, when reading in channel configuration files, head surface point files, MEG sensor locations), or changed (&amp;quot;''Edit /'' ''Channel Configuration''&amp;quot;).&lt;br /&gt;
* '''The log window. '''If there are inconsistencies during the processing of auxiliary files and 3D coordinates, a logging window is opened showing the information that would be written to the log file. You can read what has been done to help diagnose the problems. Select '''OK''' to continue in spite of the problems, or''' Reset''' to reject. Typing '''Reset''' also deletes the database files associated with the current data file, thus allowing you to start reading this file from scratch.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research remembers which auxiliary files are associated with the current file'''. When a data file is first opened, and BESA Research finds auxiliary files with the same base name as the data file, you will be asked if you want this file to be read. The decision you make will be recorded in the database for this data file. Next time the file is opened, the files will or will not be read, according to your previous decision. Similarly, when an auxiliary file is read using the menu, this is recorded in the database, and the file will be opened automatically next time the data file is opened. To override previous decisions, you must delete the database files (see the''' log window '''above) or change the entries in the Channel and digitized head surface point information dialog box (see the chapter ''&amp;quot;Electrode Conventions / Channel and digitized head surface point information dialog box''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Coordinate systems ==&lt;br /&gt;
&lt;br /&gt;
We need to deal with four different coordinate systems. These differ in how the x, y, and z axes are defined, and in the units of measurement (e.g. mm, cm, m). The first three are illustrated in the following figure:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Device coordinates.''' These are the coordinates used by the recording system. The axes may be anywhere in relation to the head. For instance, in the Polhemus digitizer, the axes go through the magnetic field transmitter which is located somewhere outside the head. The units of measurement may be millimeters, centimeters, or meters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Head coordinates'''. This coordinate system is defined by reference points on the head known as ''fiducials''. The reference points are normally the nasion (Nz, NAS), the left preauricular point (T9, LPA), and the right preauricular point (T10, RPA). The x axis is defined by the line joining T9 and T10, positive towards T10. The y axis is defined by the line through Nz that is perpendicular to the x axis (positive towards Nz). The z axis is perpendicular to the x and y axes, and goes up out of the head in the vicinity of Cz. The units of measurement may be millimeters, centimeters, or meters. In BESA Research these are labelled with the prefix 'Fid', e.g. 'FidT9', 'FidNz'.&lt;br /&gt;
&lt;br /&gt;
'''BESA Research coordinates.''' For dipole analyses the head model consists of a sphere. In the default situation where no digitized sensor information is available, the center of the sphere is defined by the crossing point between the lines joining T7 (=T3) and T8 (=T4) and Fpz and Oz.. The x axis is the T8-T7 line, positive at T8. The y axis is the Oz-Fpz line, positive at Fpz. The z-axis goes up out of the head through Cz. If digitized information is available, the axes are defined by the best fit between the idealized electrode locations and the real locations. The diameter of the sphere is also defined by the best fit. Units given in the display are in millimeters.&lt;br /&gt;
&lt;br /&gt;
The '''center of the spherical model''' is on average about 4 cm above the origin of the Head Coordinates. If digitized surface points are available, the sphere is fitted to these points. Using a cot file, it is possible to override the fit and define your own head center. In conjunction with BrainVoyager, you can use the MRI to seed the location of the head center (e.g. a fixed distance anterior to the posterior commissure) and save it as a cot file. Using MRI coregistration (see &amp;quot;''Integration with MRI and'' ''fMRi''&amp;quot;), the center is placed between the anterior (AC) and posterior (PC) commissures, at the half-way point between the anterior and posterior points (AP and PP). Without coregistration, the center corresponds to a point 17.5 mm behind AC in the standard MRI head.&lt;br /&gt;
&lt;br /&gt;
'''MRI coordinates.''' These are the coordinates used by BrainVoyager. These are defined by the MRI slices. Measurement units are millimeters.&lt;br /&gt;
&lt;br /&gt;
== The Channel and Digitized Head Surface Point Information Dialog Box ==&lt;br /&gt;
&lt;br /&gt;
Many data formats read by BESA Research require additional information about data channel, which are specified by additional, auxiliary files. This dialog box allows you to specify which auxiliary files are read in to supplement the information in the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is opened automatically the first time a data file is opened, if* auxiliary files other than a channel definition file (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are found&lt;br /&gt;
* no auxiliary files are found, and the data file was not written in compressed binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When a data file is closed, the information about which auxiliary files have been read is stored in the database. When the file is opened for a second time the dialog box is not opened automatically, because the information is assumed to be correct – the files are read automatically.&lt;br /&gt;
&lt;br /&gt;
The dialog box can be opened manually by selecting &amp;quot;''File / Head Surface Points and Sensors/Load'' ''Coordinate Files''&amp;quot;, or using the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''ctrl-L'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dialog box is divided into several sections:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Internal data file information.''' Here you can see the file name, the originating system (file format), the name of the database file, if any, and the channel information as specified by the data file alone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Suggestions.''' This box makes suggestions about what needs to be filled in, e.g. &amp;quot;Please enter electrode thickness&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Main feedback (top right hand corner).''' A green tick indicates that the currently selected data files are consistent among themselves and with the data file. A red exclamation mark indicates an inconsistency. Check the feedback texts in the subsequent sections for more information:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:]][[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Channel configuration file specification.''' If the channel labels and types defined in the data file (&amp;quot;Internal data file information&amp;quot;) need to be changed, enter a file name here (&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;, &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;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;). If a channel definition file exists with the same basename as the data file, or if a channel definition file has been specified previously (database entry exists), it will be selected automatically. To the right of the file name, feedback is provided about the number of channels and channel types found. If the labels are consistent with the data file, to the right the text &amp;quot;Good&amp;quot; is shown. If they are inconsistent, e.g. the file contains the wrong number of channel definitions, the text &amp;quot;Bad&amp;quot; is shown.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Digitized head surface point specification.''' Here you may specify a file containing digitized electrode and other head surface points. Optionally, the information can be split into two files, containing the coordinates (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfp, .eps&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) and the coordinate names (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.sfn'''&amp;lt;/span&amp;gt;). Alternatively, both labels and names can be contained in the coordinate file. If the files specify electrode coordinates, there '''must''' be a coordinate name for each electrode. The sequence may be different. BESA Research will use the names to assign each coordinate to the electrodes. Additional head surface points can have any other names. It is recommended that the first three digitized coordinates are the fiducials (fiduciary points), labelled &amp;quot;FidT9&amp;quot;, &amp;quot;FidT10&amp;quot;, &amp;quot;FidNz&amp;quot;. If your electrode labels not follow the 10-10- or 10-20 standard (e.g. in high-density electrode recordings), it is recommended to tick the box &amp;quot;Electrode labels non -conforming to 10-10 standard&amp;quot;. This will prevent BESA Research from using electrodes for an optimal rotation of the coordinate system which should not be used (e.g. A1, A2 which have known locations in 10-10, but are sometimes used in a nomenclature outside of 10-10). The example below shows the sphere adaption for an example data set with and without taking this into account. The right picture shows that when discarding the non-conforming electrodes, the fiducials are correctly placed along the x any y axes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:]]&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(In the special case of Neuromag files with electrode channels, the data file contains head surface points with the wrong labels. Here you may provide a label file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) without a corresponding digitized coordinate file.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Coregistration file.''' Here you may specify a file containing the coordinates of the head center (&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;) or 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;). Head center redefinition is only necessary if you &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;want to provide an external definition, e.g. from the MRI. The ''MRI Coregistration File ''is used if the data are to be coregistered with individual MRI. (see &amp;quot;''Integration with MRI and fMRi'' &amp;quot;). '''Note''' that if a head center file (cot file) with the same base name as the data file exists, it will be read automatically if the head center coordinates deviate by more than 1 mm from the internally calculated values. Changes are ignored if the radio button is set to &amp;quot;No&amp;quot;. This automated function allows you to change the head center during a session, using BrainVoyager's view of the MRI and the Source Module.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''MEG sensor specification'''. If the file contains MEG channels, you may enter the name of a sensor coordinate file (&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;, &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;). This field is grayed if there are no MEG channels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Artifact coefficients file.''' If the data are to be artifact corrected, your pre-prepared coefficient file may be defined here. See the chapter &amp;quot;''Artifact Correction''&amp;quot;. Selecting the file here is equivalent to loading the file using the menu entry &amp;quot;''Artifact / Load''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For each of the selected files, make sure the radio button &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Yes&amp;quot;'''&amp;lt;/span&amp;gt; is selected on the left-hand side of the dialog box. If files have been selected automatically, and you do not wish them to be read, select the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''No'''&amp;lt;/span&amp;gt;&amp;quot; radio button.&lt;br /&gt;
&lt;br /&gt;
If some of the settings are incorrect or the text &amp;quot;Bad&amp;quot; is shown, you may edit the auxiliary files (the file is opened with the NotePad program) or browse for another file by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Browse'''&amp;lt;/span&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
After you have entered the required information, and the green tick at the top right indicates consistency, press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt; to continue. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Cancel'''&amp;lt;/span&amp;gt; to ignore the current settings. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear DB'''&amp;lt;/span&amp;gt; to delete the database files. Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear Events'''&amp;lt;/span&amp;gt; to delete the tag files (the part of the database that records events). Both &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Clear'''&amp;lt;/span&amp;gt; buttons close the currently-opened data file.&lt;br /&gt;
&lt;br /&gt;
== General Reading Rules for Data Files and Auxiliary Files ==&lt;br /&gt;
&lt;br /&gt;
Auxiliary files can complement the information in the data file. Here we specify what happens when a data file is opened:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1.''' If the data file has been read previously, the database entry specifies which auxiliary files should be read. The file and the specified auxiliary files are opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''2'''. If a) there is a channel definition file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.el'''&amp;lt;/span&amp;gt;''?'') with the same basename as the data file, and &lt;br /&gt;
&lt;br /&gt;
b) this file includes spherical coordinates for the EEG channels (including labels with entries in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; file), and&lt;br /&gt;
&lt;br /&gt;
c) there are no other auxiliary files with the same base name, the file will be opened and the data displayed. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data folder. If such files are not found, BESA Research will look for files with the basename “default” one folder above (e.g.&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' ..\default.ela'''&amp;lt;/span&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
'''3'''. If the data file has been written in binary format (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.foc&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;*.fsg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) by BESA Research (after Jan.2000), the file will be read, and all information is assumed to be complete. The file is opened and the data are displayed.&lt;br /&gt;
&lt;br /&gt;
'''4.''' In all other cases, the ''Channel and digitized head surface point information dialog box'' will be opened for you to specify and check auxiliary files. Auxiliary files with the same base name as the data file will be specified in the text boxes for file names. If files with the same basename are not found, BESA Research will look for files with the basename “default” (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;) in the data directory. If such files are not found, BESA Research will look for files with the basename “default” one directory above (e.g. &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;). Otherwise the text boxes will be left blank.&lt;br /&gt;
&lt;br /&gt;
'''5.''' Auxiliary files can be specified at a later time by selecting ''File/Head Surface Points'' and ''Sensors/Load'' ''Coordinate Files''. The ''Channel and digitized head surface point information dialog box'' will be opened.&lt;br /&gt;
&lt;br /&gt;
== Electrodes ==&lt;br /&gt;
&lt;br /&gt;
=== Electrode Conventions ===&lt;br /&gt;
&lt;br /&gt;
BESA Research adheres to the 10/20 and to the new 10/10 standard of the IEF (international EEG Federation). BESA Research will recognize the labels defined by these standards. The labels are stored in most EEG file headers. Otherwise, or in the case of erroneous labeling or sequencing of the recording channels, you may edit the channel labels and/or coordinates, or you may read an electrode file stored previously on disk. In addition to the 10/20 and 10/10 standard labels BESA Research recognizes the following labels: M1, M2 (left, right mastoids), SP1, SP2 (sphenoidal), CB1, CB2 (cerebellar), Chin, Neck, LO1, LO2 (lateral ocular), SO1, SO2 (supra-ocular), IO1, IO2 (infra-ocular). BESA Research will translate all the labels into spherical coordinates for spherical spline interpolation, mapping and source imaging. The following assignments are stored in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; in the BESA folder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
''Electrode labels in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd '''&amp;lt;/span&amp;gt;and their spherical coordinates. 10-20 electrodes are shown in&amp;lt;span style=&amp;quot;color:#ff0000;&amp;quot;&amp;gt; red and italic.''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates are defined in degrees by the azimuth (from Cz, positive = right, negative = left hemisphere) and the latitude (counterclockwise from T7/T3 for left and from T8/T4 for right hemisphere) of each electrode. Please do not modify the existing labels or coordinates in this file, because this would adversely affect the interpolated (virtual) montages, the maps and the source montages and source images in BESA Research. However, you may add additional labels for scalp electrodes at the end of this file if needed (up to a total of 196). When you edit the electrode configuration or read in electrode files, BESA Research may replace the 10/20 standard labels T3, T4, T5, T6 by their new 10/10 equivalents T7, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
T8, P7, P8. However, in the initialization file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini '''&amp;lt;/span&amp;gt;you can reset to the old 10/20 standard by relabeling T7=T3, P7=T5, T8=T4, P8=T6 under the heading [Electrodes]. You may use the same feature to assign appropriate labels to the X1..X8 channels which exist in many systems, e.g. X1=EKG1 etc.&lt;br /&gt;
&lt;br /&gt;
=== Recommendations for electrode placement ===&lt;br /&gt;
&lt;br /&gt;
For source montages and source analysis two principles are important:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Covering of the lower head with inferior electrodes to record activity from the inferior surfaces of the brain, especially from the basal temporal lobe, from the temporal pole, from orbito-frontal cortex, and from basal occipital and cerebellar areas.&lt;br /&gt;
# Equal spacing of the electrodes over the whole head to cover all brain areas.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the following montage EEGxx the number xx indicates the number of electrodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG25 - Minimum 10-20 configuration including inferior electrodes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This covers the 19 standard 10-20 electrodes:&lt;br /&gt;
&lt;br /&gt;
Fp1, Fp2, F7, F3, Fz, F4, F8 ....&lt;br /&gt;
&lt;br /&gt;
plus 6 inferior electrodes on both sides:&lt;br /&gt;
&lt;br /&gt;
F11, A1, P11, F12, A2, P12&lt;br /&gt;
&lt;br /&gt;
with a recommended continuation of the 20% distances, i.e. use F11 instead of F9, P11 instead of P9, A1 instead of T9 to have a wider coverage of the inferior head. A1 / A2 may be replaced by T9 / T10 (or FT9 / FT10) for convenience and comfort.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 25 electrodes. Right: left temporal basal activity mapped with 25 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG33 - Additional 10-10 electrodes within the major squares'''&lt;br /&gt;
&lt;br /&gt;
To the above electrodes add the following 8 intermediate electrodes:&lt;br /&gt;
&lt;br /&gt;
FC5, FC1, FC2, FC6, &amp;amp;nbsp;&amp;amp;nbsp;CP5, CP1, CP2, CP6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 33 electrodes. Right: left temporal basal activity mapped with 33 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG35 - Additional supraorbital electrodes for better EOG separation'''&lt;br /&gt;
&lt;br /&gt;
SO1, SO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG37 - Wider inferior coverage at interlaced 20% distances'''&lt;br /&gt;
&lt;br /&gt;
Continue 20% down from F7, FC5, CP5, P7 etc. and use the following 8 inferior electrodes instead of 6:&lt;br /&gt;
&lt;br /&gt;
F11, FT9, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, TP10, P12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG41 – Improved frontal and occipital coverage'''&lt;br /&gt;
&lt;br /&gt;
Additional electrodes halfway between Fz and Fp1 / FP2 and Pz and O1 / O2:&lt;br /&gt;
&lt;br /&gt;
AF1, AF2, &amp;amp;nbsp;&amp;amp;nbsp;PO1, PO2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG43 – Inferior chain with 5 electrodes including A1 / A2'''&lt;br /&gt;
&lt;br /&gt;
F11, FT9, A1, TP9, P11, &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;F12, FT10, A2, TP10, P12&lt;br /&gt;
&lt;br /&gt;
EEG43 represents the widest coverage with relatively even spacing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Left: recommended configuration for 43 electrodes. Right: left temporal polar activity mapped with 43 electrodes.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EEG64-256'''&lt;br /&gt;
&lt;br /&gt;
With 64 or more channel caps, it is similarly recommended to use a sufficient number of inferior electrodes all around the head. At least 4 inferior temporal electrodes on each side and additional electrodes above or below the eyes (outside of the cap) are suggested.&lt;br /&gt;
&lt;br /&gt;
=== Editing the channel configuration ===&lt;br /&gt;
&lt;br /&gt;
Only use the channel configuration editing facility if the electrodes or the common reference have not been correctly defined by your digital EEG system, or if you want to define specific spherical coordinates for your scalp electrodes. It is your responsibility to check and provide the correct sequence of electrode labels in correspondence with the sequence of channels in the EEG data file. If these sequences do not match exactly, errors will occur in the computation of maps, source images and interpolated montages.&lt;br /&gt;
&lt;br /&gt;
We will use the example EEG file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt; in the subdirectory ''Examples/EEG-Focus''&lt;br /&gt;
&lt;br /&gt;
of the BESA Research directory to explain the editing of electrode labels and coordinates:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Select ''File'', then click on ''Open'', or click on &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg '''&amp;lt;/span&amp;gt;if this file is contained in the list of currently selected EEG files.&lt;br /&gt;
# Select ''Edit'', then click ''Channel Configuration''. The dialog box shown below will appear.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the upper left of the figure you see the dropdown menu after selecting the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''File '''&amp;lt;/span&amp;gt;menu in the dialog box. This menu allows to edit a new ('''''New''''') or an existing ('''''Open''''') electrode file and to save the changes to the same ('''''Save''''') or a different ('''''Save As''''') file. Normally, it will not be necessary to use this menu. The control fields on the right will be sufficient. If you type ''''''Ok'''''', you will be given the option of saving the changes to a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;Labels'''&amp;lt;/span&amp;gt; to reread the original labels as stored in the file header of &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''eeg2.eeg'''&amp;lt;/span&amp;gt;. BESA Research quits editing and redisplays the EEG. Repeat step 2 and select &amp;quot;''Edit / Channel'' ''Configuration''&amp;quot; again. Note: The button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Reload org. Labels'''&amp;lt;/span&amp;gt; is not available if there are no labels in the file header.&lt;br /&gt;
# Click on the empty space of the scroll bar below the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''scroll '''&amp;lt;/span&amp;gt;button and on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''down arrow'''&amp;lt;/span&amp;gt; of the '''scroll bar''' to display the remaining electrodes in the file.&lt;br /&gt;
# Click on electrode '''R''' (line 32), then on the button &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Delete Electrode'''&amp;lt;/span&amp;gt; to remove the associated channel, which does not contain any signal. Note that you may not omit intermediate channels, even if they do not exhibit signals, because the correct correspondence between the series of electrodes and the EEG channels will not be maintained. Use the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;quot;Edit / Bad Channels&amp;quot;'''&amp;lt;/span&amp;gt; menu to disable artifactual or empty channels.&lt;br /&gt;
# Click on''' EOG''' (line 30) and change the entry to '''EOG1'''. Do not type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt;,'''&amp;lt;/span&amp;gt; but click on the next or a different electrode box to accept the changes.&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;'''Double click''' on '''EOG '''(line 31). This will highlight the entry. Simply type the new name '''EOG2''', and note that the old label is replaced when highlighted. Electrodes '''30 '''and '''31 '''are now defined as distinct electrodes. Next, we want to replace the label '''T10 '''by '''A2'''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Click on the label '''T10''' (line 24). Then click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''drop down'''&amp;lt;/span&amp;gt; arrow right of the highlighted label to obtain the list of default scalp electrodes (read from &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; and sorted alphabetically). Type '''A''' to jump to the electrodes beginning with letter A (see below). Type '''2''' or '''click''' on '''A2''' in the list. Click on the '''type '''box (Scalp channel) to close the list and display the new entry in line 24. Note that this is the most convenient way to edit an electrode label.&amp;lt;/div&amp;gt;&lt;br /&gt;
# [[Image:]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Exercise: repeat step 8 to replace '''T9''' by '''A1'''. Restore labels '''T10''' and '''T9''' in lines 24 and 21.&lt;br /&gt;
# Replace SO1 and SO2 (supra-orbital) by '''PSO1 '''and '''PSO2 '''and note that these electrodes are changed to the''' 'Polygraphy'''' type, because no coordinates are associated with these labels.&lt;br /&gt;
# After you click &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''''OK''''&amp;lt;/span&amp;gt;, the box '''Write Channel Configuration File''' will appear and display a name for the current electrode file. By default, the BESA electrode file path and current file name will be used and supplemented by the extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''.elb''''&amp;lt;/span&amp;gt;. The electrode file path may be set in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file [Defaults] section under ElectrodeFilePath. If no electrode file path is specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''BESA.ini'''&amp;lt;/span&amp;gt; file, the default electrode file path ''Montages\Channels ''is used. Simply click '&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;' or type &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''&amp;lt;Enter&amp;gt; '''&amp;lt;/span&amp;gt;to save the changes to this file, or select a new file name and/or path, if you do not want to store the electrode file in the BESA Research electrode file directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that by using the default 10/10 labels (see chapter &amp;quot;''Electrode conventions''&amp;quot;) you specify that the associated electrode is a scalp electrode. Hence, different labels must be used for polygraphic, intracranial or MEG channels. After you have entered a new non-scalp label, you may select the type of the electrode/channel amongst the different groups ('''Polygraphy, Intracranial, MEG Channel''') from the drop down list in the ''''''Type'''''' box. This will allow for using separate selection and scaling facilities of the channel group control push-buttons at the right of the screen ('''All, Scp, Pgr, Icr, MEG'''). If you have entered a new non-scalp label and select the type '''Scalp Channel''', or if you click on the ''''Advanced&amp;gt;&amp;gt;'''' field, boxes will appear to enter the spherical coordinates (azimuth and latitude) of this electrode (cf. Fig. 6.5). These features may be used to specify non-standard scalp electrodes. Please check the earlier sections of this chapter for electrode conventions. You may view the locations of the scalp electrodes on the head schemes in the mapping window. Select '''Show Electrodes in Maps''' in the &amp;quot;&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''View / Options'''&amp;lt;/span&amp;gt;&amp;quot; menu.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:|top]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you want to specify the spherical coordinates of an electrode which is close to a standard electrode, click on the ''''Advanced &amp;gt;&amp;gt;'''' field, enter the label of the standard electrode and append a single quotation mark. This will specify that the electrode is close to the labeled location but has different coordinates. The ''Scalp Channel'' type will not be replaced by '''Polygraphy.''' Then edit '''Azimuth''' and '''Latitude'''. This convention is used by BESA Research when reading electrode coordinate files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''(*.elp'''&amp;lt;/span&amp;gt;), e.g. from the BESA program. The coordinates are read and compared with the default coordinates to assign the closest label. Then a single quotation mark is appended to the label, and the coordinates are assigned as specified in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.elp'''&amp;lt;/span&amp;gt; file. For example, open &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.eeg'''&amp;lt;/span&amp;gt; in the ''Examples\EEG-Focus'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Note that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''segm1.elp '''&amp;lt;/span&amp;gt;is searched for automatically in the directory of the data file when opening the data file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Edit Common Scalp Reference'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is a separate line at the bottom in the ''Channel Configuration dialog box'' to enter the label and coordinates of the '''Common Scalp Reference electrode'''. If this is specified and enabled (click on field '''Enabled'''), the information provided by the fact that all scalp electrodes were recorded against a common recording reference will be used for mapping, source imaging and virtual montages. This information will be lost if the common reference has not been specified or if a combination of electrodes has been used as reference during recording. Specify the '''Common Scalp Reference electrode''' only if all electrodes have been referenced to the same single electrode and if a standard 10/10 location has been used for the common recording reference.&lt;br /&gt;
&lt;br /&gt;
'''Note that BESA Research cannot process digital EEG data correctly if there is no common recording reference''', and if different recording references were used for the various scalp electrodes. For intracranial and polygraphic channels different references may be used. It is preferable to use the common reference also for electrode channels near the eyes, because these electrodes provide valuable information for mapping, source imaging and interpolated montages. The traditional bipolar channels (e.g. horizontal and vertical '''EOG''') may be '''reconstructed digitally''' using ''the 'Selected Channels''' group or user-defined montages.&lt;br /&gt;
&lt;br /&gt;
== 3D Coordinates for Precise Analysis ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction - Working with Digitized 3D Coordinates ===&lt;br /&gt;
&lt;br /&gt;
Working with digitized electrode coordinates usually requires reading in additional (auxiliary) files. The procedure is described in the chapter &amp;quot;''Working with auxiliary files''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for EEG ===&lt;br /&gt;
&lt;br /&gt;
This section explains which additional files are read, or which files have to be read in order to provide the necessary information for mapping and source montages.&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.xxx'''&amp;lt;/span&amp;gt;. datafile is the base name, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.xxx'''&amp;lt;/span&amp;gt; is the extension. Replace the text ''datafile'' by the base name of your own file, and the extension&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;'' xxx''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt; by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel definitions for EEG:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have 10-10 names: default locations will be used.&lt;br /&gt;
&lt;br /&gt;
Labels do not have 10-10 names: Channels are interpreted as '''polygraphic'''. Mapping is not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename d''efault ''one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The ''ela'' file contains just labels and, optionally, types. The ''elp'' file contains spherical coordinates and can contain labels and types. The ''elb'' file contains the same information in binary format. See chapter &amp;quot;''Working with additional files / Channel Definition File Conventions''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define order in which electrodes were digitized.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file. These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them (so that it can define the head coordinate system). See chapter ''&amp;quot;Working with additional files / sfn (surface point name) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define electrode coordinates.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file default.sfp one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. If fiducials exist, they should be defined on the first three lines. If they do not exist, BESA Research will simulate them. See chapter &amp;quot;''Working with additional files / sfp (surface point coordinate) file''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh '''&amp;lt;/span&amp;gt;one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration between EEG and MRI. See online help chapter &amp;quot;''Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Data reading rules for MEG ===&lt;br /&gt;
&lt;br /&gt;
Assume file name is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''''datafile.xxx''''&amp;lt;/span&amp;gt;. '''datafile''' is the base name. '''xxx''' is the extension. Replace the text '''datafile''' by the base name of your own file, and the extension '''xxx''' by the extension of your own file.&lt;br /&gt;
&lt;br /&gt;
Here we consider cases a) MEG alone, b) MEG+EEG.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Automatic procedure:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Labels have names defined in the files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;. Channels are interpreted as MEG. However, sensor locations and head surface point locations must be defined in additional files as described below. Mapping and source analysis are not possible without one or more of the following additional files.&lt;br /&gt;
&lt;br /&gt;
'''Define channel names and types.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.elb'''&amp;lt;/span&amp;gt; exist, or files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.ela'''&amp;lt;/span&amp;gt;, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elp'''&amp;lt;/span&amp;gt;, or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.elb'''&amp;lt;/span&amp;gt; exist (i.e. files with basename'' default'' one folder above the data file): Channel names and types will be replaced by those defined in this file, in order of occurrence. The'' ela''&amp;amp;nbsp;file contains just labels and (optionally) channel types. The ''elp'' file contains spherical coordinates and can contain labels and types. The'' elb'' file contains the equivalent information in binary format. See chapter “''Electrode file conventions'' ''and formats.”''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define order in which electrodes were digitized. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfn'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfn'''&amp;lt;/span&amp;gt; one folder above the data file): electrode names are supplied in the order in which coordinates were supplied in the ''sfp'' file (or in the location descriptor in the data file: e.g. Neuromag). These names must match with the names supplied in the data file or defined in the ''ela/elp/elb'' file. BESA Research uses this to sort coordinates into the order of channels in the file. See chapter “''Working with additional files/ sfn (surface point name) file”.''&lt;br /&gt;
&lt;br /&gt;
'''MEG+EEG.''' Define head surface point/electrode coordinates. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfp'''&amp;lt;/span&amp;gt;'' ''exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfp'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfp'''&amp;lt;/span&amp;gt; one folder above the data file): electrode coordinates will be replaced/defined by the coordinates defined in this file. If &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfn'''&amp;lt;/span&amp;gt; does not exist, labels can also be defined in this file. See chapter “''Working with additional files/ sfp (surface point'' ''coordinate) file''”. The labels of electrode coordinates '''must '''match to those defined for the data channels. BESA Research will use the labels to associate coordinates with the correct channel.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates'''. File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pos'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.pmg'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.pos(.pmg)'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.pos(.pmg)'''&amp;lt;/span&amp;gt; one folder above the data file): coordinates are defined in this file. The convention is that'' pos'' files contain gradiometer coordinates and'' pmg'' files contain magnetometer coordinates. This is not necessary for the program to read in values properly: the program makes its decision about the sensor type on the basis of the number of coordinate values&lt;br /&gt;
&lt;br /&gt;
on one line in the file (6 = magnetometers, 9 = gradiometers). See chapter “''Working with additional files/ pos or pmg (MEG sensor coordinate) file”.''&lt;br /&gt;
&lt;br /&gt;
'''Define coregistration information.''' File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.sfh'''&amp;lt;/span&amp;gt; exists, or file&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;''' default.sfh&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.sfh'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.sfh'''&amp;lt;/span&amp;gt; one folder above the data file): head center and relative position of the unit sphere with respect to the head coordinate system is determined by the coregistration of the head coordinates with MRI. See (online) help chapter ''&amp;quot;Integration with MRI and fMRI&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
'''Define head center.''' No coregistration file exists (&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;, see above). File &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''datafile.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot'''&amp;lt;/span&amp;gt; exists, or file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''..\default.cot'''&amp;lt;/span&amp;gt; exists (i.e. file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.cot&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt; '''&amp;lt;/span&amp;gt;one folder above the data file): head center as computed by fitting a sphere to the surface points is replaced by the head center coordinates contained in this file. See chapter ''&amp;quot;Working with additional files / cot (Head center) file&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
=== Reading MEG files in ASCII format ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''BESA Research uses labeling or channel type definitions to decide whether channels are EEG or MEG. '''Based on the labels defined for the channels, or the type specified by the channel definition file, the program will try to find auxiliary files that define electrode coordinates or MEG sensors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research uses four files to make its decision:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela/.elp'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;The channel type defined here overrides definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.ecd&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; (below).&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines electrode labels and default spherical coordinates based on the 10-20 and 10-10 naming system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the BTi whole-head system&amp;lt;/div&amp;gt;&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd'''&amp;lt;/span&amp;gt;&amp;amp;nbsp;defines labels and default spherical coordinates for the Neuromag whole-head system&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the program finds a label in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;, the channel will automatically be defined as EEG. If not, if it finds a label in one of the other files, the channel will be defined as MEG. If it doesn't find the label anywhere, the channel will be defined as Polygraphic.&lt;br /&gt;
&lt;br /&gt;
The spherical coordinates defined in these files are sufficient for mapping the data. Auxiliary files defining the real sensor coordinates are required for source analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Defining default label and coordinate file for a new MEG system'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When preparing an MEG from a system other than BTi-WHS or Neuromag for import to BESA Research, you should edit either &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''bti.ecd'''&amp;lt;/span&amp;gt; or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''nmag.ecd '''&amp;lt;/span&amp;gt;to conform with your system. If sensor files (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.pos/*.pmg&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) are always available for your files, the coordinates in the ''ecd ''files are irrelevant: all you need do is define the labels for your own MEG system or use the labels as already defined.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Files to prepare for reading in each data file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each auxiliary file should have the same base name as your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define channel labels.''' There are several possibilities:* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;Generate your data file according to the BESA'' avr'' ''format or the ASCII multiplexed format.'' Labels are listed in the second line of the file.&amp;lt;/div&amp;gt;&lt;br /&gt;
* Generate a ''label file'' (extension &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''.ela'''&amp;lt;/span&amp;gt;) with one MEG channel label per line (matching with your ''ecd ''file as defined above) or with the type &amp;quot;MEG&amp;quot; and a label for each line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Label definitions are also possible using ''elp'' or ''elb'' files, but the above two solutions are recommended because they are the simplest.&lt;br /&gt;
&lt;br /&gt;
'''Define sensor coordinates.''' Generate a ''pos'' or ''pmg'' file. Make sure that the number of sensors matches with the number of MEG channel definitions in your data file.&lt;br /&gt;
&lt;br /&gt;
'''Define fiducials and other head surface points.''' Generate an ''sfp'' file. The first three lines define the fiducials. Subsequent lines define additional surface points.&lt;br /&gt;
&lt;br /&gt;
'''Define coordinates of the center of the head.''' Generate a ''cot'' file. If this file is absent, BESA Research generates the coordinates by fitting a sphere to the head surface points.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that all coordinates should be within the same frame of reference, i.e. the same coordinate system. Units must be in meters, centimeters, or millimeters.&lt;br /&gt;
&lt;br /&gt;
== Example: Defining Channel Labels ==&lt;br /&gt;
&lt;br /&gt;
The files described in these examples can be found in the ''.\Examples\Xtras\EEG+Channel''&lt;br /&gt;
&lt;br /&gt;
''Labels'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The simplest way to define electrode coordinates is to use BESA Research’s default settings (defined in the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;). In this case, you only need to provide a list of channel labels. If a channel label is defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; (i.e. if the labels belong to the 10-20 or 10-10 system), BESA Research will recognize the channel as EEG, and will allocate 3D coordinates.&lt;br /&gt;
&lt;br /&gt;
Labels are not always supplied correctly in the data file. You can override the internal labels in several ways:* Read the data file, and then use &amp;quot;''Edit / Channel Configuration''&amp;quot; to redefine the channels. The configuration is stored in a file with the name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elb'''&amp;lt;/span&amp;gt; (for binary data) or &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''basename.elp'''&amp;lt;/span&amp;gt; (for ASCII data), where basename is the base name (name without the extension) of your data file.&lt;br /&gt;
* Prepare a label file (with the extension ''ela'') containing a list of labels. This can also specify channel types (e.g. EEG, Polygraphic, Intracranial, MEG).&lt;br /&gt;
* Prepare a file (with the extension ''elp'') containing spherical coordinates of the channels. This is the method used with the previous version of BESA Research. If the file doesn’t contain labels, labels are allocated based on their proximity to the 10-20 or 10-10 definitions in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate the above three methods. The input files are all in ''BESA avr format, ''although these examples apply to all EEG data formats in which only EEG channels exist.&lt;br /&gt;
&lt;br /&gt;
If the data file contains polygraphic or other types of non-EEG channel, the types need to be defined. See the ''EEG+Polygraphic channels example.'' MEG is a special case, because the sensor coordinates need to be defined. See the ''MEG ASCII and the MEG+EEG'' ''examples''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing wrong labels – use ''Edit/Channel Configuration ''to redefine labels'''* The'' avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.avr'''&amp;lt;/span&amp;gt;, contains the EEG labels. Channels 4 and 14 have been mislabeled – the labels need to be swapped.&lt;br /&gt;
* Open the file with '''''File/Open''''' (Select file type ''BESA avr''. Find the correct directory ''Xtras\EEG+Channel Labels'').&lt;br /&gt;
* The file should open correctly, displaying 32 channels of EEG.&lt;br /&gt;
* The channel coordinates can be viewed by typing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’ '''&amp;lt;/span&amp;gt;key (make sure the cursor is off). There will be a 3D display of the electrodes. Clicking on an electrode will display the label and the coordinates.&lt;br /&gt;
* In this file, channels 4 and 14 have been mislabeled as P3 and F3. In fact, the labels should be the other way around. We will now correct this:&lt;br /&gt;
* Select '''''Edit / Channel Configuration'''''.&lt;br /&gt;
* Type ‘F3’ into the label for channel 4, and ‘P3’ into the label for channel 14. Then type ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’. The new channel configuration will be saved in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* In the data display, the labels of channels 4 and 14 will now be displayed correctly.&lt;br /&gt;
* Close the file ('''''File/Close''''') and open it again. Note that the labels are still correct. This is because the new channel configuration file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithLabels.elp'''&amp;lt;/span&amp;gt;, is read automatically.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file with no labels – channel labels in auxiliary file'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* EEG labels are defined in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithoutLabels.ela'''&amp;lt;/span&amp;gt;. This is read automatically when the file is opened.&lt;br /&gt;
* In this example, labels are correct. Each label in the ''ela'' file is on one line:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. EEG file with no labels – channel labels derived from spherical coordinates'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.avr'''&amp;lt;/span&amp;gt;, has no labels.&lt;br /&gt;
* Spherical coordinates are defined in the ''elp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGwithSphericalCoords.elp'''&amp;lt;/span&amp;gt;. This contains spherical coordinates (theta and phi) and no labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-93 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''92 74''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-97 -40''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-61 -49''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-46 -88''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''62 51''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''…''&amp;lt;/div&amp;gt;* When the data file is opened, the ''elp'' file is read automatically, and BESA Research uses the tables in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''default.ecd'''&amp;lt;/span&amp;gt; to assign channel labels. To indicate that it has assigned user defined coordinates and matched with the closest standard electrode, BESA appends an apostrophe (‘) to each label:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz’''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''...''&amp;lt;/div&amp;gt;* We advise to assign specific labels as well as spherical coordinates if you want to use your own spherical coordinate system, e.g.:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FP1u -90 -72''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 4. EEG file with no labels – channel labels not in basename.el?'''* &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;gt;The ''avr ''file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.avr'''&amp;lt;/span&amp;gt;, has no corresponding ''ela, elp'', or ''elb'' file, i.e. no file with the same base name and the ''el?'' extension.&amp;lt;/div&amp;gt;&lt;br /&gt;
* When you open the file, BESA Research will ask for a channel configuration file. The ''File Open'' ''dialog ''will select the ''directory .\Montages\Channels''. The idea is that standard (= frequently used) electrode configurations should be kept in this directory.&lt;br /&gt;
* Select the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* Close the data file and reopen it. The file will open with the correct labels. In the BESA window title you will see that the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGnoLabelsNoElaFile.elp'''&amp;lt;/span&amp;gt; has been read automatically. This file was created when &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''XtrasExample.ela'''&amp;lt;/span&amp;gt; was read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Mixed EEG and Polygraphic Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Polygraphic'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
The data are in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.avr'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The third channel is defined as polygraphic in the &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEG+Polygraphic.ela '''&amp;lt;/span&amp;gt;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''POLY Test''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The prefix &amp;quot;''POLY''&amp;quot; specifies that the channel is polygraphic. Most other channels are interpreted as EEG because the labels are known in the 10-20 system.&lt;br /&gt;
&lt;br /&gt;
Similarly, channel 31 is defined as intercranial, using the prefix &amp;quot;''ICR''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note that you can also define channels as EEG by specifying the ''&amp;quot;EEG&amp;quot; ''prefix (e.g. ''&amp;quot;EEG E1&amp;quot;. ''This is useful if there are many more channels than are defined in the 10-10 or 10-20 systems, and if the channel coordinates are defined.&lt;br /&gt;
&lt;br /&gt;
== Example: EEG with Digitized Coordinates ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the .''\Examples\Xtras\ EEG+Digitization Points ''subdirectory.&lt;br /&gt;
&lt;br /&gt;
In the previous examples, we have illustrated how to assign labels to channels using channel definition files. In those examples, only spherical coordinates were defined. Here we will show how to read digitized surface points into BESA Research, using the surface point (''sfp'') coordinate file and the surface point name (''sfn'') file.&lt;br /&gt;
&lt;br /&gt;
The principles of defining digitization coordinate files are:* The labels in the ''sfp/sfn'' file combination are used to assign coordinates to electrodes. Thus, if a coordinate has the name ‘''Fz''’ it will be assigned to the channel with the label ‘''Fz''’.&lt;br /&gt;
* In consequence, digitization of surface points can be in a different order to the sequence of channels in the data file. Matching to channels is done by comparing the labels.&lt;br /&gt;
* We recommend that the fiducial points, '''nasion, left preauricular point, right preauricular point''' be digitized. If you do not digitize them, BESA Research will simulate these locations (see ''“Example: Digitization points with and without Fiducials”''). Fiducial points, labeled '''FidNz, FidT9, FidT10''' should be the first three coordinates in the ''sfp'' file.&lt;br /&gt;
* As with the channel definition files, it is easiest for BESA Research if you name the ''sfp/sfn'' files using the base name of the data file, e.g. if the data file is named &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.avr'''&amp;lt;/span&amp;gt;, name the'' sfp'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfp'''&amp;lt;/span&amp;gt; and the ''sfn'' file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''doodah.sfn'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* You specify the files to be read in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See ''“Example: Polhemus Digitizer Data” ''for a discussion of how to format the files originating from Polhemus and other digitizers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. EEG file containing labels, ''sfp'' file containing coordinates, ''sfn ''file containing coordinate names'''* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains the channel labels. Therefore, we don’t need a channel definition file.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels in the file do not correspond to the electrode labels in the ''avr ''file.&lt;br /&gt;
* The ''sfn'' file contains the corrected labels (1 line for each corresponding line in the'' sfp'' file). Now it is possible to match up electrode labels with the labels in the ''avr ''file.&lt;br /&gt;
* Open the data file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized1.avr'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically.&lt;br /&gt;
* Note the green tick mark at the top right of the dialog box. This is feedback to say that coordinates of all 32 electrodes have been found.&lt;br /&gt;
* Look at the entry ‘''Digitized head surface points’''. Here you will see that the ''sfp'' and the ''sfn ''files have been read automatically (because of the common base name). There are 51 locations. Note that the digitizer file can contain many more locations than the electrodes. BESA Research uses the locations for fitting the sphere of the spherical head model in source analysis. BESA Research can export these locations for coregistration with the MRI.&lt;br /&gt;
* Define the electrode thickness as 6 mm (at the right of the ‘''Digitized head surface points’'' box. This is the distance of the digitized point on the electrode to the surface of the head.&lt;br /&gt;
* Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; in the dialog box and view the coordinates by pressing the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. EEG file without labels, channel labels in ''ela'' file, surface point coordinates and names in ''sfp'' file'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The ''avr'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.avr'''&amp;lt;/span&amp;gt;, has no channel label. Therefore, a label file is required. Here, the label file is &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.ela'''&amp;lt;/span&amp;gt;.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''EEGdigitized2.sfp'''&amp;lt;/span&amp;gt;, contains digitized coordinates of electrodes and of additional surface points. The labels are defined correctly in the ''sfp ''file, i.e. for every EEG channel label there is a corresponding coordinate. Therefore, no ''sfn'' file is required.&lt;br /&gt;
* When you open the file, don’t forget to define the electrode thickness as 6 mm in the ''Channel and digitized head surface point information dialog box.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Polhemus Digitizer Data ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ EEG+Digitization Points'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
Data from the Polhemus (other digitizers too) may often not fit the format BESA Research requires for the surface point file. Note that Polhemus data can be exported directly into BESA-compatible ''sfp''-files using the LOCATOR software.&lt;br /&gt;
&lt;br /&gt;
BESA Research requires either* just the cartesian coordinates (x, y, z) values -- one set of coordinates per line. In this case, labels must be defined in a parallel surface point name file, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* the cartesian coordinates plus a label. The label can be in front of or behind the coordinates on the line, e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''0.5&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68 &amp;amp;nbsp;Fz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;or&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;''Fz &amp;amp;nbsp;0.5 &amp;amp;nbsp;3.75 &amp;amp;nbsp;12.68'' &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is an example of a few lines of a (''sfp'') file that are not read correctly by BESA Research:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Nz&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;87.721&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T9 &amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''T10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''1 &amp;amp;nbsp;-34.192 &amp;amp;nbsp;103.374&amp;amp;nbsp;&amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''2&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048 &amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''3&amp;amp;nbsp;&amp;amp;nbsp;-81.179&amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''4 &amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What is wrong?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* First, some of the points are just numbered. These numbers don't tell BESA Research which electrode channel to which the coordinates should be assigned – assignments should be via channel labels and not numbers.&lt;br /&gt;
* Second, Nz, T9, T10 define the fiducials. Instead, the labels FidNz, FidT9, FidT10 are required (prefix &amp;quot;Fid&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What should be done? Probably the best way is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;a) keep only the coordinates in the &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;file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''0&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-79.131 &amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''67.253 &amp;amp;nbsp;0 &amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-81.179 &amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''-60.701&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
b) prepare a surface point name file (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.sfn&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt;) containing the corresponding labels:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Keeping labels and coordinates separate means that the label file needs generating only once. The coordinate file is different for each subject.&lt;br /&gt;
&lt;br /&gt;
Alternatively, if your digitizer program attaches the labels correctly to the coordinates, then you can prepare the ''sfp'' file like this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidNz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;87.721 &amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT9&amp;amp;nbsp;&amp;amp;nbsp;-79.131&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''FidT10&amp;amp;nbsp;&amp;amp;nbsp;67.253&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp1&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-34.192&amp;amp;nbsp;&amp;amp;nbsp;103.374 &amp;amp;nbsp;31.868''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''Fp2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;23.642&amp;amp;nbsp;&amp;amp;nbsp;103.048&amp;amp;nbsp;&amp;amp;nbsp;30.351''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F7&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-81.179 &amp;amp;nbsp;&amp;amp;nbsp;62.913&amp;amp;nbsp;&amp;amp;nbsp;27.596''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;''F3&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;-60.701&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;79.631&amp;amp;nbsp;&amp;amp;nbsp;78.273''&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example: Digitization points with and without Fiducials ==&lt;br /&gt;
&lt;br /&gt;
We recommend that if electrodes are digitized, you should also digitize the three fiduciary points:''' Nasion''', '''and left and right preauricular points'''. We refer to these points as &amp;quot;fiducials&amp;quot;. We name them '''&amp;quot;FidNz&amp;quot;,''' '''&amp;quot;FidT9&amp;quot;,''' and '''&amp;quot;FidT10&amp;quot;.'''&lt;br /&gt;
&lt;br /&gt;
If you do not digitize these points, BESA Research will simulate them, i.e. it will generate the points where it expects them to be, based on the fit of a sphere to the existing points, and on the names of surface points of known locations. &amp;quot;Known locations&amp;quot; means: the surface point name must be a 10-20 or 10-10 electrode name (e.g. &amp;quot;Cz&amp;quot; -- arbitrary labels, such as &amp;quot;E10&amp;quot; is not a known location). Therefore, BESA Research requires that at least 3 surface points with known labels are defined.&lt;br /&gt;
&lt;br /&gt;
In a file containing digitization points (&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;), the fiducials should be the first three sets of coordinates, i.e. the first three lines of the file. The remaining coordinates in the file can be electrode (or other surface point) coordinates, in any order. The assignment of electrode coordinates to data channels is achieved by matching the coordinate labels to data channel labels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Consequences of omitting fiducials'''&lt;br /&gt;
&lt;br /&gt;
When these files have been read into BESA Research, look at the head surface points in 3D using ''File/Head Surface Points'' ''and Sensors/View'' (or use the shortcut &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt;). You will see small differences in fiducial locations between the real and the simulated locations. You can expect very slight influences on the results of source modeling (the spherical head may be rotated slightly, although the head center and&lt;br /&gt;
&lt;br /&gt;
radius will be identical), and output of source locations in head coordinates will be different, because these coordinates are based on fiducial locations (see chapter ''“Working with Electrodes and Surface'' ''Locations/ Coordinate systems''”).&lt;br /&gt;
&lt;br /&gt;
== Example: ASCII Import ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''.\Examples\Xtras\ASCII Import'' subdirectory.&lt;br /&gt;
&lt;br /&gt;
When should the Import ASCII function be used? If you have data in BESA Research average referenced or multiplexed format, use the Open File function to read in a file directly. If you have data in a different ASCII format, BESA Research offers a flexible import function to import data from an array of numbers in an ASCII file.&lt;br /&gt;
&lt;br /&gt;
The array can be '''vectorized '''(one channel, all time points, per line) or '''multiplexed''' (one time point, all channels, per line). These alternatives are illustrated in the two example files &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and in the tables below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Vectorized array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed array:'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-spacing:0;width:12.993cm;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 1 ''&lt;br /&gt;
|| ''channel 2, time 1''&lt;br /&gt;
|| ''channel 3, time 1''&lt;br /&gt;
|| ''channel 4, time 1''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 2''&lt;br /&gt;
|| ''channel 2, time 2''&lt;br /&gt;
|| ''channel 3, time 2''&lt;br /&gt;
|| ''channel 4, time 2''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 3''&lt;br /&gt;
|| ''channel 2, time 3''&lt;br /&gt;
|| ''channel 3, time 3''&lt;br /&gt;
|| ''channel 4, time 3''&lt;br /&gt;
|- style=&amp;quot;border:0.5pt solid #00000a;padding-top:0cm;padding-bottom:0cm;padding-left:0.199cm;padding-right:0.191cm;&amp;quot;&lt;br /&gt;
|| ''channel 1, time 4''&lt;br /&gt;
|| ''channel 2, time 4''&lt;br /&gt;
|| ''channel 3, time 4''&lt;br /&gt;
|| ''channel 4, time 4''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BESA Research needs channel labels. If the labels are in the 10-20 or 10-10 system, BESA Research will assign the channels default coordinates. This is the minimum requirement to be able to map EEG.&lt;br /&gt;
&lt;br /&gt;
If you have 3D digitized coordinates, these can also be specified in ASCII files. This is described under the chapter “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. Vectorized data'''* The file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.asc'''&amp;lt;/span&amp;gt; contains the data. The file should be imported via ''File/Import ASCII File''.&lt;br /&gt;
* First you will be asked for a name for the binary target file. The name &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.fsg'''&amp;lt;/span&amp;gt; is suggested. You may accept this name by pressing &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; or choose an alternative name. Note that if the file already exists, the imported data will be appended to the file.&lt;br /&gt;
* Next, the ''ASCII File Properties dialog box'' will open. First select ''‘Vectorized’'', and make sure the subsequent entries are correct:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Header Lines = 0 (i.e. in this example the numbers start on the first line)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Bins/Microvolt = 1.0 (i.e. a value 1 in the data represents 1 µV)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:2.54cm;margin-right:0cm;&amp;quot;&amp;gt;Sampling Rate = 320 Hz (When the dialog box is opened, BESA Research always chooses the setting it used previously)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of channels = 32 (the number of rows in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Number of Samples = 640 (the number of columns in the matrix)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;Prestimulus Time = 1000 ms (defines the zero time point 1 s after the beginning)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;Press &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; to accept the settings.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Next, the ''Channel and digitized head surface point information dialog box'' will open. In the ''‘Channel configuration’'' box, the label file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, will be detected automatically. Automatic detection occurs when the label file has the same base name as the data file (in this case, vectorized). To the right of the file name is a summary of channel types: 32 channels found, 30 are EEG, 1 is intercranial, 1 is polygraphic.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note the green tick at the top left of the dialog box. This indicates that BESA Research thinks that it has sufficient information to read the file, and map and do source analysis on the data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* To see how channel types are specified in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''vectorized.ela'''&amp;lt;/span&amp;gt;, click on the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''Edit '''&amp;lt;/span&amp;gt;button to view the file with the Notepad program. Here you will see that most channels have 10-20 electrode names. Channel 3 has the prefix ‘''POLY''’, specifying that this channel is polygraphic. Channel 31 has the prefix ‘''ICR''’, specifying that this channel is intercranial. Close Notepad, and click ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK'''&amp;lt;/span&amp;gt;’ in the dialog box.&lt;br /&gt;
* A final dialog box asks for a Segment Comment. This is a label that will be displayed in the resulting file. The label is particularly useful if you import several ASCII files into one target file. Each segment is then easily identified by its own label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. Multiplexed data'''* This example is similar to Example 1. In this case, import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''multiplexed.asc'''&amp;lt;/span&amp;gt;, and select ‘Multiplexed’ in the ''ASCII File Properties dialog box''. Other settings in the dialog box stay as they were.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes'''# The numbers in the source files can be split into several lines per channel or per time point. Then you will have to enter the correct number of time points and channels in the dialog box. In the present examples, the lines are not split (the vectorized file has all 640 time points in each line, and the multiplexed file has all 32 channels in each line). In this case, BESA Research selects the correct numbers of time points and channels automatically.&lt;br /&gt;
# If you have digitized coordinates, these can be specified in the Channel and digitized head surface point information dialog box. Since the procedure is the same as when reading data, this is described elsewhere under “''Example: EEG with Digitized Coordinates''”.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: MEG ASCII ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the'' \Examples\Xtras\ MEG ASCII'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Multiplexed MEG ASCII file with labels in the header (&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#00000a;&amp;quot;&amp;gt;''med.mul''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For reading MEG data, BESA Research expects* Correct channel definitions, i.e. channels should be defined as MEG.&lt;br /&gt;
* Head surface points.&lt;br /&gt;
* Sensor coordinates, in '''the same coordinate system''' as the head surface points.&lt;br /&gt;
* Optionally, you can define the coordinates of the center of the head. This will be important if too few head surface points are available to specify where to place the spherical head used by BESA Research for source modeling, or if you want to use some external definition, e.g. from the MRI.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As with digitized EEG coordinates, we use the ''Channel and digitized head surface point information'' ''dialog box'' to specify the files which need to be read.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 1. File Open'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.mul'''&amp;lt;/span&amp;gt;, contains MEG data in the ASCII multiplexed format. This format contains channel labels. The labels used are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* The ''sfp'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt;, defines fiducials and head surface points. Coordinate labels are included in the file, so no'' sfn'' file is required.&lt;br /&gt;
* The cot file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.cot'''&amp;lt;/span&amp;gt;, defines the coordinates of the head center. If this were missing, BESA Research would compute the head center based on the sphere that best fits the head surface points.&lt;br /&gt;
* The ''pos'' file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt;, defines the coordinates of the 122 sensors. For the Neuromag system there are 9 values per line, defining primary coil location, secondary coil location, and orientation cosines. The sequence of coordinates in the ''pos'' file '''must''' match the sequence of MEG channels! The file format and locations of the primary and secondary coils allow BESA Research to identify the sensor type as planar gradiometers. If the file had only six values per line, BESA Research would classify the sensors as magnetometers (one primary coil and the orientation cosines).&lt;br /&gt;
* Open the file, selecting current file type as ''‘*,m''??’. The ''Channel and digitized head surface point'' ''information dialog box'' will open, displaying the different auxiliary file names. The green tick indicates that BESA Research finds everything to be OK.&lt;br /&gt;
* Press the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘OK’'''&amp;lt;/span&amp;gt; button and then the&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;''' ‘V’ '''&amp;lt;/span&amp;gt;key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 2. File Import'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIimport.asc'''&amp;lt;/span&amp;gt;, contains MEG data in a multiplexed array, without a header. This needs to be imported using ''File/Import ASCII'' (see ''“Example: ASCII Import”).''&lt;br /&gt;
* On import you have to specify the file as ‘Multiplexed’, the number of time points (285), the number of channels (132), the bins/µV (or bins/fT) (=1), the time at which the stimulus occurred (50 ms), and the sampling rate (949.667 Hz).&lt;br /&gt;
* This format contains no channel labels. The labels in &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''ME&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;GASCIIimport.ela'''&amp;lt;/span&amp;gt; are recognized by BESA Research as originating from the Neuromag system. They are therefore identified as MEG and do not need further identification.&lt;br /&gt;
* Since it recognizes the channels as MEG, the ''Channel and digitized head surface point information dialog box'' will open, displaying the different auxiliary file names as before. Since all necessary files with the same base name as the data file are supplied, they are read automatically.&lt;br /&gt;
* Press the ‘&amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''OK’'''&amp;lt;/span&amp;gt; button, enter a segment name, and then the &amp;lt;span style=&amp;quot;color:#3366ff;&amp;quot;&amp;gt;'''‘V’'''&amp;lt;/span&amp;gt; key to view the coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Example 3. File Open -- MEG information recorded elsewhere'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This example illustrates the case where the auxiliary files have a different base name from the data file: you must select the file name in the ''Channel and digitized head surface point information dialog box''.* Open the file, &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCIIelsewhere.mul'''&amp;lt;/span&amp;gt;. It is read as an MEG magnetometer file.&lt;br /&gt;
* In the ''Channel and digitized head surface point information dialog box'', specify&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.sfp'''&amp;lt;/span&amp;gt; for the head surface points, and&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.27cm;margin-right:0cm;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEGASCII.pos'''&amp;lt;/span&amp;gt; for the MEG sensors&amp;lt;/div&amp;gt;* MEG coordinates will be correct. The sensor definition file specifies the sensors as planar gradiometers.&lt;br /&gt;
* Where the auxiliary files came from will be recorded in the database. If you open the file again, the auxiliary files will be found automatically, without asking any questions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example: Reading combined EEG and MEG from an ASCII file ==&lt;br /&gt;
&lt;br /&gt;
The files described in this example can be found in the ''Examples\Xtras\MEG+EEG'' subdirectory of the BESA Research installation folder.&lt;br /&gt;
&lt;br /&gt;
Here are two examples containing mixed MEG, EEG, and polygraphic channels:* Open a file using the ''File/Open'' command&lt;br /&gt;
* Import a file using ''File/Import ASCII'' command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In both cases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The &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 defines the channel labels. Based on the labels, BESA Research knows which channels are EEG and MEG. The remainder are classified as polygraphic channels.&lt;br /&gt;
* The &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; file defines the MEG sensor coordinates. The number of values on a line of this file (=9) defines the MEG as gradiometers. The relative locations of primary and secondary coils identify the gradiometers as planar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''1. Example with ''File/Open'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Open the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.mul'''&amp;lt;/span&amp;gt;. The ''Channel and digitized head surface point information dialog box'' will open automatically (unless the file has already been read once and the information is in the database).&lt;br /&gt;
* You will see under ''‘internal data file information’'' that BESA Research finds 122 MEG sensors, and 162 channels in all.&lt;br /&gt;
* Under ‘''Channel configuration’'', you will see that as a result of reading the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.ela'''&amp;lt;/span&amp;gt;, 32 channels are defined as EEG, and 8 channels as polygraphic.&lt;br /&gt;
* Under ‘''Digitized head surface points’'' is the feedback that out of the 51 locations in the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEG.sfp'''&amp;lt;/span&amp;gt;, all electrode locations have been defined.&lt;br /&gt;
* Under ‘''MEG sensors’'', the sensors have been identified as gradiometers.&lt;br /&gt;
* The green tick at the top right of the window indicates that BESA Research classifies everything as OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Example with ''File/Import ASCII'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Import the file &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.asc'''&amp;lt;/span&amp;gt;. Select &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''MEG+EEGimport.fsg '''&amp;lt;/span&amp;gt;as the target file (see ''“Example: ASCII Import”'').&lt;br /&gt;
* Select 320 Hz sampling rate, and 500 ms pre-stimulus time. Other selections in the dialog box should be ‘Multiplexed’, 1 bin/microvolt (this is interpreted as 1 bin/fT for MEG), 162 channels and 320 samples.&lt;br /&gt;
* The ''Channel and digitized head surface point information dialog box'' will open as above.&lt;/div&gt;</summary>
		<author><name>Alexa</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>2017-04-06T15:00:07Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: Created page with &amp;quot;== {{anchor|Toc478548346}} Working with Additional Files  ==  === Binary format (*.foc, *.fsg) ===  Select '''Binary High Resolution''' or '''Binary Compressed Format''' to ou...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== {{anchor|Toc478548346}} Working with Additional Files  ==&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. In&lt;br /&gt;
&lt;br /&gt;
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;
=== 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;
&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;
''Npts= 200''&amp;amp;nbsp;number of sampled points in each channel&lt;br /&gt;
&lt;br /&gt;
''TSB= -500''&amp;amp;nbsp;time sweep begin [ms]. Time of first data point relative to zero of epoch&lt;br /&gt;
&lt;br /&gt;
''DI= 5''&amp;amp;nbsp;digitization or sampling interval [ms]&lt;br /&gt;
&lt;br /&gt;
''SB= 2''&amp;amp;nbsp;scaling bins/microvolt in file = number corresponding to 1 microvolt&lt;br /&gt;
&lt;br /&gt;
''SC= 50''&amp;amp;nbsp;scaling calibration, used for setting magnitude of display in BESA&lt;br /&gt;
&lt;br /&gt;
''Nchan= 27''&amp;amp;nbsp;number of channels&lt;br /&gt;
&lt;br /&gt;
''SegmentName= 60dB'' &amp;amp;nbsp;An optional label describing the data.&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 &amp;quot;''Working With Electrodes and Surface Locations/Electrodes/Electrode Conventions&amp;quot;.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A second (older) version of the format (written by BESA versions 1, 2 and 3) omits the '''Nchan=xx''' information in the first line, and there is no second header line. Labels must be defined elsewhere. See &amp;quot;''Electrodes/Electrode file conventions and formats''&amp;quot; and “''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. &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
The '''ASCII Multiplexed Format '''is as follows:&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;
&lt;br /&gt;
&lt;br /&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;
&lt;br /&gt;
Note that the item 'SegmentName' 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 'Time', which indicates the daytime of the first sample in the exported segment:&lt;br /&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;
&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;
''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;
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'''.* The first two letters indicate the head region:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;[[Image:|top]]&amp;lt;/div&amp;gt;&lt;br /&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;
&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;
&lt;br /&gt;
&lt;br /&gt;
* channel definition files containing labels and, optionally, channel types (ASCII, 1 label /line): &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;&lt;br /&gt;
* channel definition files containing coordinates and, optionally, channel types and labels (ASCII): &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; This is the format of the file written by the ''Channel Configuration Dialog.''&lt;br /&gt;
* channel definition files stored by older versions of BESA Research (binary format): &amp;lt;span style=&amp;quot;color:#ff9c00;&amp;quot;&amp;gt;'''&amp;lt;nowiki&amp;gt;*.elb.&amp;lt;/nowiki&amp;gt;'''&amp;lt;/span&amp;gt; This format can still be read, but is no longer written by BESA Research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
# &amp;lt;div style=&amp;quot;margin-left:1.259cm;margin-right:0cm;&amp;quot;&amp;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;)&amp;lt;/div&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Channel Label Files (*.ela)'''&lt;br /&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;
&lt;br /&gt;
'''Identifiers''' can be one of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
EEG -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
SCP -- scalp electrode&lt;br /&gt;
&lt;br /&gt;
POL -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
PGR -- polygraphic channel&lt;br /&gt;
&lt;br /&gt;
ICR -- intracranial electrode&lt;br /&gt;
&lt;br /&gt;
MEG -- MEG sensor&lt;br /&gt;
&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;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp''' electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
Cz&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;('''scalp '''electrode, coordinates assigned by default.ecd)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
VEOG&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(vertical EOG,''' Polygraphic''' type is assigned by default)&lt;br /&gt;
&lt;br /&gt;
Exx&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Polygraphic'''&amp;amp;nbsp;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&amp;amp;nbsp;A01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''Intracranial''' type to electrode A01 - do not use A1!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A02&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A02 - do not use A2!)&lt;br /&gt;
&lt;br /&gt;
ICR&amp;amp;nbsp;A03&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets''' Intracranial''' type to electrode A03)&lt;br /&gt;
&lt;br /&gt;
......&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M01&amp;amp;nbsp;&amp;amp;nbsp;(identifier sets '''MEG '''type to electrode M01 - do not use M1!)&lt;br /&gt;
&lt;br /&gt;
MEG&amp;amp;nbsp;M02&amp;amp;nbsp;&amp;amp;nbsp;(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&amp;amp;nbsp;&amp;amp;nbsp;(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;
&lt;br /&gt;
&lt;br /&gt;
'''Channel spherical coordinate files (*.elp)'''&lt;br /&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. Fz' 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;'''&amp;lt;nowiki&amp;gt;*.ela&amp;lt;/nowiki&amp;gt;'''&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;
(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;nowiki&amp;gt;*.pmg&amp;lt;/nowiki&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;nowiki&amp;gt;*.pos&amp;lt;/nowiki&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;
Magnetometers: 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;quot; Channel 'A1': -0.0019193 0.0304846 0.1081738 0.1188222 0.2394208 0.9636177&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Gradiometers: label (optional), nine coordinates per line (location of primary sensor, location of secondary sensor, orientation). 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;quot; 0.108510 -0.000143 -0.044954 0.108510 0.000463 -0.028766 0.999999 0.001450 0.000000 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Labels in these files are ignored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See chapter “''3D Coordinates for Precise Analysis/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 “''3D Coordinates for Precise Analysis / 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:|top]]&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'''* 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;
&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;
&lt;br /&gt;
&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''nChannels''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The number of channels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''sRate''''' = ''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;The sampling rate (samples/sec)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:3.401cm;margin-right:0cm;&amp;quot;&amp;gt;'''''format''''' = ''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;One of ''short'', ''int, float, double, ASCII''. If the format is ''ASCII'', the &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:3.401cm;margin-right:0cm;&amp;quot;&amp;gt;parameter''' nSamples''' must be specified as well (see below)&amp;lt;/div&amp;gt;&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;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''nSamples'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''file''''' = ''name&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''DataOffset''''' = ''nnn&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Offset of data in bytes for binary data, in lines for ASCII data (default = 0).&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''Factor''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;[range]''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''SwapBytes''''' = ''ccc&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Prestimulus''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''fff&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Prestimulus interval in milliseconds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Label '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''ccc&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Segment label.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Trigger''''' = ''chan….''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Channel number containing triggers. Without further parameters, the &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;values are read directly as digital trigger values. Other parameters are described below, for the case where the trigger channel contains analog signals.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''nBlocks '''''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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''.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''nEpochs'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''nnn &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''nBlocks'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;'''''EventFile''''' = ''name &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Order''''' = ''type &amp;amp;nbsp;&amp;amp;nbsp;''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;One of ''multiplexed'', ''vectorized''. The default is multiplexed (i.e. channels &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:5.101cm;margin-right:0cm;&amp;quot;&amp;gt;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.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Orientation''' ''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type ''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''''Arrangement'' '''&amp;lt;nowiki&amp;gt;= &amp;lt;/nowiki&amp;gt;''type'' &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Same as '''Order'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Trigger events'''&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
'''''chan''' ''is the channel number on which to find the trigger&lt;br /&gt;
&lt;br /&gt;
'''''code''''' is the trigger number that the reader will assign (must be positive!)&lt;br /&gt;
&lt;br /&gt;
'''''fromLevel'' '''is the value in mV defining the lower range for trigger detection&lt;br /&gt;
&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;
&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;
&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;
&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;
&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;
&lt;br /&gt;
'''Data formats:'''&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Future changes'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Possible developments:* Read channel labels&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&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;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Event File'''&lt;br /&gt;
&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;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;1. latency (units specified by the header, can be µs, ms, s)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1.7cm;margin-right:0cm;&amp;quot;&amp;gt;2. code (defines the type of event: trigger, comment, marker, pattern, average segment, data break segment)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;3. parameter (depends on the event type, e.g. trigger code)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:0cm;margin-right:0cm;&amp;quot;&amp;gt;4. label (label assigned to the event)&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Header Line:'''&lt;br /&gt;
&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;
&lt;br /&gt;
''&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt''&lt;br /&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;
&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. '''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;
&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;
&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;
&lt;br /&gt;
Tmu &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Code &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;TriNo &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comnt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;42 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;100000 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Ave: 25 avs &amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
10000000 &amp;amp;nbsp;2 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Comment at 10s&lt;br /&gt;
&lt;br /&gt;
20000000 &amp;amp;nbsp;41 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;26-04-2010T15:30:20.000 &amp;amp;nbsp;&amp;amp;nbsp;TestSeg2&lt;br /&gt;
&lt;br /&gt;
21000000 &amp;amp;nbsp;3 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;0&lt;br /&gt;
&lt;br /&gt;
22000000 1 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;99 &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Trigger – 99&lt;br /&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;
&lt;br /&gt;
The following reads ASCII multiplexed data that were previously exported from BESA Research:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''BESA Generic Data''&lt;br /&gt;
&lt;br /&gt;
''nchannels = 64''&lt;br /&gt;
&lt;br /&gt;
''srate = 100''&lt;br /&gt;
&lt;br /&gt;
''nsamples = 10000''&lt;br /&gt;
&lt;br /&gt;
''dataoffset = 2''&lt;br /&gt;
&lt;br /&gt;
''format = ASCII''&lt;br /&gt;
&lt;br /&gt;
''file = name.mul''&lt;br /&gt;
&lt;br /&gt;
''factor = 1''&lt;br /&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;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	<entry>
		<id>https://wiki.besa.de/index.php?title=File:ST_addfiles_(2).gif</id>
		<title>File:ST addfiles (2).gif</title>
		<link rel="alternate" type="text/html" href="https://wiki.besa.de/index.php?title=File:ST_addfiles_(2).gif"/>
				<updated>2017-04-06T14:58:14Z</updated>
		
		<summary type="html">&lt;p&gt;Alexa: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexa</name></author>	</entry>

	</feed>