residue_fault_locate — RESIDUE robust op

• 資料種類:matrix × signal → table

• 呼叫: import fullseye as fs; fs.ledger.residue_fault_locate(residues, periods, weights=None, lo=0.0, hi=None, tol=0.05) -> 'dict'(要直接呼叫實作,import residue; residue.residue_fault_locate(residues, periods, weights=None, lo=0.0, hi=None, tol=0.05) -> 'dict';從台帳取用則 opsresidue.get("residue_fault_locate"))

用法

哪個頻帶損壞了?(冗餘剩餘數系統)-> dict。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

With more bands than [lo, hi) needs, the bands check each other. Each band is left out in turn and the rest are solved; the band whose removal leaves a consistent set (every residual within tol x its period) while itself disagreeing by more than tol is the corrupted one. If no single removal is consistent, or two different removals both are, the answer is undecidable and the value is NaN — never a guess.

Returns {"value", "faulty", "consistent_all", "worst_leave_one_out"}:

faulty is the band index, -1 = all bands agree (no fault), -2 = undecidable. Localising one fault needs the range to be resolvable by every subset of N-1 bands (it is refused otherwise); the narrower [lo, hi) is relative to the periods' least common multiple, the more of the redundancy is left to localise with.

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_residue_crt — py -3.11 examples/poc_residue_crt.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

—

同類別(robust)

residue_crt


*Provenance: residue.py — RESIDUE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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