diff --git a/rfg_adc_plotter/visualization/matplotlib_backend.py b/rfg_adc_plotter/visualization/matplotlib_backend.py index e1c8878..d87180b 100644 --- a/rfg_adc_plotter/visualization/matplotlib_backend.py +++ b/rfg_adc_plotter/visualization/matplotlib_backend.py @@ -595,6 +595,10 @@ def run_matplotlib(args): status_text.set_text(format_status_kv(current_info)) # Автоматическое сохранение медианы при накоплении 1000+ свипов + # DEBUG: Проверяем условия каждые 100 кадров + if _frame is not None and _frame % 100 == 0: + print(f"[ref-out DEBUG] _frame={_frame}, ref_out_file={bool(ref_out_file)}, ref_out_saved={ref_out_saved}, ring={'OK' if ring is not None else 'None'}") + if ref_out_file and not ref_out_saved and ring is not None: filled_count = np.count_nonzero(~np.isnan(ring[:, 0])) # DEBUG: Выводим прогресс каждые 100 свипов