tomwer.gui.reconstruction.cor.CalculationWidget.CalculationWidget#
- class tomwer.gui.reconstruction.cor.CalculationWidget.CalculationWidget(parent, cor_params)#
Main widget to select the algorithm to use for COR calculation Used as a tab of the AxisSettingsTabWidget
- getEstimatedCor()#
- getMethodLockPB()#
- Return type:
QPushButton
- getMode()#
Return algorithm to use for axis calculation
- isModeLock()#
- lockMode(lock)#
- setAxisParams(axis)#
- setEstimatedCorValue(value)#
- setMode(mode)#
- setModeLock(mode=None)#
set a specific mode and lock it.
- Parameters:
mode – mode to lock. If None then keep the current mode
- setScan(scan)#
- setUpdateXRotationAxisPixelPositionOnNewScan(update)#
- sigLockModeChanged#
signal emitted when the mode has been lock or unlock
- sigModeChanged#
signal emitted when the algorithm for computing COR changed
- sigUpdateXRotAxisPixelPosOnNewScan#
pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- sigYAxisInvertedChanged#
pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- updateXRotationAxisPixelPositionOnNewScan()#
- Return type:
bool