Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning, fitting failed. #36

Open
jxsun-netizen opened this issue Dec 11, 2024 · 1 comment
Open

Warning, fitting failed. #36

jxsun-netizen opened this issue Dec 11, 2024 · 1 comment

Comments

@jxsun-netizen
Copy link

When calculating the phonon spectrum at high temperature, the following error is displayed: Warning, fitting failed. What is the reason?

@abelcarreras
Copy link
Owner

This happens because the phonon-mode projected power spectrum is too noisy and the peak corresponding to the phonon mode couldn't be fitted by a Loretzian spectral function. If this fitting fails the anharmonic phonon frequency can't be determined and dynaphopy shows this message.

The way to fix this is by improving the power spectrum. This can be done by:

  1. increasing the number of time steps of the MD. For a fix resolution dynaphopy uses long trajectories to average different power spectrums to reduce the noise.

  2. Changing the power spectrum calculation method (MEM, FFT, etc..). Usually MEM requires more time steps than FFT.

  3. Increase the number of discarded initial stabilization steps to ensure that the MD is properly converged.

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

No branches or pull requests

2 participants