fracspy.location.utils.get_max_locs#

fracspy.location.utils.get_max_locs(ssimage, n_max=50, rem_edge=True, edgebuf=10, absval=True)[source]#

Source location from image

Compute the source location from a seismic image.

Parameters:
ssimagenumpy.ndarray

Image of size \(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

absvalbool, optional

Compute absolute value of ssimage

Returns:
ev_loctuple

Most likely source location

ev_locstuple

n_max most likely source locations