Dear community,
I have a question regarding handling structure data. Using mp-149 as an example, if I download the CHGCAR and POSCAR as shown below, the two Si atoms are located at (0,0,0) and (0.75 ,0.75, 0.75), and their coordinates fit well with the charge density when visualized. Also, these coordinates match those displayed on the mp-api homepage visualization (https://next-gen.materialsproject.org/materials/mp-149?material_ids=mp-149).
[Code]
chgcar, task_doc = mpr.get_charge_density_from_material_id(“mp-149”, inc_task_doc=True)
poscar = task_doc.orig_inputs.poscar
However, If I download the structure data of mp-149 directly as shown below, I get two Si atoms with coordinates at (0.125, 0.125, 0.125) and (0.875, 0.875, 0.875).
[Code]
structure = mpr.get_structure_by_material_id(“mp-149”)
What could have caused this incosistency? Since I want to process charge density data along with atomic positions, the coordinates should match those used for the VASP calculation, and translated atomic coordinates could introduce big errors. I checked with pymatgen to see if niggli reduction caused this situation, but neither set of coordinates results from a conversion of the other.
I would greatly appreciate it if someone could answer my questions.
Thank you
Junkil Park