label_stoichiometry_volume#
- autoplex.fitting.common.regularization.label_stoichiometry_volume(atoms_list, isolated_atom_energies, energy_name, element_order=None)[source]#
Calculate the stoichiometry, energy, and volume coordinates for forming the convex hull.
- Parameters:
atoms_list ((list[Atoms])) – List of atoms objects
isolated_atom_energies ((dict)) – Dictionary of isolated atom energies {atomic_number: energy}
energy_name ((str)) – Name of energy key in atoms.info (typically a DFT energy)
element_order ((list | None)) – List of atomic numbers in order of choice (e.g. [42, 16] for MoS2)
- Return type:
ndarray