SeismoStats: A Python Package for Statistical Seismology
Aron Mirwald, Nicolas Schmid, Leila Mizrahi, Marta Han, Alicia Rohnacher, Vanille A. Ritz, Stefan Wiemer
TL;DR
SeismoStats addresses the fragmentation of statistical seismology tools by providing a unified, open-source Python package for catalog handling and GR parameter estimation. It introduces a Catalog class and modular analysis, utils, and plotting components, enabling robust estimation of $m_c$, $a$, and $b$, along with multiple completeness and estimator methods such as MAXC, KS, and STAI-inspired approaches. The work emphasizes reproducibility via CI/CD, documentation, and community contributions, and integrates with standard formats and services (QuakeML, FDSN) to streamline seismic catalog analyses. Overall, SeismoStats aims to standardize and extend statistical seismology workflows, facilitating rigorous analysis and collaborative development across the seismological community.
Abstract
We introduce SeismoStats, a Python package that enables essential statistical seismology analyses, with a focus on well-established methods. The package provides user-friendly tools to download and manipulate earthquake catalogs, but also plotting functionalities to visualize them, as well as means to perform analyses such as estimating the a- and b-value of the Gutenberg-Richter law, or estimating the magnitude of completeness of any earthquake catalog. This is the first well-tested, well-documented, and openly accessible Python package with all these features. It is intended to serve as the nucleus of a long-term community effort, continually expanding in functionality through shared contributions. We invite seismologists and developers to contribute ideas and code to support and shape its future development.
