fullseye

fresnel_water_air — OPTICS watermedia op

使い方

Fresnel reflectance and transmittance of the air-water interface -> dict.

theta_deg is the angle of incidence (0 to 90, an array is accepted) on the side the light comes from; direction is air_to_water or water_to_air. The index of water is the real part of the material table at wavelength_um (dispersion included: 1.3435 at 0.40 um, 1.3347 at 0.55 um, 1.3305 at 0.70 um) unless n_water is given. The amplitude coefficients are r_s = (n1 cos i - n2 cos t) / (n1 cos i + n2 cos t) and r_p = (n2 cos i - n1 cos t) / (n2 cos i + n1 cos t); the reflectance is |r|^2 and the transmittance is computed from the transmitted amplitude, T = n2 cos t / (n1 cos i) |t|^2, so R + T = 1 is a check and not a definition. Beyond the critical angle (water to air) the light is totally reflected: R = 1, T = 0, tir is True and the refracted angle is NaN. The table has R, T (for polarization: s, p or their mean unpolarized), R_s, R_p, T_s, T_p, theta_t_deg, tir, n_water, brewster_deg (atan n) and critical_deg (asin(1/n)).

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

abcd_matrix · wavefront_stats · sfr_from_edge · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd

同カテゴリ(watermedia)

ocean_spectrum · ocean_height_field · snell_window · refracted_view · water_attenuation · underwater_image · phase_function_hg · scattering_phase_petzold


Provenance: watermedia.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.