Multichannel-systems NeuroExplorer Manual de usuario Pagina 200

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 373
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 199
5.5.5.4. SetNeuronType Function
SetNeuronType Function
Changes the type of the specified timestamped variable.
Syntax
SetNeuronType(doc, var, type)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
var variableReference Reference to the variable.
type double If type is positive, the variable type is set to 'neuron',
if type is zero or negative, the variable type is set to
'event'.
Returns
None
Comments
Neuron and event types are almost identical. The main difference is that when a data file is opened
by NeuroExplorer, all the neuron variables in this file are selected for analysis.
You may need to use this function when creating new neuron variables using NewEvent. NewEvent
creates an event variable and the variable type can later be changed to 'neuron' using
SetNeuronType.
Usage
NexScript
doc = GetActiveDocument()
doc.neuron1 = NewEvent(doc, 0)
SetNeuronType(doc, doc.neuron1, 1)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 198
Vista de pagina 199
1 2 ... 195 196 197 198 199 200 201 202 203 204 205 ... 372 373

Comentarios a estos manuales

Sin comentarios