tomwer.gui.visualization.diffviewer.shiftwidget.Absolute2FramesShift#

class tomwer.gui.visualization.diffviewer.shiftwidget.Absolute2FramesShift(parent=None)#
getFrameAShift()#
Return type:

tuple

Returns:

getFrameBShift()#
Return type:

tuple

Returns:

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 is (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