ae3adf597bf1b7f879a5b0beb89b932576a9f4b1,scipy/signal/windows.py,,blackman,#Any#Any#,269

Before Change


        return np.ones(M)
    M, needs_trunc = _extend(M, sym)

    n = np.arange(0, M)
    w = (0.42 - 0.5 * np.cos(2.0 * np.pi * n / (M - 1)) +
         0.08 * np.cos(4.0 * np.pi * n / (M - 1)))

    return _truncate(w, needs_trunc)

After Change


        return np.ones(M)
    M, needs_trunc = _extend(M, sym)

    w = _cos_win(M, [0.42, 0.50, 0.08])

    return _truncate(w, needs_trunc)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: scipy/scipy
Commit Name: ae3adf597bf1b7f879a5b0beb89b932576a9f4b1
Time: 2016-08-09
Author: endolith@gmail.com
File Name: scipy/signal/windows.py
Class Name:
Method Name: blackman


Project Name: scipy/scipy
Commit Name: ae3adf597bf1b7f879a5b0beb89b932576a9f4b1
Time: 2016-08-09
Author: endolith@gmail.com
File Name: scipy/signal/windows.py
Class Name:
Method Name: blackman


Project Name: scipy/scipy
Commit Name: ae3adf597bf1b7f879a5b0beb89b932576a9f4b1
Time: 2016-08-09
Author: endolith@gmail.com
File Name: scipy/signal/windows.py
Class Name:
Method Name: hamming


Project Name: scipy/scipy
Commit Name: ae3adf597bf1b7f879a5b0beb89b932576a9f4b1
Time: 2016-08-09
Author: endolith@gmail.com
File Name: scipy/signal/windows.py
Class Name:
Method Name: hann