Multichannel-systems NeuroExplorer Uživatelský manuál Strana 302

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 373
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 301
5.5.13.22. GetBinCount Function
GetBinCount Function
Calculates the number of timestamps in the specified time range.
Syntax
double GetBinCount(var, timeMin, timeMax)
Parameters
Parameter Type Description
var variableReference Reference to a variable. Should be a reference to a
neuron, event, interval or continuous variable.
timeMin double Time range minimum (in seconds).
timeMax double Time range maximum (in seconds).
Returns
The number of timestamps of the specified variable in the specified time range.
Comments
None
Usage
NexScript
doc = GetActiveDocument()
neuron = GetVarByName("Neuron04a")
% calculate how many timestamps of Neuron04a are in the interval [5.3s, 10.2s]
count = GetBinCount(neuron, 5.3, 10.2)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 300
Zobrazit stránku 301
1 2 ... 297 298 299 300 301 302 303 304 305 306 307 ... 372 373

Komentáře k této Příručce

Žádné komentáře