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'
orkey='time_shift'
, respectivelyNote
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 writtenattrs
(list of AttribDict): List returned by misfit function’s collect_attributes methodstations
(list of mtuq.Station objects): Used to plot station locationsorigin
(mtuq.Origin object): Used to plot origin locationOptional input arguments
For optional argument descriptions, see here