Adaptive waveform inversion: Theory | Synapse