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:
- ssimage
numpy.ndarray
Image of size \(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
- absval
bool
, optional Compute absolute value of
ssimage
- ssimage
- Returns: