obspy.io.xseed.parser.Parser.get_response_for_channel

Parser.get_response_for_channel(blockettes_for_channel, epoch_str)[source]

Create an ObsPy response object from all blockettes of a channel.

This is a method instead of function as it needs to access the abbreviation dictionary.

Parameters:
  • blockettes_for_channel (List[:class:`~obspy.io.xseed.blockette.Blockette]) – The blockettes for the channel to calculate the response for.

  • epoch_str (str) – A string representing the epoch. Used for nice warning and error message.

Return type:

obspy.core.inventory.response.Response

Returns:

Inventory response object.