fullseye

simcal_model — SIMCAL model op

使い方

Build a simmodel: a forward chain of ops whose arguments are knobs with units, ranges and a noise model.

chain — list of steps {"op": name, "args": {...}}; op is any registered fullseye op (e.g. "thin_film_reflectance") or a built-in stage ("stage:gain_offset", "stage:scale", "stage:radial_cos4", "stage:radial_poly", "stage:gaussian_blur", "stage:as_image", "stage:mc_sample"). Step 0 receives scene as its first argument (or nothing when scene is None), each later step the previous output.

knobs — list of dicts {"name", "step" (index or op name), "arg", "lo", "hi", "unit", "scale" ("linear" | "log"), "init", "prior" ((mean, sd) or None), "role" ("gain" | "offset" | None), "fixed" (value or None)}. A knob is bound to one argument of one step; init defaults to the middle of the range (geometric middle on a log scale).

conditions — optional list of {step: {arg: value}} (one output image per condition: exposures, wavelengths, illumination angles). nuisance — names of knobs that are fitted but not of interest; label names the model in reports. noise / stochastic — see the module docstring.

The model is run once at the initial knobs and refused (ValueError) when a step is unknown, a knob names an argument its op does not take, two knobs bind the same argument, a range is empty or a log range is not positive, or the output is not a finite 2-D array. With no arguments: a demo model (chart -> cos^4 vignetting -> gain/offset, EMVA noise) with synthetic observations attached, ready for :func:simcal_fit.

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(simmodel を入力に取れる)

simcal_simulate · simcal_observe · simcal_screen · simcal_fit · simcal_validate

同カテゴリ(model)

simcal_simulate · simcal_observe


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

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