mtuq.graphics.plot_time_shifts

mtuq.graphics.plot_time_shifts(dirname, attrs, stations, origin, key='total_shift', **kwargs)[source]

Plots how time shifts vary by location and component

By default, total time shifts are plotted. To plot just static or cross-correlation time shifts, use key='static_shift' or key='time_shift', respectively

Note

MTUQ distinguishes between the following different types of time shifts:

  • static_shift is an initial user-supplied time shift applied during data processing

  • time_shift is a subsequent cross-correlation time shift applied during misfit evaluation

  • total_shift is the total correction, or in other words the sum of static and cross-correlation time shifts

Required input arguments

dirname (str): Directory in which figures will be written

attrs (list of AttribDict): List returned by misfit function’s collect_attributes method

stations (list of mtuq.Station objects): Used to plot station locations

origin (mtuq.Origin object): Used to plot origin location

Optional input arguments

For optional argument descriptions, see here