snell_angle — 3D optics op

Data kinds: measurementmeasurement

Call: import fullseye as fs; fs.ledger.snell_angle(theta_i_deg, eta1=1.0, eta2=1.5) (to call the implementation directly, import match3d; match3d.snell_angle(theta_i_deg, eta1=1.0, eta2=1.5); from the registry, ops3d.get("snell_angle"))

Usage

Angle of incidence (deg) → angle of refraction (deg). n1 sinθi = n2 sinθt. Beyond the critical angle it is NaN (total internal reflection).

> The detailed description below is the original text — the summary and the headings are translated.

`θt = arcsin((eta1/eta2)·sin θi) を度で返す(float)。theta_i_deg` は実数スカラー(配列・

None は ValueError)。符号は保たれる(負の入射角は負の屈折角)。`|(eta1/eta2) sin θi| > 1` なら

`nan(全反射。eta1 > eta2 のときだけ起きる)。臨界角は degrees(arcsin(eta2/eta1))`。

`eta1 == eta2` なら入射角そのまま。

ベクトルで曲げるなら `refract(バッチは :func:glassmirror.refract_rays`。

`refract は 1 本でも TIR があるとバッチ全体が None` になる)、反射率は

`fresnel_reflectance(cos(radians(θi)))`。角度を配列でまとめて曲げる口は無い ——

音響のように屈折率でなく速度で考える場合は `eta = 1/c` を渡す(n ∝ 1/c)。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

snell_refractionpy -3.11 examples_3d/snell_refraction.py

Ops the type connects to (they accept measurement as input)

vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance

Same category (optics)

reflect · refract · fresnel_reflectance · normal_from_reflection


*Provenance: match3d.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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