[SciPy-Dev] suggestion re. scipy.spatial.transform.Rotation

Phillip Feldman phillip.m.feldman at gmail.com
Sat Sep 28 15:09:22 EDT 2019


>From the article at
https://en.wikiversity.org/wiki/PlanetPhysics/Direction_Cosine_Matrix, it
seems as though the direction cosine matrix might be more general than a
rotation matrix.  Is it possible to add the term "rotation matrix" to the
documentation?

Thanks!

Phillip

On Fri, Sep 27, 2019 at 4:24 AM Ali Cetin <ali.cetin at outlook.com> wrote:

> DCM (directional cosine matrix) is the rotation matrix. In order to go in
> the reversed direction, just supply the "inverse = True" when calling the
> apply method.
>
> (sorry for not using appropriate quote convention when replying. Answering
> from mobile from the beach ;))
>
> Cheers,
> Ali
>
>
> From: Phillip Feldman
> Sent: Friday, September 27, 09:20
> Subject: [SciPy-Dev] suggestion re. scipy.spatial.transform.Rotation
> To: SciPy Developers List
>
>
> I've noticed that this class supports four of the five common
> representations of a rotation.  The one that's missing is the rotation
> matrix.  I can supply code that converts an arbitrary sequence of Euler
> rotations into a rotation matrix.  It would also be nice to be able to go
> in the reverse direction, but I haven't yet figured that out.
>
> Phillip
> *scipy.spatial.transform.Rotation*
> *class *scipy.spatial.transform.Rotation(*quat*, *normalized=False*,
> *copy=True*)[source]
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fscipy%2Fscipy%2Fblob%2Fv1.3.0%2Fscipy%2Fspatial%2Ftransform%2Frotation.py%23L175-L1634&data=02%7C01%7C%7C354252ae8e2f42a5953008d74312c80b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637051620247406600&sdata=GeNhYQuZIucLxETZqlUlQ7hcxvmAuQApMfXHGzu%2BBiU%3D&reserved=0>
> Rotation in 3 dimensions.
> This class provides an interface to initialize from and represent
> rotations with:
> Quaternions
> Direction Cosine Matrices
> Rotation Vectors
> Euler angles
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at python.org
> https://mail.python.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20190928/34ec8006/attachment.html>


More information about the SciPy-Dev mailing list