- qspec.analyze.straight_direction ( p_0 , p_1 , axis = -1 )[source]
-
- Parameters:
-
- p_0ndarray | Iterable
The first point(s).
- p_1ndarray | Iterable
The second point(s).
- axisNone
The axis along which the vector components are aligned.
- Returns:
-
- outndarray
The direction of a straight line in n dimensions.