api
api copied to clipboard
How to obtain the k_vrh and g_vrh of the material
Problem
with MPRester("API_KEY") as mpr:
docs = mpr.materials.summary.search(material_ids=['mp-66'],fields=['elements','k_vrh','g_vrh','band_gap'])
i = docs[0]
print(i.elements)
print(i.band_gap)
Result: [Element C] 4.1145
But add it after the code: print(i.k_vrh)
Result:
File "/home/jh/mp/test.py", line 22, in
Proposed Solution
How to obtain the k_vrh and g_vrh of the material?
Alternatives
No response