Spatial Filter

Overview

A SpatialFilter applies a focal-plane amplitude mask to the electromagnetic field, filtering out high spatial frequencies before the field reaches a downstream WFS. Shapes available are circular, square, and Foucault knife-edge.

API reference

class OOPAO.SpatialFilter.SpatialFilter(telescope, shape, diameter, zeroPaddingFactor=2)[source]

Focal-plane spatial filter.

Parameters:
  • telescope (Telescope) – Associated telescope.

  • shape (str) – Mask shape. One of 'circular', 'square', 'foucault'.

  • diameter (float) – Filter diameter (or half-width for 'square') in pixels of the zero-padded focal plane.

  • zeroPaddingFactor (int) – Zero-padding factor for the focal-plane FFT. Default 2.

mask: numpy.ndarray

Complex 2-D focal-plane mask.

Operator summary

Expression

Effect

src * tel * sf * wfs

Filter high frequencies before WFS sensing