scipy.signal.firwin(N, cutoff, width=None, window='hamming')

FIR Filter Design using windowed ideal filter method.

Parameters :

N – order of filter (number of taps) :

cutoff – cutoff frequency of filter (normalized so that 1 corresponds to :

Nyquist or pi radians / sample)

width – if width is not None, then assume it is the approximate width of :

the transition region (normalized so that 1 corresonds to pi) for use in kaiser FIR filter design.

window – desired window to use. See get_window for a list :

of windows and required parameters.

Returns :

h – coefficients of length N fir filter. :

Previous topic


Next topic


This Page