コード例 #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_incoherent():
    assert_equal(data.b_incoherent('PD105'), -2.6E-13 + 0j)
    assert_equal(data.b_incoherent(621490), 3.14E-12 - 1.03E-12j)
コード例 #3
0
def test_b_incoherent():
    assert_equal(data.b_incoherent("PD105"), -2.6e-13 + 0j)
    assert_equal(data.b_incoherent(621490), 3.14e-12 - 1.03e-12j)
コード例 #4
0
ファイル: test_data.py プロジェクト: NukespudWork/pyne
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
ファイル: test_data.py プロジェクト: NukespudWork/pyne
def test_b_incoherent():
    assert_equal(data.b_incoherent('PD105'), -2.6E-13 + 0j)
    assert_equal(data.b_incoherent(621490), 3.14E-12 - 1.03E-12j)
コード例 #6
0
ファイル: test_data.py プロジェクト: paulromano/pyne
def test_b_incoherent():
    assert_equal(data.b_incoherent("PD105"), -2.6e-13 + 0j)
    assert_equal(data.b_incoherent(621490), 3.14e-12 - 1.03e-12j)