atanc#

diffsims.utils.shape_factor_models.atanc(excitation_error, max_excitation_error, minima_number=5)[source]#

Intensity with arctan(s)/s profile that closely follows sin(s)/s but is smooth for s!=0.

Parameters:
  • excitation_error (array-like or float) – The distance (reciprocal) from a reflection to the Ewald sphere

  • max_excitation_error (float) – The distance at which a reflection becomes extinct

  • minima_number (int) – The minima_number’th minima in the corresponding sinx/x lies at max_excitation_error from 0

Returns:

intensity

Return type:

array-like or float