algorithm_choice
Algorithm selection widget.
AlgorithmSelectionWidget
#
Bases: QComboBox
Algorithm selection widget.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
training_signal | TrainingSignal or None | Training signal holding all parameters to be set by the user. | None |
Source code in src/careamics_napari/widgets/algorithm_choice.py
__init__(training_signal=None)
#
Initialize the widget.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
training_signal | TrainingSignal or None | Training signal holding all parameters to be set by the user. | None |
Source code in src/careamics_napari/widgets/algorithm_choice.py
algorithm_changed(index)
#
Emit the algorithm signal.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
index | int | Index of the selected algorithm. | required |