bursts.remove_first_and_last: Remove the first and last burst from the list.

Description Usage Arguments Value Examples

Description

Remove the first and last burst from the list.

Usage

1

Arguments

bursts

The list of all bursts

Value

A shorter list of bursts

Examples

1
2
3
4
5
6
7
8
9
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")

# If there seem to be bad bursts at the ends
bursts <- bursts.remove_first_and_last(bursts)

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