Conversion of single-grain data to multiple-grain data by adding signals from grains belonging to one disc (unique pairs of position, set and run).
convert_SG2MG(object, write_file = FALSE, ...)
Risoe.BINfileData character (required): Risoe.BINfileData object or BIN/BINX-file name
logical (with default): if the input was a path to a file, the
output can be written to a file if TRUE
. The multiple grain file will be written into the
same folder and with extension -SG
to the file name.
further arguments passed down to read_BIN2R if input is file path
Risoe.BINfileData object and if write_file = TRUE
and the input
was a file path, a file is written to origin folder.
0.1.0
Kreutzer, S., Mercier, N., 2023. convert_SG2MG(): Converts Single-Grain Data to Multiple-Grain Data. Function version 0.1.0. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., 2023. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.23. https://CRAN.R-project.org/package=Luminescence
## simple run
## (please not that the example is not using SG data)
data(ExampleData.BINfileData, envir = environment())
convert_SG2MG(CWOSL.SAR.Data)
#>
#> [Risoe.BINfileData object]
#>
#> BIN/BINX version 03
#> Object date: 060920, 070920, 080920, 090920, 100920
#> User: Default
#> System ID: 0 (unknown)
#> Overall records: 720
#> Records type: IRSL (n = 24)
#> OSL (n = 336)
#> TL (n = 360)
#> Position range: 1 : 24
#> Grain range: 0 : 0
#> Run range: 1 : 8
#> Set range: 2 : 6