Illustration of the metric for measuring the RMS average of the magnitude error at one pixel between the complex value before convergence (; shown in blue) and after convergence (; shown in red). When obtaining a particular measure of the phase difference from a complex value on the real (Re) and imaginary (Im) plane, one could obtain erroneous values in the case shown where the phase before convergence is reported as while the phase after convergence is reported as , one would obtain an erroneous phase difference of near . Calculating the RMS difference between complex wavefields (Eq. (24)) circumvents this problem by measuring the end-to-end distance between the red and blue vectors at individual pixels , a result that does not require phase wrapping. When the moduli and are similar, the average modulus of the green vector (labeled here as using Eq. (24)) is approximately linearly related to the RMS average of subtended by the blue and red vectors.