Skip to main content

Alt text

Anthropogenic Mw

Earthquake moment magnitude estimation from P, S, or P and S waves together

Copyright (c) 2025, Jan Wiszniowski jwisz@igf.edu.pl

Description

The Anthropogenic Mw package is designed for the determination of the moment magnitude (Mw) of small and local earthquakes, where stations are close to hypocenters. Such situations often occur in anthropogenic events, and this algorithm was developed to calculate Mw of mining-induced and reservoir-triggered earthquakes. Hence, the package name is Anthropogenic Mw. However, it can also be used for natural events and is recommended for local ones.

The method of Mw computation based on spectral displacement amplitude is elaborated. Mw is computed using a fitting of displacement spectra of seismic waves recorded at stations to the simulated spectrum in the far field with the estimation of the noise. As proposed, it allows for estimating Mw based on a single P or S wave spectra. However, a combined spectrum of two waves together and spectrum simulation in intermediate and near fields was applied to Mw estimation as an innovation. The algorithm automatically estimates the station magnitude of small and close events.

Command line tools

For the impatient

To run the example, call (Windows)

spectral_Mw -c example\STr2_catalog.xml example\STr2_config.json

or

spectral_Mw -c example\LUMINEOS_catalog_with_s_phases.xml example\LUMINEOS_config.json

The example catalog you can download from https://github.com/JanWiszniowski/amw/tree/main/example

Spectral Mw calculation

The spectral Mw is calculated by spectral_Mw.py. After installing Anthropogenic Mw, you can get help on the command line arguments used by each code by typing from your terminal:

spectral_Mw -h

The recommended use case is cooperation with the external server. You must first prepare the configuration.json file and then run:

spectral_Mw -q event.xml configuration.json,

where event.xml is an example of the catalog file name and configuration.json is the configuration file name, which contains all information required for program to work. See two configuration examples inhttps://github.com/JanWiszniowski/amw/tree/main/example.

Source spectra visualization

Source spectra are plotted by view_green_function. Call:

view_green_fun configuration.json

where configuration.json is the configuration file.

Documentation

The documentation is in the anthropogenicmw.pdf file.

Metadata

Release files for amw 0.0.7

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

Built distribution (wheel)

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

Release files / amw-0.0.7-py3-none-any.whl

Download URL amw-0.0.7-py3-none-any.whl
Size 58.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aef6b5cd5b81763e2f8483a3a2b57769d2e4cd5bbf9a77d65545450679ef1037
BLAKE2b-256 checksum
How to use checksums
2c8b01f2a215d2880f2d5be7648e1e0cf5fc8d29d7855e51a57fecc5f61a210a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for amw 0.0.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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