ForecastGRRateGrid#
- class seismostats.ForecastGRRateGrid(data=None, *args, name=None, starttime: Timestamp | None = None, endtime: Timestamp | None = None, **kwargs)#
A subclass of pandas DataFrame that represents a forecast on a grid where for each grid cell, the GR parameters a, b, and mc and number_events are stored.
To be a valid RateGrid object, the DataFrame must have the following columns: longitude_min, longitude_max, latitude_min, latitude_max, depth_min, depth_max, number_events, a, b, mc, and grid_id.
- Parameters:
data – array-like, Iterable, dict, or DataFrame, optional Data to initialize the catalog with.
name – Name of the catalog.
starttime – Start time of the catalog. If a string, it must be in a format that can be parsed by pandas.to_datetime.
endtime – End time of the catalog. If a string, it must be in a format that can be parsed by pandas.to_datetime.
kwargs – Additional arguments and keyword arguments to pass to pandas DataFrame constructor.
Notes
The ForecastRateGrid class is a subclass of pandas DataFrame, and inherits all of its methods and attributes.
Attributes
Methods