fix: --glitch-at without --glitch-width now does something rather than silently nothing

--glitch-width defaulted to 0.0, so --glitch-at alone produced no glitch and no
warning — the same class of silent no-op that cost a debugging cycle earlier on this
branch.  The default is now 0.002 s (2 ms), matching the standalone probe run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino FerrariandClaude Opus 4.6 committed 2026-10-08 11:19:27 +02:00
1 parent 728e7fbda5
commit 90d5d0e2d2
1 file changed
+3 -2
+3 -2
View File
@@ -222,8 +222,9 @@ def main():
ap.add_argument( ap.add_argument(
"--glitch-width", "--glitch-width",
type=float, type=float,
default=0.0, default=0.002,
help="width of each injected pulse, in stream seconds", help="width of each injected pulse, in stream seconds (default 0.002 s; a zero width "
"silently disables the glitch even when --glitch-at is set)",
) )
ap.add_argument( ap.add_argument(
"--quiet-at", "--quiet-at",