-
Notifications
You must be signed in to change notification settings - Fork 8
/
RLum.Data.Image-class.Rd
141 lines (108 loc) · 4.59 KB
/
RLum.Data.Image-class.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RLum.Data.Image-class.R
\docType{class}
\name{RLum.Data.Image-class}
\alias{RLum.Data.Image-class}
\alias{show,RLum.Data.Image-method}
\alias{set_RLum,RLum.Data.Image-method}
\alias{get_RLum,RLum.Data.Image-method}
\alias{names_RLum,RLum.Data.Image-method}
\title{Class \code{"RLum.Data.Image"}}
\usage{
\S4method{show}{RLum.Data.Image}(object)
\S4method{set_RLum}{RLum.Data.Image}(
class,
originator,
.uid,
.pid,
recordType = "Image",
curveType = NA_character_,
data = array(),
info = list()
)
\S4method{get_RLum}{RLum.Data.Image}(object, info.object)
\S4method{names_RLum}{RLum.Data.Image}(object)
}
\arguments{
\item{object}{\code{\link{get_RLum}}, \code{\link{names_RLum}} (\strong{required}):
an object of class \linkS4class{RLum.Data.Image}}
\item{class}{\code{\link{set_RLum}}; \link{character}: name of the \code{RLum} class to create}
\item{originator}{\code{\link{set_RLum}}; \link{character} (\emph{automatic}):
contains the name of the calling function (the function that produces this object);
can be set manually.}
\item{.uid}{\code{\link{set_RLum}}; \link{character} (\emph{automatic}):
sets an unique ID for this object using the internal C++ function \code{create_UID}.}
\item{.pid}{\code{\link{set_RLum}}; \link{character} (\emph{with default}):
option to provide a parent id for nesting at will.}
\item{recordType}{\code{\link{set_RLum}}; \link{character}:
record type (e.g. "OSL")}
\item{curveType}{\code{\link{set_RLum}}; \link{character}:
curve type (e.g. "predefined" or "measured")}
\item{data}{\code{\link{set_RLum}}; \link{matrix}:
raw curve data. If data is of type \code{RLum.Data.Image} this can be used to
re-construct the object, i.e. modified parameters except \code{.uid} and \code{.pid}. The rest
will be subject to copy and paste unless provided.}
\item{info}{\code{\link{set_RLum}}; \link{list}:
info elements}
\item{info.object}{\code{\link{get_RLum}}; \link{character}:
name of the info object to returned}
}
\value{
\strong{\code{set_RLum}}
Returns an object from class \code{RLum.Data.Image}
\strong{\code{get_RLum}}
\enumerate{
\item Returns the data object (\link{array})
\item only the info object if \code{info.object} was set.
}
\strong{\code{names_RLum}}
Returns the names of the info elements
}
\description{
Class for representing luminescence image data (TL/OSL/RF). Such data are for example produced
by the function \link{read_SPE2R}
}
\section{Methods (by generic)}{
\itemize{
\item \code{show(RLum.Data.Image)}: Show structure of \code{RLum.Data.Image} object
\item \code{set_RLum(RLum.Data.Image)}: Construction method for RLum.Data.Image object. The slot info is optional
and predefined as empty list by default.
\item \code{get_RLum(RLum.Data.Image)}: Accessor method for \code{RLum.Data.Image} object. The argument \code{info.object} is
optional to directly access the info elements. If no info element name is
provided, the raw image data (\code{array}) will be returned.
\item \code{names_RLum(RLum.Data.Image)}: Returns the names info elements coming along with this curve object
}}
\section{Slots}{
\describe{
\item{\code{recordType}}{Object of class \link{character} containing the type of the curve (e.g. "OSL image", "TL image")}
\item{\code{curveType}}{Object of class \link{character} containing curve type, allowed values
are measured or predefined}
\item{\code{data}}{Object of class \link{array} containing image data.}
\item{\code{info}}{Object of class \link{list} containing further meta information objects}
}}
\note{
The class should only contain data for a set of images. For additional
elements the slot \code{info} can be used.
}
\section{Objects from the class}{
Objects can be created by calls of the form \code{set_RLum("RLum.Data.Image", ...)}.
}
\section{Class version}{
0.5.1
}
\examples{
showClass("RLum.Data.Image")
##create empty RLum.Data.Image object
set_RLum(class = "RLum.Data.Image")
}
\seealso{
\linkS4class{RLum}, \linkS4class{RLum.Data}, \link{plot_RLum}, \link{read_SPE2R}, \link{read_TIFF2R}
}
\author{
Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany)
, RLum Developer Team}
\section{How to cite}{
Kreutzer, S., 2024. RLum.Data.Image-class(): Class 'RLum.Data.Image'. 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.25. https://r-lum.github.io/Luminescence/
}
\keyword{classes}
\keyword{internal}