obspy.core.inventory.response.Response.get_evalresp_response

Response.get_evalresp_response(t_samp, nfft, output='VEL', start_stage=None, end_stage=None, hide_sensitivity_mismatch_warning=False)[source]

Returns frequency response and corresponding frequencies using evalresp.

Parameters:
  • t_samp (float) – time resolution (inverse frequency resolution)

  • nfft (int) – Number of FFT points to use

  • output (str) –

    Output units. One of:

    "DISP"

    displacement, output unit is meters

    "VEL"

    velocity, output unit is meters/second

    "ACC"

    acceleration, output unit is meters/second**2

    "DEF"

    default units, the response is calculated in output units/input units (last stage/first stage). Useful if the units for a particular type of sensor (e.g., a pressure sensor) cannot be converted to displacement, velocity or acceleration.

  • start_stage (int, optional) – Stage sequence number of first stage that will be used (disregarding all earlier stages).

  • end_stage (int, optional) – Stage sequence number of last stage that will be used (disregarding all later stages).

  • hide_sensitivity_mismatch_warning (bool) – Hide the evalresp warning that computed and reported sensitivities do not match.

Return type:

tuple(numpy.ndarray, numpy.ndarray)

Returns:

frequency response and corresponding frequencies