Skip to main content

seisatlas

Magnitude of completeness (Mc) and Gutenberg-Richter b-value with a 95 % interval and a quality code for any earthquake catalogue: the estimators of the Global Seismicity Atlas as a Python library and a command-line tool.

pip install "seisatlas @ git+https://github.com/ismoilovdevml/seismicity-atlas"
seisatlas report events.csv -o report.html
seisatlas report events.csv --lat 38.3 --lon 142.4 --radius-km 300 --mag-type mw -o tohoku.html
from seisatlas import read_catalog, select, analyze, to_html

cat = select(read_catalog("events.csv"), lat=38.3, lon=142.4, radius_km=300, depth_max=70)
res = analyze(cat)                      # dict: mc, b (b, b_lo, b_hi, quality), b_positive, fmd, warnings
print(res["b"])
open("report.html", "w").write(to_html(res))

The CSV needs a magnitude column (mag, magnitude, mw, ml); time, latitude, longitude, depth and magnitude type are used when present. USGS ComCat, EMSC and ISC exports work as downloaded.

Method

  • Mc = MAXC + 0.2; MBS and GFT are reported for comparison; Mc per year shows completeness changing in time.
  • b: Aki-Utsu maximum likelihood with the binning correction and a per-event threshold max(Mc, floor), so a catalogue whose completeness changed can be analysed with per-period floors (--floor-period 1976-2003:5.8).
  • 95 % interval from 1000 bootstrap replicates that re-estimate Mc each time.
  • Quality A if (upper − lower) / b ≤ 0.30, B if ≤ 0.50, C if wider (b withheld), insufficient below 50 events above the threshold. The width is relative because the standard error of b grows with b; an absolute limit would favour low b.
  • b-positive (van der Elst 2021) as a robustness check, and b at threshold + 0.2 / + 0.4 for cutoff stability.
  • Warnings for mixed magnitude types, completeness that changes with time, small samples and unstable cutoffs.

Full description and validation: docs/method.md, docs/validation.md.

Descriptive statistics only: not an earthquake forecast and not a seismic hazard assessment.

Cite

Ismoilov, O. (2026). A reproducible global atlas of earthquake-catalogue completeness and b-value with uncertainty. EarthArXiv. https://doi.org/10.31223/X5X23M. Code: https://doi.org/10.5281/zenodo.24228387. MIT licence.

Metadata

Release files for seisatlas 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seisatlas 0.5.0
File Size Uploaded Provenance Actions
seisatlas-0.5.0.tar.gz 54.4 kB With provenance Details for seisatlas-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seisatlas 0.5.0
File Interpreter ABI Platform Actions
seisatlas-0.5.0-py3-none-any.whl Python 3 none any Details for seisatlas-0.5.0-py3-none-any.whl

Total release size: 79.8 kB

Release files / seisatlas-0.5.0.tar.gz

Download URL seisatlas-0.5.0.tar.gz
Size 54.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4a61f3b56dfaaf9a30ae0b355785fd94857a5180ab21a1261a4fa8b91314c0de
BLAKE2b-256 checksum
How to use checksums
fbe0d63880e9c7384583d3f73008bd58fbcc83c8b441fc30a701d4917369ff5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / seisatlas-0.5.0-py3-none-any.whl

Download URL seisatlas-0.5.0-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ce10aa4dd7c1f72fea91594ce6953b84f483ec60e31f874397e28a6d1df2366
BLAKE2b-256 checksum
How to use checksums
c1813ed013d23baf92280becf3d0127d4f0e5aee4b46334e0777fb7162d3c687
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for seisatlas 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for seisatlas-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page