obspy.core.inventory.response.Response.from_paz

classmethod Response.from_paz(zeros, poles, stage_gain, stage_gain_frequency=1.0, input_units='M/S', output_units='VOLTS', normalization_frequency=1.0, pz_transfer_function_type='LAPLACE (RADIANS/SECOND)', normalization_factor=1.0)[source]

Convert poles and zeros lists into a single-stage response.

Takes in lists of complex poles and zeros and returns a Response with those values defining its only stage. Most of the optional parameters defined here are from PolesZerosResponseStage.

Parameters:
  • zeros (list[complex]) – All zeros of the response to be defined.

  • poles (list[complex]) – All poles of the response to be defined.

  • stage_gain (float) – The gain value of the response [sensitivity]

Returns:

new Response instance with given P-Z values