mantidimaging.gui.widgets.bad_data_overlay.bad_data_overlay module

class mantidimaging.gui.widgets.bad_data_overlay.bad_data_overlay.BadDataCheck(check_function, indicator, overlay, color)[source]

Bases: object

check_function: Callable[[ndarray], ndarray]
clear()[source]
do_check(data)[source]
indicator: IndicatorIconView
remove()[source]
setup_overlay()[source]
class mantidimaging.gui.widgets.bad_data_overlay.bad_data_overlay.BadDataOverlay[source]

Bases: object

Mixin class to be used with MIImageView and MIMiniImageView

check_for_bad_data()[source]
clear_overlays()[source]
disable_check(name: str)[source]
enable_check(name: str, color: List[int], pos: int, func: Callable, message: str, actions: List[Tuple[str, Callable]] | None)[source]
enable_message(enable: bool = True)[source]
enable_nan_check(enable: bool = True, actions: List[Tuple[str, Callable]] | None = None)[source]
enable_nonpositive_check(enable: bool = True, actions: List[Tuple[str, Callable]] | None = None)[source]
property image_item: ImageItem
show_message(message: str | None) None[source]
property viewbox: ViewBox