f70f52a6ddf53642c2b6a304c643bd9991abcce5,sk_dsp_comm/test/test_sigsys.py,TestSigsys,test_ten_band_equalizer,#TestSigsys#,31
Before Change
w = randn(1000000)
gdB = [x for x in range(1, 11)]
y = ss.ten_band_eq_filt(w, gdB)
yavg = np.average(y)
npt.assert_almost_equal(abs(yavg), 0.001, decimal=2)
def test_ten_band_equalizer_gdb_exception(self):
w = randn(1000000)
After Change
def test_ten_band_equalizer(self):
w = randn(10)
gdB = [x for x in range(1, 11)]
y_test = [-4.23769156, 0.097137, 4.18516645, -0.54460053, 2.2257584, 1.60147407, -0.76767407, -1.95402381,
-1.0580526, 0.9111369]
y = ss.ten_band_eq_filt(w, gdB)
npt.assert_almost_equal(y, y_test)
def test_ten_band_equalizer_gdb_exception(self):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: mwickert/scikit-dsp-comm
Commit Name: f70f52a6ddf53642c2b6a304c643bd9991abcce5
Time: 2017-07-15
Author: chiranthsiddappa@gmail.com
File Name: sk_dsp_comm/test/test_sigsys.py
Class Name: TestSigsys
Method Name: test_ten_band_equalizer
Project Name: elfi-dev/elfi
Commit Name: 4f8303192c4652261dc72707ad8c56d1a100cd87
Time: 2016-11-11
Author: henri.vuollekoski@helsinki.fi
File Name: elfi/smc_abc.py
Class Name: SMC
Method Name: infer
Project Name: aleju/imgaug
Commit Name: abdc942ed5132a915ca6fccc13470bdf730f1457
Time: 2019-01-28
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name:
Method Name: test_Grayscale
Project Name: deepchem/deepchem
Commit Name: 315b642d518741b2927fc5a4cfc8765bff51610e
Time: 2017-08-17
Author: peastman@stanford.edu
File Name: examples/low_data/toxcast_maml.py
Class Name:
Method Name: compute_loss