get_el
- emmet.core.featurization.robocrys.util.get_el(obj)
Utility method to get an element str from a symbol, Element, or Specie.
- Return type:
str- Parameters:
obj (Element | Species | str | int)
- Args:
- obj: An arbitrary object. Supported objects are Element/Species objects,
integers (representing atomic numbers), or strings (element symbols or species strings).
- Returns:
The element as a string.