fullseye

lens_file_system — OPTICS lensfile op

使い方

読み込んだ処方を、視野 1 つ・波長 1 つの raytrace.lens_system にする(table)。

field_index picks one of prescription["fields"] (0-based; its radial value becomes the system’s default field), wavelength_index one of prescription["wavelengths"] (default: the primary). Every raytrace / lensimage / lensopt op then works on the result. None reads the bundled example first. For a file with coordinate breaks the result is a raytrace3d.noncoaxial_system (use the raytrace3d ops on it) at the field (x, y) of the file.

Example::

p = lens_file_read("triplet.zmx")
for i in range(len(p["fields"])):
    print(RT.spot_stats(lens_file_system(p, field_index=i))["rms_radius"])

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

同カテゴリ(lensfile)

lens_file_read · lens_file_write · lens_file_report


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

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