fullseye

lens_configuration_metrics — OPTICS lensconfig op

使い方

構成ごとに 1 つの指標(EFL・後端焦点距離・RMS スポット・MTF・囲みエネルギー)を並べる(table)。

Runs one existing metric on every resolved configuration; nothing is recomputed here. metric: "efl" / "bfl" (raytrace.paraxial_trace), "rms_spot" / "geo_spot" (radius in mm, raytrace.spot_stats at field, 8 rings), "mtf" (tangential MTF at frequency_cpmm, lensimage.through_focus_mtf at zero defocus), "encircled_energy" (fraction of the PSF energy inside radius_um micrometres, lensimage PSF + optics.encircled_energy). field defaults to each configuration’s own field. Returns {"metric", "unit", "values", "names", "n_configurations"} with one number per configuration in order. None uses the two-position example.

Example::

lens_configuration_metrics(zoom, "efl")["values"]
lens_configuration_metrics(zoom, "mtf", field=0.0, frequency_cpmm=20.0)["values"]

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

同カテゴリ(lensconfig)

lens_configurations · lens_with_configuration · lens_configuration_table · lens_add_configuration


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

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