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
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.6.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.6.0
File Size Uploaded Provenance Actions
seisatlas-0.6.0.tar.gz 69.9 kB With provenance Details for seisatlas-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 98.2 kB

Release files / seisatlas-0.6.0.tar.gz

Download URL seisatlas-0.6.0.tar.gz
Size 69.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f6f2623359ec35e005132bced65ebf721ad293a258717d3a4f757e3aeeab552f
BLAKE2b-256 checksum
How to use checksums
a2c4d187180dd530ea5b8a7a39ea9f6ce34cbb44cadfee3447e8eb56e7d0af58
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 20, 2026.

Transparency log

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

Download URL seisatlas-0.6.0-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
173c42beb4630b857abe550dd3f5af4fd66d74a4361372b3562af9a79149ba42
BLAKE2b-256 checksum
How to use checksums
8b99a7963639c27c69dc2a71cda09ee6f6fdb3e60867e13fe4e1dd1fbb16b864
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 20, 2026.

Transparency log

Security for seisatlas 0.6.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.6.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 20, 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