get_kinematical_atomic_scattering_factor#
- diffsims.structure_factor.get_kinematical_atomic_scattering_factor(atom, scattering_parameter)[source]#
Return the kinematical (X-ray) atomic scattering factor f for a certain atom and scattering parameter.
Assumes structure’s Debye-Waller factors are expressed in Ångströms.
This function is adapted from EMsoft.
- Parameters:
atom (diffpy.structure.atom.Atom) – Atom with element type, Debye-Waller factor and occupancy number.
scattering_parameter (float) – The scattering parameter s for these Miller indices describing the crystal plane in which the atom lies.
- Returns:
f – Scattering factor for this atom on this plane.
- Return type: