castep_outputs.parsers.phonon_dos_file_parser#
Parse castep .phonon_dos files.
Functions
Parse castep .phonon_dos file. |
Classes
Density of states contribution. |
|
Info on phonon DOS gradients. |
|
Phonon Density of states info. |
- class castep_outputs.parsers.phonon_dos_file_parser.DOSInfo[source]#
Bases:
TypedDictDensity of states contribution.
Notes
Also includes per-species contributions whose keys are the species.
- freq: list[float]#
Frequencies.
- g: list[float]#
Density out to Frequncy.
- class castep_outputs.parsers.phonon_dos_file_parser.GradientInfo[source]#
Bases:
TypedDictInfo on phonon DOS gradients.
- Grad_qf: list[float]#
\(\nabla_{q} \cdot f\) at \(q\)-point.
- f: list[float]#
\(f\) at point.
- n: list[int]#
Branch index.
- pth: list[float]#
\(q\)-point weight.
- qpt: ThreeVector#
\(q\)-point.
- class castep_outputs.parsers.phonon_dos_file_parser.PhononDosFileInfo[source]#
Bases:
dictPhonon Density of states info.
- branches: int#
Number of phonon branches.
- gradients: list[GradientInfo]#
Phonon DoS gradients information.
- ions: int#
Number of ions in system.
- species: int#
Number of species in system.
- castep_outputs.parsers.phonon_dos_file_parser.parse_phonon_dos_file(phonon_dos_file)[source]#
- castep_outputs.parsers.phonon_dos_file_parser.parse_phonon_dos_file(phonon_dos_file)
- castep_outputs.parsers.phonon_dos_file_parser.parse_phonon_dos_file(phonon_dos_file)
Parse castep .phonon_dos file.
- Parameters:
phonon_dos_file (TextIO) – Open handle to file to parse.
- Returns:
Parsed info.
- Return type: