bursts.recombine: Combine bursts into one recording (with obvious spaces...

Description Usage Arguments Value Examples

Description

From a list of segments, return the concatenated segment containing all bursts. Inverse of functions like bursts.defined_by_tcrit

Usage

1

Arguments

bursts

The list of all bursts

Value

The segment containing all bursts.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
infile <- system.file("extdata", "example1_qub.dwt", package = "scbursts")
dwells <- dwt.read(infile)
dwells_c <- risetime.correct_gaussian(Tr=35.0052278, dwells, units="us")

bursts <- bursts.defined_by_tcrit(dwells_c, 100, units="ms")

# This is a single segment!
record <- bursts.recombine(bursts)

# Which means you can do stuff like this
open_dwells <- segment.open_dwells(bursts.recombine(bursts))

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