-
Notifications
You must be signed in to change notification settings - Fork 15
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
Pretty clusters #181
Pretty clusters #181
Conversation
# Conflicts: # smol/cofe/space/cluster.py # smol/cofe/space/orbit.py
# Conflicts: # tests/test_cofe/test_cluster.py # tests/test_cofe/test_orbit.py # tests/utils.py
This addresses #93 by leveraging |
A
|
A
|
An
|
a
|
I won't do the |
# Conflicts: # tests/test_cofe/test_cluster.py # tests/test_cofe/test_orbit.py
I think it would be more useful if we can also plot out the decorated orbit that each correlation function corresponds to. |
In here I suggest printing out the species corresponding to each decorated orbit (correlation function as well.) |
Same suggestion as with ClusterExpansion printing. With these, illustrating ECIs in a paper's SI will be infinitely easier!! |
We can do them in an independent PR. |
I considered this (we had something along those lines before) however I think that makes the print out way too long. Users can simply print out an orbit to get that information, and if they want to see all species for all orbits then simply print out in a loop: for orbit in subspace.orbits:
print(orbit) |
I'm not sure I fully understand what you mean? Do you mean getting the species decorations corresponding to a site indicator correlation function? If that's the case then that would only apply to the indicator basis scenario. Even so I am not so sure how to visualize that exactly. Perhaps by visualizing a specific correlation function? This would be require a slightly different set of code and again only for an indicator case. |
…tty_clusters � Conflicts: � smol/cofe/space/cluster.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review done, nice job! Go ahead and merge if test pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge.
Summary
Improvements for printing and visualizing smol objects
TODO (if any)
Checklist
Run pycodestyle and flake8
on your local machine.
Run pydocstyle on your code.