LASP 1.0
Library for Acoustic Signal Processing
|
Author: J.A. More...
Functions | |
freqResponse (fs, freq, coefs_b, coefs_a=1.) | |
Computes the frequency response of the filter defined with the filter coefficients: | |
bandpass_fir_design (L, fs, fl, fu, window=hann) | |
Construct a bandpass filter. | |
lowpass_fir_design (L, fs, fc, window=hann) | |
arbitrary_fir_design (fs, L, freq, amps, window='hann') | |
Last frequency of freq should be fs/2. | |
Author: J.A.
de Jong - ASCEE
Description: Designs octave band FIR filters from 16Hz to 16 kHz for a sampling frequency of 48 kHz.
lasp.filter.fir_design.arbitrary_fir_design | ( | fs, | |
L, | |||
freq, | |||
amps, | |||
window = 'hann' |
|||
) |
Last frequency of freq should be fs/2.
Definition at line 82 of file fir_design.py.
lasp.filter.fir_design.bandpass_fir_design | ( | L, | |
fs, | |||
fl, | |||
fu, | |||
window = hann |
|||
) |
Construct a bandpass filter.
Definition at line 37 of file fir_design.py.
lasp.filter.fir_design.freqResponse | ( | fs, | |
freq, | |||
coefs_b, | |||
coefs_a = 1. |
|||
) |
Computes the frequency response of the filter defined with the filter coefficients:
Args: fs: Sampling frequency [Hz] freq: Array of frequencies to compute the response for coefs_b: Forward coefficients (FIR coefficients) coefs_a: Feedback coefficients (IIR)
Returns: Complex frequency response for frequencies given in array
Definition at line 17 of file fir_design.py.
lasp.filter.fir_design.lowpass_fir_design | ( | L, | |
fs, | |||
fc, | |||
window = hann |
|||
) |
Definition at line 62 of file fir_design.py.