You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow Users more flexibility (i.e., to use a causal filter on pre-filtering), we can stop using the ObsPy prefilt option and instead perform prefiltering within PySEP, prior to instrument response removal. This is how it was done in 'old Pysep'
This would give us the option to apply zerophase or not and control the causality of the filter. Particularly useful in cases where you want a causal filter.
Currently PySEP applies filtering during the instrument response removal (https://docs.obspy.org/packages/autogen/obspy.core.trace.Trace.remove_response.html), which does not have the typical ObsPy
zerophase
option for choosing causal or acausal filter.pysep/pysep/pysep.py
Lines 1084 to 1092 in 3f5d7ab
Instead remove response applies the 4-corner prefilter in the frequency domain using a cosine taper (https://docs.obspy.org/packages/autogen/obspy.signal.invsim.cosine_sac_taper.html). To my understanding this is an acausal filter (?).
To allow Users more flexibility (i.e., to use a causal filter on pre-filtering), we can stop using the ObsPy prefilt option and instead perform prefiltering within PySEP, prior to instrument response removal. This is how it was done in 'old Pysep'
pysep/util_write_cap.py
Lines 1202 to 1223 in d5f594b
This would give us the option to apply
zerophase
or not and control the causality of the filter. Particularly useful in cases where you want a causal filter.Motivated by an email from @liamtoney, and discussion with @carltape
The text was updated successfully, but these errors were encountered: