Application GUI

class app.mainApp.MainApp(self, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

Bases: app.ui.main.Ui_MainWindow, PySide2.QtWidgets.QMainWindow

Attributes
painters

Methods

RxVitals(self, Indata)

It expect to get a list of dictionaries each with the following entries:

acceptDrops(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, event)

actions(self)

activateWindow(self)

addAction(self, action)

addActions(self, actions)

addDockWidget(self, area, dockwidget, area, …)

addRow(self, table[, n_row])

Add rows to a table.

addToolBar(self, area, toolbar, title)

addToolBarBreak(self, area)

adjustSize(self)

autoFillBackground(self)

backgroundRole(self)

backingStore(self)

baseSize(self)

blockSignals(self, b)

centralWidget(self)

changeEvent(self, event)

childAt()

childAt(self, x: int, y: int) -> PySide2.QtWidgets.QWidget

childEvent(self, event)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

close(self)

closeEvent(self, event)

colorCount(self)

connect()

connect(arg__1: bytes, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: bytes, arg__2: PySide2.QtCore.QObject, arg__3: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: bytes, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection

connectNotify(self, signal)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, event)

contextMenuPolicy(self)

corner(self, corner)

create(self, arg__1, initializeWindow, …)

createPopupMenu(self)

createWinId(self)

createWindowContainer(window, parent, …)

cursor(self)

customEvent(self, event)

deleteLater(self)

depth(self)

destroy(self, destroyWindow, destroySubWindows)

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

disconnect()

disconnect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: typing.Callable) -> bool disconnect(arg__1: bytes, arg__2: typing.Callable) -> bool disconnect(receiver: PySide2.QtCore.QObject, member: typing.Union[bytes, NoneType] = None) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> bool disconnect(signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> bool

disconnectNotify(self, signal)

dockOptions(self)

dockWidgetArea(self, dockwidget)

documentMode(self)

dragEnterEvent(self, event)

dragLeaveEvent(self, event)

dragMoveEvent(self, event)

dropEvent(self, event)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

effectiveWinId(self)

emit(self, arg__1, \*args)

ensurePolished(self)

enterEvent(self, event)

event(self, event)

eventFilter(self, watched, event)

find(arg__1)

findChild(self, arg__1, arg__2)

findChildren()

findChildren(self, arg__1: type, arg__2: str = ‘’) -> typing.Iterable

fixWindows10TableHeaders(self, curr_table)

To fix an issue where the horizontal header does not have a bottom border on Win10.

focusInEvent(self, event)

focusNextChild(self)

focusNextPrevChild(self, next)

focusOutEvent(self, event)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameSize(self)

geometry(self)

getContentsMargins(self)

grab(self, rectangle)

grabGesture(self, type, flags)

grabKeyboard(self)

grabMouse(self) grabMouse(self, arg__1)

grabShortcut(self, key, context)

graphicsEffect(self)

graphicsProxyWidget(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, arg__1)

heightMM(self)

hide(self)

hideEvent(self, event)

iconSize(self)

inherits(self, classname)

initPainter(self, painter)

initTables(self)

Initialize tables, set headers, column and row count.

inputMethodEvent(self, event)

inputMethodHints(self)

inputMethodQuery(self, arg__1)

insertAction(self, before, action)

insertActions(self, before, actions)

insertToolBar(self, before, toolbar)

insertToolBarBreak(self, before)

installEventFilter(self, filterObj)

internalWinId(self)

isActiveWindow(self)

isAncestorOf(self, child)

isAnimated(self)

isDockNestingEnabled(self)

isEnabled(self)

isEnabledTo(self, arg__1)

isEnabledToTLW(self)

isFullScreen(self)

isHidden(self)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isRightToLeft(self)

isSeparator(self, pos)

isSignalConnected(self, signal)

isTopLevel(self)

isVisible(self)

isVisibleTo(self, arg__1)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

keyPressEvent(self, event)

keyReleaseEvent(self, event)

keyboardGrabber()

killTimer(self, id)

layout(self)

layoutDirection(self)

leaveEvent(self, event)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(self, arg__1, arg__2)

mapFromGlobal(self, arg__1)

mapFromParent(self, arg__1)

mapTo(self, arg__1, arg__2)

mapToGlobal(self, arg__1)

mapToParent(self, arg__1)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumWidth(self)

menuBar(self)

menuWidget(self)

metaObject(self)

metric(self, arg__1)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

mouseDoubleClickEvent(self, event)

mouseGrabber()

mouseMoveEvent(self, event)

mousePressEvent(self, event)

mouseReleaseEvent(self, event)

move(self, arg__1, x, y)

moveEvent(self, event)

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, event)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pos(self)

