[Numpy-discussion] composing Euler rotation matrices

Matthew Brett matthew.brett at gmail.com
Wed Feb 1 04:42:15 EST 2017


Hi,

On Wed, Feb 1, 2017 at 8:28 AM, Robert McLeod <robbmcleod at gmail.com> wrote:
> Instead of trying to decipher what someone wrote on a Wikipedia, why don't
> you look at a working piece of source code?
>
> e.g.
>
> https://github.com/3dem/relion/blob/master/src/euler.cpp

Also - have a look at https://pypi.python.org/pypi/transforms3d - and
in particular you might get some use from symbolic versions of the
transformations, e.g. here :
https://github.com/matthew-brett/transforms3d/blob/master/transforms3d/derivations/eulerangles.py

It's really easy to mix up the conventions, as I'm sure you know - see
http://matthew-brett.github.io/transforms3d/reference/transforms3d.euler.html

Cheers,

Matthew



More information about the NumPy-Discussion mailing list