molecool.calculate_angle

molecool.calculate_angle(rA, rB, rC, degrees=False)[source]

Calculate the angle between three points.

Parameters
  • rA, rB, rC (np.ndarray) – The coordinates of each point

  • degrees (bool , optional) – Return unit of the calculated answer. Default is in radians.

Returns

angle – The angle measurement for the three points.

Return type

float