48a579ae1638f5c60e62d8f5c3bad35e0dcef249,librosa/__init__.py,,istft,#Any#Any#Any#Any#,130

Before Change


        hop_length = int(n_fft / 2.0 )

    x_length    = n_fft + (n - 1) * hop_length
    x           = numpy.zeros(x_length)

    for b in xrange(0, hop_length * n, hop_length):
        ft              = d[:, b/hop_length].flatten()
        ft              = numpy.concatenate((ft.conj(), ft[-2:0:-1] ), 0)

After Change



    y           = numpy.zeros(n_fft + hop_length * (n_frames - 1))

    for i in xrange(n_frames):
        sample  = i * hop_length
        spec    = stft_matrix[:, i].flatten()
        spec    = numpy.concatenate((spec.conj(), spec[-2:0:-1] ), 0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: librosa/librosa
Commit Name: 48a579ae1638f5c60e62d8f5c3bad35e0dcef249
Time: 2013-03-23
Author: brm2132@columbia.edu
File Name: librosa/__init__.py
Class Name:
Method Name: istft


Project Name: asyml/texar
Commit Name: 47c71c0524c7804863f2f4bcffdef5a873d84a55
Time: 2017-10-16
Author: junxianh2@gmail.com
File Name: txtgen/modules/connectors/connectors_test.py
Class Name: TestConnectors
Method Name: test_concat_connector


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 9cbd2d98f7f2230fd0eb1248c361728805e2c784
Time: 2017-08-31
Author: carlo.deramo@gmail.com
File Name: PyPi/algorithms/td.py
Class Name: WeightedQLearning
Method Name: _next_q