GRRateGrid#
Subclass of pandas.DataFrame, storing the Gutenberg-Richter rate values for a spatial grid. Holds additional methods to work with this data structure.
Constructor#
A subclass of pandas DataFrame that represents a grid where for each grid cell, the GR parameters a, b, and mc and number_events are stored. |
Modify GRRateGrid#
Remove all columns except the required ones defined in |
|
Create MultiIndex using starttime, optionally endtime and a cell number for each spatial block. |
|
If the RateGrid has a MultiIndex which includes cell_id as a level, this method will update the RateGrid's index to use unique cell_id values. |