function#

ScatteringFitComponentXTables.function(x)[source]#

The actual fitted function. Based on the HyperSpy Component class. The function “function” is called innately by HyperSpy’s fitting algorithm, and represents the appropriate atomic scattering factor function.

Parameters:

x (array-like) – The scattering vector magnitude.