Beispiel #1
0
 def _create_template_fft(self, M=1000):
     M_3 = int(M / 3)
     W = [-0.5] * M_3 + list(np.linspace(-0.5, 0.5,
                                         M - 2 * M_3)) + [0.5] * M_3
     return list(W * np.hanning(M))
Beispiel #2
0
 def _create_template_fft(self, M=1000):
     M_3 =  int(M / 3)
     W = [-0.5] * M_3 + list(np.linspace(-0.5, 0.5, M - 2*M_3)) + [0.5] * M_3
     return list(W * np.hanning(M))