Particle Man
Particle motion analysis of seismic surface waves using the Stockwell Transform.
Seismic surface waves can be detected and extracted from three-component data through particle motion polarization analysis. Particle Man is a software package that employs the Stockwell Transform to perform surface wave filtering/extraction and display for multifrequency analysis.
This package implements the Normalized Inner Product surface wave filtering and extraction methods of Meza-Fajardo et al., (2015). The Stockwell transform is implemented in C using FFTW libraries.
Installation
Prerequisites
- C compiler
- fftw3
Dependencies
- Python 3
- NumPy
- Matplotlib
Using from a Conda environment.yml
The environment.yml
file will install everything you need into a particleman
environment: conda env create -f environment.yml
. To install Particle Man into
an existing Conda environment, make sure you've got the dependencies you need installed
and available, and just use pip
to install it from source.
Manually on a Mac
gcc
from XCode should work fine. Getting fttw3 is easy with homebrew (brew install fftw
)
or with Conda (conda install -c conda-forge fftw
).
To Particle Man install from source, just:
pip install .