Skip to content

swiss-seismological-service/SeismoStats

Repository files navigation


pypi PyPI - License PyPI - Python Version test codecov Documentation Status

Measure your seismicity with SeismoStats, a Python package for seismicity analysis. The full documentation of the package is available here: https://seismostats.readthedocs.io/latest/.

Important

We welcome contributions from the community! If you have ideas, find a bug, or want to improve the package, please open an issue or submit a pull request:
https://github.com/swiss-seismological-service/SeismoStats/issues
Please refer to the Contributing Guidelines before getting started.
Everyone is encouraged to participate and help improve SeismoStats!

Start using SeismoStats:

This is intended for people interested in using existing functionalities and functions in SeismoStats, for example if you want to calculate an Mc, a-value and b-value for your catalogue and plot the frequency magnitude distribution.

pip install seismostats

That's all, you can now use SeismoStats!

Installation from source

To get the very latest version of SeismoStats, you can install it directly from the source code. This is especially useful if you want to contribute to the development of SeismoStats.

After cloning, you can install SeismoStats by running the following command in the root directory of the repository:

pip install .

Or in development mode, including the development dependencies.

pip install -e '.[dev]'

To run the tests.

tox

Citing

We are actively working on a publication to submit with the first stable version of SeismoStats. If you use the code for scientific work, and until a pre-print is available, please cite SeismoStats as:

Mirwald, A., Schmid, N., Mizrahi L., Han, M., Rohnacher, A., Ritz, V. A., & Wiemer, S. (2025). SeismoStats: A Python Package for Statistical Seismology (https://doi.org/10.48550/arXiv.2511.04521).

@misc{Mirwald2025,
   author = {Aron Mirwald and Nicolas Schmid and Leila Mizrahi and Marta Han and Alicia Rohnacher and Vanille A. Ritz and Stefan Wiemer},
   title = {SeismoStats: A Python Package for Statistical Seismology},
   url = {https://github.com/swiss-seismological-service/SeismoStats},
   year = {2025}
}

Citation metadata is also available via the CITATION.cff file in this repository.

About

A Python package for seismicity analysis.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors