SkillAgentSearch skills...

Seishmc

Full moment tensor inversion using Hamiltonian Monte Carlo (HMC) sampling

Install / Use

/learn @mtuqorg/Seishmc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SEISHMC

SEISHMC

SEISHMC is a Python package that is based on MTUQ and utilizes Hamiltonian Monte Carlo (HMC) algorithm to invert the full moment tensor of earthquake sources.

Installation

  1. Requirements

  2. Install seisHMC

  • For basic install:
git clone https://github.com/Liang-Ding/seishmc.git
cd seishmc
pip install -e .
  • or using pip
pip install seishmc

Why HMC?

We achieve lower waveform misfits in our examples using HMC algorithm.

DC

  • DC: Double-Couple solution
  • FMT: Full Moment Tensor solution
  • GS: Grid Search
  • HMC: Hamiltonian Monte Carlo algorithm
  • (Grid search is performed using MTUQ and HMC sampling is carried out with SeisHMC.)

Examples

Overview of many examples provided by SeisHMC.

| Synthetic examples | Real-data examples | |:----------------------------------------------------------:|:-----------------------------------------------------:| | GS (DC), syn. | GS (DC) | | GS (FMT), syn. | GS (FMT) | | HMC (DC), syn. | HMC (DC) | | HMC (FMT), syn. | HMC (FMT) |

Check the gallery for more figures and result obtained using HMC algorithm.

Tutorials

Related Skills

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated6mo ago
Forks1

Languages

Python

Security Score

82/100

Audited on Sep 26, 2025

No findings