get_angle

ssapy.utils.get_angle(a, b, c)[source][source]

Calculate the angle between two vectors with b as the vertex.

Parameters:
  • a (array-like, shape (n, 3)) – Coordinates defining vectors ba and bc.

  • b (array-like, shape (n, 3)) – Coordinates defining vectors ba and bc.

  • c (array-like, shape (n, 3)) – Coordinates defining vectors ba and bc.

Returns:

Angles in radians between vectors ba and bc.

Return type:

numpy.ndarray