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
Determine local environments based on bonding analysis #2057
Conversation
I would like to have a better organization of all the local environment analysis packages, including local_env and chemenv. Can we create a parent package called pymatgen.analysis.local_environment to house all of them. I would also prefer some common API that unifies all the different kinds of analysis and the various options. Right now, the packages are so big, fragmented and difficult to find and use. |
I am happy to move my code to another place. I am not sure regarding the common interface and moving the localenv and chemenv code (it will probably break a lot of existing code and documentation in publications and so on) but there are other people that might be able to comment better on this. |
Well, all this is open for discussion. There is no need to create breaking changes. We can always retain existing code where they are with deprecation messages. @mkhorton what do you think? |
The main problem is that The code @JaGeo is proposing is related to neither, but based on the Lobster code. There has been some attempt at having a common interface, namely the @JaGeo here is using Chemenv (unrelated to this PR) pre-dates the |
I am totally fine with moving the code to |
Yes, perhaps it depends on what kwargs are available for |
I am now quite happy with the current state of the code. I would be happy if this could be merged for now. (I will probably extend the code within the next months) |
I know what the issue with the mac/win tests is. I have made changes. I have merged this PR. Thanks. |
Thank you. |
Summary
This is work in progress to add an analysis of the local environments based on bonding analysis. The classes will allow to both use localenv and chemenv in combination with Lobster output. It will also provide additional methods to analyse the ICOHPs/COHPs for sites with neighbor atoms.
@mkhorton , let me know if you already have comments.
I hope it is okay to put it in pymatgen.analysis.lobster_env