NotSync

Creates the new event containing all the timestamps of var1 that are NOT in the intervals [var2+fromTime, var2+toTime].

Syntax

NotSync(var1, var2, fromTime, toTime)

Parameters

Parameter

Type

Description

var1

variableReference

Reference to the variable

var2

variableReference

Reference to the variable

fromTime

number

Offset minimum (seconds)

toTime

number

Offset maximum (seconds)

Return

Reference to the new variable.

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc["notSync_4_and_5"] = nex.NotSync(doc["Neuron04a"], doc["Neuron05c"], - 0.01, 0.01)

NexScript

doc = GetActiveDocument()
doc["notSync_4_and_5"] = NotSync(doc["Neuron04a"], doc["Neuron05c"], -0.01, 0.01)