InterferenceTable: Computes the Interference Table

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/InterferenceTable.R

Description

InterferenceTable is the package workhorse. It computes retardations for specified sets of wavelength, birefringence and thickness values and turns the corresponding transmission matrix into color coordinates in the sRGB colorspace. For now the colorimetric setting is nested into the function. It makes use of D65 illuminant and CIE 1931 2 degrees Color Matching Functions in order to reproduce Sorensen's paper setting. Computations may be slow for high resolutions.

Usage

1
2
InterferenceTable(spectr = seq(360, 830, by = 5), birefVect = seq(2e-04,
  0.1, by = 5e-04), thickVect = seq(0.01, 50, length.out = 50))

Arguments

spectr

A vector of wavelengths (in nanometers).

birefVect

A vector of birefringence values.

thickVect

A vector of thickness values (in micrometers).

Value

A data frame with 6 variables (columns) named thickness, biref, R, G, B and retardation

Author(s)

Olivier Eterradossi, [email protected]

References

Sorensen, B.E. (2013) A revised Michel-Levy interference colour chart based on first-principles calculations. Eur. J. Mineral., 2013, 25, 5-10. DOI:10.1127/0935-1221/2013/0025-2252

See Also

sRGB, D65, xyz1931, colorSpec

Examples

1
2
3
4
5
## Not run: 
test.IC<- InterferenceTable(spectr=seq(360,830,by=5),
birefVect=seq(0.0002,0.1,by=0.0005),thickVect=seq(0.01,50,length.out=50))

## End(Not run)

interfr documentation built on July 13, 2017, 5:02 p.m.