obspy.signal.invsim.evalresp_for_frequencies

evalresp_for_frequencies(t_samp, frequencies, filename, date, station='*', channel='*', network='*', locid='*', units='VEL', debug=False)[source]

Use the evalresp library to extract instrument response information from a SEED RESP-file for the specified frequencies.

Parameters:
  • t_samp (float) – Sampling interval in seconds
  • frequencies (list of float) – Discrete frequencies to calculate response for.
  • filename (str or file) – SEED RESP-filename or open file like object with RESP information. Any object that provides a read() method will be considered to be a file like object.
  • date (UTCDateTime) – Date of interest
  • station (str) – Station id
  • channel (str) – Channel id
  • network (str) – Network id
  • locid (str) – Location id
  • units (str) – Units to return response in. Can be either DIS, VEL or ACC
  • debug (bool) – Verbose output to stdout. Disabled by default.
Return type:

numpy.ndarray complex128

Returns:

Frequency response from SEED RESP-file for given frequencies