Charge density
- class storq.vasp.charge_density.VaspChargeDensity(filename='CHG')[source]
Class for representing VASP charge density
- read(filename='CHG')[source]
Read CHG or CHGCAR file.
If CHG contains charge density from multiple steps all the steps are read and stored in the object. By default VASP writes out the charge density every 10 steps.
chgdiff is the difference between the spin up charge density and the spin down charge density and is thus only read for a spin-polarized calculation.
aug is the PAW augmentation charges found in CHGCAR. These are not parsed, they are just stored as a string so that they can be written again to a CHGCAR format file.