fix debug
This commit is contained in:
@ -595,6 +595,10 @@ def run_matplotlib(args):
|
|||||||
status_text.set_text(format_status_kv(current_info))
|
status_text.set_text(format_status_kv(current_info))
|
||||||
|
|
||||||
# Автоматическое сохранение медианы при накоплении 1000+ свипов
|
# Автоматическое сохранение медианы при накоплении 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:
|
if ref_out_file and not ref_out_saved and ring is not None:
|
||||||
filled_count = np.count_nonzero(~np.isnan(ring[:, 0]))
|
filled_count = np.count_nonzero(~np.isnan(ring[:, 0]))
|
||||||
# DEBUG: Выводим прогресс каждые 100 свипов
|
# DEBUG: Выводим прогресс каждые 100 свипов
|
||||||
|
|||||||
Reference in New Issue
Block a user