Mtuq
moment tensor uncertainty quantification
Install / Use
/learn @mtuqorg/MtuqREADME
mtuq
MTUQ provides moment tensor estimates and uncertainty quantification from broadband seismic data.
Getting started
Documentation
Highlights
Common use cases include double couple moment tensor, full moment tensor, depth and hypocenter uncertainty analysis. Applications involving composite sources, force sources, constrained moment tensor sources, source-time functions, and other source parameters are also possible.
Solver interfaces
I/O functions are included for reading AxiSEM, SPECFEM3D, and FK Green's functions as well as downloading Green's functions from remote syngine databases.
Misfit evaluation
Waveform difference and cross-correlation time-shift misfit evaluation on body-wave and surface-wave windows is implemented in numba-accelerated Python.
These misfit functions can be used with mtuq.grid_search, which automatically partitions the grid over multiple MPI processes if invoked from an MPI environment. For efficient and unbiased uncertainty quantification, uniform grids can be used for the grid search, drawing from Tape2015.
Alternatively, MTUQ misfit functions can be used as a starting point for Bayesian uncertainty quantification using pymc or other MCMC libraries.
Visualization
Visualization utilities are included for both the eigenvalue lune and v,w rectangle, with matplotlib and Generic Mapping Tools graphics backends.
Testing
The package has been tested against legacy Perl/C codes as well as published studies.
Citation
If you use MTUQ in your research, please cite:
J Thurin, R Modrak, C Tape, A M McPherson, F R Rodríguez-Cardozo, J Kintner, L Ding, Q Liu, J Braunmiller, MTUQ: a framework for estimating moment tensors, point forces, and their uncertainties, Geophysical Journal International, Volume 241, Issue 2, May 2025, Pages 1373–1390, https://doi.org/10.1093/gji/ggaf080
Scripts for reproducing the grid-search results and figures from Cases 1 to 3 of this publication, along with useful files (best-fitting moment tensor parameters, weight files, first-motion polarity picks, etc.), are available in the Zenodo collection at https://doi.org/10.5281/zenodo.13868450.
Related Skills
node-connect
338.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.4kCommit, push, and open a PR
