water_n | R Documentation |
The refractive index, usually abbreviated as n
varies with temperature
and wavelength.
water_n(temperature = 20, w.length = 540, type = "freshwater")
temperature |
numeric Water temperature in degrees Celcius (C) |
w.length |
numeric Wavelength in nanometres (nm) |
type |
character One of "freshwater" or "seawater". |
Function 'n.water()' implements the function proposed by Parrish for
approximation of n
for freshwater and seawater. The function is valid
for wavelengths from 400 nm to 700 nm, and for temperatures from 0 C to 30 C.
The function is vectorized.
Chris Parrish (2020) Index of Refraction of Seawater and Freshwater as a Function of Wavelength and Temperature. https://research.engr.oregonstate.edu/parrish/index-refraction-seawater-and-freshwater-function-wavelength-and-temperature
For other materials see refractive_index.mspct
and to
compute reflectance from n
see Rfr_from_n
.
water_n(w.length = (40:70)*10)
water_n(temperature = seq(0, 30, by = 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.