Froment, M., Brissaud, Q., Näsholm, S. P. and Schweitzer, J. (2025)
This suite of codes performs the inversion of one component seismograms/pressure data to simultaneously retrieve the seismic source location and the planet's 1D velocity structure. A Bayesian inversion approach is used, implementing different Markov chain Monte Carlo (McMC) algorithms. The inverted data consists of arrival times of Rayleigh Waves, P and S waves, measured from different types of signals:
- Seismograms (seismic stations)
- Airborne pressure recordings (balloons)
Some important modules required for running the inversion are:
- Jupyter
- Obspy
- emcee
- numpy
- scipy
- disba
- f2py
inversion_environment.yml. it can be installed with the following command:
conda env create -f inversion_environment.yml
conda activate env_mcmc
It will also be necessary to compile the Fortran code ttplanet.f with f2py, using the following command:
bash make_ttplanet_f2py.sh
A walk through a full inversion run (using the Strateole2 balloon data) is presented in the test_inversion_flores_balloons.ipynb notebook. This includes the processing of the balloon data, the extraction of picks, the formating of the data and preparation of the inversion, the inversion run and the final data processing as well as some figure outputs.
DATE: May 2025.
This study is funded by the AIR project: https://norsarair.github.io/. This code makes use of open-source modules for seismology and McMC inversions, such as ObsPy and emcee, and we thank their contributors for providing and maintaining them.