correcting the memory problem by looping over frequencies
Here is a small script to compute the DOS of Al phonons.
Basically, I am looping over frequencies instead of creating a bunch of delta functions at once.
The Lorentz broadening is added.
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