vibeqc.read_poscar¶
- vibeqc.read_poscar(path, *, symmetrise=False, symprec=0.0001, to_primitive=False)[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.
Pass
symmetrise=Trueto run the parsed 3D structure throughvibeqc.symmetrise(); in that mode the return value is avibeqc.SymmetriseResultcontaining a calculation-readyPeriodicSystemplus the space-group/displacement report.