716519170926ab10915b8412a98413c4112e7ce2,librosa/core.py,,ifgram,#Any#Any#Any#Any#Any#Any#,275

Before Change


        
        //-- Calculate the instantaneous frequency 
        // phase of differential spectrum
        d_frame = fft.fft(fft.fftshift(d_window * y[sample:(sample + n_fft)])).conj()

        t       = d_frame - 1.j * freq_angular * frame 

After Change


        
        //-- Calculate the instantaneous frequency 
        // phase of differential spectrum
        d_frame = fft.fft(fft.fftshift(d_window * y[sample:(sample + n_fft)]))

        t = freq_angular + (d_frame * frame).imag / power

        if_gram[:, i] = t[:if_gram.shape[0]] * sr / (2 * np.pi)

    // Compensate for windowing effects, store STFT
    // sum(window) takes out integration due to window, 2 compensates for negative
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


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: neurodsp-tools/neurodsp
Commit Name: 7c0002f266f22c537c89e0b48b85184bc98c436f
Time: 2017-08-28
Author: r.dg.gao@gmail.com
File Name: neurodsp/spectral.py
Class Name:
Method Name: psd