needs to prepare data for receiver function study

Good morning…I am a new user of obspy. i want to calculate receiver functions using python rf package. For calculating rfs first of all i need to prepare the raw in such a way that rf package can receive my data without any error.So for this i need, the raw field data to be prepared with some conditions like …selecting the proper events (i.e. epicentral distance(30-90 degree),magnitude, from the earthquake catalog and matching them with seismic data of a station in my local directory. Is there any existing python script to do this.Thanks.

Hi!

There are a number of utilities and packages that aid in downloading data using ObsPy, e.g.: