d3fd847ea63f5a4df3355ff5e43b3228cf43c444,tests/test_core.py,,test_piptrack,#,486
Before Change
y=y, sr=sr, S=S, n_fft=n_fft, hop_length=hop_length, fmin=fmin,
fmax=fmax, threshold=threshold)
S = np.asarray([[1, 0, 0]]).T
np.seterr(divide="raise")
yield __test, None, 22050, S, 4096, None, 150.0, 4000.0, 0.1
def test_estimate_tuning():
After Change
for fmin in [0, 100]:
for fmax in [4000, 8000, sr // 2]:
for threshold in [0.1, 0.2, 0.5]:
yield __test, S, n_fft, hop_length, fmin, fmax, threshold
def test_piptrack_negative():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: librosa/librosa
Commit Name: d3fd847ea63f5a4df3355ff5e43b3228cf43c444
Time: 2015-08-31
Author: brian.mcfee@nyu.edu
File Name: tests/test_core.py
Class Name:
Method Name: test_piptrack
Project Name: ellisdg/3DUnetCNN
Commit Name: f186e416fdca5ccae5c2df52a556885baccd5474
Time: 2017-04-14
Author: david.ellis@unmc.edu
File Name: generator.py
Class Name:
Method Name: data_generator
Project Name: explosion/thinc
Commit Name: 29c3e05a7a8909ef4e182a016b9d2563dafac061
Time: 2016-12-28
Author: honnibal+gh@gmail.com
File Name: thinc/train.py
Class Name: Trainer
Method Name: iterate