paudetseis / RfPy

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

Removing instrument response from downloaded waveforms #25

Closed wasjabloch closed 2 years ago

wasjabloch commented 2 years ago

utils.download_data() useses obspy.client.get_waveforms(..., attach_response=False). With this option, traces can't be restituted to true ground displacement. What is the rationale behind this choice? I think RfPy should make an attempt to retrieve the instrument response and remove it, before returning the traces.

paudetseis commented 2 years ago

In RF processing, the instrument response from two different channels cancels out during spectral division. However, removing instrument response is still desirable, e.g., when the instrument or digitizer change during a station upgrade. I support adding this feature.