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