320cbfd379a8e8de6ff49eeba35ca16750e80d38,librosa/core/audio.py,,autocorrelate,#,357
Before Change
result = scipy.signal.fftconvolve(y, y[::-1], mode="full")
result = result[int(len(result)/2):]
After Change
// Slice down to max_size
subslice = [Ellipsis] * autocorr.ndim
subslice[axis] = slice(max_size)
return autocorr[subslice]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: librosa/librosa
Commit Name: 320cbfd379a8e8de6ff49eeba35ca16750e80d38
Time: 2015-08-25
Author: brian.mcfee@nyu.edu
File Name: librosa/core/audio.py
Class Name:
Method Name: autocorrelate
Project Name: librosa/librosa
Commit Name: 489494cdbbd3bf9f75b37c58e15ffbbbc1dd0188
Time: 2015-01-03
Author: brian.mcfee@nyu.edu
File Name: librosa/util.py
Class Name:
Method Name: fix_length
Project Name: dask/dask-image
Commit Name: cbbcea8795e8da754a5b3ffb1a08ef66afd84eef
Time: 2018-09-02
Author: jakirkham@gmail.com
File Name: dask_image/ndmeasure/_utils.py
Class Name:
Method Name: _ravel_shape_indices