build_mounting_angle_mat

HSTB.kluster.rotations.build_mounting_angle_mat(roll, pitch, yaw, tstmp)

Feeds build_rot_mat, difference being this takes in single floating point numbers for rpy as you get from a surveyed mount angle data point.

Assumes angles are in degrees and rpy rotation is desired.

Parameters
  • roll (float) – roll angle for rotation matrix

  • pitch (float) – pitch angle for rotation matrix

  • yaw (float) – yaw angle for rotation matrix

  • tstmp (str) – time relevant installation parameter showed up in the multibeam file

Returns

rotation matrix composed of data provided

Return type

xr.DataArray