rot_1d_array¶
- lsst.ts.ofc.utils.rot_1d_array(array, rot_mat)¶
Rotate 1D array from one basis to another.
- Parameters
- array
numpy.ndarray
1D array.
- rot_mat
numpy.ndarray
Rotation matrix.
- array
- Returns
numpy.ndarray
Rotated array in another basis compared with the original one.