bfbc5f55b9a9f43ac099f7d3345d2a01ecadf754,librosa/feature.py,,delta,#,624
Before Change
if pad:
padding = [(0, 0)] * data.ndim
padding[axis] = (order, 0)
delta_x = np.pad(delta_x, padding, mode="constant")
return delta_x
After Change
delta_x = scipy.signal.lfilter(window, 1, delta_x, axis=axis)
if trim:
idx = [Ellipsis] * delta_x.ndim
idx[axis] = slice(half_length, -half_length)
delta_x = delta_x[idx]
return delta_x
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: librosa/librosa
Commit Name: bfbc5f55b9a9f43ac099f7d3345d2a01ecadf754
Time: 2014-02-27
Author: brm2132@columbia.edu
File Name: librosa/feature.py
Class Name:
Method Name: delta
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: librosa/librosa
Commit Name: 0e079c3de49b0f221495e3bbebbeb44f8ed7c255
Time: 2015-08-25
Author: brian.mcfee@nyu.edu
File Name: librosa/segment.py
Class Name:
Method Name: subsegment