Exemple #1
0
def test_specific_wavelet():
    a = dtwavexfm2_np(mandrill,
                      biort=biort('antonini'),
                      qshift=qshift('qshift_06'))
    b = dtwavexfm2_cl(mandrill,
                      biort=biort('antonini'),
                      qshift=qshift('qshift_06'))
    _compare_transforms(a, b)
Exemple #2
0
def test_modified():
    a = dtwavexfm2_np(mandrill,
                      biort=biort('near_sym_b_bp'),
                      qshift=qshift('qshift_b_bp'))
    b = dtwavexfm2_cl(mandrill,
                      biort=biort('near_sym_b_bp'),
                      qshift=qshift('qshift_b_bp'))
    _compare_transforms(a, b)
Exemple #3
0
def test_odd_rows_and_cols():
    a = dtwavexfm2_np(mandrill[:509,:509])
    b = dtwavexfm2_cl(mandrill[:509,:509])
    _compare_transforms(a, b)
Exemple #4
0
def test_1d():
    a = dtwavexfm2_np(mandrill[0,:])
    b = dtwavexfm2_cl(mandrill[0,:])
    _compare_transforms(a, b)
Exemple #5
0
def test_specific_wavelet():
    a = dtwavexfm2_np(mandrill, biort=biort('antonini'), qshift=qshift('qshift_06'))
    b = dtwavexfm2_cl(mandrill, biort=biort('antonini'), qshift=qshift('qshift_06'))
    _compare_transforms(a, b)
Exemple #6
0
def test_simple():
    _compare_transforms(dtwavexfm2_np(mandrill), dtwavexfm2_cl(mandrill))
Exemple #7
0
def test_0_levels():
    a = dtwavexfm2_np(lena, nlevels=0)
    b = dtwavexfm2_cl(lena, nlevels=0)
    _compare_transforms(a, b)
Exemple #8
0
def test_odd_cols():
    a = dtwavexfm2_np(lena[:,:509])
    b = dtwavexfm2_cl(lena[:,:509])
    _compare_transforms(a, b)
Exemple #9
0
def test_simple():
    _compare_transforms(dtwavexfm2_np(mandrill), dtwavexfm2_cl(mandrill))
Exemple #10
0
def test_1d():
    a = dtwavexfm2_np(lena[0,:])
    b = dtwavexfm2_cl(lena[0,:])
    _compare_transforms(a, b)
Exemple #11
0
def test_simple():
    _compare_transforms(dtwavexfm2_np(lena), dtwavexfm2_cl(lena))
Exemple #12
0
def test_0_levels():
    a = dtwavexfm2_np(mandrill, nlevels=0)
    b = dtwavexfm2_cl(mandrill, nlevels=0)
    _compare_transforms(a, b)
Exemple #13
0
def test_odd_rows_and_cols():
    a = dtwavexfm2_np(mandrill[:509, :509])
    b = dtwavexfm2_cl(mandrill[:509, :509])
    _compare_transforms(a, b)
Exemple #14
0
def test_1d():
    a = dtwavexfm2_np(mandrill[0, :])
    b = dtwavexfm2_cl(mandrill[0, :])
    _compare_transforms(a, b)
Exemple #15
0
def test_0_levels():
    a = dtwavexfm2_np(mandrill, nlevels=0)
    b = dtwavexfm2_cl(mandrill, nlevels=0)
    _compare_transforms(a, b)
Exemple #16
0
def test_modified():
    a = dtwavexfm2_np(mandrill, biort=biort('near_sym_b_bp'), qshift=qshift('qshift_b_bp'))
    b = dtwavexfm2_cl(mandrill, biort=biort('near_sym_b_bp'), qshift=qshift('qshift_b_bp'))
    _compare_transforms(a, b)
Exemple #17
0
def test_odd_rows():
    a = dtwavexfm2_np(lena[:509,:])
    b = dtwavexfm2_cl(lena[:509,:])
    _compare_transforms(a, b)