fracspy.location.location.Location#
- class fracspy.location.location.Location(x, y, z)[source]#
Event location
This class acts as an abstract interface for users to perform event location on a microseismic dataset. It assumes that grid vectors are regularly spaced.
- Parameters:
- x
numpy.ndarray
X-axis
- y
numpy.ndarray
Y-axis
- z
numpy.ndarray
Z-axis
- x
Methods
__init__
(x, y, z)apply
(data[, kind])Perform event location
grid
()Construct the grid array from the internal grid vectors
gridtoind
(points)Return the grid indices for points with coordinates on a grid
indtogrid
(points)Return the grid coordinates for points provided as grid indices