24f087b2c7c2e0836231b242dee8400d1fbf3360,librosa/util/utils.py,,localmax,#Any#Any#,777
Before Change
x_pad = np.pad(x, paddings, mode="edge")
inds1 = [Ellipsis] * x.ndim
inds1[axis] = slice(0, -2)
inds2 = [Ellipsis] * x.ndim
inds2[axis] = slice(2, x_pad.shape[axis])
return (x > x_pad[inds1]) & (x >= x_pad[inds2])
After Change
x_pad = np.pad(x, paddings, mode="edge")
inds1 = [slice(None)] * x.ndim
inds1[axis] = slice(0, -2)
inds2 = [slice(None)] * x.ndim
inds2[axis] = slice(2, x_pad.shape[axis])
return (x > x_pad[inds1]) & (x >= x_pad[inds2])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: librosa/librosa
Commit Name: 24f087b2c7c2e0836231b242dee8400d1fbf3360
Time: 2015-03-04
Author: brian.mcfee@nyu.edu
File Name: librosa/util/utils.py
Class Name:
Method Name: localmax
Project Name: librosa/librosa
Commit Name: 24f087b2c7c2e0836231b242dee8400d1fbf3360
Time: 2015-03-04
Author: brian.mcfee@nyu.edu
File Name: librosa/util/utils.py
Class Name:
Method Name: localmax
Project Name: librosa/librosa
Commit Name: a0546c94ec87e197de274750487d25830111ef09
Time: 2016-04-20
Author: brian.mcfee@nyu.edu
File Name: librosa/segment.py
Class Name:
Method Name: lag_to_recurrence
Project Name: librosa/librosa
Commit Name: 24f087b2c7c2e0836231b242dee8400d1fbf3360
Time: 2015-03-04
Author: brian.mcfee@nyu.edu
File Name: librosa/core/audio.py
Class Name:
Method Name: zero_crossings