Skip to contents

S4 class object for luminescence data in R. The object is produced as output of the function read_BIN2R.

Usage

# S4 method for class 'Risoe.BINfileData'
show(object)

# S4 method for class 'ANY'
set_Risoe.BINfileData(
  METADATA = data.frame(),
  DATA = list(),
  .RESERVED = list()
)

# S4 method for class 'Risoe.BINfileData'
get_Risoe.BINfileData(object, ...)

Arguments

object

an object of class Risoe.BINfileData

METADATA

Object of class "data.frame" containing the meta information for each curve.

DATA

Object of class "list" containing numeric vector with count data.

.RESERVED

Object of class "list" containing list of undocumented raw values for internal use only.

...

other arguments that might be passed

Methods (by generic)

  • show(Risoe.BINfileData): Show structure of RLum and Risoe.BINfile class objects

  • set_Risoe.BINfileData(ANY): The Risoe.BINfileData is normally produced as output of the function read_BIN2R. This construction method is intended for internal usage only.

  • get_Risoe.BINfileData(Risoe.BINfileData): Formal get-method for Risoe.BINfileData object. It does not allow accessing the object directly, it is just showing a terminal message.

Slots

METADATA

Object of class "data.frame" containing the meta information for each curve.

DATA

Object of class "list" containing numeric vector with count data.

.RESERVED

Object of class "list" containing list of undocumented raw values for internal use only.

Note

Internal METADATA - object structure

This structure is compatible with BIN/BINX-files version 03-08, however, it does not follow (in its sequential arrangement) the manual provided by the manufacturer, but an own structure accounting for the different versions.

#NameData TypeVDescription
[,1]IDnumericRLumUnique record ID (same ID as in slot DATA)
[,2]SELlogicRLumRecord selection, not part official BIN-format, triggered by TAG
[,3]VERSIONraw03-08BIN-file version number
[,4]LENGTHinteger03-08Length of this record
[,5]PREVIOUSinteger03-08Length of previous record
[,6]NPOINTSinteger03-08Number of data points in the record
[,7]RECTYPEinteger08Record type
[,8]RUNinteger03-08Run number
[,9]SETinteger03-08Set number
[,10]POSITIONinteger03-08Position number
[,11]GRAINinteger03-04Grain number
[,12]GRAINNUMBERinteger05-08Grain number
[,13]CURVENOinteger05-08Curve number
[,14]XCOORDinteger03-08X position of a single grain
[,15]YCOORDinteger03-08Y position of a single grain
[,16]SAMPLEfactor03-08Sample name
[,17]COMMENTfactor03-08Comment name
[,18]SYSTEMIDinteger03-08Risø system id
[,19]FNAMEfactor05-08File name (.bin/.binx)
[,20]USERfactor03-08User name
[,21]TIMEcharacter03-08Data collection time (hh-mm-ss)
[,22]DATEfactor03-08Data collection date (ddmmyy)
[,23]DTYPEcharacter03-08Data type
[,24]BL_TIMEnumeric03-08Bleaching time
[,25]BL_UNITinteger03-08Bleaching unit (mJ, J, s, min, h)
[,26]NORM1numeric03-08Normalisation factor (1)
[,27]NORM2numeric03-08Normalisation factor (2)
[,28]NORM3numeric03-08Normalisation factor (3)
[,29]BGnumeric03-08Background level
[,30]SHIFTinteger03-08Number of channels to shift data
[,31]TAGinteger03-08Tag, triggers SEL
[,32]LTYPEcharacter03-08Luminescence type
[,33]LIGHTSOURCEcharacter03-08Light source
[,34]LPOWERnumeric03-08Optical stimulation power
[,35]LIGHTPOWERnumeric05-08Optical stimulation power
[,36]LOWnumeric03-08Low (temperature, time, wavelength)
[,37]HIGHnumeric03-08High (temperature, time, wavelength)
[,38]RATEnumeric03-08Rate (heating rate, scan rate)
[,39]TEMPERATUREinteger03-08Sample temperature
[,40]MEASTEMPinteger05-08Measured temperature
[,41]AN_TEMPnumeric03-08Annealing temperature
[,42]AN_TIMEnumeric03-08Annealing time
[,43]TOLDELAYinteger03-08TOL 'delay' channels
[,44]TOLONinteger03-08TOL 'on' channels
[,45]TOLOFFinteger03-08TOL 'off' channels
[,46]IRR_TIMEnumeric03-08Irradiation time
[,47]IRR_TYPEinteger03-08Irradiation type (alpha, beta or gamma)
[,48]IRR_UNITinteger03-04Irradiation unit (Gy, rad, s, min, h)
[,49]IRR_DOSERATEnumeric05-08Irradiation dose rate (Gy/s)
[,50]IRR_DOSERATEERRnumeric06-08Irradiation dose rate error (Gy/s)
[,51]TIMESINCEIRRinteger05-08Time since irradiation (s)
[,52]TIMETICKnumeric05-08Time tick for pulsing (s)
[,53]ONTIMEinteger05-08On-time for pulsing (in time ticks)
[,54]OFFTIMEinteger03Off-time for pulsed stimulation (in s)
[,55]STIMPERIODinteger05-08Stimulation period (on+off in time ticks)
[,56]GATE_ENABLEDraw05-08PMT signal gating enabled
[,57]ENABLE_FLAGSraw05-08PMT signal gating enabled
[,58]GATE_STARTinteger05-08Start gating (in time ticks)
[,59]GATE_STOPinteger05-08Stop gating (in time ticks), 'Gateend' for version 04, here only GATE_STOP is used
[,60]PTENABLEDraw05-08Photon time enabled
[,61]DTENABLEDraw05-08PMT dead time correction enabled
[,62]DEADTIMEnumeric05-08PMT dead time (s)
[,63]MAXLPOWERnumeric05-08Stimulation power to 100 percent (mW/cm^2)
[,64]XRF_ACQTIMEnumeric05-08XRF acquisition time (s)
[,65]XRF_HVnumeric05-08XRF X-ray high voltage (V)
[,66]XRF_CURRinteger05-08XRF X-ray current (µA)
[,67]XRF_DEADTIMEFnumeric05-08XRF dead time fraction
[,68]DETECTOR_IDraw07-08Detector ID
[,69]LOWERFILTER_IDinteger07-08Lower filter ID in reader
[,70]UPPERFILTER_IDinteger07-08Upper filter ID in reader
[,71]ENOISEFACTORnumeric07-08Excess noise filter, usage unknown
[,72]MARKPOS_X1numeric08Coordinates marker position 1
[,73]MARKPOS_Y1numeric08Coordinates marker position 1
[,74]MARKPOS_X2numeric08Coordinates marker position 2
[,75]MARKPOS_Y2numeric08Coordinates marker position 2
[,76]MARKPOS_X3numeric08Coordinates marker position 3
[,77]MARKPOS_Y3numeric08Coordinates marker position 3
[,78]EXTR_STARTnumeric08usage unknown
[,79]EXTR_ENDnumeric08usage unknown
[,80]SEQUENCEcharacter03-04Sequence name

