
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
NexScript Function Categories
Page 298
Comentários a estes Manuais