Skip to main content

TriggerDetectionView

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/triggerdetectionview.h>

class DISPLIB::TriggerDetectionView

Stim-channel chooser plus threshold spinbox for on-line trigger detection.

Picks the stim channel to monitor, sets the rising-edge threshold and resets the detected-event list; detected events feed the averaging pipeline and the ChannelDataView trigger overlay.

Inheritance​


Public Methods​

TriggerDetectionView(sSettingsPath, parent, f)​

Constructs a TriggerDetectionView which is a child of parent.

Parameters:

  • sSettingsPath : const QString & Settings path under which the widget persists its state (empty = no persistence).

  • parent : *QWidget ** parent of widget.

  • f : Qt::WindowFlags Qt window flags passed to the QWidget constructor.


~TriggerDetectionView()​

Destroys the TriggerDetectionView.


init(pFiffInfo)​

Init the view.

Parameters:

  • pFiffInfo : const QSharedPointer<FiffInfo> Measurement info whose STIM channels populate the trigger channel list; ignored if null.

setNumberDetectedTriggersAndTypes(totalNumberDetections, mapDetectedTriggers)​

Set total number of detected triggers and trigger types.

Parameters:

  • totalNumberDetections : int The numger of detected triggers.

  • mapDetectedTriggers : const QMap< int, QList< QPair< int, double > > > & The currently detected triggers.


getSelectedStimChannel()​

Gets currently selected STIM channel in GUI.

Returns:

  • QString — currently selected STIM channel.

saveSettings()​

Saves all important settings of this view via QSettings.


loadSettings()​

Loads and inits all important settings of this view via QSettings.


clearView()​

Clears the view.


Authors of this file​