- qspec.angle_d ( x , x_d , y , y_d , axis = -1 )[source]
-
- Parameters:
-
- xarray_like
The first vectors (arb. units).
- x_darray_like
The uncertainties of the first vectors ([x]).
- yarray_like
The second vectors ([x]).
- y_darray_like
The uncertainties of the second vectors ([x]).
- axisNone
The axis along which the vector components are aligned.
- Returns:
-
- outNone
The angle between two vectors x and y (rad).
- Raises:
-
- ValueError
The shapes of x and y must be compatible.