scisalt.matplotlib.Imshow_Slider_Array

class scisalt.matplotlib.Imshow_Slider_Array(images, usecbar=False, **kwargs)[source]

Convenience class for viewing images.

Plots images to an instance of matplotlib.axes.Axes, with sliders for controlling bounds, with **kwargs passed through to matplotlib.axes.Axes.imshow.

Parameters:

images :

An array of images.

usecbar : bool

Determines if colorbar is shown. Color bars can slow down the viewer significantly.

kwargs :

Passed through to matplotlib.axes.Axes.imshow.

Attributes

AxesImage The matplotlib.image.AxesImage from matplotlib.axes.Axes.imshow.
ax The matplotlib.axes.Axes used for matplotlib.axes.Axes.imshow.
clim_max Slider value for maximum
clim_min Slider value for minimum
image The image loaded.
images The array of images.
imgmax Highest value of input image.
imgmin Lowest value of input image.
num_imgs The number of images.

Methods

set_cmap(cmap) Sets color map to cmap.