716519170926ab10915b8412a98413c4112e7ce2,librosa/core.py,,ifgram,#,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 

        // Compute power per bin

After Change



        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: LCAV/pyroomacoustics
Commit Name: 09902b89cdf8fc79d18f09216c285adb579c83b6
Time: 2018-02-27
Author: fakufaku@gmail.com
File Name: pyroomacoustics/doa/frida.py
Class Name: FRIDA
Method Name: _visibilities


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