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.5.0.post1

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.post1
File Size Uploaded Provenance Actions
seisatlas-0.5.0.post1.tar.gz 54.5 kB With provenance Details for seisatlas-0.5.0.post1.tar.gz

Built distribution (wheel)

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

Total release size: 79.9 kB

Release files / seisatlas-0.5.0.post1.tar.gz

Download URL seisatlas-0.5.0.post1.tar.gz
Size 54.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce6b289204628bc8cdd469949723e64860047d63bb7dee4ab55d293f40206020
BLAKE2b-256 checksum
How to use checksums
cb3e8e198fd23b7c54dca027f26e28381e06f40cb6502b77eadd9af559267452
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.post1-py3-none-any.whl

Download URL seisatlas-0.5.0.post1-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0489402bada1929f13e39e5d2280bfa101b3673578087c433cb668360cb2932b
BLAKE2b-256 checksum
How to use checksums
4c5cad13356d2cdb641ceed264a767979008a533e60f139472ac2e91db98eaae
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.post1

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.post1.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