capability op• 数据种类:signal → table
• 调用: import fullseye as fs; fs.ledger.spc_capability(signal, lsl, usl, sigma=None)(要直接调用实现,import spc; spc.spc_capability(signal, lsl, usl, sigma=None);从台账取用则 opsspc.get("spc_capability"))
> 该算子的说明尚无译文,以下照原文给出。
Process capability indices Cp and Cpk from measurements and spec limits.
`signal is a 1-D series of individual measurements; lsl / usl` are the
lower / upper specification limits (`lsl < usl). With the sample mean mu`
and standard deviation `sigma (sample std, ddof=1`, unless one is passed
in explicitly)::
Cp = (USL - LSL) / (6 sigma)
Cpk = min(USL - mu, mu - LSL) / (3 sigma)
Returns a dict with `mean / std / cp / cpk` and the echoed spec
limits and midpoint. `Cpk <= Cp` always, with equality exactly when the
process is centred (`mu` at the spec midpoint) — pinned in the tests.
Raises `ValueError`: a non-1-D / empty *signal*, fewer than two points
(no spread to estimate), `lsl >= usl`, non-finite limits, or a non-positive
standard deviation (a constant series has no capability to report).
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者・年份)与用途见上面的族使用指南。
• poc_spc — py -3.11 examples/poc_spc.py
table 作为输入)—
capability)—
*Provenance: spc.py — SPC 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.