previousInFocusChain(self)

property(self, name)

raise_(self)

receivers(self, signal)

rect(self)

redirected(self, offset)

registerUserData()

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, id)

removeAction(self, action)

removeDockWidget(self, dockwidget)

removeEventFilter(self, obj)

removeToolBar(self, toolbar)

removeToolBarBreak(self, before)

render(self, painter, targetOffset, …)

repaint(self) repaint repaint repaint(self, …)

resize(self, arg__1, w, h)

resizeDocks(self, docks, sizes, orientation)

resizeEvent(self, event)

restoreDockWidget(self, dockwidget)

restoreGeometry(self, geometry)

restoreState(self, state, version)

saveGeometry(self)

saveState(self, version)

screen(self)

scroll(self, dx, dy, dx, dy, arg__3)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, on)

setAccessibleDescription(self, description)

setAccessibleName(self, name)

setAnimated(self, enabled)

setAttribute(self, arg__1, on)

setAutoFillBackground(self, enabled)

setBackgroundRole(self, arg__1)

setBaseSize(self, arg__1, basew, baseh)

setCentralWidget(self, widget)

setContentsMargins(self, left, top, right, …)

setContextMenuPolicy(self, policy)

setCorner(self, corner, area)

setCursor(self, arg__1)

setDisabled(self, arg__1)

setDockNestingEnabled(self, enabled)

setDockOptions(self, options)

setDocumentMode(self, enabled)

setEnabled(self, arg__1)

setFixedHeight(self, h)

setFixedSize(self, arg__1, w, h)

setFixedWidth(self, w)

setFocus(self) setFocus(self, reason)

setFocusPolicy(self, policy)

setFocusProxy(self, arg__1)

setFont(self, arg__1)

setForegroundRole(self, arg__1)

setGeometry(self, arg__1, x, y, w, h)

setGraphicsEffect(self, effect)

setHidden(self, hidden)

setIconSize(self, iconSize)

setInputMethodHints(self, hints)

setLayout(self, arg__1)

setLayoutDirection(self, direction)

setLocale(self, locale)

setMask(self, arg__1, arg__1)

setMaximumHeight(self, maxh)

setMaximumSize(self, arg__1, maxw, maxh)

setMaximumWidth(self, maxw)

setMenuBar(self, menubar)

setMenuWidget(self, menubar)

setMinimumHeight(self, minh)

setMinimumSize(self, arg__1, minw, minh)

setMinimumWidth(self, minw)

setMouseTracking(self, enable)

setObjectName(self, name)

setPalette(self, arg__1)

setParent(self, parent, parent, f)

setProperty(self, name, value)

setShortcutAutoRepeat(self, id, enable)

setShortcutEnabled(self, id, enable)

setSizeIncrement(self, arg__1, w, h)

setSizePolicy(self, arg__1, horizontal, vertical)

setStatusBar(self, statusbar)

setStatusTip(self, arg__1)

setStyle(self, arg__1)

setStyleSheet(self, styleSheet)

setTabOrder(arg__1, arg__2)

setTabPosition(self, areas, tabPosition)

setTabShape(self, tabShape)

setTabletTracking(self, enable)

setToolButtonStyle(self, toolButtonStyle)

setToolTip(self, arg__1)

setToolTipDuration(self, msec)

setUnifiedTitleAndToolBarOnMac(self, set)

setUpdatesEnabled(self, enable)

setVisible(self, visible)

setWhatsThis(self, arg__1)

setWindowFilePath(self, filePath)

