optics op• 資料種類:measurement → measurement
• 呼叫: import fullseye as fs; fs.ledger.snell_angle(theta_i_deg, eta1=1.0, eta2=1.5)(要直接呼叫實作,import match3d; match3d.snell_angle(theta_i_deg, eta1=1.0, eta2=1.5);從台帳取用則 ops3d.get("snell_angle"))
入射角(度)→ 折射角(度)。n1 sinθi = n2 sinθt。超過臨界角為 NaN(全反射)。
以度回傳 θ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(批次用 glassmirror.refract_rays。refract 只要有 1 條 TIR,整個批次就是 None),反射率用 fresnel_reflectance(cos(radians(θi)))。沒有將角度陣列一次彎折的入口 —— 像聲學那樣不用折射率而用速度思考時,傳入 eta = 1/c(n ∝ 1/c)。
• 範例資料目錄(下載 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 · fresnel_reflectance
optics)reflect · refract · fresnel_reflectance · normal_from_reflection
*Provenance: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.