saul.spectral.response

Calculation of sensor response and corner frequencies, with optional plotting.

saul.spectral.response.calculate_responses(inventory, sampling_rate=10, plot=False)[source]

Calculate sensor responses and corner frequencies from an ObsPy inventory.

Parameters:
  • inventory (Inventory) – ObsPy inventory object containing station metadata, including response information. This means the inventory should have been fetched with the level='response' option!

  • sampling_rate (int or float) – Sampling rate for response computation in Hz. This must be high enough such that the Nyquist frequency is above the reference frequency (“stage_gain_frequency”) of the sensors in the input inventory.

  • plot (bool) – If True, plot the responses and corner frequencies.

Returns:

Table of sensor and corner frequency information, with columns network, station, location, channel, sensor_info, and corner_frequency

Return type:

DataFrame