tomwer.gui.reconstruction.nabu.nabuflow.NabuFlowControl#

class tomwer.gui.reconstruction.nabu.nabuflow.NabuFlowControl(parent, direction)#

Widget which is composed of three FlowCanvas: one for pre processing (where dockers are not movable), one for processing (where dockers are movable) and one for post-processing (where dockers are not movable)

getFlow()#

Returns the concatenation of pre-processing, processing, and post-processing flows.

Returns:

Dictionary where the keys are Nabu stages, and the values are lists of flows for each stage.

Return type:

dict

This method fetches the processing flows for all stages and returns them as a dictionary, allowing easy access to the current configuration.

getIniProcessingFlow()#
Return type:

list

Returns:

list of initialization processes

getPostProcessingFlow()#
Returns:

list of postprocessing

getPreProcessingFlow()#
Returns:

list of preprocessing

getProcessFocused()#
Return type:

tuple

Returns:

the process under focus

getProcessingFlow()#
Returns:

list of processing

setIniProcessing(processes, icons)#

Defines the processing to execute for initialization

Parameters:
  • processes (Iterable) – processes to display

  • icons (Iterable) – icons associated to the processes if any

setIniprocVisible(visible)#

change visibility of the widgets relative to initialization process

Parameters:

visible

setPhaseProcessing(processes, icons)#
Parameters:
  • processes (Iterable) – processes to display

  • icons (Iterable) – icons associated to the processes if any

setPhaseVisible(visible)#

change visibility of the widgets relative to pre processing process

setPostProcessing(processes, icons)#
Parameters:
  • processes (Iterable) – processes to display

  • icons (Iterable) – icons associated to the processes if any

setPostVisible(visible)#

change visibility of the widgets relative to post processing process

setPreProcVisible(visible)#

change visibility of the widgets relative to pre processing process

Parameters:

visible

setPreProcessing(processes, icons)#
Parameters:
  • processes (Iterable) – processes to display

  • icons (Iterable) – icons associated to the processes if any

setProcVisible(visible)#

change visibility of the widgets relative to processing process

setProcessing(processes, icons)#
Parameters:
  • processes (Iterable) – processes to display

  • icons (Iterable) – icons associated to the processes if any

sigConfigurationChanged#

signal emitted when the focus process on the flow is changed. tuple is (stage, option)

sigResetConfiguration#

Signal emitted when the configuration should be reset