fresnel_reflectance — 3D optics op

• 数据种类:measurement → measurement

• 调用: import fullseye as fs; fs.ledger.fresnel_reflectance(cos_i, eta1=1.0, eta2=1.5)(要直接调用实现,import match3d; match3d.fresnel_reflectance(cos_i, eta1=1.0, eta2=1.5);从台账取用则 ops3d.get("fresnel_reflectance"))

用法

Fresnel 反射率(非偏振=s/p 平均)。透明体界面上分成反射/透射的比例。

垂直入射时为 ((n1−n2)/(n1+n2))²(air→glass=0.04)。超过临界角为 1.0(全反射)。用于透明体渲染/检测。

cos_i 为入射角的余弦(实数标量。数组、None 则 ValueError)。符号被丢弃(|cos_i|)。eta1 为入射侧、eta2 为透射侧的折射率。以 float 返回 s 偏振 rs 与 p 偏振 rp 的平均([0, 1])。在 Brewster 角处 rp = 0,但平均不为 0。cos_i = 0(掠入射)时为 1.0。透射率为 1 − 反射率(无吸收)。

用途: 经 refract 弯折的光线的权重,透明体的亮度预测。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

可运行的示例(实际调用该算子并已验证的样例)

• snell_refraction — py -3.11 examples_3d/snell_refraction.py

类型可衔接的下一个算子(可接受 measurement 作为输入)

vol_gaussian_psf · fuse_to_voxel · snell_angle

同类别(optics)

reflect · refract · normal_from_reflection · snell_angle


*Provenance: match3d.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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