fastplotlib.HistogramLUTTool#
- class HistogramLUTTool(data, images, nbins=100, flank_divisor=5.0, **kwargs)[source]#
HistogramLUT tool that can be used to control the vmin, vmax of ImageGraphics or ImageVolumeGraphics. If used to control multiple images or image volumes it is assumed that they share a representation of the same data, and that their histogram, vmin, and vmax are identical. For example, displaying a ImageVolumeGraphic and several images that represent slices of the same volume data.
- Parameters:
data (np.ndarray)
images (ImageGraphic | ImageVolumeGraphic | tuple[ImageGraphic | ImageVolumeGraphic])
nbins (int, defaut 100.) – Total number of bins used in the histogram
flank_divisor (float, default 5.0.) – Fraction of empty histogram bins on the tails of the distribution set np.inf for no flanks
kwargs (passed to
Graphic
)