csep.core.forecasts.GriddedForecast.spatial_counts

GriddedForecast.spatial_counts(cartesian=False)

Integrates over magnitudes to return the spatial version of the forecast.

Parameters

cartesian (bool) – if true, will return a 2d grid representing the bounding box of the forecast

Returns

ndarray containing the count in each bin