qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. angle_d  (  x ,  x_d ,  y ,  y_d ,  axis=-1  )[source]

The uncertainty of the angle between two vectors, see angle.

Parameters:
xarray_like

The first vectors (arb. units).

x_darray_like

The uncertainties of the first vectors (unit of x).

yarray_like

The second vectors (arb. units).

y_darray_like

The uncertainties of the second vectors (unit of y).

axisint

The axis along which the vector components are aligned.

Returns:
alpha_dndarray

The uncertainty of the angle between the vectors x and y (rad).