Inspecting Objects¶
emzed_gui.inspect() is the main entry point for opening GUI inspectors for
supported emzed objects.
Supported Inputs¶
Table: opens the table explorerlist[Table]ortuple[Table, ...]: opens the table explorer in multi-table modePeakMap: opens the peakmap explorer
Unsupported object types raise ValueError.
Basic Usage¶
Dispatch Behavior¶
inspect() dispatches to the specialized GUI explorer based on the input type:
- tables use the table explorer
- peak maps use the peakmap explorer
Additional positional and keyword arguments are forwarded to the selected specialized inspector.
Return Values¶
Tables¶
- modal mode returns
Trueif the table was modified, elseFalse - non-modal mode returns the
TableExplorerwindow instance
Peak Maps¶
- modal mode returns the selected rows from the peakmap explorer
- non-modal mode shows the window and returns
None
Common Options¶
modal=True: open as a blocking dialogparent=None: parent Qt widget
Table-Specific Options¶
offerAbortOptionclose_callbackcustom_buttons_config
Peakmap-Specific Options¶
peakmap2: optional second peakmap for comparisontable: optional related table contextwindow: optional initial view window