Example #1
0
def test_salty_imaginary_ice_permittivity_output_matzler_temp_270_freq_10GHz():
    eps = _ice_permittivity_MEMLS(10e9, 270, 50)
    np.testing.assert_allclose(eps.imag, 7.74334595964606, atol=1e-8)
Example #2
0
def test_real_ice_permittivity_output_matzler_temp_270_MEMLS():
    eps = _ice_permittivity_MEMLS(10e9, 270, 0)
    assert np.allclose(eps.real, 3.18567)
Example #3
0
def test_imaginary_ice_permittivity_output_matzler_temp_270_freq_10GHz():
    eps = _ice_permittivity_MEMLS(10e9, 270, 0)
    np.testing.assert_allclose(eps.imag, 9.09298888985990e-04, atol=1e-8)
Example #4
0
def test_real_ice_permittivity_output_matzler_temp_270():
    eps = _ice_permittivity_MEMLS(10e9, 270, 0)
    eq_(eps.real, 3.18567)