csep.core.catalogs.CSEPCatalog.filter_spatial

CSEPCatalog.filter_spatial(region=None, update_stats=False)

Removes events outside of the region. This takes some time and should be used sparingly. Typically for isolating a region near the mainshock or inside a testing region. This should not be used to create gridded style data sets.

Parameters

region – csep.utils.spatial.Region

Returns

self