mantidimaging.gui.windows.operations.filter_previews module

class mantidimaging.gui.windows.operations.filter_previews.FilterPreviews(parent=None, **kwargs)[source]

Bases: GraphicsLayoutWidget

add_difference_overlay(diff, nan_change)[source]
add_negative_overlay()[source]
auto_range()[source]
autorange_histograms()[source]
clear_items(clear_before: bool = True)[source]
hide_difference_overlay()[source]
hide_negative_overlay()[source]
histogram: PlotItem
property histogram_legend: LegendItem
init_histogram() PlotItem[source]

Connects or disconnects the scales of the before/after histograms. :param create_link: Whether the link should be created or removed.

record_histogram_regions()[source]
resizeEvent(self, event: Optional[QResizeEvent])[source]
restore_histogram_regions()[source]
set_histogram_log_scale()[source]

Sets the y-values of the before and after histogram plots to a log scale.

update_histogram_data()[source]
z_slider: ZSlider
class mantidimaging.gui.windows.operations.filter_previews.ZSlider(*args, **kwargs)[source]

Bases: PlotItem

mousePressEvent(self, event: Optional[QGraphicsSceneMouseEvent])[source]
set_range(min: int, max: int)[source]
set_value(value: int)[source]
valueChanged

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

value_changed()[source]
z_line: InfiniteLine