setWindowFlag(self, arg__1, on)

setWindowFlags(self, type)

setWindowIcon(self, icon)

setWindowIconText(self, arg__1)

setWindowModality(self, windowModality)

setWindowModified(self, arg__1)

setWindowOpacity(self, level)

setWindowRole(self, arg__1)

setWindowState(self, state)

setWindowTitle(self, arg__1)

sharedPainter(self)

show(self)

showEvent(self, event)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeHint(self)

sizeIncrement(self)

sizePolicy(self)

splitDockWidget(self, after, dockwidget, …)

stackUnder(self, arg__1)

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, event)

takeCentralWidget(self)

testAttribute(self, arg__1)

thread(self)

timerEvent(self, event)

toolBarArea(self, toolbar)

toolBarBreak(self, toolbar)

toolButtonStyle(self)

toolTip(self)

toolTipDuration(self)

topLevelWidget(self)

tr(self, arg__1, arg__2, arg__3)

underMouse(self)

ungrabGesture(self, type)

unifiedTitleAndToolBarOnMac(self)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update(self) update update update(self, x, …)

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

visibleRegion(self)

whatsThis(self)

wheelEvent(self, event)

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)

writeToConfigFile(self)

Write user-set mmwave parameters (Profile, Chirp, Frame configs) to a text file.

x(self)

y(self)

CreateVitalTab

DockOption

DockOptions

PaintDeviceMetric

RenderFlag

RenderFlags

VitalupdateScatter

customContextMenuRequested

deleteRow

destroyed

getSysAnalysisData

iconSizeChanged

importConfig

initPlot

objectNameChanged

retranslateUi

setValidator

setupUi

startServers

submitConfig

tabifiedDockWidgetActivated

toolButtonStyleChanged

updatePlot

updatePlot1d

updateScatter

updateVitals

update_plot_1d

validateNumeric

windowIconChanged

windowIconTextChanged

windowTitleChanged

CreateVitalTab(self)
RxVitals(self, Indata)
It expect to get a list of dictionaries each with the following entries:
  • f0_Hz : vital frequency

  • NoisePluseIntPowerdB: noise pluse interference power in dB

  • SINRdB: signal to interference and noise ratio in dB

  • x_hat_flt: reconstructed radar vital waveform

  • fs: sampling frequency

  • TimeShift: vital signs update period

  • radarSig: radar original signal

This GUI ignores the targets coming after the second target. # TODO: considering any number of targets :param Indata: a dictionary containing vital signs information. :return:

VitalupdateScatter(self, DetPoints)
addRow(self, table, n_row=1)

Add rows to a table.

Parameters:

table (Table): Table object. n_row (int): number of rows to be added.

deleteRow(self, table)
fixWindows10TableHeaders(self, curr_table)

To fix an issue where the horizontal header does not have a bottom border on Win10.

Parameters:

curr_table: the table to be fixed.

getSysAnalysisData(self)
importConfig(self, tab)
initPlot(self)
initTables(self)

Initialize tables, set headers, column and row count.

setValidator(self, tb, row, col)
startServers(self)
staticMetaObject = <PySide2.QtCore.QMetaObject object>
submitConfig(self, tab)
tables = None

Signals

updatePlot(self, data)
updatePlot1d(self, data)
updateScatter(self, DetPoints)
updateVitals(self)
update_plot_1d(self)
validateNumeric(self, table)
writeToConfigFile(self)

Write user-set mmwave parameters (Profile, Chirp, Frame configs) to a text file.

class app.receiver_server.DataServer(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)

Bases: PySide2.QtCore.QThread

Methods

blockSignals(self, b)

childEvent(self, event)

children(self)

connect()

