loupe.slit#

loupe.slit(shape, width)[source]#

Compute a horizontal slit mask.

Parameters:
  • shape (array_like) – Size of output in pixels (nrows, ncols)

  • width (int) – Slit width in pixels

Returns:

out

Return type:

ndarray