convertThickness | R Documentation |
Function to set the "thickness" attribute and simultaneously converting the spectral data to correspond to the new thickness.
convertThickness(x, thickness = NULL)
x |
a filter_spct, object_spct, filter_mspct or object_mspct object. |
thickness |
numeric [ |
For spectral transmittance at a different thickness to be exactly
computed, it needs to be based on internal transmittance. This function
will apply converTfrType()
to x
if needed, but to succeed
metadata should be available. Please, see convertTfrType
.
x
possibly with the "thickness"
field of the
"filter.properties"
attribute modified and Tfr
or A
computed for the requested thickness.
if x
is not a filter_spct
, object_spct
,
filter_mspct
or object_mspct
object or a collection of such
objects, x
is returned unchanged. If x
does not have the
"filter.properties"
attribute set or has it with missing member
data, x
is returned with Tfr
set to NA
values.
Other time attribute functions:
checkTimeUnit()
,
convertTimeUnit()
,
getTimeUnit()
,
setTimeUnit()
my.spct <- polyester.spct
filter_properties(my.spct)
convertThickness(my.spct, thickness = 250e-6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.