b7c2f6e9ccd65a53d8ae9aa0d3ee287ce9c93019,librosa/feature.py,,logfsgram,#,10
Before Change
if "tuning" not in kwargs:
pitches, magnitudes, S = ifptrack(y, sr, n_fft=n_fft, hop_length=hop_length)
pitches = pitches[magnitudes > np.median(magnitudes)]
del magnitudes
bins_per_octave = kwargs.get("bins_per_octave", 12)
kwargs["tuning"] = estimate_tuning(pitches, bins_per_octave=bins_per_octave)
After Change
n_fft = (S.shape[0] -1 ) * 2
// If we don"t have tuning already, grab it from S
if "tuning" not in kwargs:
kwargs["tuning"] = estimate_tuning(S=S,
sr=sr,
bins_per_octave=kwargs.get("bins_per_octave", 12))
// Build the CQ basis
cq_basis = librosa.filters.logfrequency(sr, n_fft=n_fft, **kwargs)
return cq_basis.dot(S)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: librosa/librosa
Commit Name: b7c2f6e9ccd65a53d8ae9aa0d3ee287ce9c93019
Time: 2014-02-07
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: logfsgram
Project Name: comic/grand-challenge.org
Commit Name: 4d9d2a1fc4e0d9289000a235340235802d51a97a
Time: 2021-02-12
Author: 57257130+MikeOverkamp-diag@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/dicom.py
Class Name:
Method Name: _create_itk_from_dcm
Project Name: jazzband/django-debug-toolbar
Commit Name: 70d3aa1b8c12d614f2ca1b1b550bb605d8c8a506
Time: 2013-11-15
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/middleware.py
Class Name: DebugToolbarMiddleware
Method Name: process_response
Project Name: pyinstaller/pyinstaller
Commit Name: fc8fddb5485e4c88071b4cebc2e22bf4a42fdf11
Time: 2020-05-14
Author: legorooj@protonmail.com
File Name: PyInstaller/compat.py
Class Name:
Method Name:
Project Name: mapillary/inplace_abn
Commit Name: 55bf3304de87cd56c547f87b4c053a488582e417
Time: 2020-09-03
Author: porzi@fb.com
File Name: inplace_abn/abn.py
Class Name: ABN
Method Name: _load_from_state_dict