slope_management

FTR.slopemanage.slope_management(ap, ys, xs)[source]

Slope management for the fast fourier transform.

The slopes must be within an aperture that has space on the edges for correction.

Parameters:

ap : array_like, boolean

The illuminated aperture of valid subapertures.

xs : array_like

The x slopes

ys : array_like

The y slopes

Returns:

xs_managed : array_like

The x slopes with the periodicity management applied.

ys_managed : array_like

The y slopes with the periodicity management applied.

Raises:

ValueError :

Raised when the slopes grid is not adaquate for slope management.