evt.write {scbursts} | R Documentation |
Write bursts to a .evt file.
Description
Write bursts to a .evt file.
Usage
evt.write(segments, filename = "", header = NULL)
Arguments
segments |
A segment or list of segments to write to filename |
filename |
The filename |
header |
The header information for the evt file, if available |
Examples
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"))
[Package scbursts version 1.6 Index]