Exemplo n.º 1
0
def test_create_ion_element_name():
    ion = fiasco.IonBase('hydrogen 1')
    assert ion.element_name == 'hydrogen'
    assert ion.atomic_symbol == 'H'
    assert ion.atomic_number == 1
    assert ion.ionization_stage == 1
    assert ion.charge_state == 0
    assert ion._ion_name == 'h_1'
Exemplo n.º 2
0
def ionbase():
    return fiasco.IonBase('fe 5')