fullseye

cylinder_lens_caustic — OPTICS watermedia op

使い方

The paraxial focus and the real-ray caustic of a cylinder (a rod or a bottle) in a collimated beam -> dict.

thickness_wall_mm = 0 is a solid rod of index n_glass and outer radius radius_mm; thickness_wall_mm > 0 is a hollow tube of that wall thickness filled with a medium of index n_fill (1.0 = empty, 1.333 = water). The light travels along +z across the axis (at the origin) and is bent in the plane of the section. The paraxial focus comes from the 2x2 ray-transfer matrix of the surfaces (efl = -1/C, back focal distance -A/C); for a solid rod it is the closed form f = n R / (2 (n - 1)) measured from the axis, and for a thin-walled tube filled with n_fill the two-interface limit n_fill R / (2 (n_fill - 1)). The real rays are traced surface by surface with the exact vector form of Snell’s law at parallel heights from the axis up to 95 % of the clear aperture (the rod, or the fill); focus_z_mm is where each leaves the cylinder and crosses the axis (distance from the axis, NaN if it does not cross), caustic_z_mm / caustic_y_mm the envelope of neighbouring exit rays. The marginal focus (the highest ray that leaves the cylinder before it crosses the axis) is shorter than the paraxial one (positive spherical aberration). The table also has paraxial_focus_mm (from the axis), efl_mm, power_per_mm (C; an empty thin tube has almost none), efl_closed_form_mm, marginal_focus_mm, longitudinal_aberration_mm, heights_mm, paths_z_mm / paths_y_mm (the ray points from the start to the exit) and exit_dir_z / exit_dir_y. n_glass <= 1, n_fill < 1 and a wall as thick as the radius are refused.

ファミリ共通の入力契約(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 · phase_function_hg


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

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