calcBouts: Calculate bout number and duration for a single animal

Description Usage Arguments Value

Description

Calculate bout number and duration for a single animal

Usage

1

Arguments

vector

This is a 1D vector pertaining to a single fly's sleep data.

Value

Returns sleep bout and duration in terms of number of indices where the fly was asleep.


jstaf/actmon documentation built on May 20, 2019, 2:11 a.m.