linear# diffsims.utils.shape_factor_models.linear(excitation_error, max_excitation_error)[source]# Returns an intensity linearly scaled with by the excitation error 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 Returns: intensities Return type: array-like or float