Check out the Hyperspy Workshop May 13-17, 2024 Online

get_angles#

pyxem.utils.vectors.get_angles(angles)[source]#

This function takes a list of angles and returns the angles between each pair of angles. This is useful for finding the angles between three vectors.

Parameters:

angles (numpy.ndarray) – An array of angles in radians. This is a 2D array with shape (n, 3) where n is the number of combinations and 3 is specific combination of angles to determine the difference between.