## take system file
xsyg <- system.file("extdata/XSYG_file.xsyg", package="Luminescence")
## the import is automatically
## but you can import it before
irr_times <- extract_IrradiationTimes(xsyg)
irr_times$irr.times
if (FALSE) {
# (1) - example for your own data
# set files and run function
file.XSYG <- file.choose()
file.BINX <- file.choose()
extract_IrradiationTimes(file.XSYG = file.XSYG, file.BINX = file.BINX)
# export results additionally to a CSV-file in the same directory as the XSYG-file
write.table(x = get_RLum(output),
file = paste0(file.BINX,"_extract_IrradiationTimes.csv"),
sep = ";",
row.names = FALSE)
}
Run the code above in your browser using DataLab