paudetseis / RfPy

Teleseismic receiver function calculation and post-processing
https://paudetseis.github.io/RfPy/
MIT License
39 stars 28 forks source link

Future #27

Open paudetseis opened 2 years ago

paudetseis commented 2 years ago

In the last few large commits, the code base was modified in the following ways:

I made changes to the scripts in the following ways:

After going through all this trouble, it appears that the simultaneous deconvolution does not produce any noticeable improvement, at least visually.

To test both versions, go through these steps:

# Single-event version
rfpy_get_data --start=2018-01-01 --end=2020-01-01 PGC.pkl
rfpy_calc --resample=10. PGC.pkl
rfpy_plot --bp=0.1,0.5 --nbaz=72 --nslow=40 --trange=0.,30. --snr=5. --title="Single-event deconvolution" PGC.pkl

# simultaneous deconvolution
rfpy_calc_simdec --bp=0.1,0.5 --nbaz=72 --nslow=40 --trange=0.,30. --snr=5. --resample=10. --title="Simultaneous Deconvolution" PGC.pkl

PGC_simdec PGC_single_event .

A few things to note:

Do not merge yet - we need to create an "old" branch that we could revert to just in case