risetime.correct_gaussian {scbursts}R Documentation

Undo the effect of the gaussian filter.

Description

Undo the effect of the gaussian filter. See section 4.1.1 of Colquhoun and Sigworth, "Fitting and Analysis of Single-Channel segments". NOTE: This is potentially problematic, in that this unfiltering lengthens every dwell. A less naive algorithm would take into account the infulence of the surroundings, as they impact the effects of the filter.

Usage

risetime.correct_gaussian(Tr, segments, units = "s")

Arguments

Tr

Rise time of the filter in (us)

segments

A segment or multiple segments with $states and $dwells to correct.

units

What unit the risetime is input in (defaults to seconds)

Value

A Segment or multiple segments with corrected risetimes.

Examples


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")


[Package scbursts version 1.6 Index]