This commit is contained in:
david rice
2026-04-16 12:08:00 +01:00
parent 6dd4bb8aeb
commit 2659d7a664
5 changed files with 153 additions and 9 deletions

View File

@@ -750,9 +750,9 @@ def analyze_lp_and_ask_claude(
_append_flicker_log(ts, iteration, m)
if (m.hs_amplitude_mv is not None
and m.hs_amplitude_mv < HS_BURST_AMPLITUDE_MIN_MV
and (m.lp_low_duration_ns is None
or m.lp_low_duration_ns >= FLICKER_LP_LOW_MAX_NS)):
reason = f"HS burst absent ({m.hs_amplitude_mv} mV)"
and m.lp11_to_hs_ns is not None
and m.lp11_to_hs_ns >= FLICKER_LP_LOW_MAX_NS):
reason = f"HS burst absent ({m.hs_amplitude_mv:.0f} mV, lp11_to_hs={m.lp11_to_hs_ns:.0f} ns)"
else:
reason = f"lp_low={m.lp_low_duration_ns} ns"
print(f"\n *** FLICKER SUSPECT: capture {iteration:04d} "