Intervalfilter function – Multichannel Systems NeuroExplorer User Manual
Page 238
5.5.8.8. IntervalFilter Function
IntervalFilter Function
Creates the new event containing all the timestamps of the specified event or neuron variable that are
in the intervals of the specified interval variable.
Syntax
variableReference IntervalFilter(var, intervalVar)
Parameters
Parameter
Type
Description
var
variableReference
Reference to the variable.
intervalVar
variableReference
Reference to the interval variable.
Returns
Reference to the new variable.
Comments
Creates the new event containing all the timestamps of var that are in the intervals of the intervalVar
Usage
NexScript
doc = GetActiveDocument()
doc.filtered = IntervalFilter(GetVarByName(doc, "Neuron1"), GetVarByName(doc,
"Trials"))
See Also
Introduction to NexScript Programming
Page 236