f79fd6b1f778f0bd98dc6aec8bd99761f886e80b,librosa/filters.py,,constant_q,#,326

Before Change



        filters.append(win)

    if pad:
        max_len = max(lengths)

        // Use reflection padding, unless otherwise specified
        filters = np.asarray([util.pad_center(filt, max_len, **kwargs)
                              for filt in filters])

    if return_lengths:
        return filters, np.asarray(lengths)
    else:
        return filters

After Change



    max_len = max(lengths)
    if pad_fft:
        max_len = int(2.0**(np.ceil(np.log2(max_len))))

    filters = np.asarray([util.pad_center(filt, max_len, **kwargs)
                          for filt in filters])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: librosa/librosa
Commit Name: f79fd6b1f778f0bd98dc6aec8bd99761f886e80b
Time: 2015-01-18
Author: brian.mcfee@nyu.edu
File Name: librosa/filters.py
Class Name:
Method Name: constant_q


Project Name: iskandr/fancyimpute
Commit Name: ea80e4bf2033628822e2b0f92e2e373d1b3c147b
Time: 2015-12-31
Author: alex.rubinsteyn@gmail.com
File Name: fancyimpute/auto_encoder.py
Class Name:
Method Name: make_network


Project Name: WheatonCS/Lexos
Commit Name: acadd6b044bc07cbfed6db0eb7c4af603a8ee460
Time: 2017-08-09
Author: darias0826@gmail.com
File Name: lexos/processors/prepare/cutter.py
Class Name:
Method Name: cut_list_with_overlap