spc_capability — SPC capability op

資料種類:signaltable

呼叫: 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_spcpy -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.