fracspy.mtinversion.utils.get_mt_max_locs#

fracspy.mtinversion.utils.get_mt_max_locs(mt_image_set, n_max=50, rem_edge=True, edgebuf=10)[source]#

Source location from moment tensor component images

Compute the source location from the sum of the absolute values of the six moment tensor component images.

Parameters:
mt_image_setnumpy.ndarray

Moment tensor component images of size \(n_c imes n_x imes n_y imes n_z\)

n_maxint, optional

Number of maximum values to extract (if n_max>1, the centroid of these values will be computed and provided as the estimated source location)

rem_edgebool, optional

Remove edges of volume

edgebufint, optional

Number of grid points to remove from each edge if rem_edge=True

Returns:
ev_loctuple

Most likely source location

ev_locstuple

n_max most likely source locations