Esempio n. 1
0
def test_rfft_n_kwarg():
    assert_eq(rfft(darr, 5), npfft.rfft(nparr, 5))
    assert_eq(rfft(darr, 13), npfft.rfft(nparr, 13))
    assert_eq(rfft(darr2, 5, axis=0), npfft.rfft(nparr, 5, axis=0))
    assert_eq(rfft(darr2, 13, axis=0), npfft.rfft(nparr, 13, axis=0))
    assert_eq(rfft(darr2, 12, axis=0), npfft.rfft(nparr, 12, axis=0))
Esempio n. 2
0
def test_rfft_n_kwarg():
    assert_eq(rfft(darr, 5), np.fft.rfft(nparr, 5))
    assert_eq(rfft(darr, 13), np.fft.rfft(nparr, 13))
    assert_eq(rfft(darr2, 5, axis=0), np.fft.rfft(nparr, 5, axis=0))
    assert_eq(rfft(darr2, 13, axis=0), np.fft.rfft(nparr, 13, axis=0))
    assert_eq(rfft(darr2, 12, axis=0), np.fft.rfft(nparr, 12, axis=0))
Esempio n. 3
0
def test_rfft():
    assert_eq(rfft(darr), npfft.rfft(nparr))
    assert_eq(rfft(darr2, axis=0), npfft.rfft(nparr, axis=0))
Esempio n. 4
0
def test_rfft():
    assert_eq(rfft(darr), np.fft.rfft(nparr))
    assert_eq(rfft(darr2, axis=0), np.fft.rfft(nparr, axis=0))