pymatgen.analysis.pourbaix.entry module¶
-
class
IonEntry(ion, energy, name=None)[source]¶ Bases:
pymatgen.analysis.phase_diagram.PDEntryObject similar to PDEntry, but contains an Ion object instead of a Composition object.
Parameters: - comp – Ion object
- energy – Energy for composition.
- name – Optional parameter to name the entry. Defaults to the chemical formula.
-
name¶ A name for the entry. This is the string shown in the phase diagrams. By default, this is the reduced formula for the composition, but can be set to some other string for display purposes.
-
energy_per_atom¶ Return final energy per atom
-
class
MultiEntry(entry_list, weights=None)[source]¶ Bases:
pymatgen.analysis.pourbaix.entry.PourbaixEntryPourbaixEntry-like object for constructing multi-elemental Pourbaix diagrams.
Initializes a MultiEntry.
Parameters: - entry_list – List of component PourbaixEntries
- weights – Weights associated with each entry. Default is None
-
conc_term¶
-
normalization_factor¶ Normalize each entry by nM
-
class
PourbaixEntry(entry, correction=0.0, entry_id=None)[source]¶ Bases:
monty.json.MSONableAn object encompassing all data relevant to an ion in a pourbaix diagram. Each bulk solid/ion has a free energy g of the form: g = g0_ref + 0.0591 log10(conc) - nO mu_H2O + (nH - 2nO) pH + phi (-nH + 2nO + q)
Parameters: - entry (ComputedEntry/ComputedStructureEntry/PDEntry/IonEntry) – An entry object
- energy – Energy of entry
-
as_dict()[source]¶ Returns dict which contains Pourbaix Entry data. Note that the pH, voltage, H2O factors are always calculated when constructing a PourbaixEntry object.
-
composition¶ Returns composition
-
conc_term¶ Returns the concentration contribution to the free energy.
-
energy¶
-
g0¶ Return g0 for the entry. Legacy function.
-
normalization_factor¶ Normalize each entry by nM
-
num_atoms¶ Return number of atoms in current formula. Useful for normalization