esmraldi.sliceviewer

Basic class to visualize 3D images with numpy and matplotlib

Module Contents

Classes

SliceViewer

class esmraldi.sliceviewer.SliceViewer(ax, *X, labels=None, **kwargs)

Bases: object

onscroll(event)

Change slice number on mouse scroll event.

Parameters
self: type

description

event: matplotlib.MouseEvent

the current event

update()

Update the image after event.

Parameters
self: type

description