Skip to content

pymmcore_gui.widgets.image_preview

The image preview: what a snap, live mode or an MDA shows.

Classes

Name Description
ImagePreviewBase

Classes

ImagePreviewBase

ImagePreviewBase(
    parent: QWidget | None, mmcore: CMMCorePlus, *, use_with_mda: bool = False
)

Bases: QWidget

attach

attach(core: CMMCorePlus) -> None

Attach this widget to events in core.

detach

detach() -> None

Detach this widget from events in core.

append abstractmethod

append(data: ndarray) -> None

Set texture data.

The dtype must be compatible with wgpu texture formats. Will also apply contrast limits if _clims is "auto".

timerEvent

timerEvent(a0: QTimerEvent) -> None