disba
Installation
SKILL.md
disba - Surface Wave Dispersion
Quick Reference
import numpy as np
from disba import PhaseDispersion, GroupDispersion
# Define velocity model (thickness, Vp, Vs, density)
# thickness in km, velocities in km/s, density in g/cm3
thickness = np.array([0.5, 1.0, 2.0, 0.0]) # 0.0 = half-space
vp = np.array([1.5, 2.5, 4.0, 6.0])
vs = np.array([0.8, 1.4, 2.3, 3.5])
rho = np.array([1.8, 2.0, 2.3, 2.6])
# Periods to compute (seconds)
periods = np.linspace(0.1, 5.0, 50)