[Numpy-discussion] ANN: xarray v0.9 released

2017-01-31 Thread Stephan Hoyer
I'm pleased to announce the release of the latest major version of xarray, v0.9. xarray is an open source project and Python package that provides a toolkit and data structures for N-dimensional labeled arrays. Its approach combines an API inspired by pandas with the Common Data Model for self-des

Re: [Numpy-discussion] composing Euler rotation matrices

2017-01-31 Thread Seb
On Tue, 31 Jan 2017 21:23:55 -0500, Joseph Fox-Rabinovitz wrote: > Could you show what you are doing to get the statement "However, I > cannot reproduce this matrix via composition; i.e. by multiplying the > underlying rotation matrices.". I would guess something involving the > `*` operator inst

Re: [Numpy-discussion] composing Euler rotation matrices

2017-01-31 Thread Joseph Fox-Rabinovitz
Could you show what you are doing to get the statement "However, I cannot reproduce this matrix via composition; i.e. by multiplying the underlying rotation matrices.". I would guess something involving the `*` operator instead of `@`, but guessing probably won't help you solve your issue. -Jo

[Numpy-discussion] composing Euler rotation matrices

2017-01-31 Thread Seb
Hello, I'm trying to compose Euler rotation matrices shown in https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix. For example, The Z1Y2X3 Tait-Bryan rotation shown in the table can be represented in Numpy using the function: def z1y2x3(alpha, beta, gamma): """Rotation matrix given Eu