Description Usage Arguments Value
Only the data within the intervals are used for analysis. For example with interval 0-20000, a spike at time 0 or 20000 is not included. Spikes between time 0 and 20000 are used. These intervals are used in SpikeTrain methods and also in methods of other classes (SaptialProperties2d, SpatialProperties1d, HeadDirection, etc.). By default, the intervals are set from 0 to time point of the last recorded spike.
1 2 3 4 | setIntervals(st, s, e)
## S4 method for signature 'SpikeTrain'
setIntervals(st, s, e)
|
st |
SpikeTrain object |
s |
Vector or matrix. If a matrix, should have 2 columns (beginning and end of intervals). If a vector, beginning of intervals. |
e |
Vector, end of the intervals. If s is a matrix, e is not used. |
a SpikeTrain object with the intervals set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.