water_n {photobiologyFilters}R Documentation

Refractive index of water

Description

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.

References

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

See Also

For other materials see refractive_index.mspct and to compute reflectance from n see Rfr_from_n.

Examples


water_n(w.length = (40:70)*10)
water_n(temperature = seq(0, 30, by = 5))


[Package photobiologyFilters version 0.6.0 Index]