Spike Toolbox |
![]() ![]() |
STStripTo
Strip undesired spike train levels from spike trains
Syntax
[stStrippedTrain] = STStripTo(stTrain, strLevel, strLevel, ...)
[stCellStrippedTrain] = STStripTo(stCellTrain, strLevel, strLevel, ...)
Description
stTrain is a Spike Toolbox spike train object. Spike train levels will be
stripped from the train if they don't appear in the list of desired levels.
Only the levels listed will remain in
stStrippedTrain
. If a listed level
is not present in the train, then a warning will be printed. If all levels
are stripped from a train, an empty matrix will be returned.
STStripTo can accept a cell array of spike trains as its first argument. In
this case, each spike train will be stripped and returned in each element of
stCellStrippedTrain
.
See Also
Understanding spike trains,
STStrip
![]() |
STToolboxDefaults
![]() |