width_residual#

esis.optics.width_residual(footprints, edges, clip=3.0)[source]#

Compute the root-mean-square error of the width of every window.

The width across a row is the right crossing minus the left, and down a column the bottom minus the top, measured and modelled at the same rows and columns, so the residual is blind to where a window sits and sees only how large it is. Every error is clipped at clip pixels.

Parameters:
Return type:

float