Multichannel Systems NeuroExplorer User Manual

Page 43

Advertising
background image


Creating Interval Variables


You can create intervals in NeuroExplorer using Edit | Add Interval Variable menu command.


You can also create intervals based on existing Event or Interval variables. Use Edit | Operations on
Data Variables
menu command and then select one of the following operations:


MakeIntervals


MakeIntFromStart


MakeIntFromEnd


IntOpposite


IntAnd


IntOr


IntSize


IntFind

Burst analysis

creates interval variables (one for each neuron) that contain all the detected bursts as

time intervals.

Interval Variables in NexScript


IntVar[i,1] gives you the access to the start of the i-th interval,


IntVar[i,2] gives you the access to the end of the i-th interval.


For example, the following script creates a new interval variable that has two intervals: from 0 to 100
seconds and from 200 to 300 seconds:

doc = GetActiveDocument()

doc.MyInterval = NewIntEvent(doc, 2)

doc.MyInterval[1,1] = 0.

doc.MyInterval[1,2] = 100.

doc.MyInterval[2,1] = 200.

doc.MyInterval[2,2] = 300.


Limitations


Internally, NeuroExplorer stores the beginning and the end of each interval as a timestamp (see

Spike Trains

for more information about timestamps in NeuroExplorer).


Viewers


You can view the intervals of the selected variables in graphical display ( View | 1D Data Viewer
menu command, see figure above).


The intervals (in seconds) are shown in the Intervals sheet of the Data view:

Page 41

Advertising