mtuq.graphics.plot_cross_corr

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

Plots how cross-correlation values vary by location and component

By default, maximum normalized cross-correlation values are plotted. To plot just maximum cross-correlation values, use key='cc_max'

Note

MTUQ distinguishes between the following different types of cross-correlation values

  • cc_max is the maximum cross-correlation value

  • normalized_cc_max is the maximum cross-correlation value normalized between 0 and 1

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