GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.FrameChainsAnalysis.FrameChainsAnalysis module

Frame Chains Analysis Module

Minimal panel that, for the retrieval currently selected in the filter table, runs the unified debug-log analyzer (analyze_retrieval_debug.py) as a subprocess and writes its outputs to <path_results>/debug/analysis/ (summary.txt, plots/, tables/), overwriting previous files.

class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.FrameChainsAnalysis.FrameChainsAnalysis.FrameChainsAnalysis(parent, color, row, column, path_default, frame_input, width_GUI, height_GUI, window, **kwargs)[source]

Bases: MyPanel

One-button panel that runs the debug JSONL analyzer on the selected retrieval.

__init__(parent, color, row, column, path_default, frame_input, width_GUI, height_GUI, window, **kwargs)[source]

Initialize the MyPanel widget.

Parameters:
  • parent – The parent widget

  • color – Background color of the panel

  • row – Row position in the parent’s grid

  • column – Column position in the parent’s grid

  • columnspan – Number of columns the panel should span

  • rowspan – Number of rows the panel should span

  • visible – Whether the panel should be visible initially

  • **kwargs – Additional keyword arguments passed to the Frame widget

analyse()[source]

Launch the analyzer subprocess on the selected retrieval’s debug JSONL.

check_proc()[source]

Poll the subprocess; when done, re-enable button and show result popup.

show_last()[source]

Re-display the plots from the last analysis of the selected retrieval.