fullseye

lens_configurations — OPTICS lensconfig op

使い方

多構成の処方を、構成ごとに解決した lens_system のリストにする(table)。

system is a raytrace.lens_system that carries "configurations": a list of sparse override dicts {"name", "surfaces": {index: {field: value}}, "system": {field: value}} (surface fields R t n k ap f asph mirror decenter tilt, system fields wavelength_um field stop object_mm image_mm aim). Returns one fully resolved lens_system per configuration, in order (each also carries configuration = its 0-based index and configuration_name); every raytrace / lensimage / lensopt op takes them unchanged. None uses a two-position example (a thin-lens pair whose separation is 10 and 30 mm).

Fail-closed: a configuration that names a surface that does not exist, an unknown field, or a value lens_system rejects raises ValueError naming the configuration; the base system is not modified (each result is an independent copy).

Example::

base = RT.lens_system([{"f": 100.0, "t": 20.0}, {"f": 100.0, "t": None}], stop=0,
                      object_mm=float("inf"))
base["configurations"] = [{"surfaces": {0: {"t": d}}} for d in (10.0, 20.0, 30.0)]
[RT.paraxial_trace(s)["efl"] for s in lens_configurations(base)]

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