![]()  | 
  
    LASP 1.0
    
   Library for Acoustic Signal Processing 
   | 
 
Author: J.A. More...
Variables | |
| int | L = 128 | 
| int | fs = 48000. | 
| int | d = 4 | 
| int | fd = fs/d | 
| int | fc = fd/2/1.5 | 
| fir = lowpass_fir_design(L, fs, fc) | |
| fig = plt.figure() | |
| ax = fig.add_subplot(111) | |
| freq = np.logspace(1, np.log10(fs/2), 1000) | |
| H = freqResponse(fs, freq, fir) | |
| int | dBH = 20*np.log10(np.abs(H)) | 
| color | |
| fn_index = np.where(freq <= fd/2)[0][-1] | |
| dBHmax_above_Nyq = np.max(dBH[fn_index:]) | |
Author: J.A.
de Jong - ASCEE
Description: Decimation filter design.
| lasp.filter.decimation_fir.ax = fig.add_subplot(111) | 
Definition at line 23 of file decimation_fir.py.
| lasp.filter.decimation_fir.color | 
Definition at line 30 of file decimation_fir.py.
| int lasp.filter.decimation_fir.d = 4 | 
Definition at line 15 of file decimation_fir.py.
| int lasp.filter.decimation_fir.dBH = 20*np.log10(np.abs(H)) | 
Definition at line 28 of file decimation_fir.py.
| lasp.filter.decimation_fir.dBHmax_above_Nyq = np.max(dBH[fn_index:]) | 
Definition at line 36 of file decimation_fir.py.
| int lasp.filter.decimation_fir.fc = fd/2/1.5 | 
Definition at line 18 of file decimation_fir.py.
Definition at line 17 of file decimation_fir.py.
| lasp.filter.decimation_fir.fig = plt.figure() | 
Definition at line 22 of file decimation_fir.py.
Definition at line 20 of file decimation_fir.py.
Definition at line 34 of file decimation_fir.py.
| lasp.filter.decimation_fir.freq = np.logspace(1, np.log10(fs/2), 1000) | 
Definition at line 25 of file decimation_fir.py.
| int lasp.filter.decimation_fir.fs = 48000. | 
Definition at line 13 of file decimation_fir.py.
Definition at line 27 of file decimation_fir.py.
| int lasp.filter.decimation_fir.L = 128 | 
Definition at line 12 of file decimation_fir.py.