pyOMA.GUI.StabilGUI.StabilGUI#
- class pyOMA.GUI.StabilGUI.StabilGUI(stabil_plot, cmpl_plot, msh_plot=None)[source]#
Bases:
UnsavedChangesMixin,QMainWindow,Ui_StabilGUIPyQt6 main window for interactive stabilisation diagram and mode selection.
Displays a
StabilPlotwith interactive pole-picking, PSD overlay, adjustable stabilisation criteria, and optionally a linkedModeShapeGUIfor immediate mode- shape feedback.- Parameters:
stabil_plot (StabilPlot) – Populated stabilisation-diagram plot object.
cmpl_plot (StabilPlot or similar) – Complementary plot shown beside the stabilisation diagram (e.g. a PSD or correlation plot).
msh_plot (ModeShapeGUI, optional) – When provided, mode-shape is updated whenever the user selects a pole.
TODO:: (..) –
scale markers right on every platform
frequency range as argument or from ssi params, sampling freq
add switch to choose between “unstable only in …” or “stable in …”
distinguish between stabilization criteria and filtering criteria
add zoom and sliders (horizontal/vertical) for the main figure
- __init__(stabil_plot, cmpl_plot, msh_plot=None)[source]#
- Parameters:
stabil_plot (StabilPlot) – Populated stabilisation-diagram plot object.
cmpl_plot (StabilPlot or similar) – Complementary plot shown beside the stabilisation diagram.
msh_plot (ModeShapeGUI, optional) – When provided, mode-shape is updated on pole selection.
Methods
__init__(stabil_plot, cmpl_plot[, msh_plot])acceptDrops(self)accessibleDescription(self)accessibleIdentifier(self)accessibleName(self)actionEvent(self, a0)actions(self)activateWindow(self)addAction(...)addActions(self, actions)addDockWidget()addToolBar()addToolBarBreak(self[, area])adjustSize(self)autoFillBackground(self)backgroundRole(self)baseSize(self)blockSignals(self, b)centralWidget(self)changeEvent(self, a0)childAt(-> QWidget|None -> QWidget|None)childEvent(self, a0)children(self)childrenRect(self)childrenRegion(self)clearFocus(self)clearMask(self)close(self)closeEvent(self, a0)colorCount(self)connectNotify(self, signal)contentsMargins(self)contentsRect(self)contextMenuEvent(self, event)contextMenuPolicy(self)corner(self, corner)create(self[, window, initializeWindow, ...])createPopupMenu(self)createWindowContainer(window[, parent, flags])create_histo_plot(array, plot_obj[, title, ...])should work like following.
create show/hide update stable
create show/hide update stable
create show/hide update stable
create show/hide update stable
create show/hide update stable
create show/hide update stable
create show/hide update stable
create show/hide update stable
cursor(self)customEvent(self, a0)deleteLater(self)depth(self)destroy(self[, destroyWindow, destroySubWindows])devType(self)devicePixelRatio(self)devicePixelRatioF(self)devicePixelRatioFScale()disconnect(-> bool)disconnectNotify(self, signal)dockOptions(self)dockWidgetArea(self, dockwidget)documentMode(self)dragEnterEvent(self, a0)dragLeaveEvent(self, a0)dragMoveEvent(self, a0)dropEvent(self, a0)dumpObjectInfo(self)dumpObjectTree(self)dynamicPropertyNames(self)effectiveWinId(self)ensurePolished(self)enterEvent(self, event)event(self, event)eventFilter(self, a0, a1)find(a0)findChild(-> QObjectT)findChildren(...)focusInEvent(self, a0)focusNextChild(self)focusNextPrevChild(self, next)focusOutEvent(self, a0)focusPolicy(self)focusPreviousChild(self)focusProxy(self)focusWidget(self)font(self)fontInfo(self)fontMetrics(self)foregroundRole(self)frameGeometry(self)frameSize(self)geometry(self)grab(self[, rectangle])grabGesture(self, type[, flags])grabKeyboard(self)grabMouse()grabShortcut(self, key[, context])graphicsEffect(self)graphicsProxyWidget(self)hasFocus(self)hasHeightForWidth(self)hasMouseTracking(self)hasTabletTracking(self)height(self)heightForWidth(self, a0)heightMM(self)hide(self)hideEvent(self, a0)iconSize(self)inherits(self, classname)initPainter(self, painter)init_cursor()inputMethodEvent(self, a0)inputMethodHints(self)inputMethodQuery(self, a0)insertAction(self, before, action)insertActions(self, before, actions)insertToolBar(self, before, toolbar)insertToolBarBreak(self, before)installEventFilter(self, a0)isActiveWindow(self)isAncestorOf(self, child)isAnimated(self)isDockNestingEnabled(self)isEnabled(self)isEnabledTo(self, a0)isFullScreen(self)isHidden(self)isLeftToRight(self)isMaximized(self)isMinimized(self)isModal(self)isQmlExposed(self)isQuickItemType(self)isRightToLeft(self)isSeparator(self, pos)isSignalConnected(self, signal)isVisible(self)isVisibleTo(self, a0)isWidgetType(self)isWindow(self)isWindowModified(self)isWindowType(self)keyPressEvent(self, a0)keyReleaseEvent(self, a0)keyboardGrabber()killTimer(self, id)layout(self)layoutDirection(self)leaveEvent(self, a0)load_state()locale(self)logicalDpiX(self)logicalDpiY(self)lower(self)mapFrom(-> QPoint)mapFromGlobal(-> QPoint)mapFromParent(-> QPoint)mapTo(-> QPoint)mapToGlobal(-> QPoint)mapToParent(-> QPoint)mask(self)maximumHeight(self)maximumSize(self)maximumWidth(self)menuBar(self)menuWidget(self)metaObject(self)metric(self, a0)minimumHeight(self)minimumSize(self)minimumSizeHint(self)minimumWidth(self)mode_selector_add(i, index)mode_selector_take(i_, index)mouseDoubleClickEvent(self, a0)mouseGrabber()mouseMoveEvent(self, a0)mousePressEvent(self, a0)mouseReleaseEvent(self, a0)move()moveEvent(self, a0)moveToThread(self, thread)nativeEvent(self, eventType, message)nativeParentWidget(self)nextInFocusChain(self)normalGeometry(self)objectName(self)overrideWindowFlags(self, type)overrideWindowState(self, state)paintEngine(self)paintEvent(self, a0)paintingActive(self)palette(self)parent(self)parentWidget(self)physicalDpiX(self)physicalDpiY(self)pos(self)prepare_auto_classification()prepare_auto_clearing()prepare_auto_selection()previousInFocusChain(self)property(self, name)pyqtConfigure(...)Each keyword argument is either the name of a Qt property or a Qt signal.
raise_(self)receivers(self, signal)rect(self)releaseKeyboard(self)releaseMouse(self)releaseShortcut(self, id)removeAction(self, action)removeDockWidget(self, dockwidget)removeEventFilter(self, a0)removeToolBar(self, toolbar)removeToolBarBreak(self, before)render(, sourceRegion, flags, sourceRegion, ...)repaint()resize()resizeDocks(self, docks, sizes, orientation)resizeEvent(self, a0)restoreDockWidget(self, dockwidget)restoreGeometry(self, geometry)restoreState(self, state[, version])retranslateUi(StabilGUI)saveGeometry(self)saveState(self[, version])save_figure([fname])save_results()save_state()screen(self)scroll()sender(self)senderSignalIndex(self)setAcceptDrops(self, on)setAccessibleDescription(self, description)setAccessibleIdentifier(self, identifier)setAccessibleName(self, name)setAnimated(self, enabled)setAttribute(self, attribute[, on])setAutoFillBackground(self, enabled)setBackgroundRole(self, a0)setBaseSize()setCentralWidget(self, widget)setContentsMargins()setContextMenuPolicy(self, policy)setCorner(self, corner, area)setCursor(self, a0)setDisabled(self, a0)setDockNestingEnabled(self, enabled)setDockOptions(self, options)setDocumentMode(self, enabled)setEnabled(self, a0)setFixedHeight(self, h)setFixedSize()setFixedWidth(self, w)setFocus()setFocusPolicy(self, policy)setFocusProxy(self, a0)setFont(self, a0)setForegroundRole(self, a0)setGeometry()setGraphicsEffect(self, effect)setHidden(self, hidden)setIconSize(self, iconSize)setInputMethodHints(self, hints)setLayout(self, a0)setLayoutDirection(self, direction)setLocale(self, locale)setMask()setMaximumHeight(self, maxh)setMaximumSize()setMaximumWidth(self, maxw)setMenuBar(self, menubar)setMenuWidget(self, menubar)setMinimumHeight(self, minh)setMinimumSize()setMinimumWidth(self, minw)setMouseTracking(self, enable)setObjectName(self, name)setPalette(self, a0)setParent()setProperty(self, name, value)setScreen(self, a0)setShortcutAutoRepeat(self, id[, enabled])setShortcutEnabled(self, id[, enabled])setSizeIncrement()setSizePolicy()setStatusBar(self, statusbar)setStatusTip(self, a0)setStyle(self, a0)setStyleSheet(self, styleSheet)setTabOrder(a0, a1)setTabPosition(self, areas, tabPosition)setTabShape(self, tabShape)setTabletTracking(self, enable)setToolButtonStyle(self, toolButtonStyle)setToolTip(self, a0)setToolTipDuration(self, msec)setUnifiedTitleAndToolBarOnMac(self, set)setUpdatesEnabled(self, enable)setVisible(self, visible)setWhatsThis(self, a0)setWindowFilePath(self, filePath)setWindowFlag(self, a0[, on])setWindowFlags(self, type)setWindowIcon(self, icon)setWindowIconText(self, a0)setWindowModality(self, windowModality)setWindowModified(self, a0)setWindowOpacity(self, level)setWindowRole(self, a0)setWindowState(self, state)setWindowTitle(self, a0)setupUi(StabilGUI)sharedPainter(self)show(self)showEvent(self, a0)showFullScreen(self)showMaximized(self)showMinimized(self)showNormal(self)show_MC_plot()signalsBlocked(self)size(self)sizeHint(self)sizeIncrement(self)sizePolicy(self)snap_all([b])snap_clear([b])snap_damping([b])snap_frequency([b])snap_select([b])snap_stable([b])snap_vector([b])splitDockWidget(self, after, dockwidget, ...)stackUnder(self, a0)startTimer(self, interval[, timerType])statusBar(self)statusTip(self)style(self)styleSheet(self)tabPosition(self, area)tabShape(self)tabifiedDockWidgets(self, dockwidget)tabifyDockWidget(self, first, second)tabletEvent(self, a0)takeCentralWidget(self)testAttribute(self, attribute)thread(self)timerEvent(self, a0)toggle_msh_plot(b)toolBarArea(self, toolbar)toolBarBreak(self, toolbar)toolButtonStyle(self)toolTip(self)toolTipDuration(self)tr(sourceText[, disambiguation, n])underMouse(self)ungrabGesture(self, type)unifiedTitleAndToolBarOnMac(self)unsetCursor(self)unsetLayoutDirection(self)unsetLocale(self)update()updateGeometry(self)updateMicroFocus(self[, query])update_mode_plot(i[, mpd])update_mode_val_view(index)update_stabil_view()update_value_view(i)updatesEnabled(self)visibleRegion(self)whatsThis(self)wheelEvent(self, a0)width(self)widthMM(self)winId(self)window(self)windowFilePath(self)windowFlags(self)windowHandle(self)windowIcon(self)windowIconText(self)windowModality(self)windowOpacity(self)windowRole(self)windowState(self)windowTitle(self)windowType(self)x(self)y(self)Attributes
customContextMenuRequestedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
destroyedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
iconSizeChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
staticMetaObjecttabifiedDockWidgetActivatedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
toolButtonStyleChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
windowIconChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
windowIconTextChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
windowTitleChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
- create_histo_plot(array, plot_obj, title='', ranges=None, select_ranges=None, select_callback=None)[source]#
should work like following:
button press if None → visible = True, create if visible → visible = False, hide if not visible → visible = True, show update stabil if None → skip if visible → visible = visible, update if not visible → visible = visible, update close button → visible = False, hidebut doesn’t, since the function can not distinguish between “button press” and “update stabil”