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#

GRRateGrid

Represents seismicity as a grid of cells, each with its own Gutenberg-Richter parameters (a-value, b-value, and mc).

GRRateGrid.concat

Concatenate a list of GRRateGrid objects into a single GRRateGrid with a MultiIndex using starttime, optionally endtime and a unique cell number.

Modify GRRateGrid#

GRRateGrid.strip

Remove all columns except the required ones for a GRRateGrid.

GRRateGrid.add_time_index

Create MultiIndex using starttime and endtime, both taken from the object attributes, and a cell number for each spatial block.