- Timestamp:
- Sep 22, 2016, 1:46:16 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 70b2ab0
- Parents:
- fa5d8ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_fvec.py
rfa5d8ad r88c89e3 99 99 alpha = np.random.rand() * 5. 100 100 x_alpha_norm = (np.sum(np.abs(x)**alpha)/len(x))**(1/alpha) 101 assert_almost_equal(alpha_norm(x, alpha), x_alpha_norm, decimal = 5)101 assert_almost_equal(alpha_norm(x, alpha), x_alpha_norm, decimal = 4) 102 102 103 103 class aubio_zero_crossing_rate_test(TestCase):
Note: See TracChangeset
for help on using the changeset viewer.