getSpeedAtResValues-methods: Get the speed of the animal at given time points

Description Usage Arguments Value

Description

The time points are in sample values of the electrophysiological data

Usage

1
2
3
4
getSpeedAtResValues(pt, res, angular = FALSE)

## S4 method for signature 'Positrack'
getSpeedAtResValues(pt, res, angular = FALSE)

Arguments

pt

Positrack object

res

Time values in electrophysiological samples.

angular

Logical, if true will use the angular velocity instead of the running speed

Value

Vector with the speed at the different time points


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.