Example #1
0
def test_ifft_n_kwarg():
    assert_eq(ifft(darr, 5), npfft.ifft(nparr, 5))
    assert_eq(ifft(darr, 13), npfft.ifft(nparr, 13))
    assert_eq(ifft(darr2, 5, axis=0), npfft.ifft(nparr, 5, axis=0))
    assert_eq(ifft(darr2, 13, axis=0), npfft.ifft(nparr, 13, axis=0))
Example #2
0
def test_ifft_n_kwarg():
    assert_eq(ifft(darr, 5), np.fft.ifft(nparr, 5))
    assert_eq(ifft(darr, 13), np.fft.ifft(nparr, 13))
    assert_eq(ifft(darr2, 5, axis=0), np.fft.ifft(nparr, 5, axis=0))
    assert_eq(ifft(darr2, 13, axis=0), np.fft.ifft(nparr, 13, axis=0))
Example #3
0
def test_ifft():
    assert_eq(ifft(darr), npfft.ifft(nparr))
    assert_eq(ifft(darr2, axis=0), npfft.ifft(nparr, axis=0))
Example #4
0
def test_ifft():
    assert_eq(ifft(darr), np.fft.ifft(nparr))
    assert_eq(ifft(darr2, axis=0), np.fft.ifft(nparr, axis=0))