Importing data from text files – Multichannel Systems NeuroExplorer User Manual

Page 21

Advertising
background image

1.6. Importing Data from Text Files


You can specify text import options in the Text Import dialog:


Sampling Frequency - this parameter defines the internal representation of the timestamps that
NeuroExplorer will use for this file. Internally, the timestamps are stored as integers representing the
number of time ticks from the start of the experiment. The time tick is equal to

1./ Sampling_Frequency


Timestamp Units - this parameter defines how the numbers representing the timestamps are treated
by NeuroExplorer. If the timestamps are in time ticks, they are stored internally exactly as they are in
the text file. If the timestamps are in seconds, NeuroExplorer converts them to time ticks:

Internal_Timestamp = Timestamp_In_Seconds * Sampling_Frequency


NeuroExplorer can import timestamped data stored in the following text formats:

1. Multicolumn table of timestamps


In this format, each column in the text file contains the timestamps of a neuron. The first element in
each column is a neuron name, that is the first line of the file contains names of all the variables.


Each name should be less than 64 characters long and should contain only letters, digits or the
underscore sign. The first character of the name should be a letter. The timestamps are numbers
representing the neuron firing time (or event time) in seconds or in time ticks. NeuroExplorer assumes
that the columns are separated by tabs.


Here is an example of a text file with the timestamps represented in seconds:

Neuron01 Neuron02

0.01 0.001

0.3 0.05

0.5 0.1

0.4

0.6


NeuroExplorer can also export data in this format (use File | Save Data | As a Text File menu
command).

2. Pairs <name> <timestamp>


The text file in this format should contain the pairs of the type


<name><timestamp>


where


<name> is a character string that is less that 64 characters long and contains only letters, digits and
the underscore sign. The first character of the name should be a letter. If the number is used for the

Page 19

Advertising