[Numpy-discussion] composing Euler rotation matrices
stuart at stuartreynolds.net
Wed Feb 1 13:16:26 EST 2017
Nothing good ever comes from using Euler matrices. All the cool kids a
using quaternions these days. They're (in some ways) simpler, can be
interpolated easily, don't suffer from gimbal lock (discontinuity), and are
not confused about which axis rotation is applied first (for Euler you much
decide whether you want to apply x.y.z or z.y.x).
They'd be a good addition to numpy.
On Wed, Feb 1, 2017 at 1:42 AM, Matthew Brett <matthew.brett at gmail.com>
> On Wed, Feb 1, 2017 at 8:28 AM, Robert McLeod <robbmcleod at gmail.com>
> > Instead of trying to decipher what someone wrote on a Wikipedia, why
> > 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 :
> It's really easy to mix up the conventions, as I'm sure you know - see
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion