rot_1d_array

lsst.ts.ofc.utils.rot_1d_array(array: ndarray[float], rot_mat: ndarray[float]) ndarray

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.