csep.core.regions.generate_aftershock_region
- csep.core.regions.generate_aftershock_region(mainshock_mw, mainshock_lon, mainshock_lat, num_radii=3, region=<function california_relm_region>, **kwargs)[source]
Creates a spatial region around a given epicenter
The method uses the Wells and Coppersmith scaling relationship to determine the average fault length and creates a circular region centered at (mainshock_lon, mainshock_lat) with radius = num_radii.
- Parameters:
mainshock_mw (float) – magnitude of mainshock
mainshock_lon (float) – epicentral longitude
mainshock_lat (float) – epicentral latitude
num_radii (float/int) – number of radii of circular region
region (callable) – returns
csep.utils.spatial.CartesianGrid2D
**kwargs (dict) – passed to region callable
- Returns:
csep.utils.spatial.CartesianGrid2D