change op• Data kinds: signal → table
• Call: import fullseye as fs; fs.ledger.spc_cusum(signal, target, k=0.5, h=5.0) (implementation को सीधे call करना हो तो import spc; spc.spc_cusum(signal, target, k=0.5, h=5.0), registry से लेना हो तो opsspc.get("spc_cusum"))
individual measurements के लिए tabular CUSUM chart।
> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।
signal is a 1-D series of individual measurements. With a reference value target, a slack k (in the same units as the measurements — commonly half the shift you want to catch) and a decision interval h::
C+_i = max(0, C+_{i-1} + (x_i - target) - k)
C-_i = max(0, C-_{i-1} - (x_i - target) - k)
starting from C+_0 = C-_0 = 0, alarming at index i when C+_i > h or C-_i > h. Returns a dict with the c_plus / c_minus arrays, the integer alarms indices, the first alarm index (or -1), and the echoed target / k / h.
Ground truth (pinned in the tests): a series constant at target keeps C+ == C- == 0; after a sustained upward step of size d > k the upper sum grows at exactly d - k per sample.
Raises ValueError: a non-1-D / empty *signal*, a non-finite *target* / *k* / *h*, a negative *k*, or a non-positive *h*.
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।
• poc_spc — py -3.11 examples/poc_spc.py
table को input के रूप में लेते हैं)msa_anova_table · msa_gauge_rr · msa_bias_linearity · msa_attribute_agreement · gum_standard_uncertainty · gum_propagate · gum_expanded · gum_monte_carlo
change)*Provenance: spc.py — SPC operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.