linearize: linearize a colorSpec object - to make it ready for...

View source: R/colorSpec.ops.R

linearizeR Documentation

linearize a colorSpec object - to make it ready for colorimetric calculations

Description

linearize spectra and return modified object

Usage

## S3 method for class 'colorSpec'
linearize( x )

Arguments

x

a colorSpec object

Details

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).

Value

linearize returns a colorSpec object with linear quantities.

See Also

quantity


colorSpec documentation built on May 29, 2024, 6 a.m.