Description Usage Arguments Details Value References See Also Examples
View source: R/snell_fresnel.R
The function calculates the reflectance, i.e., the squared modulus of the (complex) amplitude reflection coefficient, of (polarized) electromagnetic radiation incident at a flat interface.
1 |
thetai |
Incidence angle relative to the normal of the interface between the two mediums (radians). |
thetar |
Refracted angle relative to the normal of the interface between
the two mediums (radians). If missing, function |
ni |
Refractive index of the medium of incidence (unitless). |
nr |
Refractive index of the medium of refraction (unitless). |
fp |
Fraction of parallel polarization (unitless). |
ave |
Logical. Should the reflections for S and P polarizations be returned separately? |
Uses Fresnel's formulations to calculate the reflectance based on
the incident and (complex) refracted angles and the (complex) indexes of
refraction. NA
s allowed in all arguments.
If ave
is set to TRUE, the weighted average reflectance will be
calculated, with the weights of each polarization given by fp
.
A numeric vector if average reflectance is desired or a matrix with the reflectance for parallel (R_p) and perpendicular polarizations (R_s).
Bohren, C. F.; Huffman, D. R. 1983. Absorption and Scattering of Light by Small Particles. Wiley, New York.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.