ISIFilter

Creates the new event containing the timestamps of the specified variable that have preceding interspike intervals larger than the specified value.

Syntax

ISIFilter(var, minISI)

Parameters

Parameter

Type

Description

var

variableReference

Reference to the variable

minISI

number

Minimum interspike interval (in seconds).

Return

Reference to the new variable.

Note

Creates the new event containing timestamps of the variable var that have preceding interspike intervals larger than minISI.

Examples

Python

import nex
doc = nex.GetActiveDocument()
doc["RemovedSmallISI"] = nex.ISIFilter(doc["Neuron07a"], 0.1)

NexScript

doc = GetActiveDocument()
doc["RemovedSmallISI"] = ISIFilter(doc["Neuron07a"], 0.1)