mtuq.misfit.waveform.level1.Helper¶
- class mtuq.misfit.waveform.level1.Helper(d, g, norm, time_shift_min, time_shift_max, debug=False)[source]¶
Bases:
object
Stores data and Green’s functions for a given station and provides very efficient numerical implementation of L2 norm
Public Methods
Calculates L1 norm of data and shifted synthetics
Calculates L2 norm of data and shifted synthetics via ||s - d||^2 = s^2 + d^2 - 2sd
Generates synthetic waveforms using entire set of Green's functions
Finds optimal time shift between the given data and synthetics generated from the given source