isotope_symbol¶
-
plasmapy.atomic.isotope_symbol(isotope: plasmapy.atomic.particle_class.Particle, mass_numb: int = None) → str¶ Return the symbol representing an isotope.
Parameters: Returns: symbol – The isotopic symbol. The result will generally be returned as something like
'He-4'or'Au-197'. This function will return'D'for deuterium and'T'for tritium.Return type: Raises: Warns: `~plasmapy.utils.AtomicWarning` – If redundant isotope information is provided.
See also
Examples
>>> isotope_symbol('He', 4) 'He-4' >>> isotope_symbol(79, 197) 'Au-197' >>> isotope_symbol('hydrogen-2') 'D' >>> isotope_symbol('carbon-13') 'C-13' >>> isotope_symbol('alpha') 'He-4'