... it can also be used the other way round - i.e. to derive structural parameters from a sample, e.g. distances between electron densities (=d) using a known wavelength (=lamda).
This is used in diffraction experiments (XRD) like in crystallography or in small angle x-ray scattering (SAXS).