Welcome Guest, you are in: Login

EventIDE Wiki



Search the wiki



Element Icon Pattern Detector
Category: Signal Processing AddIn: Signal Processing
Creator: OkazoLab Scope: Parent event
Owns Snippets: None Usage: Snippets


NameDescription                              ConstraintsTypeOn
Signal Source
Data Channel        Defines the channel in the EventIDE signal pool that will provides data for the element                Int32         
Sampling Rate        Defines the sampling rate of the signal (samples per second)                Int32         
Signal Normalization        Defines the normalization procedure that is automatically applied to the signal before the analysis                enSign..         
Bandpass Filter
Is Filtering        Defines whether Butterworth bandpass filter is applyed on the signal prior to forecasting                Boolean         
Filter Order        Defines the order of Butterworth bandpass filter                Int32         
Central Frequency        Defines the central frequency of Butterworth bandpass filter, in Hz                Double         
Bandpass Width        Defines the width of Butterworth bandpass filter, in Hz                Double         
Apply for plot        Defines the width of Butterworth bandpass filter, in Hz                Boolean         
Pattern Detection
Analysis Window Size        Defines the size of the moving window in which the signal analysis occurs, in samples                Int32         
Fitting Segment        Defines the bounds (in %) of the intervening segment in the analysis window, usually closer to the end. A signal in the segment is fitted with an estimated model, which, in turn, is used to forecast the signal in the future. The rightmost segment boundary should not be at the zero time in order to avoid side effects of the bandpass filter. The segment boundaries can be adjusted on the signal plot                clIntR..         
AR Model Order        Defines an order of the auto-regression model for signal forecasting                Int32         
Minimal Triggering Interval        Defines the minimal time interval (ms) between triggering                Double         
Grab Pattern Now        Runtime action that grab the current signal segment and build its AR model for consequent detection                Boolean         
Plotted Error        Defines which error type is visualized by color on the signal plot                enPlot..         
Fitting Threshold        Defines the minimal threshold for the normalized fitting error                Double         
Phase Fitting Threshold        Defines the minimal threshold for the normalized phase fitting error                Double         
Cross Correlation Threshold        Returns the minimal threshold for the cross correlation score                Double         
Detection Status
Fitting Phase Error        Returns the root of the mean square error of the fitted signal along the Analysis segment                Double         
Fitting NRMS Error        Returns the normalized root-mean-square error of the model signal relatively to the actual signal  across the fitting segment                Double         
Cross Correlation Score        Returns the root of the mean square error of the fitted signal along the Analysis segment                Double         
Runtime Status
Is Paused        Defines whether the pattern detection is temporally paused                Boolean         
Is Triggered        Indicates whether the elements signal the predicted phase occurrence in realtime. This status variable can be used for accurate phase-locked stimulus presentation                Boolean         
Triggering Time        Returns a local event time (ms) of the last triggering.                clTime         
Analysis Time        Returns a duration of a single analysis pass, including plotting time, when the plotting is enabled                Double         
Queue Size        Returns the current size of a sample queue in ms. The number correlates with the amount of samples have arrived in the last readout                Int32         
Online Plots
Is Plotting        Turn on/off plotting of the results. Turn off for a sake of performance                Boolean         
Signal Plot        Returns a live XAML control that can be used for direct binding to the Content property of the XAML ContentControl element, e.g. ContentControl with a generated staircase plot can be added to the status screen or to the XAML Layout element.                UIElem..         
Rendering Size        Defines the size of the generated plot in pixels. The plot is automatically stretched on rendering, but a larger rendering size improves the chart quality with some cost in performance. The rendering size is also used as the resulting image resolution, when the chart is saved into a file.                clSize         
Plot Theme        Defines a visual theme of the generated plot                Int32         
Font Size        Defines the font size for plot labels                Double         
Show Axis Bands        Defines whether the axis bands are shown on the plot area                Boolean         
Line Thickness        Defines the color of power bars on the generated plot                Int32         
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

Pattern Detector Element detects an arbitrary pattern in an online signal and immediately signals its occurance.




Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2

Practical Use


Technique 1

  1. Step 1
  2. Step 2
    === Technique 2 ===
  3. Step 1
  4. Step 2

     // Check the trial outcome. Result and RT just other user variables
    // insert code snippet here..
    == Notes ==
  5. Insert Notes here..
  6. Insert Notes here..

  Name Size
- Pattern-Detector-Element-Icon.png 3.88 KB

ScrewTurn Wiki version Some of the icons created by FamFamFam.