Sync function – Multichannel Systems NeuroExplorer User Manual

Page 233

Advertising
background image

5.5.8.3. Sync Function

Sync Function


Creates the new event containing all the timestamps of var1 that are in the intervals [var2+from,
var2+to].

Syntax


variableReference Sync(var1, var2, from, to)

Parameters

Parameter

Type

Description

var1

variableReference

Reference to the variable.

var2

variableReference

Reference to the variable.

from

double

Offset minimum (seconds).

to

double

Offset maximum (seconds).

Returns


Reference to the new variable.

Comments


Creates the new event containing all the timestamps of var1 that are in the intervals [var2+from,
var2+to]

Usage

NexScript

doc = GetActiveDocument()

doc.synced_1_and_2 = Sync(doc.Neuron1, doc.Neuron2, -0.01, 0.01)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 231

Advertising