Stability¶
Startup¶
Analysis¶
-
twod_materials.stability.analysis.
get_competing_phases
()[source]¶ Collect the species to which the material might decompose to.
Returns: A list of phases as tuples formatted as [(formula_1, Materials_Project_ID_1), (formula_2, Materials_Project_ID_2), ...]
-
twod_materials.stability.analysis.
get_hull_distance
(competing_phase_directory=u'../competing_phases')[source]¶ Calculate the material’s distance to the thermodynamic hull, based on species in the Materials Project database.
Parameters: competing_phase_directory (str) – absolute or relative path to the location where your competing phases have been relaxed. The default expectation is that they are stored in a directory named ‘competing_phases’ at the same level as your material’s relaxation directory. Returns: - float. distance (eV/atom) between the material and the
- hull.