Polybench® for biosignals / reference 1.40.0
Operator that synchronizes two existing signal data files by modifying the timing of the secondary file

Stored File Merger

Overview

This operator takes two input signals from stored files (e.g. EDF files) and allows to adjust the timing of the second signal file in order to synchronize it with the first signal file.

Both data file inputs must have a regular sample rate and are expected to have a non-significant time drift. The user can specify two set points in time (in seconds) for each signal, which should correspond to the same events in the signals. Based on these set points, the operator calculates an offset and a scaling factor to adjust the timing of the second signal file.

Operator ports

Input prim (Any): Any sample type. The connection is not limited to one type of signal.

Input sec (Any): Any sample type. The connection is not limited to one type of signal.

Output Any: Any sample type. The connection is not limited to one type of signal.

Properties

Find more information about changing properties here: "Properties Viewer"

Interpolate
type: True or False
Indicates whether interpolation is enabled.
Select one of those presets:
True or False
True may also be read like 'yes' and false like 'no'


Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.', '$' nor '@' characters.

For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".

Documentation
type: See description
Optional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.

Variable Parameters

Find more information about Variable Parameters here: "Variable Parameters"

SetPoint1Primary
type: See description
First set point in time (or seconds) of the primary signal. This point should match the first point of the secondary signal.


SetPoint1Secondary
type: See description
First set point in time (or seconds) of the secondary signal. This point should match the first point of the primary signal.


SetPoint2Primary
type: See description
Second set point in time (or seconds) of the primary signal. This point should match the second point of the secondary signal.


SetPoint2Secondary
type: See description
Second set point in time (or seconds) of the secondary signal. This point should match the second point of the primary signal.


Interpolate
type: See description
Indicates whether interpolation is enabled. 1 means enabled, 0 means disabled.


Result
type: See description
The result of the last executed calculation function (see Functions)


PrimarySampleRate
type: See description
Sample rate of the primary signal


SecondarySampleRate
type: See description
Sample rate of the secondary signal

Functions

Find more information about Functions here: "Operator Functions"

Adjust
Adjust the secondary signal according to the set points

GetOriginalSecondaryTime
Calculates the time in the original secondary signal from a time in the primary or synchronised signal.
Parameter:
A time in the primary or synchronised signal