PAL is an earthquake detection and location architecture.
The workflow can be described as:
(1) phase Picking
(2) phase Association
(3) event Location
- phase Pickers
picker_pal.py defines the default PAL phase picker.
# use picker
# 1. waveform --> picks
import picker_pal
picker = picker_pal.STA_LTA_Kurtosis()
picks = picker.pick(stream, out_pick) # input obspy.stream
- phase Associators
associator_pal.py defines the default PAL phase associator.
# use associator
# 2. picks --> events
import associator_pal
associator = associator_pal.TS_Assoc(sta_dict)
associator.associate(picks, out_ctlg, out_pha)
- event Location
HypoInverse and HypoDD interfaces are provided for location purpose.
PAL is a set of codes. All you need is to setup proper Python environment. This can be accomplished easily by installing Anaconda and Obspy sequentially. Or you can use the env/pal.yml file with conda.