DeselectVar

Deselects the specified variable.

Syntax

DeselectVar(doc, number, varType)

Parameters

Parameter

Type

Description

doc

documentReference

Reference to the document.

number

number

Variable number within the group specified by varType.

varType

string

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

Return

None.

Note

Only selected variables used in analysis. Use select and deselect functions to specify what variables you want to analyze.

Examples

Python

import nex
doc = nex.GetActiveDocument()
# deselect the second neuron
nex.DeselectVar(doc, 2, "neuron")

NexScript

doc = GetActiveDocument()
% deselect the second neuron
DeselectVar(doc, 2, "neuron")