swiftest.SwiftestDataArray.rotate

swiftest.SwiftestDataArray.rotate#

SwiftestDataArray.rotate(rotation)[source]#

Rotates a vector quantity using a rotation matrix. The DataArray must have the “space” dimension.

Parameters:

rotation ((3) float array) – Rotation vector