prepare op• Data kinds: signal → signal
• Call: import fullseye as fs; fs.ledger.robust_spline_profile(z, dx, lambda_c, c=4.4, robust=True, max_iter=None, tol=1e-06) (to call the implementation directly, import roughness; roughness.robust_spline_profile(z, dx, lambda_c, c=4.4, robust=True, max_iter=None, tol=1e-06); from the registry, opsroughness.get("robust_spline_profile"))
• Return value through the ledger: fullseye.ledger.robust_spline_profile(...) returns only the declared out type signal (the underlying function also returns auxiliary values). When you need what was dropped, use fullseye.ledger.robust_spline_profile.raw(...) or call roughness.robust_spline_profile directly.
• Underlying return: (roughness, mean_line, info)
Robust spline filter (profile): a mean line and roughness that outliers cannot drag.
> The detailed description below is the original text — the summary and the headings are translated.
平均線 w を Σ δ_i (z_i - w_i)² + β Σ (Δ² w)_i² の最小化で求める(2 階差分の罰則つき最小二乗 = 離散の三次平滑化スプライン、Whittaker 1923 / Eilers 2003 / Krystek, Measurement 18 (1996) 9-15)。重み δ は biweight で反復して更新する。ガウスと違って 端に自然境界条件が付く ので、端を削らなくても平均線が端で外へ振れにくい。
β = 1 / (16 sin⁴(π dx/λc)) と置くと、線形(robust=False)の内部の伝達関数が H(λ) = 1 / (1 + (sin(π dx/λ) / sin(π dx/λc))⁴) になり、λ = λc でちょうど 50 % (閉形式)。dx/λ が小さい極限では 1/(1+(λc/λ)⁴)(張力 0 の三次スプラインフィルタの形)。
戻り値は (roughness, mean_line, info)。引数と fail-closed は robust_gaussian_profile と同じ(order / truncate は無い)。重みを持つデータが 2 点未満なら拒否する。
• surface_roughness family guide
• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).
• Operator provenance and references — the sources of the research/methods this op family came from.
• The canonical algorithm (author, year) and its uses are named in the family usage guide above.
• poc_robust_profile_filter — py -3.11 examples/poc_robust_profile_filter.py
signal as input)robust_gaussian_profile · profile_params
prepare)surface_form_remove · surface_filter · robust_gaussian_profile · robust_gaussian_surface
*Provenance: roughness.py — ROUGHNESS operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.