obspy.signal.invsim.evalresp_for_frequencies

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

Get the instrument response from a SEED RESP-file for select frequencies.

Uses the evalresp library.

Parameters
  • t_samp (float) – Sampling interval in seconds

  • frequencies (list[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