robust opmatrix × signal → tableimport 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"))Which band is corrupted? (redundant residue number system) -> 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.
py -3.11 examples/poc_residue_crt.pytable を入力に取れる)—
robust)Provenance: residue.py — RESIDUE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.