line_orientation#

ifermi.analysis.line_orientation(images)[source]#

Get the orientation (direction vector) from a list of rank 1 connected images.

Parameters:

images (list[tuple[int, int, int]]) – (n, 3) int array of the images.

Return type:

tuple[int, int, int]

Returns:

The orientation vector as a (3, ) int array.