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:
phaseorix.crystal_map.phase_list.Phase

A phase container with a crystal structure and a space and point group describing the allowed symmetry operations.

hklnumpy.ndarray or list

Miller indices.

scattering_parameterfloat

Scattering parameter for these Miller indices.

Returns:
structure_factorfloat

Structure factor F.