wolfhece._analyze_manager
Companion manager for the Analyze menu and all analysis actions. Extracted from PyDraw.WolfMapViewer.
- Routing architecture:
The Analyze menu and all its submenus are directly bound to on_menu() via menu.Bind(wx.EVT_MENU, self.on_menu) at the end of menu_build().
No label-string dispatch through OnMenubar is needed.
- GPU-specific items:
“Compare checked simulations…” : filters to wolfres2DGPU only # — GPU ONLY —
“Compare all simulations in dir…”: same # — GPU ONLY —
All other items are shared (CPU + GPU results).
Module Contents
- class wolfhece._analyze_manager.AnalyzeManager(viewer: wolfhece.PyDraw.WolfMapViewer)[source]
Manages the Analyze menu and all analysis actions (CPU + GPU).
Build the Analyze menu and append it to the menubar.
- _handle_plot_stats(scope: str) None[source]
Plot stats for scope in {‘selected’, ‘vector’, ‘zone’}.