Description Usage Arguments Examples
Write bursts to a .evt file.
1 |
segments |
A segment or list of segments to write to filename |
filename |
The filename |
header |
The header information for the evt file, if available |
1 2 3 4 5 6 7 8 9 10 11 | infile <- system.file("extdata", "example1_tac.evt", package = "scbursts")
# Get Dwells
transitions <- evt.read(infile)
dwells <- evt.to_dwells(transitions)
dwells_c <- risetime.correct_gaussian(Tr=35.0052278, dwells, units="us")
# Get Header
header <- evt.extract_header(infile)
evt.write(dwells_c, header=header, file=file.path(tempdir(), "fixed_example1_tac.evt"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.