Peak Finder explained

From BESA® Wiki
Revision as of 15:27, 5 May 2021 by Jaehyun (Talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Module information
Modules BESA Research Basic or higher
Version BESA Research 6.1 or higher

Introduction

This article will explain how the Peak Finders in the BESA ERP module and in the Combine Conditions work, and how the different values are computed.

ERP module: interactive peak finding

After entering the Top Viewer, the Peak Finder can be invoked in three ways:

  1. By marking a data block, and using the right-click popup menu
  2. By right-clicking on a channel with only a cursor position marked, or nothing marked
  3. By using the menu entry. This will open the Peak Finder dialog, but not search for peaks yet.

Peak finding with a marked interval

This is what it looks like after marking a block and right-clicking:

PeakFinder1a.png

The program automatically found the highest negative and the highest positive peak within the interval. The mean amplitude is calculated over the whole interval. In this case, positive and negative amplitudes almost cancel out. The peak label is chosen on the latency that has the highest overall amplitude. By default, other channels' amplitudes are calculated at the latencies of the search channel's positive and negative peaks (to change this, un-check the check box "All Amplitudes at Same Latency" - then, the search will run independently for each channel). The area is the cumulative positive and negative amplitude over the whole interval, as indicated below.

PeakFinder2.png

Peak finding after setting a cursor

The result of peak finding after setting a cursor (or using the mouse position) is shown below:

PeakFinder3.png

In this scenario, the first peak is found by checking which relative maximum or minimum is closest to the cursor position (or mouse position). This will become the main peak (here, it is the positive peak).

PeakFinder4.png

Then, a search starts in both directions for a local minimum or maximum - in this scenario, the negative peak is searched for. Here, the next negative peak is to the right of the main peak:

PeakFinder5.png

To find the area, the next zero crossings are found, moving away from the peaks in the other direction:

PeakFinder6.png

Let us now have a look at the scenario where local maximum and minimum are both in a negative area:

PeakFinder7.png PeakFinder8.png PeakFinder9.png PeakFinder10.png

The result is two peaks that are both in the negative area. To smoothen the waveforms in order to prevent finding too small peaks, the data can be filtered before peak finding (use the "Advanced" button in the dialog).

Combine Conditions Peak Finder

The Peak Finder in the Combine Conditions dialog runs in batch mode. Thus, all parameters need to be provided beforehand. It can output either peaks, mean amplitudes over the interval provided, or areas over the interval provided. Also, search channel, montage, baseline and filters need to be set by the user before running the batch mode.

If the check box "Positive voltage" is un-checked, only negative peaks will be considered. If "Positive voltage" is checked, then the module will run in a similar mode as the first scenario of the ERP Peak Finder (with marked interval).