# needs to prepare data for receiver function study

**URL:** <https://discourse.obspy.org/t/needs-to-prepare-data-for-receiver-function-study/866>\
**Category:** Users Mailing List Archive\
**Tags:** archive\
**Created:** [January 13, 2020, 9:30am UTC](https://discourse.obspy.org/t/needs-to-prepare-data-for-receiver-function-study/866 "2020-01-13T09:30:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sei](https://discourse.obspy.org/user_avatar/discourse.obspy.org/sei/32/656_2.png) [@sei](https://discourse.obspy.org/u/sei)\
**Post date:** [January 13, 2020, 9:30am UTC](https://discourse.obspy.org/t/needs-to-prepare-data-for-receiver-function-study/866/1 "2020-01-13T09:30:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![LionKrischer](https://discourse.obspy.org/user_avatar/discourse.obspy.org/lionkrischer/32/219_2.png) [@LionKrischer](https://discourse.obspy.org/u/LionKrischer)\
**Post date:** [January 14, 2020, 7:37am UTC](https://discourse.obspy.org/t/needs-to-prepare-data-for-receiver-function-study/866/2 "2020-01-14T07:37:49Z")

</div>

Hi!

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