Fragmenttimestamps method – Multichannel Systems NeuroExplorer User Manual

Page 366

Advertising
background image

6.3.6. FragmentTimestamps Method

Variable.FragmentTimestamps Method


For continuous variable, returns the fragment timestamp values in seconds. This method is valid only
for continuous variables.


In general, a continuous variable may contain several fragments of data. Each fragment may be of a
different length. NeuroExplorer does not store the timestamps for all the A/D values since they would
use too much space. Instead, for each fragment, it stores the timestamp of the first A/D value in the
fragment and the index of the first data point in the fragment. The timestamps of the first A/D value in
each fragment are returned by this method.

Syntax


SAFEARRAY(double) FragmentTimestamps()

Parameters


None.

Usage

Matlab

nex = actxserver('NeuroExplorer.Application');

doc = nex.OpenDocument('C:\Data\TestDataFile.nex');

% get the first continuous variable

cont1= doc.Continuous(1);

% get all the fragment timestamps

cont1FragmentTs = cont1.FragmentTimestamps();

See Also

Variable Interface

Document Interface

COM/ActiveX Interfaces

Page 364

Advertising