getIntervalsAtHeadDirection-methods: Get time intervals at which the animal's head direction is in...

Description Usage Arguments Value

Description

There is a tric to deal with the circularity of the head direction data If hdMin is larger than hdMax, then it is assumed that you want the range from hdMin-360 and 0-hdMax This wrap around the 360-0.

Usage

1
2
3
4
getIntervalsAtHeadDirection(pt, hdMin, hdMax)

## S4 method for signature 'Positrack'
getIntervalsAtHeadDirection(pt, hdMin, hdMax)

Arguments

pt

Positrack object

hdMin

Minimal head direction that will be considered (in degree, from 0 to 360)

hdMax

Maximal head direction that will be considered (in degree, from 0 to 360)

Value

matrix with the time intervals


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