phonons
has_deps
module-attribute
¶
has_deps = (
phonopy is not None
and find_spec("seekpath") is not None
)
run_phonopy ¶
run_phonopy(
phonon: Phonopy,
forces: NDArray,
t_step: float = 10,
t_min: float = 0,
t_max: float = 1000,
) -> Phonopy
Run a phonopy calculation in a temporary directory and copy the results to the job results directory.
Parameters:
-
phonon
(Phonopy
) –Phonopy object
-
forces
(NDArray
) –Forces on the atoms
-
t_step
(float
, default:10
) –Temperature step
-
t_min
(float
, default:0
) –Minimum temperature
-
t_max
(float
, default:1000
) –Maximum temperature
Returns:
-
Phonopy
–The phonopy object with the results.