id4_common.utils.analyzer_utils#

Crystallographic d-spacing and structure factor utilities for analyzer crystals.

Module Contents#

id4_common.utils.analyzer_utils.calcdhkl(h, k, l, alpha, beta, gamma, symmetry, a, b, c)#

Calculate the d-spacing for an (hkl) reflection given lattice parameters.

id4_common.utils.analyzer_utils.check_structure_factor(h, k, l, spacegroupnumber, special)#

Return True if the (hkl) reflection is allowed by the space group selection rules.