Operations on variables functions – Multichannel Systems NeuroExplorer User Manual
Page 229
5.5.8. Operations on Variables Functions
The following operations on variables functions are available in NexScript
Function
Description
Renames the specified variable.
Creates the new event that contains both the timestamps of var1
and the timestamps of var2.
Creates the new event containing all the timestamps of var1 that
are in the intervals [var2+from, var2+to].
Creates the new event containing all the timestamps of var1 that
are NOT in the intervals [var2+from, var2+to].
Creates the new event containing the first timestamp of var1 in
each of the intervals [var2+from, var2+to].
Creates the new event containing the first N timestamps of var1
after each of the var2 timestamps.
Creates the new event containing the last timestamp of var1 in
each of the intervals [var2+from, var2+to].
Creates the new event containing all the timestamps of var that
are in the intervals of the intervalVar.
Creates the new event containing the specified timestamps of
variable var. selectList can contain comma-separated indexes or
ranges of timestamps for example: 1,3-5,10.
Creates the new event containing randomly selected timestamps
of variable var.
Creates the new event containing even (2nd, 4th, etc.)
timestamps of variable var.
Creates the new event containing odd (1st, 3rd, etc.) timestamps
of variable var.
Creates the new event containing timestamps of the variable var
that have preceding interspike intervals larger than min ISI.
Creates the new event. For each interval of intervalVar, the first
var timestamp in this interval is copied to the result.
Creates the new event. For each interval of intervalVar, the last
var timestamp in this interval is copied to the result.
Creates the new event. Copies the start of each interval of
intervalVar the result.
Creates the new event. Copies the end of each interval of
intervalVar the result.
Creates new interval variable with intervals
[varTimestamp+shiftmin, varTimestamp+shiftMax].
Creates new interval variable. For each timestamp (tstart) of
intStartVar, it looks for the first timestamp (tend) of the intEndVar
after tstart. If tend is before the next timestamp of intStartVar, it
adds the interval [tstart+shift1, tend+shift2] to the result.
Creates new interval variable. For each timestamp of the
Page 227