pymatgen.ext.matproj module — pymatgen 2022.01.09 documentation
pymatgen.org › pymatgenpymatgen.ext.matproj module. This module provides classes to interface with the Materials Project REST API v2 to enable the creation of data structures and pymatgen objects using Materials Project data. To make use of the Materials API, you need to be a registered user of the Materials Project, and obtain an API key by going to your dashboard ...
Usage — pymatgen 2022.01.08 documentation
https://pymatgen.org/usage.htmlfrom pymatgen.borg.hive import VaspToComputedEntryDrone from pymatgen.borg.queen import BorgQueen from pymatgen.analysis.phase_diagram import PhaseDiagram, PDPlotter # These three lines assimilate the data into ComputedEntries. drone = VaspToComputedEntryDrone queen = BorgQueen (drone, "Li-O_runs", 2) entries = queen. get_data # It's a good idea to perform a …
from pymatgen.matproj.rest import MPResterfrom pymatgen.core ...
pastebin.com › ygLwmG91Jul 31, 2015 · e.composition.reduced_formula): return True. #This initializes the REST adaptor. Put your own API key in. a = MPRester () #Entries are the basic unit for thermodynamic and other analyses in pymatgen. #This gets all entries belonging to the Fe-O-H system. entries = a.get_entries_in_chemsys ( ['Fe', 'O', 'H']) #Dictionary of ion:energy, where the ...