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() None[source]#
do_check(data) None[source]#
indicator: IndicatorIconView#
remove() None[source]#
setup_overlay() None[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() None[source]#
clear_overlays() None[source]#
disable_check(name: str) None[source]#
enable_check(name: str, color: list[int], pos: int, func: Callable, message: str, actions: list[tuple[str, Callable]] | None) None[source]#
enable_message(enable: bool = True) None[source]#
enable_nan_check(enable: bool = True, actions: list[tuple[str, Callable]] | None = None) None[source]#
enable_nonpositive_check(enable: bool = True, actions: list[tuple[str, Callable]] | None = None) None[source]#
property image_item: ImageItem#
show_message(message: str | None) None[source]#
property viewbox: ViewBox#