connect(arg__1: bytes, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: bytes, arg__2: PySide2.QtCore.QObject, arg__3: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: bytes, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection

connectNotify(self, signal)

currentThread()

customEvent(self, event)

deleteLater(self)

disconnect()

disconnect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: typing.Callable) -> bool disconnect(arg__1: bytes, arg__2: typing.Callable) -> bool disconnect(receiver: PySide2.QtCore.QObject, member: typing.Union[bytes, NoneType] = None) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> bool disconnect(signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> bool

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

emit(self, arg__1, \*args)

event(self, event)

eventDispatcher(self)

eventFilter(self, watched, event)

exec_(self)

exit(self, retcode)

findChild(self, arg__1, arg__2)

findChildren()

findChildren(self, arg__1: type, arg__2: str = ‘’) -> typing.Iterable

idealThreadCount()

inherits(self, classname)

installEventFilter(self, filterObj)

isFinished(self)

isInterruptionRequested(self)

isRunning(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

loopLevel(self)

metaObject(self)

moveToThread(self, thread)

msleep(arg__1)

objectName(self)

parent(self)

priority(self)

property(self, name)

quit(self)

receivers(self, signal)

registerUserData()

removeEventFilter(self, obj)

requestInterruption(self)

run(self)

sender(self)

senderSignalIndex(self)

setEventDispatcher(self, eventDispatcher)

setObjectName(self, name)

setParent(self, parent)

setPriority(self, priority)

setProperty(self, name, value)

setStackSize(self, stackSize)

setTerminationEnabled(enabled)

signalsBlocked(self)

sleep(arg__1)

stackSize(self)

start(self, priority)

startTimer(self, interval, timerType)

terminate(self)

thread(self)

timerEvent(self, event)

tr(self, arg__1, arg__2, arg__3)

usleep(arg__1)

wait(self, time)

yieldCurrentThread()

Priority

configConnection

dataConnection

destroyed

finished

objectNameChanged

printstuff

started

trigger

configConnection(self)
dataConnection(self)
printstuff(self, stuff)
run(self)
staticMetaObject = <PySide2.QtCore.QMetaObject object>
trigger = <PySide2.QtCore.Signal object>
class app.receiver_server.PyObjServer(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)

Bases: PySide2.QtCore.QThread

Methods

blockSignals(self, b)

childEvent(self, event)

children(self)

connect()

connect(arg__1: bytes, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: bytes, arg__2: PySide2.QtCore.QObject, arg__3: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: bytes, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection

connectNotify(self, signal)

currentThread()

customEvent(self, event)

deleteLater(self)

disconnect()

disconnect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: typing.Callable) -> bool disconnect(arg__1: bytes, arg__2: typing.Callable) -> bool disconnect(receiver: PySide2.QtCore.QObject, member: typing.Union[bytes, NoneType] = None) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> bool disconnect(signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> bool

disconnectNotify(self, signal)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

emit(self, arg__1, \*args)

event(self, event)

eventDispatcher(self)

eventFilter(self, watched, event)

exec_(self)

exit(self, retcode)

findChild(self, arg__1, arg__2)

findChildren()

findChildren(self, arg__1: type, arg__2: str = ‘’) -> typing.Iterable

idealThreadCount()

inherits(self, classname)

installEventFilter(self, filterObj)

isFinished(self)

isInterruptionRequested(self)

isRunning(self)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

killTimer(self, id)

loopLevel(self)

metaObject(self)

moveToThread(self, thread)

msleep(arg__1)

objectName(self)

parent(self)

priority(self)

property(self, name)

quit(self)

receivers(self, signal)

registerUserData()

removeEventFilter(self, obj)

requestInterruption(self)

run(self)

sender(self)

senderSignalIndex(self)

setEventDispatcher(self, eventDispatcher)

setObjectName(self, name)

setParent(self, parent)

setPriority(self, priority)

setProperty(self, name, value)

setStackSize(self, stackSize)

setTerminationEnabled(enabled)

signalsBlocked(self)

sleep(arg__1)

stackSize(self)

start(self, priority)

startTimer(self, interval, timerType)

terminate(self)

thread(self)

timerEvent(self, event)

tr(self, arg__1, arg__2, arg__3)

usleep(arg__1)

wait(self, time)

yieldCurrentThread()

Priority

destroyed

finished

objectNameChanged

started

trigger

run(self)
staticMetaObject = <PySide2.QtCore.QMetaObject object>
trigger = <PySide2.QtCore.Signal object>