Skip to content

JDFTXOutfileSlice.vibrational_modes and JDFTXOutfileSlice.vibrational_energy_components#4440

Merged
shyuep merged 25 commits intomaterialsproject:masterfrom
benrich37:jdftxoutfile-vibrations
Sep 3, 2025
Merged

JDFTXOutfileSlice.vibrational_modes and JDFTXOutfileSlice.vibrational_energy_components#4440
shyuep merged 25 commits intomaterialsproject:masterfrom
benrich37:jdftxoutfile-vibrations

Conversation

@benrich37
Copy link
Contributor

Summary

Major changes:

  • feature 1: Parsing and storage of vibrational modes within a JDFTXOutfileSlice
    -- Stored as a list[dict], where each dict contains
    --- "Type": str
    ---- either "Imaginary", "Zero", or "Real"
    --- "Type index": int
    ---- (Base 1) index of the mode among other modes of the same frequency type
    --- "Degeneracy": int
    ---- Degeneracy of the mode (ie if mode["Degeneracy"] == 2, than there is one other mode in the list with the same frequency)
    --- "Frequency": float | complex
    ---- Frequency of the vibration in eV
    --- "IR intensity": float
    ---- IR intensity of the vibrational mode in e^2/amu as derived from dipole of the vibration
    --- "Displacements": NDArray[float]
    ---- Displacement vector representing the vibrational mode (converted from Bohr to Angstrom as magnitude of vector is a input variable for vibrational analysis in JDFTx)
    -- Testing for vibrational mode parsing
  • feature 2: Parsing and storage of vibration energy components within a JDFTXOutfileSlice
    -- Stored as a dict[str, float], containing
    --- "T" : Temperature at which free energy was evaluated (in K)
    --- Dumped free energy components in eV
    -- Testing for vibrational energy components parsing

@shyuep shyuep merged commit 840ebc1 into materialsproject:master Sep 3, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants