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:
WorkerWorker 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
blockSignalschildEventchildrenconnectNotifycustomEventdeleteLaterdisconnectdisconnectNotifydumpObjectInfodumpObjectTreedynamicPropertyNameseventeventFilterfindChildfindChildreninheritsinstallEventFilterisSignalConnectedisWidgetTypeisWindowTypekillTimermetaObjectmoveToThreadobjectNameparentpropertypyqtConfigureEach keyword argument is either the name of a Qt property or a Qt signal.
receiversremoveEventFilterThis 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.
sendersenderSignalIndexsetObjectNamesetParentsetPropertyset_statusSet the weight of the progress bar
set_weightSet the weight of the progress bar
signalsBlockedstartTimerthreadtimerEventtrupdate_progressUpdate the progress bar
Attributes
destroyedpyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
finishedpyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChangedpyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
processedDatapyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
progresspyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
staticMetaObjectstatuspyqtSignal(*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