a0546c94ec87e197de274750487d25830111ef09,librosa/segment.py,,subsegment,#,436

Before Change


        raise ParameterError("n_segments must be a positive integer")

    boundaries = []
    idx_slices = [Ellipsis] * data.ndim

    for seg_start, seg_end in zip(frames[:-1], frames[1:]):
        idx_slices[axis] = slice(seg_start, seg_end)

After Change


        raise ParameterError("n_segments must be a positive integer")

    boundaries = []
    idx_slices = [slice(None)] * data.ndim

    for seg_start, seg_end in zip(frames[:-1], frames[1:]):
        idx_slices[axis] = slice(seg_start, seg_end)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


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: subsegment


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: recurrence_to_lag


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: 561c9c89f066172ddb6c4860671ab57f70e04d3d
Time: 2015-08-17
Author: brian.mcfee@nyu.edu
File Name: librosa/onset.py
Class Name:
Method Name: onset_strength_multi


Project Name: librosa/librosa
Commit Name: a0546c94ec87e197de274750487d25830111ef09
Time: 2016-04-20
Author: brian.mcfee@nyu.edu
File Name: librosa/core/audio.py
Class Name:
Method Name: autocorrelate