aiida_pythonjob_ins.data.qpoint_phonon_modes¶
AiiDA Data node wrapping a Euphonic QpointPhononModes object.
QpointPhononModes is a key output object: phonon frequencies and
eigenvectors evaluated at a set of q-points (e.g. a band-structure path).
https://euphonic.readthedocs.io/en/stable/qpoint-phonon-modes.html
Classes¶
Store a Euphonic |
Module Contents¶
- class aiida_pythonjob_ins.data.qpoint_phonon_modes.QpointPhononModesData(euphonic_object: Any | None = None, **kwargs)[source]¶
Bases:
aiida_pythonjob_ins.data.mixins.CrystalStructureMixin,aiida_pythonjob_ins.data.base.EuphonicJSONDataStore a Euphonic
QpointPhononModesobject as an AiiDA node.- to_kpoints() aiida.orm.KpointsData[source]¶
Convert the q-point positions to a native
KpointsData.Note: Euphonic modes carry no high-symmetry labels, so the returned
KpointsDatahas positions only. Labels come from theKpointsDataused to generate the path (see the dispersion workflow).
- to_bands(kpoints: aiida.orm.KpointsData | None = None) aiida.orm.BandsData[source]¶
Convert to a native
BandsData(frequencies as bands) for plotting.Euphonic modes don’t carry high-symmetry labels, so pass the path
KpointsDatato carry its labels (and exact positions) onto theBandsData; thenBandsData.show_mpl()yields a labelled plot.