Matlab codes for inversion of seismic data for moment tensors. This is not really user friendly yet.
These codes are based on work by Chouet, Dawson, Maeda, Ohminato, Takao, and Waite designed for inversion of seismic data from volcanoes for moment tensors. There are calls to some homegrown functions, functions that are part of Carl Tape's compearth package (https://github.com/carltape/compearth) and modified from Ken Creager's CORAL package.
For more on the inversion, please see:
Chouet, B., P. Dawson, T. Ohminato, M. Martini, G. Saccorotti, F. Giudicepietro, G. De Luca, G. Milana, and R. Scarpa (2003), Source mechanisms of explosions at Stromboli Volcano, Italy, determined from moment-tensor inversions of very-long-period data, J. Geophys. Res., 108(B1), 2019, doi:10.1029/2002JB001919.
Lyons, J. J., G. P. Waite, M. Ichihara, and J. M. Lees (2012), Tilt prior to explosions and the effect of topography on ultra-long-period seismic records at Fuego volcano, Guatemala, Geophys. Res. Lett., 39, L08305, doi:10.1029/2012GL051184.
Maeda, Y., M. Takeo, and T. Ohminato (2011), A waveform inversion including tilt: method and simple tests, Geophys. J. Int., 184(2), 907-918, doi:10.1111/j.1365-246X.2010.04892.x.
Ohminato, T., and B. A. Chouet (1997), A free-surface boundary condition for including 3D topography in the finite-difference method, Bull. Seism. Soc. Am., 87(2), 494-515.
Waite, G. P., B. A. Chouet, and P. B. Dawson (2008), Eruption dynamics at Mount St. Helens imaged from broadband seismic waveforms: Interaction of the shallow magmatic and hydrothermal systems, J. Geophys. Res., 113(B2), B02305, doi:10.1029/2007jb005259.