R/read_Daybreak2R.R
read_Daybreak2R.Rd
Import a TXT-file (ASCII file) or a DAT-file (binary file) produced by a Daybreak reader into R. The import of the DAT-files is limited to the file format described for the software TLAPLLIC v.3.2 used for a Daybreak, model 1100.
read_Daybreak2R(file, raw = FALSE, verbose = TRUE, txtProgressBar = TRUE)
file | character or list (required): path and file name of the file to be imported. Alternatively a list of file names can be provided or just the path a folder containing measurement data. Please note that the specific, common, file extension (txt) is likely leading to function failures during import when just a path is provided. |
---|---|
raw | logical (with default): if the input is a DAT-file (binary) a data.table::data.table instead of the RLum.Analysis object can be returned for debugging purposes. |
verbose | logical (with default): enables or disables terminal feedback |
txtProgressBar | logical (with default): enables or disables txtProgressBar. |
A list of RLum.Analysis objects (each per position) is provided.
[BETA VERSION]
This function still needs to be tested properly. In particular
the function has underwent only very rough rests using a few files.
0.3.2
Sebastian Kreutzer, Geography & Earth Sciences, Aberystwyth University (United Kingdom)
Antoine Zink, C2RMF, Palais du Louvre, Paris (France)
The ASCII-file import is based on a suggestion by Willian Amidon and Andrew Louis Gorin , RLum Developer Team
Kreutzer, S., Zink, A., 2021. read_Daybreak2R(): Import measurement data produced by a Daybreak TL/OSL reader into R. Function version 0.3.2. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., 2021. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.11. https://CRAN.R-project.org/package=Luminescence
if (FALSE) { file <- system.file("extdata/Daybreak_TestFile.txt", package = "Luminescence") temp <- read_Daybreak2R(file) }