pymatgen
                                
                                 pymatgen copied to clipboard
                                
                                    pymatgen copied to clipboard
                            
                            
                            
                        [WIP]: Plotting of Multicenter COBIs
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)
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.
Will try to finalize a first implementation soon. I have not forgotten about this pull request.
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.
@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 ...
@janosh , The renaming is fine as it is not used yet anywhere.