Spike Toolbox |
![]() ![]() |
STImportServer
Syntax
[stTrainOut1, stTrainOut2, ...] = STImportServer(strFilename)
[stTrainOut1, stTrainOut2, ...] = STImportServer(strFilename, cellstasChannelSpecs)
[stTrainOut1, stTrainOut2, ...] = STImportServer(strFilename, cellstasChannelSpecs, stasChannelID)
Description
strFileName
is the name of a text file containing a spike train in
[int_time_sig address]
format. Time signatures are read in microseconds
(10e-6 sec
). The resulting spike trains will be normalised to begin at the
first spike occurring on ANY channel.
STImportServer needs to know two things in order to filter the input spikes: The addressing specification of the monitor channel ID field; and the addressing specifications to use for each of the monitor channels. These specifications can be either taken from the toolbox options (by default), or supplied in the argument list.
cellstasChannelSpecs
should be a cell array with one entry for each
monitor channel to retrieve spikes from. Empty matrices in this cell array
indicate monitor channels to ignore (ie. a spike train will not be returned
for that channel).
stasChannelID
should be a valid addressing specification, with the
following restrictions: it must contain two fields only, the first of which
is marked to ignore, the second of which must define the addressing field
for the channel ID. This second field must not be marked to ignore. The
descriptions for these fields are not important.
The Spike Toolbox provides a function STAddrSpecChannel which generates valid channel ID addressing specifications.
See Also
Understanding toolbox addressing,
Channel address specifications,
STAddrSpecChannel
![]() |
STInstantiate
![]() |