Comparing the performances of four stochastic optimisation methods using analytic objective functions, 1D elastic full‐waveform inversion, and residual static computation