Skip to content

Commit

Permalink
Merge pull request #5 from amkearns-usgs/evalresp_update
Browse files Browse the repository at this point in the history
Evalresp update
  • Loading branch information
aringler-usgs committed Mar 23, 2020
2 parents 57507d1 + f8b6dee commit 07ee9dd
Show file tree
Hide file tree
Showing 6 changed files with 575 additions and 43 deletions.
6 changes: 3 additions & 3 deletions obspy/core/inventory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@
Dealing with the Response information
-------------------------------------
The :meth:`~obspy.core.inventory.response.Response.get_evalresp_response`
method will call some functions within evalresp to generate the response.
The :meth:`~obspy.core.inventory.response.Response.get_response_for_window_size`
method will generate the response based on frequency delta and window size (nfft).
>>> response = cha.response
>>> response, freqs = response.get_evalresp_response(0.1, 16384, output="VEL")
>>> response, freqs = response.get_response_for_window_size(0.1, 16384, output="VEL")
>>> print(response) # doctest: +NORMALIZE_WHITESPACE
[ 0.00000000e+00 +0.00000000e+00j -1.36383361e+07 +1.42086194e+06j
-5.36470300e+07 +1.13620679e+07j ..., 2.48907496e+09 -3.94151237e+08j
Expand Down

0 comments on commit 07ee9dd

Please sign in to comment.