Spike Toolbox

STShift
Offset a spike train in time

Syntax
[stShiftedTrain] = STShift(stTrain, tOffset)

Description
stTrain is an either instantiated or mapped spike train. tOffset is a time in seconds to offset the spike train by. stShiftedTrain will have an instance or mapping or both, depending on the input in stTrain.

Note that shifting a spike train with a definition will strip the definition from the train. Shifting a spike train with only a definition will erase the train and STShift will return an empty matrix.


$Id: STShift.html 1783 2005-08-31 21:05:51Z dylan $