neutronpy.crystal.material.Material.get_d_spacing

Material.get_d_spacing(hkl)[source]

Returns the d-spacing of a given reciprocal lattice vector.

Parameters:
hkl : array_like

Reciprocal lattice vector in r.l.u.

Returns:
d : float

The d-spacing in Å