script_TL.pretreatment: Script for data pretreatment

Description Usage Arguments Details Value Author(s) See Also

View source: R/script_TL.pretreatment.R

Description

This script call a series of data pretreatment functions for TL dating. It only requires the name of the files with the TL curves and the relative error on the measurement.

Usage

1
2
3
4
5
script_TL.pretreatment(file.name, k = 1, remove.discs = NULL,
  file.parameters = list(file.extension = ".binx", folder.in = "./",
  folder.out = "./"), aligning.parameters = list(peak.Tmin = NULL, peak.Tmax =
  NULL, no.testdose = FALSE), plotting.parameters = list(plot.Tmin = 0,
  plot.Tmax = NA, no.plot = FALSE))

Arguments

file.name

character (required): Name of the file containing the luminescence data.

k

numeric (with default): Corrective factor for estimating the uncertainties using a poisson distribution.

remove.discs

numeric (with default): list containing the position of the aliquots to remove.

file.parameters

list (with default): list containing the file parameters. See details.

aligning.parameters

list (with default): list containing the aligning parameters. See details.

plotting.parameters

list (with default): list containing the plotting parameters. See details.

Details

Aligning parameters
The aligning parameters are:

peak.Tmin

numeric: Lower boundary for looking at the peak maximum position.

peak.Tmax

numeric: Upper boundary for looking at the peak maximum position.

no.testdose

logical: If TRUE, the function will use the Lx curves rather the Tx curves as reference for the peak maximum position.

Plotting parameters
The plotting parameters are:

plot.Tmin

numeric: Lower temperature plotted.

plot.Tmax

numeric: Higher temperature plotted.

no.plot

logical: If TRUE, the results will not be plotted.

See also plot_TL.MAAD.

File parameters
The plotting parameters are:

file.extension

character (with default): extension of the file containing the luminescence data (.bin or .binx)

folder.in

character (with default): Folder containing the file with the luminescene data.

folder.out

character (with default): Folder containing the file with the new luminescene data.

see also mod_update.dType.

Value

This function return a TLum.Analysis where the preheat were removed, the background substract and the peaks aligned. Its save the result as a .binx file il the specified folder. And, its plots the results from the differents functions called using: plot_extract.TL, plot_remove.preheat, plot_substract.background and plot_align.peaks.

Author(s)

David Strebler, University of Cologne (Germany),
David Strebler

See Also

read_BIN2R, Risoe.BINfileData2TLum.BIN.File, mod_extract.TL, mod_update.dType, mod_remove.aliquot, mod_remove.preheat, mod_substract.background, mod_align.peaks, write_R2BIN.


TLdating documentation built on May 2, 2019, 9:26 a.m.