Skip to content

Fix the subroutine that identifies if a phonon mode is Raman active.  #90

@mesonepigreco

Description

@mesonepigreco

Sometimes, the subroutine computing the Raman active modes gives a false negative if no Raman tensor is provided.

dyn.GetRamanActive()

The reason is that a random Raman tensor is generated, and then, the Raman activity is measured for all modes.
It is possible that some modes are, by chance, almost orthogonal to the Raman tensor, thus resulting in a false Raman inactive mode.

This could be either fixed by lowering the threshold (dangerous, needs to be tested), or by generating a Raman tensor explicitly to have a nonzero projection on every normal mode before symmetrization (probably better as it would be deterministic).

Metadata

Metadata

Assignees

No one assigned

    Labels

    CleaningClean the code or solve small issues that are not bugbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions