utils.gui.pyqt.main_window.Workers.AdvancedDataWorker.AdvancedDataWorker
- class utils.gui.pyqt.main_window.Workers.AdvancedDataWorker.AdvancedDataWorker(name: str, discrete_data: dict, V_scan: float)
Bases:
Worker
Worker to calculate the discrete data in a thread
- Parameters:
name – The name of the worker
discrete_data – The discrete data to process
- Variables:
processedData – Signal emitted when the data is processed
discrete_data – The discrete data to process
Methods
blockSignals
childEvent
children
connectNotify
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild
findChildren
inherits
installEventFilter
isSignalConnected
isWidgetType
isWindowType
killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
This function is called when the thread is started. It calculates the advanced data and emits a dict with the following keys: - Tortuosite - Volume en mm3 - Surface en mm2 - Moyenne des rayons moyens - Ecart-type des rayons moyens - Sigma r tot - MI_l - MI_p.
sender
senderSignalIndex
setObjectName
setParent
setProperty
set_status
Set the weight of the progress bar
set_weight
Set the weight of the progress bar
signalsBlocked
startTimer
thread
timerEvent
tr
update_progress
Update the progress bar
Attributes
destroyed
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
finished
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChanged
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
processedData
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
progress
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
staticMetaObject
status
pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
- run()
This function is called when the thread is started. It calculates the advanced data and emits a dict with the following keys:
Tortuosite
Volume en mm3
Surface en mm2
Moyenne des rayons moyens
Ecart-type des rayons moyens
Sigma r tot
MI_l
MI_p