Example #1
0
def test_uels_failure():
    pysptk.uels(np.ones(256), 40)
Example #2
0
 def __test_itype(itype=0):
     pysptk.uels(x, itype=itype)
Example #3
0
 def __test_eps(etype=0, eps=0.0):
     pysptk.uels(x, etype=etype, eps=eps)
Example #4
0
def test_uels_failure():
    pysptk.uels(np.ones(256), 40)
Example #5
0
 def __test(order):
     c = pysptk.uels(x, order)
     assert np.all(np.isfinite(c))
Example #6
0
 def __test_eps(etype=0, eps=0.0):
     pysptk.uels(x, etype=etype, eps=eps)
Example #7
0
 def __test_itype(itype=0):
     pysptk.uels(x, itype=itype)
Example #8
0
 def __test(order):
     c = pysptk.uels(x, order)
     assert np.all(np.isfinite(c))
Example #9
0
def test_uels_failure():
    with pytest.raises(RuntimeError):
        pysptk.uels(np.ones(256), 40)
Example #10
0
def test_uels(order):
    x = windowed_dummy_data(1024)

    c = pysptk.uels(x, order)
    assert np.all(np.isfinite(c))