tomwer.gui.reconstruction.axis.CalculationWidget.CalculationWidget#

class tomwer.gui.reconstruction.axis.CalculationWidget.CalculationWidget(parent, axis_params)#

Main widget to select the algorithm to use for COR calculation Used as a tab of the AxisSettingsTabWidget

getCorOptions()#
getEstimatedCor()#
getMethodLockPB()#
Return type:

QPushButton

getMode()#

Return algorithm to use for axis calculation

getPaddingMode()#
getSide()#
isModeLock()#
lockMode(lock)#
setAxisParams(axis)#
setCorOptions(opts)#
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

setPaddingMode(mode)#
setSide(side)#
setUpdateAutomaticallyEstimatedCor(checked)#
sigLockModeChanged#

signal emitted when the mode has been lock or unlock

sigModeChanged#

signal emitted when the algorithm for computing COR changed

updateAutomaticallyEstimatedCor()#