slmsuite.holography.analysis.take_tile#

take_tile(images, shape=None)[source]#

Tiles a stack of images into a single image. The stack is arranged into a grid of shape shape.

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

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