get_kinematical_structure_factor#

diffsims.structure_factor.get_kinematical_structure_factor(phase, hkl, scattering_parameter)[source]#

Return the kinematical (X-ray) structure factor for a given family of Miller indices.

Assumes structure’s lattice parameters and Debye-Waller factors are expressed in Ångströms.

This function is adapted from EMsoft.

Parameters:
  • phase (orix.crystal_map.phase_list.Phase) – A phase container with a crystal structure and a space and point group describing the allowed symmetry operations.

  • hkl (numpy.ndarray or list) – Miller indices.

  • scattering_parameter (float) – Scattering parameter for these Miller indices.

Returns:

structure_factor – Structure factor F.

Return type:

float