This is a code for inversion of teleseismic P-wave coda autocorrelation based on particle swarm optimization.
1 install telewavesim via conda, https://paudetseis.github.io/Telewavesim/api.html#installation
2 run zac_pso_QSPA.py
3 plot results using plots.py