Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

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.

API navigation