neutronpy.crystal.lattice.Lattice.get_d_spacing

Lattice.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 Å