CNN Event Detection & RNN Phase Picking (in Tensorflow)
tflib defines genral methods in tensorflow
tflib
layers
nn_model
seisnet defines neural networks for seismic data processing
seisnet
config
data_pipeline
models
preprocess contains scripts for making TFRecords files
preprocess
make_all
mk_dataset
run train.py to train the model
picker.py connect DetNet and PpkNet as a hybrid architecture for extracting seismic arrivals from continuous waveforms.
# use CDRP model
import picker
picker = picker.CDRP_Picker(out_file, ckpt_dir)
picker.pick(stream) # input obspy.stream
stable for Tensorflow 1.13.1 + Python 3.6.7
Please reference: https://doi.org/10.1785/0220180319