neutronpy.crystal.material.Material.get_q

Material.get_q(hkl)[source]

Returns the magnitude of Q for a given reciprocal lattice vector in Å-1.

Parameters:
hkl : array_like

Reciprocal lattice vector in r.l.u.

Returns:
q : float

The magnitude of the reciprocal lattice vector Q in Å-1