fullseye

lens_solve_set — OPTICS lenssolve op

使い方

面に解(solve)の規則を付け、解いた処方を返す(table)。

surface defaults to the last one. kind is one of marginal_ray_height (h, mm, default 0), chief_ray_height (h, field), paraxial_image, marginal_ray_angle / chief_ray_angle (angle_deg, default 0, field), f_number (fno required; c0 the start curvature, default the surface’s own; span the search half-width in 1/mm), concentric (with_surface, default the previous surface; mode "centre" shares the centre of curvature, "vertex" puts it at that vertex), aplanatic, pickup (source required, quantity "c" / "t" / "A2" … "A18" an aspheric coefficient, scale 1, offset 0; scale=-1 picks up the negative curvature). An argument the kind does not take is a ValueError, as is an unknown kind (the message lists them). A rule replaces any earlier one on that surface; the rest of the prescription is untouched. The returned system is resolved (see :func:lens_apply_solves); its solve_report gives the rule’s resolved value and the achieved quantity.

Example::

s = lens_solve_set(lens, 5, "paraxial_image")                 # image at the paraxial focus
s = lens_solve_set(s, 4, "f_number", fno=5.6)                 # and the F/# held by surface 4's curvature
s["solve_report"][1]["roots"]                                 # the F/# solve's roots; the nearest is used

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

同カテゴリ(lenssolve)

lens_apply_solves · lens_solve_clear · lens_solves_list · afocal_system · lens_afocal_report · lens_image_surface · lens_petzval_radius · lens_zmx_solves_roundtrip


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

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