pymatgen.analysis.pourbaix.maker module

class PourbaixDiagram(entries, comp_dict=None)[source]

Bases: object

Class to create a Pourbaix diagram from entries :param entries: Entries list containing both Solids and Ions :param comp_dict: Dictionary of compositions

all_entries

Return all entries

facets

Facets of the convex hull in the form of [[1,2,3],[4,5,6]…]

static process_multientry(entry_list, prod_comp)[source]

Static method for finding a multientry based on a list of entries and a product composition. Essentially checks to see if a valid aqueous reaction exists between the entries and the product composition and returns a MultiEntry with weights according to the coefficients if so.

Parameters:
  • entry_list ([Entry]) – list of entries from which to create a MultiEntry
  • comp (Composition) – composition constraint for setting weights of MultiEntry
qhull_data

Data used in the convex hull operation. This is essentially a matrix of composition data and energy per atom values created from qhull_entries.

qhull_entries

Return qhull entries

stable_entries

Returns the stable entries in the Pourbaix diagram.

unprocessed_entries

Return unprocessed entries

unstable_entries

Returns all unstable entries in the Pourbaix diagram

vertices

Return vertices of the convex hull