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

Ph Symmetry labels not correct when Raman active #962

Open
mkotiuga opened this issue Jul 21, 2023 · 1 comment
Open

Ph Symmetry labels not correct when Raman active #962

mkotiuga opened this issue Jul 21, 2023 · 1 comment

Comments

@mkotiuga
Copy link
Collaborator

The symmetry labels are parsed as the last field on lines with '-->' in the ph output:

In cases where the mode is Raman active (thus the last field is "R" or "I+R" - if both Raman and IR active), the R/I+R label is kept and not the point symmetry label - Only the IR only case is treated. Note the "R" and "I" labels are only relevant for gamma point calcuations.

I suggest is just better to keep everything after the '-->' as it is all information related to the symmetry (labels in different conventions) so different users may have different preferences. i.e. something like:

symm_label = line.split('-->')[-1]
replacing L169-172

running the following pw.in and ph.in should produce a system with R and I+R labels at gamma (the SSSP - with the updated Barium should be OK)
ph.in.txt
pw.in.txt

@mbercx
Copy link
Member

mbercx commented Jul 24, 2023

Thanks @mkotiuga! I'll try to fix this asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants