From c491aac1bba0149bd9571c70ada12f6b8c7245fd Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Mon, 9 Dec 2013 14:24:51 +0100 Subject: [PATCH] warning message in Response.get_evalresp_response see https://github.com/obspy/obspy/pull/590#issuecomment-30107680 --- obspy/station/response.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/obspy/station/response.py b/obspy/station/response.py index f378aa7d64c..2fa3c14515a 100644 --- a/obspy/station/response.py +++ b/obspy/station/response.py @@ -703,12 +703,18 @@ def get_evalresp_response(self, t_samp, nfft): Returns frequency response and corresponding frequencies using evalresp. - .. note:: This method is still expermimental + .. note:: + + This method is still experimental and not yet tested for all + possible response scenarios. :param t_samp: time resolution (inverse frequency resolution) :param nfft: Number of FFT points to use :returns: tuple containing frequency response and frequencies """ + msg = ("Response.get_evalresp_response() is experimental and not yet " + "tested for all possible response scenarios.") + warnings.warn(msg) import ctypes as C import numpy as np import obspy.signal.evrespwrapper as ew