![]()  | 
  
    LASP 1.0
    
   Library for Acoustic Signal Processing 
   | 
 
Go to the source code of this file.
Namespaces | |
| namespace | lasp | 
| LASP: Library for Acoustic Signal Processing.  | |
| namespace | lasp.filter | 
| namespace | lasp.filter.decimation_fir | 
| Author: J.A.  | |
Variables | |
| int | lasp.filter.decimation_fir.L = 128 | 
| int | lasp.filter.decimation_fir.fs = 48000. | 
| int | lasp.filter.decimation_fir.d = 4 | 
| int | lasp.filter.decimation_fir.fd = fs/d | 
| int | lasp.filter.decimation_fir.fc = fd/2/1.5 | 
| lasp.filter.decimation_fir.fir = lowpass_fir_design(L, fs, fc) | |
| lasp.filter.decimation_fir.fig = plt.figure() | |
| lasp.filter.decimation_fir.ax = fig.add_subplot(111) | |
| lasp.filter.decimation_fir.freq = np.logspace(1, np.log10(fs/2), 1000) | |
| lasp.filter.decimation_fir.H = freqResponse(fs, freq, fir) | |
| int | lasp.filter.decimation_fir.dBH = 20*np.log10(np.abs(H)) | 
| lasp.filter.decimation_fir.color | |
| lasp.filter.decimation_fir.fn_index = np.where(freq <= fd/2)[0][-1] | |
| lasp.filter.decimation_fir.dBHmax_above_Nyq = np.max(dBH[fn_index:]) | |