Skip to main content

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

Project description

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_test.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/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 in https://github.com/JanWiszniowski/amw/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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amw-0.0.3-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

Details for the file amw-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: amw-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for amw-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b0eb1081f07eab11371da423c8ccd713dbc1f4b4a0a2052cae292b626b7e625d
MD5 a2776ff8043238df003af039c12c0d65
BLAKE2b-256 990167810da90557583df3b31ba89a38f0204054601d9546cad5e5f0004d130f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page