hill_formula

emmet.core.optimade.hill_formula(comp)
Return type:

str

Returns:

Hill formula. The Hill system (or Hill notation) is a system

Parameters:

comp (Composition)

of writing empirical chemical formulas, molecular chemical formulas and components of a condensed formula such that the number of carbon atoms in a molecule is indicated first, the number of hydrogen atoms next, and then the number of all other chemical elements subsequently, in alphabetical order of the chemical symbols. When the formula contains no carbon, all the elements, including hydrogen, are listed alphabetically.