Changeset d98f3c0 for python/tests/test_fft.py
 Timestamp:
 Nov 28, 2016, 6:14:01 PM (3 years ago)
 Branches:
 feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler, yinfft+
 Children:
 a1bf01d
 Parents:
 4093c0c
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

python/tests/test_fft.py
r4093c0c rd98f3c0 34 34 fftgrain = f (timegrain) 35 35 assert_equal ( fftgrain.norm, 0 ) 36 assert_equal ( fftgrain.phas, 0 ) 36 try: 37 assert_equal ( fftgrain.phas, 0 ) 38 except AssertionError: 39 assert_equal (fftgrain.phas[fftgrain.phas > 0], +pi) 40 assert_equal (fftgrain.phas[fftgrain.phas < 0], pi) 41 assert_equal (np.abs(fftgrain.phas[np.abs(fftgrain.phas) != pi]), 0) 42 self.skipTest('fft(fvec(%d)).phas != +0, ' % win_s \ 43 + 'This is expected when using fftw3 on powerpc.') 37 44 38 45 def test_impulse(self):
Note: See TracChangeset
for help on using the changeset viewer.