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_set
numpy.ndarray
Moment tensor component images of size \(n_c imes n_x imes n_y imes n_z\)
- n_max
int
, 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_edge
bool
, optional Remove edges of volume
- edgebuf
int
, optional Number of grid points to remove from each edge if
rem_edge=True
- mt_image_set
- Returns: