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
Add Symmetry plot method #306
Conversation
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.
Very helpful and nice visualization of symmetry operations! All requests and comments are related to documentation and tests.
Should add plot
to the list of Symmetry
methods below from_generators
in the reference.
Seems like GitHub has submitted all my comments twice. I suggest to leave the extra comments, in case both are deleted when one is deleted... EDIT: Seems like its only on my end, since the extra comments are labeled "Pending". EDIT2: This is just the case for some of them it seems. |
Doc build error looks like it is part of jinja2 or nbconvert and is being experienced elsewhere recently: sphinx-doc/sphinx#10289 |
Looks like a fairly minor fix. I suggest we wait until |
I agree. Checked the notebook locally, just had one important comment. |
After the notebook change, I have a final suggestion: could you update the locations of other relevant packages references in from "h5py": ("http://docs.h5py.org/en/stable/", None),
"matplotlib": ("https://matplotlib.org", None),
"numpy": ("https://docs.scipy.org/doc/numpy", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference", None), to "h5py": ("https://docs.h5py.org/en/stable", None),
"matplotlib": ("https://matplotlib.org/stable", None),
"numpy": ("https://numpy.org/doc/stable", None),
"scipy": ("https://docs.scipy.org/doc/scipy", None), Sphinx tells us nicely that they have changed when running |
NB this is the PR in question jupyter/nbconvert#1737. |
This appears to have been fixed. |
This PR can now use reprojection functionality of vectors on the other hemisphere! |
Just ping me whenever this is ready for review. |
@hakonanes I think this is good for review. I will look at #308 now too. |
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.
This is a very good way to visualize symmetry operations; I'm sure I'll use it many times!
I've suggested an insignificant change to the user guide notebook. Performing the change isn't required to merge, but I think it shows the user a slightly simpler way to reflect a vector about the projection plane.
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.
This looks good, assuming the tests green light. I'll let @hakonanes merge.
Description of the change
As discussed in #303 and #171, it would be a good idea to add a
plot
method toSymmetry
to display symmetry elements in the crystal reference frame under the stereographic projection.Closes #171.
Progress of the PR
Minimal example of the bug fix or new feature
For reviewers
__init__.py
.unreleased section in
CHANGELOG.rst
.