Skip to content
/ chimer Public

Earthquake Moment Magnitude Calculation from Ground Motions

Notifications You must be signed in to change notification settings

pyrocko/chimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chimer

Earthquake Moment Magnitude Estimation from Peak Ground Motion

Ruff Python 3.10+ pre-commit DOI

Chimer is a framework for earthquake moment magnitude estimation from observed peak ground motions (PGM). It builds on top of pyrocko.gf Green's function data bases for forward modelling seismic sources and waveforms.

image

Key features include:

  • Creation of synthetic ground motion databases
  • Caluclation of statistical peak acceleration, velocity and displacement
  • Forward modelling of PGM

image

Example

from chimer.magnitude_store import PeakAmplitudesBase, PeakAmplitudesStore

from pyrocko import gf

KM = 1e3

engine = gf.LocalEngine(use_config=True)

peak_amplitudes = PeakAmplitudesBase(
        gf_store_id=store_id,
        quantity="displacement",
    )

PeakAmplitudesStore.set_engine(engine)
store = PeakAmplitudesStore.from_selector(peak_amplitudes)

await store.compute_site_amplitudes(source_depth=2 * KM, reference_magnitude=1.0)
await store.find_moment_magnitude(
    source_depth=2 * KM,
    distance=10 * KM,
    observed_amplitude=0.0001,
)

Installation

Simple installation from GitHub.

pip install git+https://github.com/pyrocko/chimer

Citation

Please cite chimer as:

Torsten Dahm, Daniela Kühn, Simone Cesca, Marius Paul Isken, Sebastian Heimann, Earthquake Moment Magnitudes from Peak Ground Displacements and Synthetic Green's Functions, Seismica, 2024, submitted

License

Contribution and merge requests by the community are welcome!

Qseek was written by Marius Paul Isken and is licensed under the GNU GENERAL PUBLIC LICENSE v3.