fullseye

phase_function_hg — OPTICS watermedia op

使い方

The Henyey-Greenstein phase function, normalised over the sphere -> dict.

p(cos theta) = (1 - g^2) / (4 pi (1 + g^2 - 2 g cos theta)^(3/2)) per steradian, so that 2 pi int p d(cos theta) = 1 and the mean cosine 2 pi int p cos theta d(cos theta) equals g (g > 0 forward scattering, g < 0 backward). |g| >= 1 (the function is not a probability density there) and cos_theta outside [-1, 1] are refused. The table has cos_theta, phase_per_sr and g.

ファミリ共通の入力契約(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 · fresnel_water_air · snell_window · refracted_view · water_attenuation · underwater_image · 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.