RLum.Data.Spectrum-class | R Documentation |
"RLum.Data.Spectrum"
Class for representing luminescence spectra data (TL/OSL/RF).
## S4 method for signature 'RLum.Data.Spectrum'
show(object)
## S4 method for signature 'RLum.Data.Spectrum'
set_RLum(
class,
originator,
.uid,
.pid,
recordType = "Spectrum",
curveType = NA_character_,
data = matrix(),
info = list()
)
## S4 method for signature 'RLum.Data.Spectrum'
get_RLum(object, info.object)
## S4 method for signature 'RLum.Data.Spectrum'
names_RLum(object)
## S4 method for signature 'RLum.Data.Spectrum'
bin_RLum.Data(object, bin_size.col = 1, bin_size.row = 1)
object |
|
class |
|
originator |
character (automatic): contains the name of the calling function (the function that produces this object); can be set manually. |
.uid |
|
.pid |
|
recordType |
|
curveType |
|
data |
|
info |
|
info.object |
|
bin_size.col |
integer (with default):
set number of channels used for each bin, e.g. |
bin_size.row |
integer (with default):
set number of channels used for each bin, e.g. |
[set_RLum]
An object from the class RLum.Data.Spectrum
[get_RLum]
A matrix with the spectrum values or
only the info object if info.object
was set.
[names_RLum]
The names of the info objects
[bin_RLum.Data]
Same object as input, after applying the binning.
show(RLum.Data.Spectrum)
: Show structure of RLum.Data.Spectrum
object
set_RLum(RLum.Data.Spectrum)
: Construction method for RLum.Data.Spectrum object. The slot info is optional
and predefined as empty list by default
get_RLum(RLum.Data.Spectrum)
: Accessor method for RLum.Data.Spectrum object. The argument info.object
is optional to directly access the info elements. If no info element name
is provided, the raw curve data (matrix) will be returned
names_RLum(RLum.Data.Spectrum)
: Returns the names info elements coming along with this curve object
bin_RLum.Data(RLum.Data.Spectrum)
: Allows binning of RLum.Data.Spectrum data. Count values and values on the x-axis are summed-up;
for wavelength/energy values the mean is calculated.
recordType
Object of class character containing the type of the curve (e.g. "TL" or "OSL")
curveType
Object of class character containing curve type, allowed values are measured or predefined
data
Object of class matrix containing spectrum (count) values. Row labels indicate wavelength/pixel values, column labels are temperature or time values.
info
Object of class list containing further meta information objects
Objects can be created by calls of the form set_RLum("RLum.Data.Spectrum", ...)
.
0.5.2
Kreutzer, S., 2024. RLum.Data.Spectrum-class(): Class 'RLum.Data.Spectrum'. 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., 2024. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.24. https://CRAN.R-project.org/package=Luminescence
The class should only contain data for a single spectra data set. For
additional elements the slot info
can be used. Objects from this class are automatically
created by, e.g., read_XSYG2R
Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team
RLum, RLum.Data, plot_RLum
showClass("RLum.Data.Spectrum")
##show example data
data(ExampleData.XSYG, envir = environment())
TL.Spectrum
##show data matrix
get_RLum(TL.Spectrum)
##plot spectrum
## Not run:
plot_RLum(TL.Spectrum)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.