Skip to content

correcting the memory problem by looping over frequencies

Peter KOVAL requested to merge kovalp/ase:less-memory-in-pdos into master

Here is a small script to compute the DOS of Al phonons.

phonons-dos.py

Basically, I am looping over frequencies instead of creating a bunch of delta functions at once.

The Lorentz broadening is added.

phonons-dos-lorentz phonons-dos-gauss

The module can be further speed-up. I am not sure whether the further improvements are needed. Is this module going to be replaced with ase.spectra?

Edited by Peter KOVAL

Merge request reports