bursts.defined_by_tcrit: Divide a recording into bursts defined by a critical time.

Description Usage Arguments Value Examples

Description

Split segment at long pauses, dividing the segment into multiple -shorter- segments (which are the bursts), Along with the interburst closings, which are referred to as "gaps". (Default time units are seconds)

Usage

1

Arguments

segments

A segment or multiple segments with $states and $dwells. NOTE: separate segments will remain split, regardless of why they were originally divided.

t_crit

Critical time at which to divide bursts (in seconds by default)

units

what unit the critical time is in ('s','ms','us', or 'ns')

Value

bursts. Which is a list of segments starting and ending in 1 states (open dwell)

Examples

1
2
3
4
5
6
7
infile <- system.file("extdata", "example1_tac.evt", package = "scbursts")
transitions <- evt.read(infile)
dwells <- evt.to_dwells(transitions)
dwells_c <- risetime.correct_gaussian(Tr=35.0052278, dwells, units="us")

bursts <- bursts.defined_by_tcrit(dwells_c, 100, units="ms")
head(bursts[[1]])

scbursts documentation built on July 6, 2019, 5:02 p.m.