c18f5c4bf4e6ed16fa82264636d440174c59fbca,librosa/core.py,,ifgram,#,274

Before Change


        // Calculate the instantaneous frequency from phase of differential spectrum

        // Compute the fft. Conjugate here is to match DPWE
        t       = fft.fft(dwin * sample)[:F.shape[0]].conj()
        t       = t - 1.j * ww * D[:, i]

        z_t2    = np.abs(D[:, i])**2

After Change


        sample = y[i * hop_length : i * hop_length + n_fft]

        t1      = fft.fft(fft.fftshift(dwin * sample)).conj()
        t2      = fft.fft(fft.fftshift(window * sample)).conj()

        // Store the STFT. Conjugate here to match DWPE"s matlab code.
        D[:, i] = t2[:D.shape[0]] * window_norm 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: librosa/librosa
Commit Name: c18f5c4bf4e6ed16fa82264636d440174c59fbca
Time: 2013-11-15
Author: brm2132@columbia.edu
File Name: librosa/core.py
Class Name:
Method Name: ifgram


Project Name: librosa/librosa
Commit Name: 7bca836f56bcb10aaca45ded2088cad722a3416b
Time: 2013-03-09
Author: brm2132@columbia.edu
File Name: librosa/__init__.py
Class Name:
Method Name: stft


Project Name: librosa/librosa
Commit Name: 84d7770cb65a52231b64f6822d3adb889b35ffa6
Time: 2014-01-15
Author: brm2132@columbia.edu
File Name: librosa/core.py
Class Name:
Method Name: stft