Пример #1
0
def test_cos_nofilter():
    data = np.load("../examples/data/eeg_32chans_10secs.npy")

    conn = cos(data)

    expected = np.load("data/test_cos_nofilter.npy")

    np.testing.assert_array_almost_equal(conn, expected)
Пример #2
0
def test_cos():
    data = np.load("../examples/data/eeg_32chans_10secs.npy")

    conn = cos(data, [1.0, 4.0], 128.0)

    expected = np.load("data/test_cos.npy")

    np.testing.assert_array_almost_equal(conn, expected)