View source: R/colorSpec.ops.R
linearize | R Documentation |
linearize spectra and return modified object
## S3 method for class 'colorSpec'
linearize( x )
x |
a colorSpec object |
If the quantity(x)
is not 'absorbance'
then x
is returned unchanged.
If the quantity(x)
is 'absorbance'
then absorbance is converted to transmittance using
transmittance = 10^{-absorbance}
Surprisingly, there does not seem to be a similar logarithmic version of reflectance. Plots with log(responsivity) is somewhat common, but does not seem to have a separate name. I have not seen log(radiometric power).
linearize
returns a colorSpec object with linear quantities.
quantity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.