bartorch.mse

Contents

bartorch.mse#

bartorch.mse(reference, input, *, magnitude=False)#

Mean squared error mean |input - reference|² over every element (--mse).

Parameters:

magnitude (bool) – Compare magnitudes, mean (|input| - |reference|)², taken as the root sum of squares over the coil axis -4 of a C-order (..., coils, z, y, x) array (--mse-mag).