예제 #1
0
def test_b():
    bc = data.b_coherent(621490)
    bi = data.b_incoherent('SM149')
    assert_equal(data.b('SM149'), math.sqrt(abs(bc)**2 + abs(bi)**2))
예제 #2
0
def test_b_coherent():
    assert_equal(data.b_coherent('H1'), -3.7406E-13 + 0j)
    assert_equal(data.b_coherent(491150), 4.01E-13 - 5.62E-15j)
예제 #3
0
def test_b_coherent():
    assert_equal(data.b_coherent("H1"), -3.7406e-13 + 0j)
    assert_equal(data.b_coherent(491150), 4.01e-13 - 5.62e-15j)
예제 #4
0
def test_b():
    bc = data.b_coherent(621490)
    bi = data.b_incoherent('SM149')
    assert_equal(data.b('SM149'), math.sqrt(abs(bc) ** 2 + abs(bi) ** 2))
예제 #5
0
def test_b_coherent():
    assert_equal(data.b_coherent('H1'), -3.7406E-13 + 0j)
    assert_equal(data.b_coherent(491150), 4.01E-13 - 5.62E-15j)
예제 #6
0
def test_b_coherent():
    assert_equal(data.b_coherent("H1"), -3.7406e-13 + 0j)
    assert_equal(data.b_coherent(491150), 4.01e-13 - 5.62e-15j)