tomwer.gui.visualization.diffviewer.shiftwidget.TwoFramesShiftTab#

class tomwer.gui.visualization.diffviewer.shiftwidget.TwoFramesShiftTab(parent=None)#
class ShiftMode(value)#

An enumeration.

ABSOLUTE = 'absolute shift'#
RELATIVE = 'relative shift'#
getFrameAShift()#
Return type:

tuple

Returns:

getFrameBShift()#
Return type:

tuple

Returns:

getRelativeShiftWidget()#
getShiftMode()#
isFrameALRFlip()#
Return type:

bool

Returns:

True if the frame A should be left-right shift

isFrameBLRFlip()#
Return type:

bool

Returns:

True if the frame B should be left-right shift

sigShiftsChanged#

Signal emit when the shift changed. Tuple contains shift_imgA, shift_imgB. Both are tuple of (x, y, lrflip) x and y are shift values as float. lrflip is a boolean notifying if we should flip image or not before applying the shift