xnn.common.data.hub.materials_project.parse_p1_cif#

xnn.common.data.hub.materials_project.parse_p1_cif(text)[source]#

Cell (3, 3) (lattice vectors as rows, Angstrom), atomic numbers (N,) and Cartesian positions (N, 3) of a CIF in space group P1 with fully occupied sites (the files pymatgen writes).

Raises:

ValueError – For other symmetry operations or partial occupancies.

Parameters:

text (str)

Return type:

tuple