Nthafter function – Multichannel Systems NeuroExplorer User Manual
Page 258
Advertising
5.5.8.28. NthAfter Function
NthAfter Function
Creates the new variable with the N-th timestamp in var1 after each timestamp in var2.
Syntax
variableReference NthAfter(var1, var2, N)
Parameters
Parameter
Type
Description
var1
variableReference
Reference to the variable
var2
variableReference
Reference to the variable
N
double
Spike number.
Returns
Reference to the new variable.
Comments
Creates the new variable with the N-th timestamp in var1 after each timestamp in var2.
Usage
NexScript
doc = GetActiveDocument()
doc.SecondSpike = NthAfter(doc.Neuron1, doc.Neuron2, 2)
See Also
Introduction to NexScript Programming
Page 256
Advertising