sidpy.viz.dataset_viz.ImageStackVisualizer¶
- class sidpy.viz.dataset_viz.ImageStackVisualizer(dset, figure=None, **kwargs)[source]¶
Bases:
object
Interactive display of image stack plot
The stack can be scrolled through with a mouse wheel or the slider The usual zoom effects of matplotlib apply. Works on every backend because it only depends on matplotlib.
Important: keep a reference to this class to maintain interactive properties so usage is:
>>kwargs = {‘scale_bar’: True, ‘cmap’: ‘hot’}
>>view = ImageStackVisualizer(dataset, **kwargs )
Input:¶
dset: sidpy Dataset
- figure: optional
matplotlib figure
- kwargs: optional
matplotlib additional arguments like {cmap: ‘hot’}
Methods
plot_image