eda_plugin.interpreters.presets.PresetsInterpreter

class eda_plugin.interpreters.presets.PresetsInterpreter(*args: Any, **kwargs: Any)

Bases: QObject

Take the output calcualted by an ImageAnalyser and decide which imaging speed to use next.

__init__(event_bus: EventBus, gui: bool = True)

Load the default values, start the GUI and connect the events.

Methods

__init__(event_bus[, gui])

Load the default values, start the GUI and connect the events.

calculate_interpretation

update_parameters

calculate_interpretation(new_value: float, _, timepoint: int)

Calculate the new interval. Emit if changed and increase/reset the fast image counter.

new_interpretation

alias of float

new_parameters

alias of dict

update_parameters(new_params)

Update the settings with the new parameters received from the GUI.