combine_rotation_matrix

HSTB.kluster.rotations.combine_rotation_matrix(mat_one, mat_two)

Composing two rotation matrices is performed by taking the product of the two matrices

Assumes one of the input matrices is of size one (the mounting angle matrix, attitude changes over time)

Order is important here.

Parameters
  • mat_one (DataArray) – 3dim rotation matrix (time, x, y)

  • mat_two (DataArray) – 3dim rotation matrix (time, x, y)

Returns

3dim rotation matrix (time, x, y) for each time in input matrices

Return type

xr.DataArray