Description Usage Arguments Value Examples
Extract header from evt file.
1 | evt.extract_header(filename)
|
filename |
The filename |
A string containing the header
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.