obspy.signal.calibration._calc_resp

_calc_resp(calfile, nfft, sampfreq)[source]

Calculate transfer function of known system.

Parameters

calfile (str) – file containing poles, zeros and scale factor for known system or a dictionary with poles and zeros information (with keys 'poles', 'zeros' and 'sensitivity').

Returns

complex transfer function, array of frequencies