Haipeng Li

Code

Open-source software for seismic modeling, imaging, and inversion, spanning wave propagation, fiber-optic sensing, and Bayesian subsurface monitoring. Each repository includes examples, and most accompany published studies to support reproducibility. All repositories are available through subsurface4d on GitHub.

SWIT full-waveform inversion of the Marmousi, Overthrust, and foothills velocity models, showing the true model, the smooth starting model, and the inverted model for each

SWIT · Seismic Waveform Inversion Toolbox

An FWI package with validated forward and adjoint solvers, waveform, traveltime, envelope, and global-correlation misfits, and nonlinear conjugate-gradient and L-BFGS optimization. Python scripts and a graphical interface support research and teaching.

GitHub → · Python, Fortran · GPL-3.0
Transmitted surface-wave reverse time migration schematic and fault image beneath a dense array

TSW-RTM · Surface-Wave Reverse Time Migration

A framework that images fault-related velocity contrasts using transmitted surface waves, including those from ambient-noise cross-correlations. It includes a Deepwave-based elastic propagator and a step-by-step notebook.

GitHub → · JGR: Solid Earth 2020 · Python · MIT
Six panels comparing true saturation, MLE, prior mean, MAP, posterior mean, and posterior standard deviation

Bayesian FWI with Fluid-Flow Priors

Reproducible code for Bayesian time-lapse monitoring of geological carbon storage, combining flow-simulation priors, a variational autoencoder, petrophysics, and Hamiltonian Monte Carlo. Notebooks reproduce the published results.

GitHub → · JGR: Machine Learning and Computation 2026 · Python · MIT
A fiber cable draped over three-dimensional topography, its directional sensitivity along the cable, and simulated DAS data

GenericCable · DAS Along Fibers of Any Shape

A cable class for modeling and inverting DAS data along arbitrary fiber geometries. It computes responses from SPECFEM3D simulations, supports adjoint-based FWI, and aids fiber-layout design.

GitHub → · Python