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 Distribution

amw-0.0.2.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

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

amw-0.0.2-py3-none-any.whl (57.7 kB view details)

Uploaded Python 3

File details

Details for the file amw-0.0.2.tar.gz.

File metadata

  • Download URL: amw-0.0.2.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for amw-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0a513b772d28f11404d6e7ca60236a84c82dc6f870fb366205bc1ab052830e94
MD5 56baa918655e3c90833c09836e5aeffc
BLAKE2b-256 0ea420c7501ec52adb8907bb5824601620a6566202b5a45b739eeaa05cdff15a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: amw-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 57.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42e5dcd26fd551e8cf561b6c0a51c82d2608ef9b8a1affcca5b344c8d20266c7
MD5 fb84faace6f640f7a99990e8c9bf9afd
BLAKE2b-256 f58c47f33cce2b4a1e781219a14288bbf4929f4ec49821e0bfaac42fd6861fb7

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