window_mask#

esis.optics.window_mask(footprint, shape)[source]#

Mark the pixels of a frame that lie inside one window’s outline.

The outline of the field stop on the sensor at one line, see optika.systems.LinearSystem.footprint(), bounds the window that line illuminates. Pixels outside it hold other lines’ windows or the gaps between them, which, read through this line’s distortion, land on the sky as structure that belongs elsewhere.

Parameters:
Return type:

ndarray