The misfit is evaluated for all data samples. It is defined in the same way as for the dispersion curve inversion (equation (3.38) and Wathelet et al. (2004)), taking into account the standard deviation observed for each spatial auto-correlation sample :
As for dispersion curves, the implemented algorithm can calculate a misfit for a set of modal curves by including the contributions of all modes in the sum of equation (3.51). The technique described in section 3.1.7 is also used for higher modes with a limited valid frequency band. Options exist to restrict the misfit computation to the first decreasing part of the auto-correlation curve (argument of Bessel's function less than 3.2) and to avoid the part of the curves close to 1 (argument of Bessel's function greater than 0.4). In this case, even the fundamental mode may have a restricted valid frequency interval for which the misfit is corrected in the same way as for higher modes. However, experience has proved that those options are generally useless and that the whole frequency range can be used for inversion (section 5.2).