Automatic plotting of symmetry elements for a point group (Symmetry
) in the stereographic projection
#456
Labels
documentation
Relates to the documentation
documentation-examples
Consider making into a documentation example
enhancement
New feature or request
help-wanted
A little help with this would be nice
We get the Cartesian coordinates of a direct [uvw] or reciprocal lattice vector (hkl) in any of the seven crystal systems (triclinic, monoclinic, orthorhombic, trigonal, tetragonal, hexagonal, and cubic) by using the structure matrix A. This matrix is constructed by aligning the reference frames of the direct (a, b, c) and reciprocal lattices (a*, b*, c*) with an orthonormal Cartesian reference frame (e1, e2, e3). In orix, we only support one alignment, namely e1 || a, e2 || e3 x e1, and e3 || c*. Details are given in this tutorial: https://orix.readthedocs.io/en/stable/tutorials/crystal_reference_frame.html. I suggest we allow any alignment, e.g. e1 || a*, e2 || e3 x e1, and e3 || c, which is used by diffpy.structure. This is a convenience for the user and for developers of other packages relying or planning to rely on orix.
To understand this alignment, the convention, and to debug this addition, we should have automatic plotting of symmetry elements for a point group. There is already functionality for plotting symmetry elements (see this example), but it is not automatic. I've started working on this in a branch in my fork, but haven't found time to continue. I haven't figured out the algorithm yet, either. It would be best if we figure out the visualization based on the symmetry elements dynamically and not by hard-coding... Any help with this would be much appreciated.
My plan is to:
Symmetry.plot()
to this representation and have the current representation (see this tutorial) be an optionThe text was updated successfully, but these errors were encountered: