Learn R Programming

Luminescence (version 0.3.1)

plot_Risoe.BINfileData: Plot single luminescence curves from a BIN file object.

Description

Plots single luminescence curves from an object returned by the readBIN2R function.

Usage

plot_Risoe.BINfileData(BINfileData, position, run, set, sorter = "POSITION", 
    ltype = c("IRSL", "OSL", "TL", "RIR", "RBR", "RL"), curve.transformation, 
    dose_rate, temp.lab, cex.global = 1, ...)

Arguments

BINfileData
Risoe.BINfileData-class (required): requires an S4 object returned by the readBIN2R function.
position
vector (optional): option to limit the plotted curves by position (e.g. position = 1, position = c(1,3,5)).
run
vector (optional): option to limit the plotted curves by run (e.g., run = 1, set = c(1,3,5)).
set
vector (optional): option to limit the plotted curves by set (e.g., run = 1, set = c(1,3,5)).
sorter
character (with default): the plot output can be ordered by "POSITION","SET" or "RUN". POSITION, SET and RUN are options defined in the Risoe Sequence Editor.
ltype
character (with default): option to limit the plotted curves by the type of luminescence stimulation. Allowed values: "IRSL", "OSL","TL", "RIR", "RBR"
curve.transformation
character (optional): allows transforming CW-OSL and CW-IRSL curves to pseudo-LM curves via transformation functions. Allowed values are: CW2pLM, CW2pLMi, CW2pHMi and
dose_rate
numeric (optional): dose rate of the irradition source at the measurement date. If set, the given irradiation dose will be shown in Gy. See details.
temp.lab
character (optional): option to allow for different temperature units. If no value is set deg. C is chosen.
cex.global
numeric (with default): global scaling factor.
...
further undocumented plot arguments.

Value

  • Returns a plot.

Details

Nomenclature The nomenclature used for the function (e.g., ltype, position) are taken from the Analyst manual (Duller, 2007, p. 42): rlll{ [,1] ID : Unique record ID (same ID as in slot DATA) numeric [,2] SEL : Record selection logical [,3] VERSION : Data format version number raw [,4] LENGTH : Length of this record integer [,5] PREVIOUS : Length of previous record integer [,6] NPOINTS : Number of data points in the record integer [,7] LTYPE : Luminescence type factor [,8] LOW : Low (temperature, time, wavelength) numeric [,10] HIGH : High (temperature, time, wavelength) numeric [,11] RATE : Rate (heating rate, scan rate) numeric [,12] TEMPERATURE : Sample temperature integer [,13] XCOORD : X position of a single grain integer [,14] YCOORD : Y position of a single grain integer [,15] TOLDELAY : TOL 'delay' channels integer [,16] TOLON : TOL 'on' channels integer [,17] TOLOFF : TOL 'off' channels integer [,18] POSITION : Carousel position integer [,19] RUN : Run number integer [,20] TIME : Data collection time (hh-mm-ss) factor [,21] DATA : Data collection date (dd-mm-yy) factor [,22] SEQUENCE : Sequence name factor [,23] USER : User name factor [,24] DTYPE : Data type factor [,25] IRR_TIME : Irradiation time numeric [,26] IRR_TYPE : Irradiation type (alpha, beta or gamma) integer [,27] IRR_UNIT : Irradiation unit (Gy, Rads, secs, mins, hrs) integer [,28] BL_TIME : Bleaching time numeric [,29] BL_UNIT : Bleaching unit (mJ, J, secs, mins, hrs) integer [,30] AN_TEMP : Annealing temperature numeric [,31] AN_TIME : Annealing time numeric [,32] NORM1 : Normalisation factor (1) numeric [,33] NORM2 : Normalisation factor (2) numeric [,34] NORM3 : Normalisation factor (3) numeric [,35] BG : Background level numeric [,36] SHIFT : Number of channels to shift data integer [,37] SAMPLE : Sample name factor [,38] COMMENT : Comment factor [,39] LIGHTSOURCE : Light source factor [,40] SET : Set Number integer [,41] TAG : Tag integer [,42] GRAIN : Grain number integer [,43] LPOWER : Optical Stimulation Power numeric [,44] SYSTEMID : System ID integer } curve.transformation This argument allows transforming continuous wave (CW) curves to pseudo (linear) modulated curves. For the transformation, the functions of the package are used. Currently, it is not possible to pass further arguments to the transformation functions. The argument works only for ltype OSL and IRSL. Irradiation time Plotting the irradiation time (s) or the given dose (Gy) requires that the variable IRR_TIME has been set within the BIN-file. This is normally done by using the 'Run Info' option within the Sequence Editor or by editing in R.

References

Duller, G., 2007. Analyst. pp. 1-45.

See Also

readBIN2R, CW2pLM, CW2pLMi, CW2pPMi, CW2pHMi

Examples

Run this code
##load data
data(ExampleData.BINfileData, envir = environment())

##plot all curves from the first position to the desktop
#pdf(file = "~/Desktop/CurveOutput.pdf", paper = "a4", height = 11, onefile = TRUE)

##example - load from *.bin file
#BINfile<-"[your path]"
#BINfileData<-readBIN2R(BINfile)

#par(mfrow = c(4,3), oma = c(0.5,1,0.5,1))
#plot_Risoe.BINfileData(CWOSL.SAR.Data,position = 1)
#mtext(side = 4, BINfile, outer = TRUE, col = "blue", cex = .7)
#dev.off()

Run the code above in your browser using DataLab