fastpli.tools.rotation.a_on_b

a_on_b(a, b)[source]

returns rotation array from vector a on vector b

Parameters
  • a (np.ndarray) – vector to rotate

  • b (np.ndarray) – vector to rotate on

Returns

res – rotation array

Return type

(3,3)-np.ndarray