Exemplo n.º 1
0
def test_phase():
    for testdata in testdata1:
        check_func(phase, lambda x: np.angle(x, deg=True), (testdata, ))
Exemplo n.º 2
0
def test_phase():
    for testdata in testdata1:
        check_func(phase, lambda x: np.angle(x, deg=True), (testdata,))
Exemplo n.º 3
0
def test_db10():
    for testdata in testdata1:
        check_func(db10, lambda x: 10 * log10(abs(x)), (testdata, ))
Exemplo n.º 4
0
def test_db10():
    for testdata in testdata1:
        check_func(db10, lambda x: 10*log10(abs(x)), (testdata,))