dpdata.formats.qe package#
Submodules#
dpdata.formats.qe.scf module#
dpdata.formats.qe.traj module#
- dpdata.formats.qe.traj.load_cell_parameters(lines, lattice_parameter=None)[source]#
Load
CELL_PARAMETERSand convert its vectors to angstrom.CP trajectory
.celfiles always use atomic units, but the fallback cell in the QE input file follows the unit declared on theCELL_PARAMETERScard. Keeping that distinction here prevents an angstrom input cell from being converted a second time when no.celfile is available.lattice_parameteris the QEalatvalue in angstrom, derived from eithercelldm(1)orA.