vibeqc.read_poscar

vibeqc.read_poscar(path)[source]

Parse a VASP 5 POSCAR/CONTCAR file into a Crystal.

Lattice vectors in the file are interpreted as Ångström (multiplied by the scale factor); the returned Crystal stores them in bohr. Atomic positions in a Cartesian block are converted to fractional coordinates via the inverse lattice.

Parameters:

path (str | Path)

Return type:

vibeqc._vibeqc_core.Crystal