rindex.function: Interpolated Refractive Function

Description Usage Arguments Value Examples

Description

Interpolated Refractive Function

Usage

1

Arguments

pageid

The material pageid from rindex.search

Value

A function that will return the complex refractive index(s), given the wavelength(s) in meters

Examples

1
2
3
4
5
6
7
8
9
rindex.search("Ag")

Ag_data <- rindex.get(0)
Ag <- rindex.function(0)

wavelengths <- seq(210,12300,, 1000) * 1e-9

plot(Ag_data$wavelength, Ag_data$n, log="x",  xlab = "wavelength (m) - log scale", ylab = "n")
lines(wavelengths, Re(Ag(wavelengths)), col = 2, lwd = 2)

tjconstant/rindex documentation built on May 31, 2019, 3:39 p.m.