pymatgen icon indicating copy to clipboard operation
pymatgen copied to clipboard

[WIP]: Plotting of Multicenter COBIs

Open JaGeo opened this issue 2 years ago • 2 comments

Summary

Lobster now also has options to compute multi-center interactions. This leads to a different format of the COBICAR.lobster (e.g., no average COBI is included) and the labels of the bonds are different. At this stage, I can already plot this different format but no tests are included so far. Bond lengths are missing in this output. I might add a computation of those based on the site index and cell number of the interacting atoms.

TODO:

  • [ ] Tests
  • [ ] Bond length computation from cell information
  • [ ] Code simplification (e.g., many if clauses at the moment, probably simplifications are possible)

JaGeo avatar Mar 31 '23 21:03 JaGeo

Just as a warning that this might sit here for a longer time. I discovered an issue for the multi-center COBI computations in Lobster for the spin-polarized case during the plotting implementation. I will wait until there is a new Lobster version that can generate useful test data.

JaGeo avatar May 16 '23 12:05 JaGeo

Will try to finalize a first implementation soon. I have not forgotten about this pull request.

JaGeo avatar Sep 10 '23 11:09 JaGeo

Will work on this one here again tonight and hopefully finish it! I still have to resolve a few merge conflict or issues due to changes in the pymatgen code base.

JaGeo avatar Mar 14 '24 06:03 JaGeo

@janosh if you have some time to review this, this would be awesome. If we don't merge it soon, this will never get merged as tons of merge conflicts show up very fast here in pymatgen and it would be sad as it was a lot of work ...

JaGeo avatar Mar 16 '24 11:03 JaGeo

@janosh , The renaming is fine as it is not used yet anywhere.

JaGeo avatar Mar 16 '24 13:03 JaGeo