Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis

Shyue Ping Ong;William Davidson Richards;Anubhav Jain;Hautier, Geoffroy;Gerbrand Ceder;et.al.
(2013) Computational Materials Science — Vol. 68, p. 314-319 (2013)

Files

GH_2013_PythonMaterialsGenomics.pdf
  • Restricted Access
  • Adobe PDF
  • 1.2 MB

Details

Authors
  • Shyue Ping Ong
    Author
  • William Davidson Richards
    Author
  • Anubhav Jain
    Author
  • Hautier, GeoffroyUCLouvain
    Author
  • Gerbrand Ceder
    Author
Show more
Abstract
We present the Python Materials Genomics (pymatgen) library, a robust, open-source Python library for materials analysis. A key enabler in high-throughput computational materials science efforts is a robust set of software tools to perform initial setup for the calculations (e.g., generation of structures and necessary input files) and post-calculation analysis to derive useful material properties from raw calculated data. The pymatgen library aims to meet these needs by (1) defining core Python objects for materials data representation, (2) providing a well-tested set of structure and thermodynamic analyses relevant to many applications, and (3) establishing an open platform for researchers to collaboratively develop sophisticated analyses of materials data obtained both from first principles calculations and experiments. The pymatgen library also provides convenient tools to obtain useful materials data via the Materials Project’s REpresentational State Transfer (REST) Application Programming Interface (API). As an example, using pymatgen’s interface to the Materials Project’s RESTful API and phasediagram package, we demonstrate how the phase and electrochemical stability of a recently synthesized material, Li4SnS4, can be analyzed using a minimum of computing resources. We find that Li4SnS4 is a stable phase in the Li–Sn–S phase diagram (consistent with the fact that it can be synthesized), but the narrow range of lithium chemical potentials for which it is predicted to be stable would suggest that it is not intrinsically stable against typical electrodes used in lithium-ion batteries.
Affiliations

Citations

Shyue Ping Ong, William Davidson Richards, Anubhav Jain, Hautier, G., Michael Kocher, Shreyas Cholia, Dan Gunter, Vincent L. Chevrier, Kristin A. Persson, & Gerbrand Ceder. (2013). Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis. Computational Materials Science, 68, 314-319. https://doi.org/10.1016/j.commatsci.2012.10.028 (Original work published 2013)