示例#1
0
def test_depol_approach_to_isotropy_below():
    depol = depolarization_factors(length_ratio=0.99)
    ok_(abs(depol[0] - (1. / 3.)) < low_tolerance)
示例#2
0
def test_hoar_columns_depol():
    depol = depolarization_factors(length_ratio=0.5)
    assert depol[0] < depol[2]
示例#3
0
def test_isotropic_default_depolarization_factors():
    depol = depolarization_factors()
    ok_(abs(depol[0] - depol[2]) < high_tolerance)
示例#4
0
def test_plates_depol():
    depol = depolarization_factors(length_ratio=1.5)
    assert depol[0] > depol[2]
def test_depol_approach_to_isotropy_above():
    depol = depolarization_factors(length_ratio=1.01)
    assert abs(depol[0] - (1. / 3.)) < low_tolerance