Learn R Programming

scbursts (version 1.6)

bursts.impose_deadtime: 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

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab