PAOFLOW.elphon.basis#
PAO basis-size helpers for the electron-phonon supercell inputs.
The DFT band count (nbnd) of a displaced supercell must cover the PAO
projection basis, whose size is fixed by the basis configuration
(minimal / standard / extended) – the same framework used to
generate the projection basis in a regular PAOFLOW run
(PAOFLOW.basis_gen.driver._default_shells()). A shell <n><L> carries
2L + 1 orbitals, so the number of PAO orbitals of a supercell is the sum of
2L + 1 over every shell of every atom for the chosen preset.
Functions#
|
PAO orbital count of one species for the given basis configuration. |
|
Band count that covers the PAO basis of |
Module Contents#
- PAOFLOW.elphon.basis.species_pao_orbitals(upf_path, configuration='standard')[source]#
PAO orbital count of one species for the given basis configuration.
- PAOFLOW.elphon.basis.supercell_nbnd(data_controller, cell, configuration='standard', pp_dir=None, margin=0)[source]#
Band count that covers the PAO basis of
cell(the projection size).Sums the per-species PAO orbital count over every atom of
cellusing theconfigurationpreset, then addsmarginempty bands. Raises when a species pseudopotential cannot be located (the caller may then fall back to the QE default band count).