Getfirstge function – Multichannel Systems NeuroExplorer User Manual
Page 300
Advertising
5.5.13.20. GetFirstGE Function
GetFirstGE Function
Returns the index of the first timestamp in the specified variable that is greater than or equal to the
specified number.
Syntax
double GetFirstGE(var, number)
Parameters
Parameter
Type
Description
var
variableReference
Reference to the variable.
number
double
Time value in seconds.
Returns
Returns the index of the first timestamp in the specified variable that is greater than or equal to the
specified number.
Comments
None
Usage
NexScript
doc = GetActiveDocument()
neuron = GetVarByName(doc, "Neuron04a")
% get the index of the first spike at or after 5.7s
index = GetFirstGE(var, 5.7)
See Also
Introduction to NexScript Programming
Page 298
Advertising