pyadjoint.adjoint_source_types.waveform_misfit

Simple waveform-based misfit and adjoint source. Contains options for ‘waveform’ and ‘convolution’ misfit functions, as well as their double difference counterparts

This one function takes care of implementation for multiple misfit functions:
  • ‘waveform’: Waveform misfit from [Tromp2005]

  • ‘convolution’: Waveform convolution misfit from [Choi2011]

  • ‘waveform_dd’: Double difference waveform misfit from [Yuan2016]

  • ‘convolution_dd’: Double difference convolution misfit

authors

adjTomo Dev Team (adjtomo@gmail.com), 2023 Yanhua O. Yuan (yanhuay@princeton.edu), 2017 Lion Krischer (krischer@geophysik.uni-muenchen.de), 2015

license

BSD 3-Clause (“BSD New” or “BSD Simplified”)

Module Contents

Functions

calculate_adjoint_source(observed, synthetic, config, ...)

Calculate adjoint source for the waveform-based misfit measurements.

pyadjoint.adjoint_source_types.waveform_misfit.calculate_adjoint_source(observed, synthetic, config, windows, observed_2=None, synthetic_2=None, windows_2=None)[source]

Calculate adjoint source for the waveform-based misfit measurements.

Parameters
  • observed (obspy.core.trace.Trace) – observed waveform to calculate adjoint source

  • synthetic (obspy.core.trace.Trace) – synthetic waveform to calculate adjoint source

  • config (pyadjoint.config.ConfigWaveform) – Config class with parameters to control processing

  • windows (list of tuples) – [(left, right),…] representing left and right window borders to be tapered in units of seconds since first sample in data array

  • observed_2 (obspy.core.trace.Trace) – second observed waveform to calculate adjoint sources from station pairs

  • synthetic_2 (obspy.core.trace.Trace) – second synthetic waveform to calculate adjoint sources from station pairs

  • windows_2 (list of tuples) – [(left, right),…] representing left and right window borders to be tapered in units of seconds since first sample in data array. Used to window observed_2 and synthetic_2