sinc_filter

DSP.sinc_filter(K, f0=0, mode='complex', factor=None, W=None, M=1024)

Creates a sinc filter of K taps at a frequency f0 with a width between first nulls of 1/factor.

Parameters
  • - (M) –

  • -

  • -

  • -

  • -

  • -

Notes

The ideal sinc filter FIR formula (from the book) is:

     W       /  W        F  = --- sinc | --- k |
k    M       \  M    /

so factor is W/M.

Returns

k - an array of tap indices centered on 0 F - the array of filter weights or taps max_tap - the maximum tap index.