f980c4b0546f3dc5af5f03048f9a3d854da62a2d,librosa/filters.py,,logfrequency,#Any#Any#Any#Any#Any#Any#Any#,186
Before Change
- np.log2(sigma) - log_freqs)
// Normalize each filter
c_norm = np.sqrt(np.sum(basis[i]**2))
if c_norm > 0:
basis[i] = basis[i] / c_norm
return basis
After Change
- np.log2(sigma) - log_freqs)
// Normalize the filters
basis = librosa.util.normalize(basis, norm=2, axis=1)
return basis
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: librosa/librosa
Commit Name: f980c4b0546f3dc5af5f03048f9a3d854da62a2d
Time: 2014-11-07
Author: brian.mcfee@nyu.edu
File Name: librosa/filters.py
Class Name:
Method Name: logfrequency
Project Name: librosa/librosa
Commit Name: 8afa25c763a9ee408de6f98492a71b7d721a68b0
Time: 2014-01-21
Author: brm2132@columbia.edu
File Name: librosa/filters.py
Class Name:
Method Name: constant_q
Project Name: librosa/librosa
Commit Name: d2e6c662f76f312901ce7329082a0f157492a828
Time: 2013-12-24
Author: brm2132@columbia.edu
File Name: librosa/filters.py
Class Name:
Method Name: chroma
Project Name: librosa/librosa
Commit Name: f980c4b0546f3dc5af5f03048f9a3d854da62a2d
Time: 2014-11-07
Author: brian.mcfee@nyu.edu
File Name: librosa/filters.py
Class Name:
Method Name: logfrequency