slmsuite.holography.analysis.take_plot#

take_plot(images, shape=None, separate_axes=False, cbar=True)[source]#

Plots non-integrated results of take() in a square array of subplots.

Parameters:
  • images (numpy.ndarray) – Stack of 2D images, usually a take() output.

  • shape ((int, int) or None) – Shape of the subplots. If None, the shape is determined by the number of images (smallest square).

  • separate_axes (bool) – If True, each image is plotted in a separate subplot. If False, uses take_tile() to plot all images on a single axes.

  • cbar (bool) – Whether to include a colorbar. Currently only applies if separate_axes is False.