build_highpass_filter_coeff

HSTB.kluster.modules.wobble.build_highpass_filter_coeff(cutoff_freq, numtaps=101, show_freq_response=False, show_impulse_response=False)

Construct a highpass filter using Scipy

http://mpastell.com/2010/01/18/fir-with-scipy/

Parameters
  • cutoff_freq (float) – cutoff frequency of the filter

  • numtaps (int) – filter length, must be odd

  • show_freq_response (bool) – if True, will generate plot of frequency response

  • show_impulse_response (bool) – if True, will generate plot of impulse response

Returns

filter coefficients

Return type

np.array