Read the proper euler angles in the .dream3D files

18 views
Skip to first unread message

Jack

unread,
Apr 5, 2025, 3:09:04 PM4/5/25
to dream3d-users
Hello,

I am using this matlab script to read the euler angles in my dataset 
EulerAngles = squeeze(h5read(name, '/DataContainers/CIGS2/CellData/EulerAngles'));

it produces a 4D matrix.

I was wondering whether the first dimension, that goes to 3, corresponds to the phi_1 (0, 2 pi), Phi (0,pi), and phi_2 (0, 2pi) values in this order

Thank you,

Jacopo

Michael Jackson

unread,
Apr 7, 2025, 11:42:21 AM4/7/25
to Jack, dream3d-users
Yes. That is correct. The values are encoded as phi1, Phi, phi2, phi1, Phi, phi2.

--
Mike Jackson                    mike.j...@bluequartz.net
BlueQuartz Software         www.bluequartz.net
President/Owner               Dayton, Ohio
Principal DREAM.3D Developer


--
You received this message because you are subscribed to the Google Groups "dream3d-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dream3d-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dream3d-users/da327202-a8ac-4ff2-a53f-1c71cd8c273fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages