Utils#
Binning#
|
Rounds float numbers within the array |
|
Calculates event counts per magnitude bin. |
|
Calculates cumulative event counts across all magnitude units (summed from the right). |
Synthetic Magnitude Distributions#
|
Generates a vector of |
|
Simulate magnitudes and bin them to a given precision |
Coordinates#
Spatial Transformations#
|
Create a shapely Polygon from a bounding box. |
|
Get the bounding box of a Polygon. |
Coordinate Transformer#
Class to transform between a external geographic (default ESPG:4326, also known as WGS84), and a local cartesian CRS. |
Spatial Filtering#
Returns a DataFrame containing only the rows with points inside a given polygon. |