Question on phase diagram app (chemical potential)

There are critical chemical potentials for the open element in the grand potential phase diagram corresponding to transitions; we use pymatgen.phasediagram.analyzer.PDAnalyzer.get_transition_chempots to obtain these, and they are the endpoints of the ranges displayed. The exact μ value used to construct the plot for each range is the average of the endpoints of the range, with the exception of the last range, which is plotted at the value of the last endpoint minus 0.1. This gist summarizes our process (note the avgchempot variable), and introduces one to programmatically generating such diagrams using MP data.

1 Like