double rotation of ebsd data only results in 180 degree rotation
in rotateData method in ebsd map class, rotation is applied to quats but not euler angles. when running rotateData a second time, the quats first are rebuilt from non-rotated euler angles, so in total only 180 degree rotation is applied not 360.
Thank you for pointing that out. Can I ask why you need to rotate the data by 360 degrees, back to the original orientation? If you do not need to rotate the data then you do not need to run the rotateData function.
@mikesmic Perhaps having a 'rotate' argument when loading the data might be a better approach to implement this feature?
this was a bodge (too far) of a previous notebook where I did need to rotate. I now realise I had missed building the quat array so that's why it was falling over without the rotateData function. Mike figured out the problem and suggested I should share here.
the functionality to rotate 90 degrees (or arbitrary angle) would be useful
Ah I see! I think the develop version (which we will release soon hopefully) removes the need to 'build' the quat array. I think there is functionality to rotate in 90 degree increments in the develop version.