Skip to content

C2v symmetry operations has the mirror plane around the wrong axis #562

@argerlt

Description

@argerlt

I need a sanity check on this please. Looking at ITOC and "Structure of Materials" (DeGraef 2012), I believe the symmetry group C2v in orix is incorrect:

>>> C2v
Symmetry (4,) mm2
[[ 1.  0.  0.  0.]
 [ 0.  1.  0.  0.]
 [ 0.  0.  0.  1.]
 [ 0.  0. -1.  0.]]

This is generated using Symmetry.from_generators(C2x,Csz) (2-fold around x, mirror around z, which creates mirror around y)

I think it should be generated instead with Symmetry.from_generators(C2z,Csx), so the 2-fold is around the z axis, as is the ITOC standard.

Symmetry (4,) mm2
[[1. 0. 0. 0.]
 [0. 0. 0. 1.]
 [0. 1. 0. 0.]
 [0. 0. 1. 0.]]

(note in both, the last two operators are improper, and thus mirrors.)

ITOC page below for reference. Note how in the following snippet, the first set of vectors do not match ITOC, but the second do

from orix.quaternion.symmetry import C2z, C2x, Csx, Csz, Symmetry
from orix.vector import Vector3d

v = Vector3d([1,2,3])
Symmetry.from_generators(C2z,Csx)*v
Out[90]: 
Vector3d (4,)
[[ 1.  2.  3.]
 [-1. -2.  3.]
 [-1.  2.  3.]
 [ 1. -2.  3.]]

C2v*v
Out[91]: 
Vector3d (4,)
[[ 1.  2.  3.]
 [ 1. -2. -3.]
 [ 1.  2. -3.]
 [ 1. -2.  3.]]

I can take care of this if it is a mistake, I just want someone to check me before I accidentially waste time on a misunderstanding
Thank you.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions