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
Please reference: https://doi.org/10.1785/0220180319