Description Usage Arguments Value
Speed scores from spike train and positrack
1 2 3 4 5 | speedScore(sp, st, pt, minSpeed, maxSpeed, angular = F, runLm = F)
## S4 method for signature 'SpatialProperties2d'
speedScore(sp, st, pt, minSpeed = 2,
maxSpeed = 100, angular = F, runLm = F)
|
sp |
SpatialProperties2d object |
st |
SpikeTrain object with ifr |
pt |
Positrack object |
minSpeed |
Minimal speed to be considered |
maxSpeed |
Maximal speed to be considered |
angular |
Logical, if TRUE will use the angular velocity of the head instead of running speed |
runLm |
Logical, if TRUE a linear model will be build and slope and intercept calculated |
SpatialProperties2d object with the speed scores in the slots SpeedScore. If runLm argument was TRUE, then speedRateSlope and peedRateIntercept will also be filled The analysis only use period withing the intervals of the SpikeTrain object The function ifr() should be called prior to calling speedScore()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.