SetNeuronUnit

Sets the unit number (cluster ID) of a neuron variable.

Syntax

doc.SetNeuronUnit(neuronVar, unit)

Parameters

Parameter

Type

Description

neuronVar

variable reference

Reference to the neuron variable.

unit

number

Unit number

Return

None.

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc.SetNeuronUnit(doc['SPK01a'], 2)