bursts.impose_deadtime {scbursts}R Documentation

Imposes a deadtime to each segment in a burst.

Description

The user specifies a deadtime in microseconds. The function applies segment.impose_deadtime to each segment in the burst. (See segment.impose_deadtime for details.)

Usage

bursts.impose_deadtime(bursts, deadtime)

Arguments

bursts

a burst containing segments of dwells and states.

deadtime

the briefest possible event in microseconds.

Value

A modified copy of the original burst

Examples


infile <- system.file("extdata", "example4.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")

bursts_d <- bursts.impose_deadtime(bursts, deadtime=0.01)


[Package scbursts version 1.6 Index]