The refractive index, usually abbreviated as \(n\) varies with temperature
and wavelength.
Usage
water_n(temperature = 20, w.length = 540, type = "freshwater")
Arguments
temperature
numeric Water temperature in degrees Celcius (C)
w.length
numeric Wavelength in nanometres (nm)
type
character One of "freshwater" or "seawater".
Details
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.