V = BIN-file version (RLum means that it does not depend on a specific BIN version)

Note that the Risoe.BINfileData object combines all values from different versions from the BIN-file, reserved bits are skipped, however, the function write_R2BIN reset arbitrary reserved bits. Invalid values for a specific version are set to NA. Furthermore, the internal R data types do not necessarily match the required data types for the BIN-file data import! Data types are converted during data import.

LTYPE values

VALUETYPEDESCRIPTION
[0]TL: Thermoluminescence
[1]OSL: Optically stimulated luminescence
[2]IRSL: Infrared stimulated luminescence
[3]M-IR: Infrared monochromator scan
[4]M-VIS: Visible monochromator scan
[5]TOL: Thermo-optical luminescence
[6]TRPOSL: Time Resolved Pulsed OSL
[7]RIR: Ramped IRSL
[8]RBR: Ramped (Blue) LEDs
[9]USER: User defined
[10]POSL: Pulsed OSL
[11]SGOSL: Single Grain OSL
[12]RL: Radio Luminescence
[13]XRF: X-ray Fluorescence

DTYPE values

VALUEDESCRIPTION
[0]Natural
[1]N+dose
[2]Bleach
[3]Bleach+dose
[4]Natural (Bleach)
[5]N+dose (Bleach)
[6]Dose
[7]Background

LIGHTSOURCE values

VALUEDESCRIPTION
[0]None
[1]Lamp
[2]IR diodes/IR Laser
[3]Calibration LED
[4]Blue Diodes
[5]White light
[6]Green laser (single grain)
[7]IR laser (single grain)

Internal DATA - object structure

With version 8 of the BIN/BINX file format, slot @DATA (byte array DPOINTS) can contain two different values:

  1. DPOINTS (standard for RECTYPE := (0,1)): is a vector with the length defined through NPOINTS. This is the standard for xy-curves since version 03.

  2. DPOINTS (RECTYPE := 128) is contains no count values but information about the definition of the regions of interest (ROI). Each definition is 504 bytes long. The number of definitions is defined by NPOINTS in @METADATA. The record describes basically the geometric features of the regions of interest. The representation in R is a nested list.

#NameData TypeVDescription
[,1]NOFPOINTSnumeric08number of points in the definition (e.g., if the ROI is a rectangle: 4)
[,2]USEDFORlogical08samples for which the ROI is used for; a maximum of 48 samples are allowed.
[,3]SHOWNFORlogical08samples for which the ROI is shown for; a maximum of 48 samples are allowed.
[,4]COLORnumeric08The colour values of the ROI.
[,5]Xnumeric08The x coordinates used to draw the ROI geometry (up to 50 points are allowed).
[,6]Ynumeric08The y coordinates used to draw the ROI geometry (up to 50 points are allowed).

(information on the BIN/BINX file format are kindly provided by Risø, DTU Nutech)

Objects from the Class

Objects can be created by calls of the form new("Risoe.BINfileData", ...).

Function version

0.4.1

How to cite

Kreutzer, S., 2024. Risoe.BINfileData-class(): Class 'Risoe.BINfileData'. Function version 0.4.1. 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., Colombo, M., 2024. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.26. https://r-lum.github.io/Luminescence/

References

Risø DTU, 2013. The Sequence Editor User Manual - Feb 2013 and Risø DTU, 2016.

The Sequence Editor User Manual - February 2016

https://www.fysik.dtu.dk

Author

Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany)
based on information provided by Torben Lapp and Karsten Bracht Nielsen (Risø DTU, Denmark) , RLum Developer Team

Examples


showClass("Risoe.BINfileData")
#> Class "Risoe.BINfileData" [package "Luminescence"]
#> 
#> Slots:
#>                                        
#> Name:    METADATA       DATA  .RESERVED
#> Class: data.frame       list       list