mse_total

pyrost.bin.mse_total(signatures, args, kwargs, defaults)

Return the average total mean-squared-error (MSE).

Parameters
  • I_n (numpy.ndarray) – Measured intensity frames.

  • W (numpy.ndarray) – Measured frames’ whitefield.

  • I0 (numpy.ndarray) – Reference image of the sample.

  • u (numpy.ndarray) – The pixel mapping between the data at the detector’s plane and the reference image at the reference plane.

  • di (numpy.ndarray) – Sample’s translations along the slow detector axis in pixels.

  • dj (numpy.ndarray) – Sample’s translations along the fast detector axis in pixels.

  • ls (float) – Reference image length scale in pixels.

Returns

mse – Average total MSE.

Return type

float

See also

update_translations_gs

Description of error metric which is being minimized.