tomwer.gui.reconstruction.scores.scoreplot.ScorePlot#

class tomwer.gui.reconstruction.scores.scoreplot.ScorePlot(parent=None, variable_name=None, dims_colors=('#ffff5a', '#62efff', '#ff5bff'), backend=None)#

Plot to display the scores

clear()#
close(self) bool#
getCurrentVarValue()#
getDim0N()#

return the number of elements in dimension 0 according to voxel size and volume size

getDim1N()#

return the number of elements in dimension 1 according to voxel size and volume size

getDim2N()#

return the number of elements in dimension 2 according to voxel size and volume size

getPlotWidget()#
getScoreMethod()#
getVarSelectionMode()#
hideAutoFocusButton()#
isAutoFocusActive()#
isAutoFocusLock()#
lockAutoFocus(lock)#
saveReconstructedSlicesTo(output_folder)#

dump all slices with score as name

setCurrentVarValue(value)#
setImgWidth(width)#
setScan(scan)#
setScoreMethod(method)#
setVarScores(scores, score_method, img_width=None, update_only_scores=False)#
Parameters:

scores (dict) – cor value (float) as key and tuple(url: DataUrl, score: float) as value

setVolumeSize(dim0, dim1, dim2, unit)#
Parameters:
  • dim0

  • dim1

  • dim2

  • unit (str | float) –

setVoxelSize(dim0, dim1, dim2, unit)#
Parameters:
  • dim0

  • dim1

  • dim2

  • unit (str | float) –

sigConfigurationChanged#

signal emitted when the configuration change