neutronpy.crystal.Sample.get_angle_between_planes

Sample.get_angle_between_planes(v1, v2)[source]

Returns the angle \(\phi\) between two reciprocal lattice vectors (or planes as defined by the vectors normal to the plane).

Parameters:
v1 : array_like

First reciprocal lattice vector in units r.l.u.

v2 : array_like

Second reciprocal lattice vector in units r.l.u.

Returns:
phi : float

The angle between v1 and v2 in degrees