Getvarspikecount function – Multichannel Systems NeuroExplorer User Manual

Page 171

Advertising
background image

5.5.3.3. GetVarSpikeCount Function

GetVarSpikeCount Function


Returns the number of timestamps in the specified variable.

Syntax


double GetVarSpikeCount(doc, number, varType)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document

number

double

1-based variable number within the group specified
by varType.

varType

string

Variable type. Should be "neuron", "neuronorevent" ,
"event", "interval" "wave", "popvector", "continuous",
"marker" or "all".

Returns


Returns the number of timestamps in the variable.

Comments


None

Usage

NexScript

doc = GetActiveDocument()

numSpikes = GetVarSpikeCount(doc, 3, "neuron")

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 169

Advertising