rot_1d_array

lsst.ts.ofc.utils.rot_1d_array(array, rot_mat)

Rotate 1D array from one basis to another.

Parameters
arraynumpy.ndarray

1D array.

rot_matnumpy.ndarray

Rotation matrix.

Returns
numpy.ndarray

Rotated array in another basis compared with the original one.