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).

_viewer[source]
analyzemenu: wx.Menu | None = None[source]
menu_build() None[source]

Build the Analyze menu and append it to the menubar.

_on_plot_q_vector(event: wx.MenuEvent) None[source]
_on_plot_q_zone(event: wx.MenuEvent) None[source]
_on_export_q_vector(event: wx.MenuEvent) None[source]
_on_export_q_zone(event: wx.MenuEvent) None[source]
_on_plot_stats_selected(event: wx.MenuEvent) None[source]
_on_export_stats_selected(event: wx.MenuEvent) None[source]
_on_plot_stats_vector(event: wx.MenuEvent) None[source]
_on_export_stats_vector(event: wx.MenuEvent) None[source]
_on_plot_stats_zone(event: wx.MenuEvent) None[source]
_on_export_stats_zone(event: wx.MenuEvent) None[source]
_on_plot_vector(event: wx.MenuEvent) None[source]
_on_plot_vector_dynamic(event: wx.MenuEvent) None[source]
_on_plot_polygons(event: wx.MenuEvent) None[source]
_on_load_mask(event: wx.MenuEvent) None[source]
_on_filter_inundation(event: wx.MenuEvent) None[source]
_on_report_active(event: wx.MenuEvent) None[source]
_on_report_checked(event: wx.MenuEvent) None[source]
_on_report_disk(event: wx.MenuEvent) None[source]
_on_report_directory(event: wx.MenuEvent) None[source]
_on_compare_arrays(event: wx.MenuEvent) None[source]
_on_compare_arrays_files(event: wx.MenuEvent) None[source]
_on_compare_checked(event: wx.MenuEvent) None[source]
_on_compare_all_dir(event: wx.MenuEvent) None[source]
_on_inpaint_array(event: wx.MenuEvent) None[source]
_on_inpaint_wl(event: wx.MenuEvent) None[source]
_on_inpaint_mask(event: wx.MenuEvent) None[source]
_handle_plot_q_vector() None[source]
_handle_plot_q_zone() None[source]
_handle_export_q_vector() None[source]
_handle_export_q_zone() None[source]
_handle_plot_stats(scope: str) None[source]

Plot stats for scope in {‘selected’, ‘vector’, ‘zone’}.

_handle_export_stats(scope: str) None[source]

Export stats for scope in {‘selected’, ‘vector’, ‘zone’}.

_handle_plot_vector(dynamic: bool) None[source]
_handle_plot_polygons() None[source]
_handle_report_active() None[source]
_handle_report_checked() None[source]
_handle_report_disk() None[source]
_handle_report_directory() None[source]
_handle_compare_arrays_files() None[source]
_handle_compare_checked() None[source]
_handle_compare_all_dir() None[source]
_handle_inpaint_array() None[source]
_handle_inpaint_waterlevel() None[source]
_handle_inpaint_with_mask() None[source]