fullseye

lens_file_report — OPTICS lensfile op

使い方

.zmx を読み込まずに分類する —— 何を読み / 無視し / 拒否するか(table)。

Parses every line and classifies each keyword — never raises for an unsupported feature (that is what it reports); it raises only for text that is not a prescription at all. Returns {"source", "encoding", "n_surfaces", "surface_types", "importable", "needs_allow_partial", "read", "ignored", "unsupported", "notes", "error"}: importable is True when :func:lens_file_read succeeds without allow_partial, needs_allow_partial when it succeeds only with it, and error is the refusal message otherwise. Use it to triage a folder of files.

Example::

r = lens_file_report("legacy_design.zmx")
r["importable"], [u["message"] for u in r["unsupported"]]

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


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

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