Improve pretty display of point group and continuous group elements
-
There is a bug in the display of
ContinuousGroupElement
when obtained withoutprettify
, the rotation matrix is alwaysR(ϕ)
even though theL
is normalized differently (for example it should beR(ϕ/2)
to be consistent). Could renormalizeL
by the norm of the real space rotation. -
The display of rotation axes that are not main crystallographic directions is unreadable, because it is a series of floating point numbers not separated by commas or spaces. Should add commas where floating point is used. Could also improve display for directions that are 60 degree rotated using
sympy.nsimplify
.