ForecastCatalog#

class seismostats.ForecastCatalog(data=None, *args, n_catalogs=None, **kwargs)#

A catalog of seismic events represented in tabular form, where each row corresponds to a single earthquake. The ForecastCatalog extends this structure to represent multiple realizations of the same catalog, distinguished by an additional column catalog_id.

To be a valid ForecastCatalog object, it must have the following columns: longitude, latitude, depth, time, magnitude, catalog_id.

Parameters:
  • data – Data to initialize the catalog with.

  • name – Name of the catalog.

  • n_catalogs – Total number of catalogs represented, including empty catalogs.

  • args – Additional arguments to pass to pandas DataFrame constructor.

  • starttime – Start time of the catalog.

  • endtime – End time of the catalog.

  • mc – Completeness magnitude of the catalog.

  • delta_m – Magnitude binning of the catalog.

  • kwargs – Additional keyword arguments to pass to pandas DataFrame constructor.

See also

The Catalog class is a subclass of pandas.DataFrame, and inherits all of its methods and attributes.

The ForecastCatalog class is a subclass of seismostats.Catalog, and inherits all of its methods and attributes.

Attributes

Methods

to_quakeml

Convert the catalogs to QuakeML format.