snell_decomp: Decompose a complex refracted angle

Description Usage Arguments Details Value References See Also Examples

View source: R/snell_fresnel.R

Description

The function calculates the angle of constant phase and the angle of constant amplitude for complex refracted angles of eletromagnetic radiation transmitted to a medium.

Usage

1
snell_decomp(thetar, nr)

Arguments

thetar

Complex refracted angle (radians).

nr

Refractive index of the medium of refraction (unitless).

Details

Refractive index of the medium of refraction may be real or complex. The refracted angle is the angle at constant phase.

Value

A matrix with the constant-phase (theta_kp) and constant-amplitude (theta_ka) angles.

References

Liu, Y.; Qian, J.; Tian, Y. 2003. Succinct formulas for decomposition of complex refraction angle. IEEE Antennas and Propagation Society International Symposium. Digest. Held in conjunction with: USNC/CNC/URSI North American Radio Sci. Meeting (Cat. No.03CH37450), Columbus, OH, pp. 487-490, vol. 3. DOI: 10.1109/APS.2003.1219892

See Also

snell, fresnel

Examples

1
2
3
4
# Refraction from average seawater to standard dry air at 550 nm:
refr <- snell(c(0, pi/4, pi/2), ni = complex(real = 1.342033, 
              imaginary = 2.442E-09), nr = 1.000278)
snell_decomp(thetar = refr, nr = 1)

AlexCast/rho documentation built on Dec. 14, 2021, 9:47 a.m.